OC(1)
β¨ OC(1) β the oc plugin page, but make it a group chat β¨
okay so bestie, you found the OC(1) manual page for oc plugin. Itβs giving βutilities for interacting with plugins,β and weβre about to go through every single inherited flag together. π
πΈ NAME πΈ
oc plugin β provides utilities for interacting with plugins. Thatβs the whole name, and honestly it ate. β¨
π¦ SYNOPSIS π¦
oc plugin [OPTIONS]
π DESCRIPTION π
Plugins are the moment when you want extended functionality that is not part of the major command-line distribution. Itβs giving extra, on purpose. π
Wanna write your own plugins? The documentation and examples have more information about how to write your own plugins. Go read them, iykyk. π«Ά
The easiest way to discover and install plugins is via the kubernetes sub-project krew: [krew.sigs.k8s.io]. To install krew, visit β¨https://krew.sigs.k8s.io/docs/user-guide/setup/installβ©. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
These are inherited from the parent commands, but they still matter for this page. Every default is right here, no cap. π
--as=""β username to impersonate for the operation. User could be a regular user or a service account in a namespace. π«Ά--as-group=[]β group to impersonate for the operation. This flag can be repeated to specify multiple groups. π--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. π--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β iftrue, opt-out of response compression for all requests to the server. π--insecure-skip-tls-verify=falseβ iftrue, the serverβs certificate will not be checked for validity. This will make your HTTPS connections insecure. π¨ no cap, thatβs the warning π¨--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. β¨--profile="none"β name of profile to capture. One of(none|cpu|heap|goroutine|threadcreate|block|mutex). π--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. β°-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. π
π EXAMPLE π
Try these on for size, bestie:
# List all available plugins
oc plugin list
# List only binary names of available plugins without paths
oc plugin list --name-only
π SEE ALSO π
Go say hi to oc(1) and oc-plugin-list(1). π
π°οΈ HISTORY π°οΈ
June 2016, Ported from the Kubernetes man-doc generator. Thatβs the lore. π«Ά
mwah π β from Openshift, the Openshift CLI User Manuals, and your fave OC(1) page, dated June 2016. π
π¦ 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