To begin, launch an EC2 instance using the Amazon Linux 2 Image and keep the default specifications. We will configure it later. Create an IAM…
Linux cheat sheet
To begin, launch an EC2 instance using the Amazon Linux 2 Image and keep the default specifications. We will configure it later. Create an IAM…
The difference between setting the value of “Cluster” and “Local” in Kubernetes lies in the load balancing mechanism. From official doc Due to the implementation…
Installing KEDA you can use any Kubernetes. Installing KEDA is simple, I use helm: helm repo add kedacore https://kedacore.github.io/charts helm repo update helm install keda…
Installing HAProxy in Kubernetes can be a complex process, but using Helm charts can simplify the process significantly. Helm is a package manager for Kubernetes…
Open vim /etc/sysctl.conf Add following # Increase size of file handles and inode cache fs.file-max = 2097152 # Do less swapping vm.swappiness = 10 vm.dirty_ratio…
This CronJob runs every day at midnight and executes a shell script that will remove all unused images, containers, and volumes that are older than…
To expose the public IP in Ingress Nginx, you can use the ‘externalTrafficPolicy’ configuration. This allows you to route traffic to the node’s public IP…
Deploying filebeat with Helm To send nginx-ingress logs to your Elasticsearch cluster, start with the provided values.yml. It’s important to note that the latest version…
In order to implement OSRM in a Kubernetes cluster, it is necessary to have the routing data within the cluster. There are various methods to…
Remove the current CNI configuration with : microk8s kubectl delete -f /var/snap/microk8s/current/args/cni-network/cni.yaml Edit /var/snap/microk8s/current/args/kube-proxy and update the –cluster-cidr=10.1.0.0/16 argument with the new CIDR. Restart MicroK8s with: microk8s stop microk8s…