Kubectl Nodes Commands | |
You can check the number of nodes in the cluster by running the following command: | |
kubectl get nodes | |
You can check the resources available on each node by running the following command: | |
kubectl get nodes -o wide | |
You can check the taints on each node by running the following command: | |
kubectl get nodes -o jsonpath='{.spec.taints}' | |
You can check the nodeSelectors for each pod by running the following command: | |
kubectl get pods -o jsonpath='{.spec.nodeSelector}' | |
Use the kubectl describe pod <pod_name> command to get more information about a specific pod. | |
kubectl get events | |
Use the kubectl get events command to see a list of all events in the cluster, including events related to scheduling failures. | |
kubectl describe pod <pod_name> | |
How to Update admin password of ArgoCD? | |
$ kubectl -n management patch secret argocd-secret -p '{"stringData": {"admin.password": "$2a$12$k.FD0a8385fn1JsEWkHw8eV2aUwK2fwOle0nXiN0d2pjviCOzztmu","admin.passwordMtime": "'$(date +%FT%T%Z)'"}}' | |
Pass - 1toiOR4Vndnuyrw |
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND