OC-ADM-PRUNE(1)

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

πŸŽ€ OC-ADM-PRUNE(1) β€” the group-chat guide πŸŽ€

okay so bestie, welcome to OC ADM(1), like, the Openshift CLI User Manuals page for oc adm prune, dated June 2016 ✨. This is the parent command of the whole prune fam, and she's here to help you clean up. Let's go πŸ’…


✨ NAME ✨

oc adm prune β€” remove older versions of resources from the server πŸ§ΉπŸ’–

🌸 SYNOPSIS 🌸

oc adm prune [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

Remove older versions of resources from the server. Yes, that's the whole vibe: declutter the server, no cap πŸ—‘οΈβœ¨

The commands under here let administrators manage the older versions of resources on the system by removing them. Like, spring cleaning but for your cluster, and honestly? iconic πŸ‘‘

πŸ’œ OPTIONS INHERITED FROM PARENT COMMANDS πŸ’œ

These bad boys come down from the parent command β€” you didn't ask for them, they just show up like your mom's friend at the mall πŸ™ˆ

  • --as="" β€” the username to impersonate for the operation. Could be a regular user or a service account in a namespace 🫢
  • --as-group=[] β€” group to impersonate for the operation. You can repeat this flag to specify multiple groups, slay πŸ’…
  • --as-uid="" β€” the UID to impersonate for the operation.
  • --as-user-extra=[] β€” user extras to impersonate for the operation. Repeatable, so you can specify multiple values for the same key ✨
  • --cache-dir="/homeless-shelter/.kube/cache" β€” the default cache directory. That path is literally the default, 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. This will make your HTTPS connections insecure ⚠️ like bestie please be careful
  • --kubeconfig="" β€” path to the kubeconfig file to use for CLI requests.
  • --kuberc="" β€” path to the kuberc file to use for preferences. You can disable this by exporting the KUBECTL_KUBERC=false feature gate or by turning off the feature with KUBERC=off.
  • --match-server-version=false β€” require the server version to match the client version.
  • -n, --namespace="" β€” if present, the namespace scope for this CLI request.
  • --profile="none" β€” name of the 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's 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 πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

the whole squad, fr fr:

🌈 HISTORY 🌈

June 2016, Ported from the Kubernetes man-doc generator. vintage ✨


ok that's the whole page, go forth and prune responsibly bestie πŸ«ΆπŸ’–

and that's a wrap πŸŽ€ β€” brought to you by the Openshift girlies over at the Openshift CLI User Manuals, stamped June 2016, page OC ADM(1), periodt πŸ’…β­

πŸ“¦ where this page comes from