Category: Devops

  • How to write a Jenkinsfile that calls Jenkins REST API to set up a new Job based on a config.xml

    How to write a Jenkinsfile that calls Jenkins REST API to set up a new Job based on a config.xml

    Jenkins, a widely-used open-source automation server, offers a powerful REST API that enables programmatic interaction with Jenkins. This blog post outlines the process of creating a Jenkinsfile that utilizes the Jenkins REST API to set up a new Jenkins job based on a config.xml file. This integration was developed in conjunction with GitHub and Backstage […]

  • How to publish a docker image to Google Container Registry

    How to publish a docker image to Google Container Registry

    In this short article, I list the steps you need to follow in order to publish a Docker image to the Google Container Registry(GCR) in the Google Cloud Platform. Pre-requisites Docker installed GCloud SDK User or service account with access required to push to GCR. Steps to push docker image to GCR Create Dockerfile In […]

  • Kubernetes Commands Cheat Sheet

    Kubernetes Commands Cheat Sheet

    This is part of my Kubernetes cheat sheet. How to restart a Pod in Kubernetes I often want to restart pods without actually having to deploy anything. It can be done quite easily with the kubectl command. To restart a Kubernetes pod, you just need to: How to delete evicted Pods from a namespace This […]

  • SRE Notes on SLO, SLI, and Error Budgets

    SRE Notes on SLO, SLI, and Error Budgets

    SLOs, SLI, and Error Budgets are the key pillars of Site Reliability Engineering, as championed by Google. What is the purpose of service working 100% of the time, but which doesn’t meet the needs of its users…. Or a service that never gets new features because that would require it to fail!  On the extreme opposite, […]

  • What is the difference between a Standard Azure AKS Cluster and a Private AKS Cluster?

    What is the difference between a Standard Azure AKS Cluster and a Private AKS Cluster?

    A Standard Azure Kubernetes Service cluster has a public IP address for the API Server and a Private AKS cluster has a private IP address for its API server endpoint. In both the Standard AKS Cluster and the Private AKS cluster the Worker Nodes have a Private IP address. For those looking for the long […]