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

[CMS-272] Use kubeadm.k8s.io/v1alpha1 and cleanup before installation. #43

Merged
merged 4 commits into from
Aug 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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