💡 What Is DNS 💡 DNS stands for Domain Name System. It is essentially the “phonebook of the Internet.” Here’s what it does: Purpose: Computers communicate using IP addresses (like 192.168.1.1 or 2606:4700:4700::1111), but humans find it easier to r...
Step 1: Create the PersistentVolume (PV) We need a PV named pv-demo, with ReadWriteMany, 512Mi storage, and host path /data/config. pv-demo.yaml apiVersion: v1 kind: PersistentVolume metadata: name: pv-demo spec: capacity: storage: 512Mi ac...
🔐 Part 1: User Authentication Below is the process to create a Kubernetes user who can authenticate and access the cluster using a TLS certificate. All steps are for creating a certificate-based user. Generate a private RSA key named krishna.key...
URL: https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/ Create a directory named config-exercise. In your config-exercise directory, create a file named config-demo with this content: apiVersion: v1 kind: ...
URL: https://kubernetes.io/docs/tasks/tls/certificate-issue-client-csr/ Managing TLS certificates in a Kubernetes cluster is an important part of securing communication between clients, services, and the Kubernetes API server. Certificates are used t...
SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are protocols that secure communication over the internet. TLS is the modern version (SSL is mostly obsolete but people still say "SSL"). 🔑 The Goals of SSL/TLS Encryption → Data is unre...
ConfigMaps URL: https://kubernetes.io/docs/concepts/configuration/configmap/ A ConfigMap is an API object used to store non-confidential data in key-value pairs. Pods can consume ConfigMaps as environment variables, command-line arguments or as con...
What are probes? To investigate or monitor something and to take necessary actions What are health probes in Kubernetes? Health probes monitor your Kubernetes applications and take necessary actions to recover from failure To ensure your applicat...
🔄 Horizontal Pod Autoscaling (HPA) in Kubernetes: URL: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ In Kubernetes, a HorizontalPodAutoscaler automatically updates a workload resource (such as a Deployment or StatefulSe...
What is Resource Limiting? In Kubernetes, resource limits and requests define how much CPU and memory (RAM) a container can use and request from the node. They help prevent: One pod from consuming too many resources Unpredictable behavior due to re...