giantswarm / kvm-operator

Handles Kubernetes clusters running on a Kubernetes cluster with workers and masters in KVMs on bare metal
https://godoc.org/github.com/giantswarm/kvm-operator
Apache License 2.0
89 stars 13 forks source link

use k8scloudconfig in KVM operator #65

Closed xh3b4sd closed 7 years ago

xh3b4sd commented 7 years ago

This should be done after https://github.com/giantswarm/kvm-operator/issues/64.

nhlfr commented 7 years ago

PTAL at giantswarm/k8scloudconfig#30

You will need to include the following service in kvm-operator:

  - name: etc-kubernetes-ssl.mount
    enable: true
    command: start
    content: |
      [Unit]
      Description=Mount ssl volume

      [Mount]
      What=sslshare
      Where=/etc/kubernetes/ssl/
      Options=trans=virtio,version=9p2000.L
      Type=9p

      [Install]
      WantedBy=multi-user.target
xh3b4sd commented 7 years ago

E.g. there are also flannel/calico specific configurations inside the clustertpr which have to be moved to the KVM block. See also https://github.com/giantswarm/clustertpr/pull/6.