OC(1)
π
OC(1) β ok bestie, welcome to oc adm
So this page? It's oc adm from the OpenShift CLI User Manuals situation, and it's dated June 2016 β vintage, honestly. Anyway. Sit down, grab a lil snack π, because this is the admin toolkit and it's giving main character energy.
β¨ NAME β¨
oc adm β literally the tools for managing a cluster. that's it. that's the vibe. π
π¦ SYNOPSIS π¦
oc adm [OPTIONS]
πΈ DESCRIPTION πΈ
Administrative Commands. capital A, capital C, no cap.
This is where all the actions for administering an OpenShift cluster live. Like, all of them. They're exposed here. That's the whole description, she's concise, we respect it π«Ά
π OPTIONS INHERITED FROM PARENT COMMANDS π
ok so these aren't even oc adm's own flags β they're inherited from the parent commands, like hand-me-downs but make it Kubernetes. every single one, here we go π
--as=""β the username you wanna impersonate for the operation. and like, user could be a regular user OR a service account in a namespace, so werk either way β¨--as-group=[]β group to impersonate for the operation. this flag can be repeated to specify multiple groups β yes bestie, repeat her π--as-uid=""β UID to impersonate for the operation.--as-user-extra=[]β user extras to impersonate for the operation. this flag can be repeated to specify multiple values for the same key π--cache-dir="/homeless-shelter/.kube/cache"β default cache directory. (yes,/homeless-shelteris really what it says, don't come for me π)--certificate-authority=""β path to a cert file for the certificate authority.--client-certificate=""β path to a client certificate file for TLS.--client-key=""β path to a client key file for TLS.--cluster=""β the name of the kubeconfig cluster to use.--context=""β the name of the kubeconfig context to use.--disable-compression=falseβ if true, opt-out of response compression for all requests to the server.--insecure-skip-tls-verify=falseβ if true, the server's certificate will not be checked for validity. > β οΈ heads up bestie: this will make your HTTPS connections insecure. like actually insecure. dramatic on purpose. π--kubeconfig=""β path to the kubeconfig file to use for CLI requests.--kuberc=""β path to the kuberc file to use for preferences. this can be disabled by exportingKUBECTL_KUBERC=falsefeature gate or turning off the featureKUBERC=off.--match-server-version=falseβ require server version to match client version.-n,--namespace=""β if present, the namespace scope for this CLI request. short flag girlies rise π--profile="none"β name of profile to capture. one of(none|cpu|heap|goroutine|threadcreate|block|mutex)β pick your fighter π--profile-output="profile.pprof"β name of the file to write the profile to.--request-timeout="0"β the length of time to wait before giving up on a single server request. non-zero values should contain a corresponding time unit (e.g.1s,2m,3h). a value of zero means don't timeout requests. zero = no thoughts head empty, we wait forever π§-s,--server=""β the address and port of the Kubernetes API server.--tls-server-name=""β server name to use for server certificate validation. if it is not provided, the hostname used to contact the server is used.--token=""β bearer token for authentication to the API server.--user=""β the name of the kubeconfig user to use.--warnings-as-errors=falseβ treat warnings received from the server as errors and exit with a non-zero exit code. spicy but fair π₯
π₯ SEE ALSO π₯
the whole friend group. every single one of them, no gatekeeping:
oc(1), oc-adm-build-chain(1), oc-adm-catalog(1), oc-adm-certificate(1), oc-adm-copy-to-node(1), oc-adm-cordon(1), oc-adm-create-bootstrap-project-template(1), oc-adm-create-error-template(1), oc-adm-create-login-template(1), oc-adm-create-provider-selection-template(1), oc-adm-drain(1), oc-adm-groups(1), oc-adm-inspect(1), oc-adm-migrate(1), oc-adm-must-gather(1), oc-adm-new-project(1), oc-adm-node-image(1), oc-adm-node-logs(1), oc-adm-ocp-certificates(1), oc-adm-pod-network(1), oc-adm-policy(1), oc-adm-prune(1), oc-adm-reboot-machine-config-pool(1), oc-adm-release(1), oc-adm-restart-kubelet(1), oc-adm-taint(1), oc-adm-top(1), oc-adm-uncordon(1), oc-adm-upgrade(1), oc-adm-verify-image-signature(1), oc-adm-wait-for-node-reboot(1), oc-adm-wait-for-stable-cluster(1)
β HISTORY β
June 2016 β ported from the Kubernetes man-doc generator. so she's been around a minute, an icon, an OG π
okay that's the whole page, you ate that honestly π
Openshift β’ Openshift CLI User Manuals β’ June 2016 β mwah, go forth and admin, bestie π¦β¨π
π¦ where this page comes from
- nixpkgs unstable: openshift 4.22.0-202605222050
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms