1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-10 03:16:46 +00:00
gcloud-help/gcloud/anthos/config/controller/create

132 lines
5.2 KiB
Text
Raw Normal View History

2022-03-01 04:29:52 +00:00
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]
2023-01-19 00:56:33 +00:00
[--cluster-named-range=CLUSTER_NAMED_RANGE] [--full-management]
[--man-block=MAN_BLOCK] [--man-blocks=[BLOCK,...]]
2022-03-01 04:29:52 +00:00
[--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]
2022-03-23 08:27:29 +00:00
[--use-private-endpoint] [GCLOUD_WIDE_FLAG ...]
2022-03-01 04:29:52 +00:00
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
2023-05-04 10:43:54 +00:00
can be set in other ways.
To set the project attribute:
2022-03-01 04:29:52 +00:00
◆ 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
2023-05-04 10:43:54 +00:00
ID of the instance or fully qualified identifier for the instance.
To set the name attribute:
2022-03-01 04:29:52 +00:00
▸ provide the argument name on the command line.
2022-08-10 08:48:58 +00:00
This positional argument must be specified if any of the other
arguments in this group are specified.
2022-03-01 04:29:52 +00:00
--location=LOCATION
The name of the Config Controller instance location. Currently, only
2024-01-10 10:17:49 +00:00
us-central1, us-east1, us-east4, us-east5, us-west2,
northamerica-northeast1, northamerica-northeast2, europe-north1,
europe-west1, europe-west3, europe-west6, australia-southeast1,
australia-southeast2, asia-northeast1, asia-northeast2 and
asia-southeast1 are supported.
2023-05-04 10:43:54 +00:00
To set the location attribute:
2022-03-01 04:29:52 +00:00
▸ 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.
2023-01-19 00:56:33 +00:00
--full-management
2025-01-23 10:02:29 +00:00
Enable full cluster management type.
2023-01-19 00:56:33 +00:00
2022-03-01 04:29:52 +00:00
--man-block=MAN_BLOCK
2022-07-13 09:59:38 +00:00
(DEPRECATED) 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.
The --man-block option is deprecated; use --man-blocks instead.
--man-blocks=[BLOCK,...]
Master Authorized Network. Allows users to specify multiple blocks to
access the Kubernetescontrol plane from this block. Defaults to
0.0.0.0/0 if flag is not provided.
2022-03-01 04:29:52 +00:00
--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.
2022-03-23 08:27:29 +00:00
--use-private-endpoint
Only allow access to the master's private endpoint IP.
2022-03-01 04:29:52 +00:00
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