https://linuxhint.com/sort-kubectl-events-by-time/
kubectl get events --sort-by='.lastTimestamp' -n amex-poc
============================================================
kubectl describe pod foobar-1h6yyy -n namespace
kubectl describe svc foobarservice -n namespace
kubectl describe deployment foobardeploy -n namespace
============================================================
kubectl logs mongodb-2 -n amex-poc mongodb --tail=200
kubectl logs mongodb-2 -n amex-poc mongodb --follow
============================================================
kubectl get pods -n namespace1 -w -l app=io.dev.service
-w is watch
-l "key=value" Labels
============================================================
kubectl create -f rabbitmq-deployment.yml -f rabbitmq-service.yml
kubectl delete -f rabbitmq-service.yml -f rabbitmq-deployment.yml
============================================================
kubectl delete deployment foodeploy -n namespace1
kubectl delete deployments foodeploy -n namespace1
kubectl delete service foobarservice -n namespace1
kubectl delete svc foobarservice -n namespace1
deployments ==== deployment
svc ====service ==== services
============================================================