Learn R Programming

AzureContainers (version 1.3.3)

kubernetes_cluster: Create a new Kubernetes cluster object

Description

Create a new Kubernetes cluster object

Usage

kubernetes_cluster(config = NULL)

Value

An R6 object of class KubernetesCluster.

Arguments

config

The name of the file containing the configuration details for the cluster. This should be a YAML or JSON file in the standard Kubernetes configuration format. Set this to NULL to use the default ~/.kube/config file.

Details

Use this function to instantiate a new object of the KubernetesCluster class, for interacting with a Kubernetes cluster.

See Also

KubernetesCluster for methods for working with the cluster, call_kubectl, call_helm

docker_registry for the corresponding function to create a Docker registry object

Examples

Run this code
if (FALSE) {

kubernetes_cluster()
kubernetes_cluster("myconfig.yaml")

}

Run the code above in your browser using DataLab