cd /root/kubernetes-practice
kubectl create -f pod-httpd.yaml
kubectl get po
kubectl get po httpd -o yaml
kubectl create -f service-httpd.yaml
kubectl get svc
kubectl get svc
kubectl get svc apache -o yaml
curl https://192.168.33.10:30000
curl https://192.168.33.20:30000
curl https://192.168.33.30:30000
kubectl delete -f service-httpd.yaml
kubectl delete -f pod-httpd.yaml
kubectl create -f sample/deploying/run-my-nginx.yaml
kubectl get deployment
kubectl get pods
kubectl describe po
kubectl delete deployment/my-nginx
kubectl create -f sample/deploying/nginx-app.yaml
kubectl get ep
kubectl apply -f sample/deploying/nginx-app.yaml
kubectl edit po httpd