Skip to content

Commit 1108db3

Browse files
More notes
1 parent fe288de commit 1108db3

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

120_kubernetes/kubectl/slides.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ kubectl get pod -o custom-columns=NAME:.metadata.name,STATUS:.status.phase
2626

2727
jsonpath https://kubernetes.io/docs/reference/kubectl/jsonpath/
2828

29+
Watch vs. --watch
30+
2931
### kubeconfig shenanigans
3032

3133
`$HOME/.kube/config`
@@ -38,10 +40,12 @@ jsonpath https://kubernetes.io/docs/reference/kubectl/jsonpath/
3840

3941
`direnv`
4042

41-
### ???
43+
### Shortcuts (a.k.a. no scripts)
4244

4345
kubectl exec -it deployment/foo -- bash
4446

47+
kubectl port-forward svc/foo ...
48+
4549
kubectl edit
4650

4751
kubectl patch
@@ -57,3 +61,13 @@ kubectl create secret --dry-run | kubectl apply -f -
5761
### Better together
5862

5963
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/

0 commit comments

Comments
 (0)