OC-ADM-GROUPS(1)

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

🌸 OC ADM GROUPS(1) 🌸

okay bestie, welcome to the oc adm manual β€” like, the whole thing, and yes we're starting with groups πŸ’…


✨ NAME ✨

oc adm groups β€” manage groups 🫢

✨ SYNOPSIS ✨

oc adm groups [OPTIONS]

✨ DESCRIPTION ✨

Manage groups in your cluster. Literally that's the vibe. πŸ‘‘

Groups are sets of users that can be used when describing policy. iykyk β€” think of them as lil friend groups that policy can point at. πŸŽ€


🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these aren't even groups' own flags, they're inherited from the parent command β€” but they're iconic so here we go:

  • --as="" β€” the username to impersonate for the operation. could be a regular user OR a service account in a namespace. main character energy, but make it auth πŸ”₯
  • --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. πŸͺͺ
  • --as-user-extra=[] β€” user extras to impersonate for the operation. this flag can be repeated to specify multiple values for the same key. lowkey flexible fr πŸ¦‹
  • --cache-dir="/homeless-shelter/.kube/cache" β€” default cache directory. yes that's the literal path, no I'm not joking 😭
  • --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. no squishing, thank you πŸ™…β€β™€οΈ
  • --insecure-skip-tls-verify=false β€” if true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure. ⚠️ bestie this one is literally giving danger β€” it's insecure, not a cute shortcut πŸ’€
  • --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 exporting KUBECTL_KUBERC=false feature gate or turning off the feature KUBERC=off. πŸŽ›οΈ
  • --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. 🏷️
  • --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. patience is a virtue etc etc ⏳
  • -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. zero tolerance era 😀

πŸ‘€ SEE ALSO πŸ‘€

go off, read these too:


πŸ“œ HISTORY πŸ“œ

June 2016, Ported from the Kubernetes man-doc generator. a vintage era fr, but the lore is real πŸ•°οΈ


okay that's the whole page bestie, slay πŸ’– this was Openshift β€” Openshift CLI User Manuals β€” dated June 2016, filed under OC ADM(1). periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from