Professional Documents
Culture Documents
Kubernetes Commands
Kubernetes Commands
7. To get the statefulsets for the namespace: kubectl get statefulsets -n dreamio
8. To edit the yaml file for a particular statefulset : kubectl edit statefulsets zk -n dreamio
9. To check the yaml file for a namespace: kubectl get svc zk-hs -o yaml -n dreamio
10. To delete a pod: kubectl delete pod zk-0 -n dreamio
12. To check the logs for a namespace: kubectl logs dreamio-executor-0 -n dreamio