CERTIFIED KUBERNETES ADMINISTRATOR
-------------------------------------------------------------------------
Kubernetes Tutorial | DEMO ClusterIP Service
-------------------------------------------------------------------------------
In this video, you are going to see a DEMO on ClusterIP Service
For suggestions/feedback/doubts contact
email: [email protected]
Happy Learning !!!
===========================================================================================
USEFUL LINKS
----------------------------
Service Networking
https://kubernetes.io/docs/concepts/s...
Service Types*
https://kubernetes.io/docs/concepts/s...
Kubectl Command Reference*
https://kubernetes.io/docs/reference/...
==========================================================================================
#cka #kubernetes #k8s #containers
DEMO STEPS
Step 1: Access & Inspect the Kubernetes Cluster
$ kubectl cluster-info
$ kubectl get pods -n kube-system
$ kubectl get nodes
Step 2: Create a Kubernetes Deployment using YAML Manifest
$ kubectl create deployment webserver --image=httpd --replicas=2 --dry-run=client -o yaml
Use the above command and create deployment.yaml
Reference
https://kubernetes.io/docs/reference/...
Step 3: Create a ClusterIP service using YAML Manifest
$ kubectl create service clusterip my-cs --tcp=8080:80 --dry-run=client -o yaml
Use the above command and create clusterip-service.yaml
Reference
https://kubernetes.io/docs/reference/...
Step 4: Access ClusterIP service from/within the Cluster
Access the ClusterIP service using its Static IP address from/within the cluster
Step 5: Access ClusterIP service from outside of the Cluster
Access the ClusterIP service using its Static IP address outside of the cluster
THE END
Watch video kubernetes tutorial | Service Networking | DEMO ClusterIP Service online without registration, duration hours minute second in high quality. This video was added by user VSPARKZ 17 September 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 257 once and liked it 11 people.