How to get an EKS Cluster name from an AWS Region
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 →
In-depth guides, insights, and best practices for modern software engineering
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 →
If you want to automatically generate a manifest file in Kubernetes, you can do so by using the kubectl run command coupled with a --dry-run to output …
If you need to sort a list of your pods by their CreationTimestamp, then do the following:
kubectl get pods -n kube-system …
Read Article →
If you want to jump onto a particular Kubernetes Pod and run Bash within it, you can do so as follows:
kubectl exec -ti <pod_name> /bin/bash
You …
Read Article →If you would like to run shell commands inside of your Kubernetes cluster, then you can use the kubectl run command.
If you find yourself in a position where you need to sync all emails from one account to another, then you can use the imapsync command-line tool to …
You can download and install the AWS CLI on Linux as follows:
curl …
Read Article →
If you need to reboot, or restart the networking interface on your Mac, by using the CLI, then you can issue the following commands:
If you get the following error:
fatal: unable to access <git>: SSL certificate problem: self signed certificate in certificate chain
..when …
Read Article →Ever needed to extract the files in a Docker container?
Docker provides the save sub-command.
The examples …
Read Article →If you’ve run into this dreaded error:
Error response from daemon: No such image:
Then you can solve it as follows:
Perform a docker pull …
When you launch an EC2 instance, you can use the user-data to bootstrap a instance creation script.
We can use the following code to start a web …
Read Article →