OC-ROLLOUT-PAUSE(1)
β¨ OC ROLLOUT(1) β the "pause" era β¨
okay so bestie, welcome to the oc rollout pause page π
this is from the OpenShift CLI User Manuals, June 2016, and it's literally the glow-up your deployment needs when you want it to just chill for a sec. no cap.
πΈ NAME πΈ
oc rollout pause β mark the provided resource as paused π«Ά
π SYNOPSIS π
oc rollout pause [OPTIONS]
π¦ DESCRIPTION π¦
Mark the provided resource as paused. periodt. π
Paused resources will not be reconciled by a controller. use oc rollout resume to resume a paused resource. currently, only deployments support being paused β that's the vibe check, don't come for me. π
π OPTIONS π
--allow-missing-template-keys=trueβ if true, ignore any errors in templates when a field or map key is missing in the template. only applies to golang and jsonpath output formats. lowkey a lifesaver when your template is being dramatic π--field-manager="kubectl-rollout"β name of the manager used to track field ownership. iykyk.-f,--filename=[]β filename, directory, or URL to files identifying the resource to get from a server. like, tell me where the manifest lives bestie ποΈ-k,--kustomize=""β process the kustomization directory. this flag can't be used together with-for-R. no cap, they're not compatible, pick a lane π-o,--output=""β output format. one of: (json,yaml,kyaml,name,go-template,go-template-file,template,templatefile,jsonpath,jsonpath-as-json,jsonpath-file). choose your fighter β¨-R,--recursive=falseβ process the directory used in-f,--filenamerecursively. useful when you want to manage related manifests organized within the same directory. it's giving organized queen energy π§-l,--selector=""β selector (label query) to filter on, supports'=','==','!=','in','notin'. (e.g.-l key1=value1,key2=value2,key3 in (value3)). matching objects must satisfy all of the specified label constraints. all of them. every single one. no exceptions bestie π--show-managed-fields=falseβ if true, keep themanagedFieldswhen printing objects in JSON or YAML format. main character metadata vibes π--template=""β template string or path to template file to use when-o=go-template,-o=go-template-file. the template format is golang templates [ β¨http://golang.org/pkg/text/template/#pkg-overviewβ© ]. ngl, go read the docs, they ate. π₯
π OPTIONS INHERITED FROM PARENT COMMANDS π
these are the hand-me-downs from the parent command, and honestly? they're iconic. π
--as=""β username to impersonate for the operation. user could be a regular user or a service account in a namespace. be someone else, slay π--as-group=[]β group to impersonate for the operation, this flag can be repeated to specify multiple groups. stack 'em up π«Ά--as-uid=""β UID to impersonate for the operation. yes, the UID specifically. we love specificity.--as-user-extra=[]β user extras to impersonate for the operation, this flag can be repeated to specify multiple values for the same key. extra. literally extra. π--cache-dir="/homeless-shelter/.kube/cache"β default cache directory. that path is giving chaotic neutral but ok π--certificate-authority=""β path to a cert file for the certificate authority. trust issues? fix 'em here.--client-certificate=""β path to a client certificate file for TLS. secure the bag π--client-key=""β path to a client key file for TLS. the key to the kingdom, periodt.--cluster=""β the name of the kubeconfig cluster to use. pick your cluster bestie π--context=""β the name of the kubeconfig context to use. context is everything, literally.--disable-compression=falseβ if true, opt-out of response compression for all requests to the server. uncompressed and unbothered β¨--insecure-skip-tls-verify=falseβ if true, the server's certificate will not be checked for validity. this will make your HTTPS connections insecure β like, actually insecure, not cute insecure. be careful bestie β οΈ--kubeconfig=""β path to the kubeconfig file to use for CLI requests. where's your config at? ποΈ--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. toggle vibes ποΈ--match-server-version=falseβ require server version to match client version. matching outfits only π―-n,--namespace=""β if present, the namespace scope for this CLI request. stay in your lane (affectionate) π--profile="none"β name of profile to capture. one of (none|cpu|heap|goroutine|threadcreate|block|mutex). profiling era π--profile-output="profile.pprof"β name of the file to write the profile to. save the receipts π--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 chill, zero timeout π-s,--server=""β the address and port of the Kubernetes API server. slide into the server's DMs π‘--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. default behavior is lowkey fine.--token=""β bearer token for authentication to the API server. your all-access pass ποΈ--user=""β the name of the kubeconfig user to use. who dis? π--warnings-as-errors=falseβ treat warnings received from the server as errors and exit with a non-zero exit code. strict queen behavior π
β EXAMPLE β
# Mark the nginx deployment as paused
# Any current state of the deployment will continue its function; new updates
# to the deployment will not have an effect as long as the deployment is paused
oc rollout pause deployment/nginx
see how clean that is? the nginx deployment stays doing its current thing, but new updates are on do-not-disturb until you resume. obsessed. π¦
π SEE ALSO π
that's the whole family tree, bestie. go check it out.
π HISTORY π
June 2016, ported from the Kubernetes man-doc generator. vintage. iconic. historic. π
sign-off szn π this page came from Openshift β Openshift CLI User Manuals β and it's dated June 2016. go pause something responsibly, bestie. mwah. πβ¨
π¦ 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