kubernetes_cluster function

Create a new Kubernetes cluster object

Create a new Kubernetes cluster object

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.

Returns

An R6 object of class KubernetesCluster.

Details

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

Examples

## Not run: kubernetes_cluster() kubernetes_cluster("myconfig.yaml") ## End(Not run)

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

  • Maintainer: Hong Ooi
  • License: MIT + file LICENSE
  • Last published: 2021-07-09