Compare commits
No commits in common. "f89dd485b88c728690194bd3acd6fd1b1ac54e48" and "3b6d1f3f84d6577cd686fbb21989e0729799a7b8" have entirely different histories.
f89dd485b8
...
3b6d1f3f84
@ -12,8 +12,6 @@ kubectl plugin list
|
|||||||
```
|
```
|
||||||
|
|
||||||
## kubectl-rsh
|
## kubectl-rsh
|
||||||
Creates a pod on the node and executes a shell on that node.
|
|
||||||
You need cluster admin rights and privileged pod execution rights
|
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
kubectl rsh [nodeName]
|
kubectl rsh [nodeName]
|
||||||
@ -25,9 +23,3 @@ Usage:
|
|||||||
| KUBECTL_RSH_IMAGE_TAG | latest | Image tag to use |
|
| KUBECTL_RSH_IMAGE_TAG | latest | Image tag to use |
|
||||||
| KUBECTL_RSH_NAMESPACE | default | Namespace to create the rsh pod in |
|
| KUBECTL_RSH_NAMESPACE | default | Namespace to create the rsh pod in |
|
||||||
| KUBECTL_RSH_POD_CREATE_TIMEOUT | 3 | Minutes to wait before failing to create pod |
|
| KUBECTL_RSH_POD_CREATE_TIMEOUT | 3 | Minutes to wait before failing to create pod |
|
||||||
|
|
||||||
## kubectl-deprecated_api
|
|
||||||
Lists APIs flagged as deprecated
|
|
||||||
|
|
||||||
Usage:
|
|
||||||
kubectl deprecated-api
|
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
if ! command -v prom2json > /dev/null; then
|
|
||||||
echo "You need prom2json to use this command"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
kubectl get --raw /metrics | prom2json | jq -c '.[] | select(.name=="apiserver_requested_deprecated_apis").metrics[].labels' | column -t -s'{}[],"'
|
|
Loading…
x
Reference in New Issue
Block a user