KUBERNETES(1)(kubernetes)

πŸ“¦
version 1.37.2 Β· 5 versions
, in arch rolling, fedora 43, fedora 44, nixpkgs unstable

πŸ’– KUBERNETES(1)(kubernetes) β€” like, the whole manual page but make it make sense πŸ’–

okay bestie, so this page lives in section 1 of the kubernetes manuals, and it was originally written by Eric Paris back in January 2015. yes, that's ancient. we love a legacy queen. πŸ‘‘


✨ NAME ✨

kubectl certificate β€” Modify certificate resources


🌸 SYNOPSIS 🌸

kubectl certificate [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

Modify certificate resources.

that's it. that's the whole vibe. it's giving "short and mysterious," and honestly? iconic. πŸ’…


πŸŽ€ OPTIONS INHERITED FROM PARENT COMMANDS πŸŽ€

so these aren't even its options, bestie β€” they're inherited from the parent command, which is literally the way that kubectl passes stuff down. here's every single one, no skips, no cuts:

  • --as="" β€” username to impersonate for the operation. could be a regular user, or a service account in a namespace. dress-up time, but for auth. πŸͺͺ
  • --as-group=[] β€” group to impersonate for the operation. this flag can be repeated to specify multiple groups. stack 'em.
  • --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.
  • --cache-dir="/home/username/.kube/cache" β€” default cache directory. yes, the default is that literal path with username in it. no, i'm not kidding.
  • --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. 🚨 bestie, this is literally the "trust me bro" flag. dangerous. do not casually.
  • --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. it's giving "we must match, we're a set."
  • -n, --namespace="" β€” if present, the namespace scope for this CLI request.
  • --password="" β€” password for basic authentication to the API server.
  • --profile="none" β€” name of profile to capture. one of (none|cpu|heap|goroutine|threadcreate|block|mutex|trace).
  • --profile-output="profile.pprof" β€” name of the file to write the profile to.
  • --proxy-url="" β€” proxy URL to use for requests to the API server.
  • --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 = forever = main character energy. ⏳
  • -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.
  • --username="" β€” username for basic authentication to the API server.
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version.
  • --warnings-as-errors=false β€” treat warnings received from the server as errors and exit with a non-zero exit code.
ok quick note: that's 27 inherited options and you're getting all 27, because we don't gatekeep here. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

go read these too, they're the friend group:


πŸ’€ HISTORY πŸ’€

January 2015, originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material β€” "but hopefully they have been automatically generated since!" and honestly, same, bestie, may the scripts do the work forever. πŸ™ˆβœ¨


kubectl certificate β€” that's the whole page, no cap. it's short, it's sweet, it's a gateway to approve and deny, and now you know every flag it inherited.

and for the record, this little love letter lives under the Manuals / User section, dated January 2015, and yes it's still out here being iconic in the KUBERNETES(1)(kubernetes) source. slay. πŸ’–πŸŒˆπŸ¦‹

πŸ“¦ where this page comes from