createCluster: createCluster

Description Usage Arguments Examples

Description

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's default network. One firewall is added for the cluster. After cluster creation, the cluster creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range is being used by the cluster.

Usage

1
createCluster(projectId, zone, clusterSpec = NULL)

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.

clusterSpec

A cluster specification. If no specification is provided, a 3 node, 100Gb disk, n1-standard-1 cluster will be created with the name "r-cluster". See here for specification: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.zones.clusters

Examples

1
createCluster(projectId = "myProjectId", zone = "europe-west1-d")

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