[Solved] Kubernetes Namespace stuck in Terminating state
If you have tried to delete a Kubernetes namespace, and it has been hanging in ‘deleting’ for hours on end, it’s likely that you have …
Read Article →130 articles about cli development, tools, and best practices
If you have tried to delete a Kubernetes namespace, and it has been hanging in ‘deleting’ for hours on end, it’s likely that you have …
Read Article →So you’ve run a deployment and tried to check the pods and there’s nothing there!
kubectl get pods
Next step is to see what’s …
Read Article →If you get the following error:
error: src refspec main does not match any
error: failed to push some refs to 'https://github.com/ao/xxx.git' …
Read Article →
If you need to force a redeploy of a deployment in Kubernetes, then you can use the rollout feature.
You may have an image that has been updated, but …
Read Article →If you need to restart a deployment in Kubernetes, perhaps because you would like to force a cycle of pods, then you can do the following:
I have a parent directory containing multiple sub-directories. Each of these child directories is a different application and contains a Dockerfile.
I …
Read Article →If you could like to a create a Horizontal Pod Autoscaler (hpa) in Kubernetes, then you could run the following:
If you …
Read Article →If you would like to test hpa, Horizontal Pod Autoscaling, or throw some chaos at a specific deployment in Kubernetes, then you could run a Load …
If you would like to deploy a Metrics Server in Kubernetes, then you first need to create a namespace for it to live it, followed by installing the …
Read Article →eksctl dramatically simplifies the creation of AWS EKS clusters, by providing a simple command-line interface.
You can …
Read Article →If you have a Flask app that you would like packaged in a Docker container, then you can do the following. The steps outlined below will help you …
Read Article →You can use the aws cli to get the EKS cluster name, parse the first result and return it into a variable.
EKS_CLUSTER_NAME=$(aws eks list-clusters …
Read Article →