mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 12:22:03 +00:00
gcloud: Wed Sep 20 10:45:25 UTC 2023
This commit is contained in:
parent
952686eb78
commit
54eca12593
183 changed files with 2246 additions and 4040 deletions
|
|
@ -73,10 +73,6 @@ GROUPS
|
|||
multi-cluster-services
|
||||
(BETA) Manage Multi-cluster Services Feature.
|
||||
|
||||
namespaces
|
||||
(BETA) Fleet namespaces are the fleet equivalent of k8s cluster
|
||||
namespaces.
|
||||
|
||||
scopes
|
||||
(BETA) Manage scopes of all your GKE fleets.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,65 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces create - create a fleet namespace
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces create NAME [--scope=SCOPE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The project specified does not exist.
|
||||
▪ The project has a fleet namespace with the same name.
|
||||
▪ The caller does not have permission to access the given project.
|
||||
|
||||
EXAMPLES
|
||||
To create a fleet namespace with name NAMESPACE in the active project, run:
|
||||
|
||||
$ gcloud beta container fleet namespaces create NAMESPACE
|
||||
|
||||
To create a fleet namespace in fleet scope SCOPE in project PROJECT_ID with
|
||||
name NAMESPACE, run:
|
||||
|
||||
$ gcloud beta container fleet namespaces create NAMESPACE \
|
||||
--scope=SCOPE --project=PROJECT_ID
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
Name of the fleet namespace to be created. Must comply with RFC 1123
|
||||
(up to 63 characters, alphanumeric and '-')
|
||||
|
||||
FLAGS
|
||||
Scope resource - The group of arguments defining the Fleet Scope. This
|
||||
represents a Cloud resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument --scope on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
To set the location attribute:
|
||||
◆ provide the argument --scope on the command line with a fully
|
||||
specified name;
|
||||
◆ global is the only supported location.
|
||||
|
||||
--scope=SCOPE
|
||||
ID of the scope or fully qualified identifier for the scope.
|
||||
|
||||
To set the scope attribute:
|
||||
▸ provide the argument --scope on the command line.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces create
|
||||
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces delete - delete a fleet namespace
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces delete NAME [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The project specified does not exist.
|
||||
▪ The namespace specified does not exist.
|
||||
▪ The caller does not have permission to access the given project or
|
||||
namespace.
|
||||
|
||||
EXAMPLES
|
||||
To delete fleet namespace NAMESPACE in the active project:
|
||||
|
||||
$ gcloud beta container fleet namespaces delete NAMESPACE
|
||||
|
||||
To delete fleet namespace NAMESPACE in project PROJECT_ID:
|
||||
|
||||
$ gcloud beta container fleet namespaces delete NAMESPACE \
|
||||
--project=PROJECT_ID
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
Name of the fleet namespace to be deleted.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces delete
|
||||
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces describe - show fleet namespace info
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces describe NAME [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The project specified does not exist.
|
||||
▪ The namespace specified does not exist in the project.
|
||||
▪ The caller does not have permission to access the project or
|
||||
namespace.
|
||||
|
||||
EXAMPLES
|
||||
To print metadata for the namespace NAMESPACE in the active project, run:
|
||||
|
||||
$ gcloud beta container fleet namespaces describe NAMESPACE
|
||||
|
||||
To print metadata for the namespace NAMESPACE in project PROJECT_ID, run:
|
||||
|
||||
$ gcloud beta container fleet namespaces describe NAMESPACE \
|
||||
--project=PROJECT_ID
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
Name of the fleet namespace to be described.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces describe
|
||||
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces get-credentials - fetch credentials
|
||||
for a membership with a particular namespace
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces get-credentials NAMESPACE
|
||||
[--membership=MEMBERSHIP] [--membership-location=MEMBERSHIP_LOCATION]
|
||||
[--set-namespace-in-config=SET_NAMESPACE_IN_CONFIG]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
EXAMPLES
|
||||
Get the Connect Gateway kubeconfig for global membership MEMBERSHIP, using
|
||||
namespace NAMESPACE in the config:
|
||||
|
||||
$ gcloud beta container fleet namespaces get-credentials NAMESPACE \
|
||||
--membership=MEMBERSHIP --membership-location=global \
|
||||
--set-namespace-in-config=true
|
||||
|
||||
Get the Connect Gateway kubeconfig for global membership MEMBERSHIP:
|
||||
|
||||
$ gcloud beta container fleet namespaces get-credentials NAMESPACE \
|
||||
--membership=MEMBERSHIP --membership-location=global
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAMESPACE
|
||||
Name of the namespace for which to get access to memberships.
|
||||
|
||||
FLAGS
|
||||
--membership=MEMBERSHIP
|
||||
Membership ID to get credentials from. If not provided, a prompt will
|
||||
offer a list of memberships in the fleet.
|
||||
|
||||
--membership-location=MEMBERSHIP_LOCATION
|
||||
The location of the membership resource, e.g. us-central1. If not
|
||||
specified, defaults to global.
|
||||
|
||||
--set-namespace-in-config=SET_NAMESPACE_IN_CONFIG
|
||||
If true, the default namespace for the context in the generated
|
||||
kubeconfig will be set to the Fleet namespace (i.e. the name given as
|
||||
the positional argument in this command).
|
||||
|
||||
Otherwise, no default namespace will be set, functioning the same as
|
||||
gcloud container fleet memberships get-credentials.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces get-credentials
|
||||
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces - fleet namespaces are the fleet
|
||||
equivalent of k8s cluster namespaces
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces GROUP | COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command group allows for manipulation of fleet namespaces.
|
||||
|
||||
EXAMPLES
|
||||
Manage fleet namespaces:
|
||||
|
||||
$ gcloud beta container fleet namespaces --help
|
||||
|
||||
Manage RBAC RoleBindings in a fleet namespace:
|
||||
|
||||
$ gcloud beta container fleet namespaces rbacrolebindings --help
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
GROUPS
|
||||
GROUP is one of the following:
|
||||
|
||||
rbacrolebindings
|
||||
(BETA) Fleet namespace RBAC RoleBindings for permissions.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(BETA) Create a fleet namespace.
|
||||
|
||||
delete
|
||||
(BETA) Delete a fleet namespace.
|
||||
|
||||
describe
|
||||
(BETA) Show fleet namespace info.
|
||||
|
||||
get-credentials
|
||||
(BETA) Fetch credentials for a membership with a particular namespace.
|
||||
|
||||
list
|
||||
(BETA) List fleet namespaces in a project.
|
||||
|
||||
update
|
||||
(BETA) Update a fleet namespace.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces
|
||||
|
||||
|
|
@ -1,69 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces list - list fleet namespaces in a
|
||||
project
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces list [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The project specified does not exist.
|
||||
▪ The user does not have access to the project specified.
|
||||
|
||||
EXAMPLES
|
||||
The following command lists namespaces in the active project:
|
||||
|
||||
$ gcloud beta container fleet namespaces list
|
||||
|
||||
The following command lists namespaces in project PROJECT_ID:
|
||||
|
||||
$ gcloud beta container fleet namespaces list --project=PROJECT_ID
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces list
|
||||
|
||||
|
|
@ -1,95 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces rbacrolebindings create - create an
|
||||
RBAC RoleBinding
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces rbacrolebindings create
|
||||
(NAME : --location=LOCATION --namespace=NAMESPACE) --role=ROLE
|
||||
(--group=GROUP | --user=USER) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The RBAC RoleBinding already exists.
|
||||
▪ The caller does not have permission to access the given namespace.
|
||||
|
||||
EXAMPLES
|
||||
To create an admin RBAC RoleBinding RBRB in namespace NAMESPACE for user
|
||||
person@google.com, run:
|
||||
|
||||
$ gcloud beta container fleet namespaces rbacrolebindings create \
|
||||
RBRB --namespace=NAMESPACE --role=admin --user=person@google.com
|
||||
|
||||
To create a viewer RBAC RoleBinding RBRB in namespace NAMESPACE for group
|
||||
people@google.com, run:
|
||||
|
||||
$ gcloud beta container fleet namespaces rbacrolebindings create \
|
||||
RBRB --namespace=NAMESPACE --role=viewer \
|
||||
--group=people@google.com
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Rbacrolebinding resource - The group of arguments defining an
|
||||
RBACRoleBinding. The arguments in this group can be used to specify the
|
||||
attributes of this resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument NAME on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
NAME
|
||||
ID of the rbacrolebinding or fully qualified identifier for the
|
||||
rbacrolebinding.
|
||||
|
||||
To set the rbacrolebinding attribute:
|
||||
▸ provide the argument NAME on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Location for the rbacrolebinding.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument NAME on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property gkehub/location.
|
||||
|
||||
--namespace=NAMESPACE
|
||||
Name of the rbacrolebinding.
|
||||
|
||||
To set the namespace attribute:
|
||||
▸ provide the argument NAME on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --namespace on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--role=ROLE
|
||||
Role to assign. ROLE must be one of: admin, edit, view.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--group=GROUP
|
||||
Group for the RoleBinding.
|
||||
|
||||
--user=USER
|
||||
User for the RoleBinding.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces rbacrolebindings create
|
||||
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces rbacrolebindings delete - delete a
|
||||
fleet namespace RBAC RoleBinding
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces rbacrolebindings delete
|
||||
(NAME : --location=LOCATION --namespace=NAMESPACE)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The RoleBinding specified does not exist.
|
||||
▪ The caller does not have permission to access the given RoleBinding.
|
||||
|
||||
EXAMPLES
|
||||
To delete RBAC RoleBinding RBRB in namespace NAMESPACE in the active
|
||||
project:
|
||||
|
||||
$ gcloud beta container fleet namespaces rbacrolebindings delete \
|
||||
RBRB --namespace=NAMESPACE
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Rbacrolebinding resource - The group of arguments defining an
|
||||
RBACRoleBinding. The arguments in this group can be used to specify the
|
||||
attributes of this resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument NAME on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
NAME
|
||||
ID of the rbacrolebinding or fully qualified identifier for the
|
||||
rbacrolebinding.
|
||||
|
||||
To set the rbacrolebinding attribute:
|
||||
▸ provide the argument NAME on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Location for the rbacrolebinding.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument NAME on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property gkehub/location.
|
||||
|
||||
--namespace=NAMESPACE
|
||||
Name of the rbacrolebinding.
|
||||
|
||||
To set the namespace attribute:
|
||||
▸ provide the argument NAME on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --namespace on the command line.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces rbacrolebindings delete
|
||||
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces rbacrolebindings describe - show
|
||||
fleet namespace RBAC RoleBinding information
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces rbacrolebindings describe
|
||||
(NAME : --location=LOCATION --namespace=NAMESPACE)
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The RoleBinding specified does not exist in the project.
|
||||
▪ The caller does not have permission to access the RoleBinding.
|
||||
|
||||
EXAMPLES
|
||||
To print metadata for RBAC RoleBinding RBRB in the namespace NAMESPACE,
|
||||
run:
|
||||
|
||||
$ gcloud beta container fleet namespaces rbacrolebindings describe \
|
||||
RBRB --namespace=NAMESPACE
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Rbacrolebinding resource - The group of arguments defining an
|
||||
RBACRoleBinding. The arguments in this group can be used to specify the
|
||||
attributes of this resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument NAME on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
NAME
|
||||
ID of the rbacrolebinding or fully qualified identifier for the
|
||||
rbacrolebinding.
|
||||
|
||||
To set the rbacrolebinding attribute:
|
||||
▸ provide the argument NAME on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Location for the rbacrolebinding.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument NAME on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property gkehub/location.
|
||||
|
||||
--namespace=NAMESPACE
|
||||
Name of the rbacrolebinding.
|
||||
|
||||
To set the namespace attribute:
|
||||
▸ provide the argument NAME on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --namespace on the command line.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces rbacrolebindings describe
|
||||
|
||||
|
|
@ -1,46 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces rbacrolebindings - fleet namespace
|
||||
RBAC RoleBindings for permissions
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces rbacrolebindings COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command group allows for manipulation of fleet namespace RBAC
|
||||
RoleBindings.
|
||||
|
||||
EXAMPLES
|
||||
Manage RBAC RoleBindings:
|
||||
|
||||
$ gcloud beta container fleet namespaces rbacrolebindings --help
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(BETA) Create an RBAC RoleBinding.
|
||||
|
||||
delete
|
||||
(BETA) Delete a fleet namespace RBAC RoleBinding.
|
||||
|
||||
describe
|
||||
(BETA) Show fleet namespace RBAC RoleBinding information.
|
||||
|
||||
list
|
||||
(BETA) List RBAC RoleBindings in a fleet namespace.
|
||||
|
||||
update
|
||||
(BETA) Update a fleet namespace RBAC RoleBinding.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces rbacrolebindings
|
||||
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces rbacrolebindings list - list RBAC
|
||||
RoleBindings in a fleet namespace
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces rbacrolebindings list
|
||||
--namespace=NAMESPACE [--filter=EXPRESSION] [--limit=LIMIT]
|
||||
[--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The namespace specified does not exist.
|
||||
▪ The user does not have access to the specified namespace.
|
||||
|
||||
EXAMPLES
|
||||
The following command lists RBAC RoleBindings in namespace NAMESPACE in
|
||||
project PROJECT_ID:
|
||||
|
||||
$ gcloud beta container fleet namespaces rbacrolebindings list \
|
||||
--namespace=NAMESPACE --project=PROJECT_ID
|
||||
|
||||
REQUIRED FLAGS
|
||||
--namespace=NAMESPACE
|
||||
Name of the fleet namespace to list RBAC RoleBindings from.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
If the expression evaluates True, then that item is listed. For more
|
||||
details and examples of filter expressions, run $ gcloud topic filters.
|
||||
This flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--limit=LIMIT
|
||||
Maximum number of resources to list. The default is unlimited. This
|
||||
flag interacts with other flags that are applied in this order:
|
||||
--flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--page-size=PAGE_SIZE
|
||||
Some services group resource list output into pages. This flag
|
||||
specifies the maximum number of resources per page. The default is
|
||||
determined by the service if it supports paging, otherwise it is
|
||||
unlimited (no paging). Paging may be applied before or after --filter
|
||||
and --limit depending on the service.
|
||||
|
||||
--sort-by=[FIELD,...]
|
||||
Comma-separated list of resource field key names to sort by. The
|
||||
default order is ascending. Prefix a field with ``~'' for descending
|
||||
order on that field. This flag interacts with other flags that are
|
||||
applied in this order: --flatten, --sort-by, --filter, --limit.
|
||||
|
||||
--uri
|
||||
Print a list of resource URIs instead of the default output, and change
|
||||
the command output to a list of URIs. If this flag is used with
|
||||
--format, the formatting is applied on this URI list. To display URIs
|
||||
alongside other keys instead, use the uri() transform.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces rbacrolebindings list
|
||||
|
||||
|
|
@ -1,95 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces rbacrolebindings update - update a
|
||||
fleet namespace RBAC RoleBinding
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces rbacrolebindings update
|
||||
(NAME : --location=LOCATION --namespace=NAMESPACE) [--role=ROLE]
|
||||
[--group=GROUP | --user=USER] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The RoleBinding does not exist in the project.
|
||||
▪ The caller does not have permission to access the RoleBinding.
|
||||
|
||||
EXAMPLES
|
||||
To update the RBAC RoleBinding RBRB in namespace NAMESPACE in the active
|
||||
project to the viewer role:
|
||||
|
||||
$ gcloud beta container fleet namespaces rbacrolebindings update \
|
||||
RBRB --namespace=NAMESPACE --role=viewer
|
||||
|
||||
To update the RBAC RoleBinding RBRB in namespace NAMESPACE in the active
|
||||
project to the user someone@google.com:
|
||||
|
||||
$ gcloud beta container fleet namespaces rbacrolebindings update \
|
||||
RBRB --namespace=NAMESPACE --user=someone@google.com
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Rbacrolebinding resource - The group of arguments defining an
|
||||
RBACRoleBinding. The arguments in this group can be used to specify the
|
||||
attributes of this resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument NAME on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
NAME
|
||||
ID of the rbacrolebinding or fully qualified identifier for the
|
||||
rbacrolebinding.
|
||||
|
||||
To set the rbacrolebinding attribute:
|
||||
▸ provide the argument NAME on the command line.
|
||||
|
||||
This positional argument must be specified if any of the other
|
||||
arguments in this group are specified.
|
||||
|
||||
--location=LOCATION
|
||||
Location for the rbacrolebinding.
|
||||
|
||||
To set the location attribute:
|
||||
▸ provide the argument NAME on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --location on the command line;
|
||||
▸ set the property gkehub/location.
|
||||
|
||||
--namespace=NAMESPACE
|
||||
Name of the rbacrolebinding.
|
||||
|
||||
To set the namespace attribute:
|
||||
▸ provide the argument NAME on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --namespace on the command line.
|
||||
|
||||
FLAGS
|
||||
--role=ROLE
|
||||
Role for the RBACRoleBinding to update to. ROLE must be one of: admin,
|
||||
edit, view.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--group=GROUP
|
||||
Group for the RBACRoleBinding to update to.
|
||||
|
||||
--user=USER
|
||||
User for the RBACRoleBinding to update to.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces rbacrolebindings update
|
||||
|
||||
|
|
@ -1,64 +0,0 @@
|
|||
NAME
|
||||
gcloud beta container fleet namespaces update - update a fleet namespace
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta container fleet namespaces update NAME [--scope=SCOPE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) This command can fail for the following reasons:
|
||||
▪ The project specified does not exist.
|
||||
▪ The fleet namespace does not exist in the project.
|
||||
▪ The caller does not have permission to access the project or
|
||||
namespace.
|
||||
|
||||
EXAMPLES
|
||||
To update the namespace NAMESPACE in the active project:
|
||||
|
||||
$ gcloud beta container fleet namespaces update NAMESPACE
|
||||
|
||||
To update the namespace NAMESPACE in project PROJECT_ID:
|
||||
|
||||
$ gcloud beta container fleet namespaces update NAMESPACE \
|
||||
--project=PROJECT_ID
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
NAME
|
||||
Name of the namespace to be updated.
|
||||
|
||||
FLAGS
|
||||
Scope resource - The group of arguments defining the Fleet Scope. This
|
||||
represents a Cloud resource. (NOTE) Some attributes are not given
|
||||
arguments in this group but can be set in other ways.
|
||||
|
||||
To set the project attribute:
|
||||
◆ provide the argument --scope on the command line with a fully
|
||||
specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
To set the location attribute:
|
||||
◆ provide the argument --scope on the command line with a fully
|
||||
specified name;
|
||||
◆ global is the only supported location.
|
||||
|
||||
--scope=SCOPE
|
||||
ID of the scope or fully qualified identifier for the scope.
|
||||
|
||||
To set the scope attribute:
|
||||
▸ provide the argument --scope on the command line.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
||||
--trace-token, --user-output-enabled, --verbosity.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. This
|
||||
variant is also available:
|
||||
|
||||
$ gcloud alpha container fleet namespaces update
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue