File tree 1 file changed +15
-1
lines changed
1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,8 @@ kubectl get pod -o custom-columns=NAME:.metadata.name,STATUS:.status.phase
26
26
27
27
jsonpath https://kubernetes.io/docs/reference/kubectl/jsonpath/
28
28
29
+ Watch vs. --watch
30
+
29
31
### kubeconfig shenanigans
30
32
31
33
` $HOME/.kube/config `
@@ -38,10 +40,12 @@ jsonpath https://kubernetes.io/docs/reference/kubectl/jsonpath/
38
40
39
41
` direnv `
40
42
41
- ### ???
43
+ ### Shortcuts (a.k.a. no scripts)
42
44
43
45
kubectl exec -it deployment/foo -- bash
44
46
47
+ kubectl port-forward svc/foo ...
48
+
45
49
kubectl edit
46
50
47
51
kubectl patch
@@ -57,3 +61,13 @@ kubectl create secret --dry-run | kubectl apply -f -
57
61
### Better together
58
62
59
63
plugins
64
+
65
+ ### API
66
+
67
+ kubectl get --raw
68
+
69
+ kubectl proxy https://kubernetes.io/docs/reference/kubectl/generated/kubectl_proxy/
70
+
71
+ API server proxy URLs https://kubernetes.io/docs/tasks/access-application-cluster/access-cluster-services/#manually-constructing-apiserver-proxy-urls
72
+
73
+ Remote SOCKS5 https://kubernetes.io/docs/tasks/extend-kubernetes/socks5-proxy-access-api/
You can’t perform that action at this time.
0 commit comments