This is to follow Docker - Orchestration.
The Powershell commands:
- kubectl apply -f pod.yaml
- kubectl get pods
- kubectl logs demo
- kubectl delete -f pod.yaml
This is to follow Docker - Deploy to Kubernetes.
Try the following Powershell command first, as we will use this image in our deployment.
- docker run -d -p 30000:80 docker/getting-started
The Powershell commands:
- kubectl apply -f bb.yaml
- kubectl get deployments
- kubectl get services
- kubectl delete -f bb.yaml