kubernetes_cluster {AzureContainers}R Documentation

Create a new Kubernetes cluster object

Description

Create a new Kubernetes cluster object

Usage

kubernetes_cluster(config = NULL)

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.

Value

An R6 object of class KubernetesCluster.

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

## Not run: 

kubernetes_cluster()
kubernetes_cluster("myconfig.yaml")


## End(Not run)

[Package AzureContainers version 1.3.2 Index]