PBPARINITHA B.Sinparinithabs.hashnode.dev·Sep 23, 2023 · 1 min readYAML templates for pod creation in KubernetesA pod can be created using a YAML template $vim pod_definition.yml A simple pod_definition template in YAML is as follows: apiVersion: v1 kind: Pod metadata: name: new-pod spec: containers: - name: nginx image: nginx Then, execute the command:...01V
PBPARINITHA B.Sinparinithabs.hashnode.dev·Sep 15, 2023 · 1 min readNeed for Container OrchestrationContainers are completely isolated run-time environments, for each component or an application. In a production environment, there will be multiple containers running for multiple components. Hence, managing containers becomes a tedious, repetitive a...00
PBPARINITHA B.Sinparinithabs.hashnode.dev·Sep 15, 2023 · 1 min readKubernetes Commands - Part 1To get the version of Kubernetes running on the cluster: kubectl version To get the list of nodes: kubectl get nodes To get the list of pods: kubectl get pods To get the list of pods and broader/wider information about pods: kubectl get pods -...00
PBPARINITHA B.Sinparinithabs.hashnode.dev·Sep 1, 2023 · 2 min readNeed for Containers - Scenario basedLet's say, we were developing an end-to-end application. The technologies used were: WebServer - Node JS Database - Mongo DB Messaging - Redis Orchestration - Ansible We encountered compatibility issues:- OS Compatibility: The different servic...00
PBPARINITHA B.Sinparinithabs.hashnode.dev·Sep 1, 2023 · 2 min readKubernetes Introduction - Part 2Kubernetes Components:- Pod:- Smallest unit of Kubernetes. Node:- Virtual/Physical Machines. Service:- Static IP address that can be linked to the pod. Ingress:- Provides externally-reachable URLs to Kubernetes Services ConfigMap:- Contains Kube...00