https://pulumi.com logo
#general
Title
# general
s

sparse-apartment-71989

07/15/2021, 3:09 PM
I have a Civo k8s question... In the KubernetesClusterArgs, we can specify a csv list of applications to install. Some of the applications have a plan option. For instance, when installing the Minio application, we need to specify the plan; i.e. 5GB, 10GB, or 20GB. How do I express this in the KubernetesClusterArgs?
I just asked the Civo team about how this is expressed in the CLI. Apparently, the Civo CLI command would look like this:
Copy code
civo kubernetes application add NAME:PLAN --cluster CLUSTER_NAME
I’m going to see if the KubernetesClusterArgs applications field will support something like this:
Copy code
const k8sCluster = new civo.KubernetesCluster('my-k8s', {
      applications: '-Traefik,-metrics-server,istio,Minio:10GB',
      kubernetesVersion: '1.20.0+k3s1', // if not specified, latest will be used
      networkId: network.id,
      numTargetNodes: 3,
      region: cfg.require(CIVO_REGION_KEY),
      tags: "org:<http://example.com|example.com>",
      targetNodesSize: "g3.k3s.medium"
    })
2 Views