kubernetes tutorial | ReplicaSet | Demo - Create ReplicaSet using kubectl commands

preview_player
Показать описание
Certified Kubernetes Administrator
*************************************
kubernetes tutorial | ReplicaSet | Demo - Create ReplicaSet using kubectl commands

Description:
*************
In this video, you are going to learn the concepts of ReplicaSet & a Demo on how to create ReplicaSet using kubectl commands (or) yaml manifests

What is ReplicaSet ?
Alternative to ReplicaSet – Deployment (Recommended)
How to create a ReplicaSet ?
ReplicaSet yaml manifest
How ReplicaSet Works ?
DEMO: Create the ReplicaSet using the Manifest file

For suggestions/feedback/doubts contact

Happy Learning !!!

===========================================================================================
USEFUL LINKS:
#############

ReplicaSet:
--------------------

API References:
--------------------------

Kubectl Command Reference:
------------------------------------------------

==========================================================================================
#cka #kubernetes #k8s #containers

DEMO STEPS:
***********

Step 1: Access & Inspect the Kubernetes Cluster
------------------------------------------------------------------------------

$ kubectl cluster-info

$ kubectl get nodes

$ kubectl get pods -n kube-system

Step 2: Create & Modify ReplicaSet Manifest using kubectl commands
----------------------------------------------------------------------------------------------------------------

$ kubectl create deployment myreplicaset --image=nginx --replicas=1 --dry-run=client -o yaml

Step 3: Create the ReplicaSet using the Manifest file (Replicas =1)
---------------------------------------------------------------------------------------------------------

Step 4: Increase the Replica count to 2 in the ReplicaSet
------------------------------------------------------------------------------------------

Either you can edit the resource itself using kubectl commands

Or you can modify the manifest yaml file and apply the same (Recommended)

Step 5: Delete a Replica/Pod and Observe the Behavior
-----------------------------------------------------------------------------------------

$ kubectl delete pod --podname--

========================================================================================================================
Рекомендации по теме
Комментарии
Автор

Nice explanation sir... Could you please upload more videos with one real-time project

gottamshiva
welcome to shbcf.ru