setClusterLocation: setClusterLocation

Description Usage Arguments Examples

Description

Sets the locations of a specific cluster.

Usage

1
setClusterLocation(projectId, zone, clusterId, locations)

Arguments

projectId

The Google Developers Console project ID or project number.

zone

The name of the Google Compute Engine zone in which the cluster resides.

clusterId

The name of the cluster to upgrade.

locations

The desired list of Google Compute Engine locations in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.

Examples

1
2
3
4
5
setClusterLocation(projectId = "myProjectId",
                   zone = "europe-west1-d",
                   clusterId = "r-cluster",
                   locations = c("europe-west1-d",
                                 "europe-west1-b"))

RhysJackson/googleKubernetesR documentation built on May 27, 2019, 12:17 p.m.