OC-ADM-GROUPS-NEW(1)
β¨ OC ADM GROUPS(1) β bestie edition β¨
okay so this is from the oc adm groups manual, June 2016, and it's literally the main character of group creation. π
πΈ NAME πΈ
oc adm groups new β create a new group, slay π
π¦ SYNOPSIS π¦
oc adm groups new [OPTIONS]
β¨ DESCRIPTION β¨
Create a new group. That's it, that's the vibe. π
This command will create a new group with an optional list of users β so you can make a lonely group or a whole squad, your call bestie. π«Ά
π 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 togolangandjsonpathoutput formats. no cap, it just lets it slide π--dry-run="none"β Must be"none","server", or"client". Ifclientstrategy, only print the object that would be sent, without sending it. Ifserverstrategy, submit server-side request without persisting the resource. it's giving "look but don't touch" π-o,--output=""β Output format. One of: (json,yaml,kyaml,name,go-template,go-template-file,template,templatefile,jsonpath,jsonpath-as-json,jsonpath-file). pick your aesthetic π--show-managed-fields=falseβ If true, keep themanagedFieldswhen printing objects in JSON or YAML format. for the detail-obsessed girlies π₯--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β© ]. go off, template queen π
π OPTIONS INHERITED FROM PARENT COMMANDS π
--as=""β Username to impersonate for the operation. User could be a regular user or a service account in a namespace. pretend to be someone else, iconic π--as-group=[]β Group to impersonate for the operation, this flag can be repeated to specify multiple groups. the more the merrier fr fr π--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. stack 'em up β¨--cache-dir="/homeless-shelter/.kube/cache"β Default cache directory. that path is a whole mood ngl π--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. 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. β οΈ warning bestie: this is lowkey dangerous, don't be reckless π¨--kubeconfig=""β Path to the kubeconfig file to use for CLI requests. π--kuberc=""β Path to thekubercfile to use for preferences. This can be disabled by exportingKUBECTL_KUBERC=falsefeature gate or turning off the featureKUBERC=off. fancy config energy β¨--match-server-version=falseβ Require server version to match client version. gotta match, periodt π-n,--namespace=""β If present, the namespace scope for this CLI request. pick your zone π¦--profile="none"β Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex). choose 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. patient girly vibes π§ββοΈ-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. defaults are cute too πΈ--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. no warnings tolerated, strict queen π
π EXAMPLE π
# Add a group with no users
oc adm groups new my-group
# Add a group with two users
oc adm groups new my-group user1 user2
# Add a group with one user and shorter output
oc adm groups new my-group user1 -o name
literally so easy, you got this bestie π«Ά
π SEE ALSO π
π¦ HISTORY π¦
June 2016, Ported from the Kubernetes man-doc generator. vintage icon behavior β¨
that's the whole thing, bestie! go forth and oc adm groups new your way to the top. ππ
πΈ
Openshift β Openshift CLI User Manuals β OC ADM GROUPS(1) π
π¦ 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