Skip to content

Instantly share code, notes, and snippets.

@alexeldeib
Created July 12, 2019 10:04
Show Gist options
  • Save alexeldeib/f90bcf1e35a576b9118742f25d3066b8 to your computer and use it in GitHub Desktop.
Save alexeldeib/f90bcf1e35a576b9118742f25d3066b8 to your computer and use it in GitHub Desktop.
Kubadm Azure in-tree
apiVersion: kubeadm.k8s.io/v1beta1
kind: ClusterConfiguration
metadata:
name: config
apiServer:
extraArgs:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
extraVolumes:
- hostPath: /etc/kubernetes/azure.json
mountPath: /etc/kubernetes/azure.json
name: cloud-config
readOnly: true
controllerManager:
extraArgs:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
extraVolumes:
- hostPath: /etc/kubernetes/azure.json
mountPath: /etc/kubernetes/azure.json
name: cloud-config
readOnly: true
---
apiVersion: kubeadm.k8s.io/v1beta1
kind: InitConfiguration
metadata:
name: config
nodeRegistration:
kubeletExtraArgs:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
---
apiVersion: kubeadm.k8s.io/v1beta1
kind: JoinConfiguration
metadata:
name: config
nodeRegistration:
kubeletExtraArgs:
cloud-config: /etc/kubernetes/azure.json
cloud-provider: azure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment