Skip to content
This repository has been archived by the owner on Jul 14, 2019. It is now read-only.

Commit

Permalink
[CMS-272] Use kubeadm.k8s.io/v1alpha1 and cleanup before installation. (
Browse files Browse the repository at this point in the history
#43)

* [CMS-272] Use kubeadm.k8s.io/v1alpha1 since v1alpha2 requires k8s 1.11.
  • Loading branch information
davidewatson authored and joejulian committed Aug 7, 2018
1 parent ada313b commit d5c0092
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@
sudo systemctl restart kubelet.service

# Set up kubeadm config file to pass parameters to kubeadm init.
# Note the latest API version for kubeadm is v1alphav2 as of kubeadm
# 1.11. We need to account for these different versions in the next
# rewrite of this script.
cat << EOF | sudo tee /etc/kubernetes/kubeadm_config.yaml
apiVersion: kubeadm.k8s.io/v1alpha2
apiVersion: kubeadm.k8s.io/v1alpha1
kind: MasterConfiguration
api:
bindPort: 443
Expand Down

0 comments on commit d5c0092

Please sign in to comment.