K8s_(kubeadm)_Install_by_Shell_script_in AWS EC2 Instance. Run on the Master node #!/bin/bash # Exit on error set -e # Disable swap echo "Disabling swap..." sudo swapoff -a sudo sed -i '/ swap / s/^\(.*\)$/#\1/g' /etc/fstab # Load necessary kernel modules Apr 8, 2026·5 min read
Monitoring Minikube cluster using Prometheus and Grafana as Kubernetes pods🧰 RECOMMENDED EC2 INSTANCE FOR MINIKUBE + PROMETHEUS + GRAFANA ✅ EC2 Instance Type: t3.large vCPUs: 2 Memory: 8 GB RAM Storage: At least 30 GB (EBS SSD, gp3 or gp2) OS: Ubuntu 22.04 LTS (or Amazon Linux 2023) 💡 You can also use t3.xlarge (4 v...May 1, 2025·5 min read
K8s_StatefulSets_Helm_Network_Policy_Security_Admission_Security_Context.To support enterprise-class production workloads, Kubernetes also supports multi-node pod controllers, stateful application controllers, batch controllers, auto-scaling, resource and quota management, package management, security contexts, network an...Mar 17, 2025·15 min read
K8s-IngressWe saw how we can access our deployed containerized application from the external world via Services. Among the ServiceTypes the NodePort and LoadBalancer are the most often used. For the LoadBalancer ServiceType, we need to have support from the und...Mar 16, 2025·10 min read
K8s-ConfigMaps and SecretsConfigMaps ConfigMaps allow us to decouple the configuration details from the container image. Using ConfigMaps, we pass configuration data as key-value pairs, which are consumed by Pods or any other system components and controllers, in the form of ...Mar 15, 2025·11 min read
K8s-Volume Management.In today's business model, data is the most precious asset for many startups and enterprises. In a Kubernetes cluster, containers in Pods can be either data producers, data consumers, or both. While some container data is expected to be transient and...Mar 12, 2025·9 min read
K8s-Liveness, Readiness, and Startup Probes.While containerized applications are scheduled to run in pods on nodes across our cluster, at times the applications may become unresponsive or may be delayed during startup. Implementing Liveness and Readiness Probes allows the kubelet to control th...Mar 12, 2025·5 min read