Description Usage Arguments Examples
Sets the locations of a specific cluster.
1 | setClusterLocation(projectId, zone, clusterId, locations)
|
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. |
1 2 3 4 5 | setClusterLocation(projectId = "myProjectId",
zone = "europe-west1-d",
clusterId = "r-cluster",
locations = c("europe-west1-d",
"europe-west1-b"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.