Kubectl Commands
kompose convert -f docker-compose.prod.yml -o kubemanifests.yaml kubectl apply -f kubemanifests.yaml kubectl get pods kubectl delete --all pods kubectl delete --all deployments kubectl delete deployment hello-world kubectl get svc kubectl get po Finding IP Address kubectl describe services example-service Get a service URL minikube service apache --url Access a pod via SSH kubectl exec -it <Pod_Name> -- /bin/bash
Commentaires
Enregistrer un commentaire