OC-ADM-POD-NETWORK-MAKE-PROJECTS-GLOBAL(1)

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

πŸ’– NAME πŸ’–

okay so welcome to OC ADM POD-NETWORK(1), bestie β€” this is the manual page for oc adm pod-network make-projects-global, aka the command that makes project network global. Slay. βœ¨πŸ’…

✨ SYNOPSIS ✨

oc adm pod-network make-projects-global [OPTIONS]

🌸 DESCRIPTION 🌸

Make project network global. That's it, that's the assignment. πŸ’–

When you're using the redhat/openshift-ovs-multitenant network plugin, this allows projects to access all pods in the cluster and vice versa. No cap, that's the whole vibe. 🫢

πŸŽ€ OPTIONS πŸŽ€

  • --selector="" β€” Label selector to filter projects. Either pass one/more projects as arguments or use this project selector. iykyk. πŸ’…

🌈 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. πŸ‘‘
  • --as-group=[] β€” Group to impersonate for the operation, this flag can be repeated to specify multiple groups. πŸ’…
  • --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="/homeless-shelter/.kube/cache" β€” Default cache directory. πŸ“
  • --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. ⭐
  • --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. ⭐
  • -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). πŸ”₯
  • --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 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. πŸ’€

⭐ EXAMPLE ⭐

                # Allow project p1 to access all pods in the cluster and vice versa
                oc adm pod-network make-projects-global <p1>

                # Allow all projects with label name=share to access all pods in the cluster and vice versa
                oc adm pod-network make-projects-global --selector='name=share'

πŸ¦‹ SEE ALSO πŸ¦‹

πŸ’œ HISTORY πŸ’œ

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


source/version and date cutie check: Openshift β€” Openshift CLI User Manuals β€” June 2016 β€” page OC ADM POD-NETWORK(1). mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from