File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_container_fleet_scopes_create.1
.TH "GCLOUD_ALPHA_CONTAINER_FLEET_SCOPES_CREATE" 1
.SH "NAME"
.HP
gcloud alpha container fleet scopes create \- create a new fleet scope
.SH "SYNOPSIS"
.HP
\f5gcloud alpha container fleet scopes create\fR \fISCOPE\fR [\fB\-\-async\fR] [\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [\fB\-\-namespace\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]] [\fB\-\-default\-upgrade\-soaking\fR=\fIDEFAULT_UPGRADE_SOAKING\fR\ \fB\-\-upstream\-scope\fR=\fIUPSTREAM_SCOPE\fR\ \fB\-\-add\-upgrade\-soaking\-override\fR=\fIADD_UPGRADE_SOAKING_OVERRIDE\fR\ \fB\-\-upgrade\-selector\fR=[\fIname\fR=\fINAME\fR],[\fIversion\fR=\fIVERSION\fR]] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Create a Fleet Scope resource.
.SH "EXAMPLES"
Create a new scope \f5SCOPE_NAME\fR in the active project's fleet:
.RS 2m
$ gcloud alpha container fleet scopes create SCOPE_NAME
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Scope resource \- The fleet scope resourse to be created. 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 \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5scope\fR on the command line with a fully specified
name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
To set the \f5location\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5scope\fR on the command line with a fully specified
name;
.IP "\(em" 2m
global is the only supported location.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fISCOPE\fR
ID of the scope or fully qualified identifier for the scope.
To set the \f5scope\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5scope\fR on the command line.
.RE
.sp
.RE
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.TP 2m
\fB\-\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens (\f5\-\fR),
underscores (\f5_\fR), lowercase characters, and numbers. Values must contain
only hyphens (\f5\-\fR), underscores (\f5_\fR), lowercase characters, and
numbers.
.TP 2m
\fB\-\-namespace\-labels\fR=[\fIKEY\fR=\fIVALUE\fR,...]
List of scope\-level label KEY=VALUE pairs to add.
.TP 2m
Rollout Sequencing
These flags are not compatible with the \f5\-\-async\fR flag.
.RS 2m
.TP 2m
\fB\-\-default\-upgrade\-soaking\fR=\fIDEFAULT_UPGRADE_SOAKING\fR
Configures the default soaking duration for each upgrade propagating through the
current scope to become "COMPLETE". Soaking begins after all clusters in the
scope are on the target version, or after 30 days if all cluster upgrades are
not complete. Once an upgrade state becomes "COMPLETE", it will automatically be
propagated to the downstream scope. Max is 30 days.
See \f5$ gcloud topic datetimes\fR for information on duration formats.
To configure Rollout Sequencing for a given scope, \f5\fISCOPE_NAME\fR\fR, this
attribute must be set. To do this while specifying a default soaking duration of
7 days, run:
.RS 2m
$ gcloud alpha container fleet scopes create SCOPE_NAME \e
default\-upgrade\-soaking=7d
.RE
.TP 2m
\fB\-\-upstream\-scope\fR=\fIUPSTREAM_SCOPE\fR
Full resource name of the upstream scope in the format of
projects/{project}/locations/{location}/scopes/{scope}. GKE will finish upgrades
on the upstream scope before applying the same upgrades to the current scope.
To configure the upstream scope for \f5\fISCOPE_NAME\fR\fR, run:
.RS 2m
$ gcloud alpha container fleet scopes create SCOPE_NAME \e
\-\-upstream\-scope=projects/{upstream_project}/locations/global/scopes/{upstream_scope}
.RE
.TP 2m
Upgrade soaking override.
Defines a specific soaking time override for a particular upgrade propagating
through the current scope that supercedes the default soaking duration
configured by \f5\-\-default\-upgrade\-soaking\fR.
To set an upgrade soaking override of 12 hours for the upgrade with name,
\f5k8s_control_plane\fR, and version, \f51.23.1\-gke.1000\fR, run:
.RS 2m
$ gcloud alpha container fleet scopes create SCOPE_NAME \e
\-\-add\-upgrade\-soaking\-override=12h \e
\-\-upgrade\-selector=name="k8s_control_plane",version="1.23.1\-gke.1000"
.RE
.RS 2m
.TP 2m
\fB\-\-add\-upgrade\-soaking\-override\fR=\fIADD_UPGRADE_SOAKING_OVERRIDE\fR
Overrides the soaking time for a particular upgrade name and version propagating
through the current scope. Set soaking to 0 days to bypass soaking and
fast\-forward the upgrade to the downstream scope.
See \f5$ gcloud topic datetimes\fR for information on duration formats.
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-upgrade\-selector\fR=[\fIname\fR=\fINAME\fR],[\fIversion\fR=\fIVERSION\fR]
Name and version of the upgrade to be overridden where version is a full GKE
version. Currently, name can be either \f5k8s_control_plane\fR or
\f5k8s_node\fR.
This flag argument must be specified if any of the other arguments in this group
are specified.
.RE
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "API REFERENCE"
This command uses the \fBgkehub/v1alpha\fR API. The full documentation for this
API can be found at:
https://cloud.google.com/anthos/multicluster\-management/connect/registering\-a\-cluster
.SH "NOTES"
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation\-only early access
allowlist. These variants are also available:
.RS 2m
$ gcloud container fleet scopes create
.RE
.RS 2m
$ gcloud beta container fleet scopes create
.RE