How to get port of a pod in Kubernetes?
To get the port of a pod in Kubernetes, you can use the kubectl command along with the get and describe options. Here are the steps: 1. List all the…
Read more »Node port forwarding Concept in Kubernetes
In Kubernetes, the concept of “node port forwarding” allows you to access a service running on a specific node in your cluster. It enables you to access services or pods…
Read more »Debug if pod fails to create in Kubernetes
When a pod fails to create in Kubernetes, you can follow these steps to debug the issue 1. Check the pod status: Example output: In this example, the pod is…
Read more »Docker and Kubernetes Demo Project
Here’s a step-by-step guide to creating a simple project with a web server and app server using Docker and Kubernetes on Ubuntu, ensuring that the Docker image is accessible from…
Read more »List of continuous delivery tools for kubernetes and containers in 2023
Jenkins X: A cloud-native, open-source CI/CD solution for Kubernetes. It automates the building, testing, and deployment of containerized applications on Kubernetes, providing features like automated versioning, promotion, and rollbacks. Argo…
Read more »How to Implement GitOps Using Kubernetes?
GitOps is a popular approach to managing infrastructure and applications in a cloud-native environment. It is a way of managing the entire application lifecycle by using Git as the single…
Read more »Top 50 interview questions and answers for kubehunter
1. What is kubehunter? Kubehunter is a tool used to scan Kubernetes clusters for security vulnerabilities. 2. What are some common security vulnerabilities in Kubernetes clusters? Some common vulnerabilities include…
Read more »Deploy HA Kubernetes Cluster on Linux using Rancher RKE2
What is RKE2? RKE stands for Rancher Kubernetes Engine. RKE2 also known as the (RKE Government) is a combination of RKE1 and K3s. It inherits usability, ease-of-operations, and deployment model from…
Read more »Top 50 interview questions and answers for knative
1. What is Knative? Knative is an open-source platform that helps developers build, deploy, and manage serverless workloads on Kubernetes. 2. What are the benefits of using Knative? Knative makes…
Read more »Checklist of Disaster Recovery Plan in Kubernetes (EKS) for GitLab
Disaster Recovery recommendation in Kubernetes Design EKS cluster for disaster recovery? Designing an Amazon Elastic Kubernetes Service (EKS) cluster for disaster recovery involves implementing strategies and configurations that ensure the…
Read more »Kubernetes: Pull an Image from a Private Registry using Yaml and Helm File
Method 1 – Change docker config default registry To change the default registry for Docker to a private registry that requires authentication, you can follow these steps: { “auths”: {…
Read more »Kubernetes Tutorials: Example of StorageClass, PersistentVolume, PersistentVolumeClaim using EBS
Storage Class PersistentVolume PersistentVolumeClaim Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at…
Read more »Most Popular serverless runtimes for Kubernetes
What is serverless? Serverless is a type of cloud computing in which the cloud provider is responsible for managing and allocating the servers for running an application, rather than the…
Read more »Kubernetes Assignment and Project
Submit Answer in the www.Debug.School and share a URL in your Whatsapp Group. Day#1 Day#2 Day#3 Day#4 Day#5 Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I…
Read more »Kubernetes Tutorials: List of Components of Kubernetes
Kubernetes Cluster A Kubernetes cluster consists of control plane, worker nodes, and pods. Control plane components are: Scheduler, ETCD, API server, and control manager. Node components are Kubelet, Kube-proxy, and…
Read more »List of Tools to Setup Kubernetes Clustors
kind kind lets you run Kubernetes on your local computer. This tool requires that you have Docker installed and configured. kind is a tool for running local Kubernetes clusters using…
Read more »Kubernetes Security Assesment
Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market…
Read more »Kubernetes Tutorials: Example code for StorageClass & volumeClaimTemplates with Local Persistent Volume
Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market…
Read more »Kubernetes Tutorials: Example code for StorageClass & PersistentVolumeClaim with hostpath
Prerequisite Example – 1 Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at…
Read more »Kubernetes Trainer in Netherland, Amsterdam
This blog will make you familiar to Kubernetes trainer in Netherland, Amsterdam What is Kubernetes? Kubernetes is a framework for running and coordinating containerized applications across a cluster of machines…
Read more »Kubernetes 1.23.6 Cluster Setup Master and Worker in Ubuntu 20.04 on Google Cloud
Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market…
Read more »Kubernetes CKS: Understanding Kubernetes PKI certificates & Security Best Practices
Kubernetes requires PKI certificates for authentication over TLS. If you install Kubernetes with kubeadm, the certificates that your cluster requires are automatically generated. You can also generate your own certificates —…
Read more »Kubernetes CKS: Kubernetes Security Best Practices
Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market…
Read more »
What is Container Runtime Interface (CRI)?
Container Runtime Interface (CRI) Container runtime interface (CRI) is a plugin interface that lets the kubelet—an agent that runs on every node in a Kubernetes cluster—use more than one type…
Read more »Docker Support is Removed from Kubernetes 1.23 version
The Kubernetes 1.24 release. The release will deprecate several (beta) APIs in favor of stable versions of the same APIs. The major change coming in the Kubernetes 1.24 release is…
Read more »Kubernetes 1.22.9 Cluster Setup Master and Worker in Ubuntu 20.04
Sample Code – https://github.com/certifications-tutorials/cks-course-environment/tree/master/cluster-setup/previous Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at…
Read more »Kubernetes CKS: What is Network Policy & Example Code
If you want to control traffic flow at the IP address or port level (OSI layer 3 or 4), then you might consider using Kubernetes NetworkPolicies for particular applications in…
Read more »Kubernetes Assignment for Administrator
Write a Summary post on following Questions – Top 10 k8 API Resources which is being by Kubernetes Admin – Top 10 kubectl commands to troubleshoot Kubernetes – Top 15…
Read more »Install & Configure Prometheus in Kubernetes Cluster
Step 1- Create 2 PV for Prometheus server & Alert Manager Step 2 – Install using Helm Step 3 – How to access? Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about…
Read more »Kubernetes Clusters Troubleshooting Guide
Source Code – https://github.com/devopsschool-demo-labs-projects/kubernetes-lab-demo/tree/main/Clusters-Troubleshooting Troubleshooting Kubernetes Nodes Troubleshooting Kubernetes Control Plane Troubleshooting Kubernetes Workloads Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus….
Read more »