Kubernetes Storage and Volumes Explained in crash way

Storage Types? BLOCK Storagee.g – Laptop, ebs, disks, Network Storagee.g – NFS, efs, files OBJECT STORAGEe.g – git, google drive, s3, blob How we can make kubernetes understanding these storage types for using in pods? “volume plugins” which is in built in kubernetes What are the volume plugins supported in kubernetes? awsElasticBlockStore – AWS Elastic Block Store (EBS) azureDisk – Azure Disk azureFile – Azure File cephfs – CephFS volume cinder – Cinder (OpenStack block storage) (deprecated) csi – Container

Read more

What is kubernetes Service and how it works?

What is kubernetes Service? Service is one of API Resources in K8s Service is network load balancers for PODs Service Load Balance PODS on POD network Service is empowered by kube proxy & network policy Service get Fixed IP address and DNS. Service is managed by k8s Service can be exposed outside of the clustor (port-forward) Service can be STICKY Service always Loadbalnce HEALTHY PODs Service is getting update PODS endpoint(IP) with a help a of CoreDNS based on the

Read more

Git Branching & Merging Assignment

Fast Forward Scnario#1: Masterfea1 No Fast Forward Scnarion#2: Masterfea1 Squash Scnario#3: Masterfea1 Squash Scnario#4: Check out Azure repos -> branch -> branch Polcicy -> Limit merge types Recursive Merge Commands Merge Conflict Resolve commands 1 – Create a Scanario of Recursive merge and Rebase and see a Graph 2 – Create a Scanario of file conflict of same file – same line – 2 diff branch and merge and resolve a conflict manually. 3 – Create Scanario in which you

Read more

Assignment for Kubernetes ReplicasSets, DeamonSets & Statefulsets, & Services

Assignment – 1 Post@BestDevOps.com with Preferred Post TitleWhat is ReplicasSets?How to work with ReplicasSets?Example of ReplicasSets? Assignment – 2 Post@BestDevOps.com with Preferred Post TitleWhat is DeamonSets?How to work with DeamonSets?Example of DeamonSets? Assignment – 3 Post@BestDevOps.com with Preferred Post TitleWhat is Statefulsets?How to work with Statefulsets?Example of Statefulsets? Assignment – 4 What is Service?How Service Works?What are the types of Service?Example Yaml of Service Assigment5 What is Loadbalancer?What are the types of Loadbalancer?How Loadbalancer works? Assigment6 What is Discovery Services?How

Read more

Working with kubernetes Replication Controller

I want to create 1000s of SIMILAR PODS? ReplicationController – ReplicasSets – DeploymentStatefulsets – Deamonsets ReplicationController A ReplicationController ensures that a specified number of pod replicas are running at any one time. In other words, a ReplicationController makes sure that a pod or a homogeneous set of pods is always up and available. Replication– ONE PODs would replicate(SCALE) to X number of PODSController– This controller would control #of ACTUAL PODS === #of Desire PODS– If mis-matched – report back to

Read more

How to use & troubleshoot Kubernetes pods?

Troubleshooting and Debugging Commands: explain Documentation of resources describe Show details of a specific resource or group of resources logs Print the logs for a container in a pod attach Attach to a running container exec Execute a command in a container port-forward Forward one or more local ports to a pod cp Copy files and directories to and from containers. auth Inspect authorization run Run a particular image on the cluster explain Documentation of resources — describe Show details

Read more

What is kubernetes pods with example commands

Kubernetes run PODS Atomic Unit of Work Scheduling is POD in kubernetes Pod get instansciated from Kubelet Pod contains one or more container e.g docker Pod get assignment of IP from kube proxy Worker may have one or multiple pods Pods is Scheduled to kubelet by Schedular Pods are EMPHERAL. Same POD can not be run. Similar pods you may get PODS is running state as long as “All Container” is running/succeded. Pods has state from PEDNING -> RUNNING ->

Read more

Docker – Lab – Assignment – Excercise

Step 1 – Register a site to POST Assigment and Share with Trainer and For Self Notes Step 2 – Pre Test using LMS Login to https://www.devopsschool.com/lms/ using any gmail account Try this quiz – https://www.devopsschool.com/lms/mod/quiz/view.php?id=250 Send a results to shiva@palmeto.co.in Step 3 – Install Docker Engine in Centos#1 Vm. https://devopsschool.com/tutorial/docker/install-config/docker-install-commuityedition-centos-rhel.html Step 4 – Assignment#1 Create a Ubuntu container Install Update, git & apache2 run a git command in container from outside Step 5 – Assignment#2 Create a httpd container

Read more

How to setup a kubernetes clustors in centos 7?

Summary of kubernetes clustor? Master API Server -> POD -> Container -> Docker Image -> Google Registry etcd -> POD -> Container -> Docker Image -> Google Registry Controller mgmr -> POD -> Container -> Docker Image -> Google Registry Schedular -> POD -> Container -> Docker Image -> Google Registry kubelet docker kube proxy -> POD -> Container -> Docker Image -> Google Registry kubectl kubeadm init Worker kubelet docker kube proxy -> POD -> Container -> Docker Image

Read more
1 9 10 11