1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 10:35:03 +00:00
gcloud-help/gcloud/anthos/config/controller/create
2022-04-27 09:13:09 +00:00

111 lines
4.6 KiB
Text

NAME
gcloud anthos config controller create - create Anthos Config Controller
instances
SYNOPSIS
gcloud anthos config controller create (NAME : --location=LOCATION)
[--async] [--cluster-ipv4-cidr-block=CLUSTER_IPV4_CIDR_BLOCK]
[--cluster-named-range=CLUSTER_NAMED_RANGE] [--man-block=MAN_BLOCK]
[--master-ipv4-cidr-block=MASTER_IPV4_CIDR_BLOCK] [--network=NETWORK]
[--services-ipv4-cidr-block=SERVICES_IPV4_CIDR_BLOCK]
[--services-named-range=SERVICES_NAMED_RANGE] [--subnet=SUBNET]
[--use-private-endpoint] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Create an Anthos Config Controller instance.
EXAMPLES
To create an Anthos Config Controller instance with the name acc-default,
run:
$ gcloud anthos config controller create acc-default \
--location=us-central1
POSITIONAL ARGUMENTS
Instance resource - The identifier for a Config Controller instance. 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 instance or fully qualified identifier for the instance. To
set the name attribute:
▸ provide the argument name on the command line.
This positional must be specified if any of the other arguments in
this group are specified.
--location=LOCATION
The name of the Config Controller instance location. Currently, only
us-central1, us-east1, northamerica-northeast1, and asia-northeast1
are supported. 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.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--cluster-ipv4-cidr-block=CLUSTER_IPV4_CIDR_BLOCK
The IP address range for the cluster pod IPs. Can be specified as a
netmask size (e.g. '/14') or as in CIDR notation (e.g.
'10.100.0.0/20'). Defaults to '/20' if flag is not provided.
--cluster-named-range=CLUSTER_NAMED_RANGE
The name of the existing secondary range in the clusters subnetwork to
use for pod IP addresses. Alternatively, --cluster_cidr_block can be
used to automatically create a GKE-managed one.
--man-block=MAN_BLOCK
Master Authorized Network. Allows access to the Kubernetes control
plane from this block. Defaults to '0.0.0.0/0' if flag is not provided.
--master-ipv4-cidr-block=MASTER_IPV4_CIDR_BLOCK
The /28 network that the control plane will use. Defaults to
'172.16.0.128/28' if flag is not provided.
--network=NETWORK
Existing VPC Network to put the GKE cluster and nodes in. Defaults to
'default' if flag is not provided. If --subnet=SUBNET is also
specified, subnet must be a subnetwork of the network specified by this
--network=NETWORK flag.
--services-ipv4-cidr-block=SERVICES_IPV4_CIDR_BLOCK
The IP address range for the cluster service IPs. Can be specified as a
netmask size (e.g. '/14') or as in CIDR notation (e.g.
'10.100.0.0/20'). Defaults to '/24' if flag is not provided.
--services-named-range=SERVICES_NAMED_RANGE
The name of the existing secondary range in the clusters subnetwork to
use for service ClusterIPs. Alternatively, --services_cidr_block can be
used to automatically create a GKE-managed one.
--subnet=SUBNET
Specifies the subnet that the VM instances are a part of.
--network=NETWORK must also be specified, subnet must be a subnetwork
of the network specified by the --network=NETWORK flag.
--use-private-endpoint
Only allow access to the master's private endpoint IP.
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 variant is also available:
$ gcloud alpha anthos config controller create