OC-ROLLOUT-PAUSE(1)

πŸ“¦
version 4.22.0 Β· 2 versions
, in nixpkgs unstable

✨ 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 -f or -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, --filename recursively. 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 the managedFields when 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 exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=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