Prerequisites

porter kubectl is a wrapper around the kubectl CLI tool that automatically sets the correct kubeconfig for your configured Porter cluster, in the form:

porter kubectl -- [kubectl commands] [kubectl args]

For example, if with kubectl you would do something like:

kubectl get pods -n prod

The above would translate to the following:

porter kubectl -- get pods -n prod