Skip to content

giantswarm/coredns-extensions-app

Repository files navigation

CircleCI

coredns-extensions chart

Giant Swarm offers a coredns-extensions App which can be installed in workload clusters. Here, we define the coredns-extensions chart with its templates and default configuration.

What is this app?

The app provides complementary resources to the coredns-app such as VerticalPodAutoscaler CR.

Installing

There are several ways to install this app onto a workload cluster.

Configuring

values.yaml

This is an example of a values file you could upload using our web interface.

# values.yaml

vpa:
  maxAllowed:
    Cpu: 2
    Memory: 1Gb

Sample App CR for the management cluster

If you have access to the Kubernetes API on the management cluster, you could create the App CR directly.

Here is an example that would install the app to workload cluster abc12:

# appCR.yaml

apiVersion: application.giantswarm.io/v1alpha1
kind: App
metadata:
  labels:
    giantswarm.io/cluster: <cluster_id>
  name: <cluster_id>-coredns-extensions
  namespace: <org_namespace>
spec:
  catalog: giantswarm-playground
  kubeConfig:
    inCluster: false
  name: coredns-extensions
  namespace: kube-system
  version: "0.1.0"

See our full reference on how to configure apps for more details.

Limitations

This app requires disabling the HorizontalPodAutoscaler memory target of CoreDNS. Add this block to your cluster userconfig before installing it:

    global:
      apps:
        coreDns:
          values:
            hpa:
              targetMemoryUtilizationPercentage: 0