Last active
June 4, 2021 13:52
-
-
Save Piotr1215/83d9bc72dbe94696c7f75f15a275594b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl apply -f https://raw.githubusercontent.com/Piotr1215/dca-exercises/master/k8s/deployment/1-create-deployment.yaml | |
kubectl scale deployment nginx-test --replicas 5 | |
kubectl expose deployment.app/nginx-test --port 80 --target-port 80 --type NodePort --name nginxsvc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment