OC-ADM-GROUPS(1)
πΈ 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 exportingKUBECTL_KUBERC=falsefeature gate or turning off the featureKUBERC=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:
oc-adm(1)oc-adm-groups-add-users(1)oc-adm-groups-new(1)oc-adm-groups-prune(1)oc-adm-groups-remove-users(1)oc-adm-groups-sync(1)
π 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
- 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