[root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core) Kubernetes Installation Refer to the official Kubernetes doucmentation for adding nodes to the cluster. Environment Configuration swapoff -a setenforce 0 rm -rf $HOME/.kube # if previously installed Software Installati...
Installation and Architecture Overview Core Components API Server: Handles cluster operations and user requests Controller Manager: Maintains desired pod states and self-healing Scheduler: Assigns pods to worker nodes etcd: Distributed key-value store for cluster state Installation Methods yum: Simp...
Understanding Pods A Pod represents the smallest deployable unit within Kubernetes architecture. It serves as the foundational building block for running containerized applications, consisting of one or more containers that share the same network namespace and storage resources. All other Kubernetes...
Helm functions as the package manager for the Kubernetes ecosystem, filling a role analogous to apt or yum in Linux distributions. Deploying applications directly through Kubernetes manifests often introduces challenges, including fragmented configuration management, the difficulty of bundling relat...
Problem Statement and Solution Docker Hub registry changes frequently cause image pull failures when restarting Pods, preventing applications from starting properly. This scenario demands a systematic approach to audit container images across Kubernetes clusters. A Python-based utility can scan Pod...
Understanding Kubernetes Architecture Evolution of Application Deployment Models Application deployment has evolved through three major phases: Traditional Deployment: Direct physical machine deployment in early internet era Pros: Simple, no additional technology required Cons: No resource boundarie...
This section covers deploying common development middleware using Helm. Many vendors provide Helm charts for their components, which significantly reduces deployment complexity. MySQL Master-Slave Cluster Deployment Add the Bitnami chart repository: https://charts.bitnami.com/bitnami Search for MySQ...
Deployment controllers operate under the assumption that all replicas of an application are identical and interchangeable. This model works well for stateless workloads where any Pod can be terminated and replaced without consequence. However, distributed systems and data storage applications often...
Kubernetes abstracts all cluster components into API resources. Once instantiated, these resources become objects managed by the control plane. Resources are generally categorized by their functional scope: Wrokload Resources Manage container lifecycles and scaling: Pod, ReplicaSet, Deployment, Stat...
This guide explains the process for creating a standard user account in a Kubernetes cluster using OpenSSL for certificate generation, configuring kubectl context, and assigning permissinos via RBAC. Prerequisites Prepare a directory for the certificate authority files. mkdir /etc/k8s-certs/ cp /opt...