kubernetes_cluster: Create a new Kubernetes cluster object

Description Usage Arguments Details Value See Also Examples

View source: R/kubernetes_cluster.R

Description

Create a new Kubernetes cluster object

Usage

1

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

1
2
3
4
5
6
7
## Not run: 

kubernetes_cluster()
kubernetes_cluster("myconfig.yaml")


## End(Not run)

Hong-Revo/AzureContainers documentation built on July 11, 2021, 4:34 a.m.