Deploying Nginx Container
kubectl create deployment sample-nginx --image=nginx --replicas=2 --port=80 kubectl get pods kubectl get deploymentsExpose the deployment as service. This will create an ELB in front of those 2 containers and allow us to publicly access them.
No comments:
Post a Comment