Source: https://carlos.mendible.com/2018/03/18/my-kubectl-cheat-sheet/
kubectl apply -f [yaml definition file]
kubectl get deployment [deployment name] -o yaml
var bsearch = function(f, a, b, z) { | |
if (a + 1 === b) { | |
return a; | |
} | |
var m = Math.floor(( a + b ) / 2); | |
if (f(m) <= z) { | |
return bsearch(f, m, b, z); | |
} else { | |
return bsearch(f, a, m, z); | |
} |
Source: https://carlos.mendible.com/2018/03/18/my-kubectl-cheat-sheet/
kubectl apply -f [yaml definition file]
kubectl get deployment [deployment name] -o yaml