kubernetes tutorial | Service Networking | DEMO NodePort Service

Описание к видео kubernetes tutorial | Service Networking | DEMO NodePort Service

CERTIFIED KUBERNETES ADMINISTRATOR
-------------------------------------------------------------------------




Kubernetes Tutorial | DEMO NodePort Service
-------------------------------------------------------------------------------


In this video, you are going to a DEMO on NodePort 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 nodes


$ kubectl get pods -n kube-system



Step 2: Create and Apply 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 and Apply NodePort service using YAML Manifest

$ kubectl create service nodeport nodeport-service --tcp=8080:80 --dry-run=client -o yaml

use the above command and create nodeport-service.yaml


Reference

https://kubernetes.io/docs/reference/...


Step 4: Access NodePort service using the NodeIP and the NodePort

Access the NodePort service using using the NodeIP and the NodePort


THE END

Комментарии

Информация по комментариям в разработке