/nginx-deployment

deployment and service yaml files required to deploy nginx

nginx-deployment

Deployment and Service yaml files for nginx

Starting deployment

Clone this repository to the master node and run the following commands

cd nginx-deployment

kubectl apply -f nginx-deployment.yaml
kubectl apply -f nginx-service.yaml

Status

To see the nodes in the cluster

kubectl get nodes

To see the pods

kubectl get pods -o wide

To see all the deployments

kubectl get deploy -o wide

To see all the services

kubectl get svc -o wide

URL

To see the nginx welcome page

curl http://(slave-node-public-ip):30004