3 ms·
Or, to avoid the persistent state.. function dkube env KUBECONFIG=$HOME/.kube/config-dev $argv end function dkctl dkube kubectl $argv
by Nullabillity 6y ago
Or, to avoid the persistent state..
function dkube
env KUBECONFIG=$HOME/.kube/config-dev $argv
end
function dkctl
dkube kubectl $argv
end
- remram 6y agoIt's funny, I used to have something exactly like this, but found that too many other tools and scripts also needed to access the right cluster. Persistent state works better for me in practice.