If using the Helm chart to install Metrics Server in a Docker Desktop instance of Kubernetes, it may not start due to insecure certificates. To resolve this, run the following command when doing the install (it can also be appliedRead More
When trying to run Kubernetes or Helm deployments from a local Octopus Deploy container, an error will be encountered because these tools aren’t available by default. One solution to this problem is create a custom container that includes them. BelowRead More
When running Kubernetes in Docker Desktop 4.8 and later, creating a service account doesn’t create the token properly. The following script will create a service account and retrieve the token. Note that it creates a cluster admin service account forRead More
An walkthrough of building and pushing a Helm chart to a container registry both locally and on Azure Kubernetes Service (AKS).
When using a custom NuGet server and you’ve added a nuget.config file to the solution, you’ll need to add the following line to the default Dockerfile build by Visual Studio to allow the container to be built. This should beRead More
Run the following command, replacing my-namespace with the name of your namespace to delete. Solution found on Stack Overflow.
A guide to using Kaniko on a Kubernetes-hosted Azure DevOps build agent.
If your Longhorn setup gets ‘stuck’, run this script to trigger a restart of all the Longhorn pods. If you wish to make this script executable, save it to a file (e.g. restart-longhorn.sh) and put the following as the firstRead More
A quick guide to removing references to a failed Kubernetes master/control plane node including its etcd instance.
A quick fix for “error: You must be logged in to the server (the server has asked for the client to provide credentials)”