Une collection organisée de snippets de code pour accélérer votre développement. Parcourez, recherchez et copiez en un clic.
kubectl logs <nom-du-pod>
kubectl apply -f mon-fichier.yaml
kubectl exec -it <nom-du-pod> -- /bin/sh
kubectl get nodes
kubectl get pods --all-namespaces
kubectl get pods
kubectl scale deployment <nom-du-deployment> --replicas=5
kubectl describe pod <nom-du-pod>
kubectl top pod
kubectl port-forward <nom-du-pod> 8080:80
kubectl logs -f <nom-du-pod>
kubectl delete pod <nom-du-pod>