gcloud anthos config controller create

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][--full-management][--man-block=MAN_BLOCK][--man-blocks=[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 nameacc-default, run:
gcloudanthosconfigcontrollercreateacc-default--location=us-central1
POSITIONAL ARGUMENTS
Instance resource - The identifier for a Config Controller instance. Thearguments 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 inother ways.

To set theproject attribute:

  • provide the argumentname on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

NAME
ID of the instance or fully qualified identifier for the instance.

To set thename attribute:

  • provide the argumentname on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The name of the Config Controller instance location. Currently, onlyus-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 andasia-southeast1 are supported.

To set thelocation attribute:

  • provide the argumentname on the command line with a fullyspecified 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' ifflag is not provided.
--cluster-named-range=CLUSTER_NAMED_RANGE
The name of the existing secondary range in the clusters subnetwork to use forpod IP addresses. Alternatively,--cluster_cidr_block can be usedto automatically create a GKE-managed one.
--full-management
Enable full cluster management type.
--man-block=MAN_BLOCK
(DEPRECATED) Master Authorized Network. Allows access to the Kubernetes controlplane from this block. Defaults to0.0.0.0/0 if flag is notprovided.

The --man-block option is deprecated; use --man-blocks instead.

--man-blocks=[BLOCK,…]
Master Authorized Network. Allows users to specify multiple blocks to access theKubernetescontrol plane from this block. Defaults to0.0.0.0/0 ifflag 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 netmasksize (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 forservice ClusterIPs. Alternatively,--services_cidr_block can beused 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 asubnetwork 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:
gcloudalphaanthosconfigcontrollercreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.