The command kubectl get pods <POD NAME>
will return the specific pod with that name. I wonder if there is a way that I can use part of the name, for instance, a command that returns all pods that start with j
.
In Linux Bash:
kubectl get pods | grep ^j
In Windows PowerShell:
kubectl get pods | Select-String '^j'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With