Skip to content

Instantly share code, notes, and snippets.

@Piotr1215
Last active June 4, 2021 13:52
Show Gist options
  • Save Piotr1215/83d9bc72dbe94696c7f75f15a275594b to your computer and use it in GitHub Desktop.
Save Piotr1215/83d9bc72dbe94696c7f75f15a275594b to your computer and use it in GitHub Desktop.
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