diff options
author | David Runge <dave@sleepmap.de> | 2020-12-16 21:24:26 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2020-12-16 21:24:26 +0100 |
commit | 0543e3011817211445da32afe1eaa60ded44c673 (patch) | |
tree | 1ff4a268a70f0474a827b28ebbfe1de037138a97 /k8s_cluster/k8s/worker1.yml | |
download | terraform-master.tar.gz terraform-master.tar.bz2 terraform-master.tar.xz terraform-master.zip |
k8s_cluster/*:
Add a terraform-provider-libvirt based examples to semi-automatically
create a k8s cluster for testing.
Diffstat (limited to 'k8s_cluster/k8s/worker1.yml')
-rw-r--r-- | k8s_cluster/k8s/worker1.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/k8s_cluster/k8s/worker1.yml b/k8s_cluster/k8s/worker1.yml new file mode 100644 index 0000000..8ce8a81 --- /dev/null +++ b/k8s_cluster/k8s/worker1.yml @@ -0,0 +1,19 @@ +--- +# https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta2#JoinConfiguration +apiVersion: kubeadm.k8s.io/v1beta2 +kind: JoinConfiguration +nodeRegistration: + name: worker1 + criSocket: /run/crio/crio.sock + kubeletExtraArgs: + cgroup-driver: systemd +discovery: + bootstrapToken: + token: 783bde.3f89s0fje9f38fhf + apiServerEndpoint: k8s:6443 + unsafeSkipCAVerification: true +--- +# https://godoc.org/k8s.io/kubelet/config/v1beta1#KubeletConfiguration +apiVersion: kubelet.config.k8s.io/v1beta1 +kind: KubeletConfiguration +cgroupDriver: systemd |