the lite version for cleanup salt-kube project and support new kubernetes, full binaries packages provision kubernetes cluster using saltstack.
- Ubuntu 20.04
- Saltstack 3003
- Etcd v3.4.10
- Containerd 1.4.4
- Cilium v1.9.5
- Kubernetes v1.18.6
- CoreDNS v1.7.0
- install
git
andvagrant
. - clone repo and download binaries package
- build for env
setting version on scripts/download.sh
if you want, and update Makefile
for version
make download
if got some error, re-run make init
make init
make init
vagrant ssh salt
sudo su -
kubectl get no
- init cluster manual by command
vagrant up
vagrant ssh salt
# testing salt minions
salt \* test.ping
# sync all modules for salt
salt-run saltutil.sync_all saltenv=local
# setting roles for def whith salt/<env>/roles.yaml
salt-run state.orchestrate orch.setting_roles saltenv=local
# run orchstate for kubernetes install
salt-run state.orchestrate orch.kubernetes saltenv=local
pls notes setting local vm networks interfaces into Pillar files
pillar/local/common/init.sls
- if you want add requirements packages
add it into this files:
pillar/local/common/packages_ubuntu.sls
- Upgrade Salt to 3003
- Upgrade kubernetes to v1.18.6
- Upgrade Ubuntu to 20.04
- Upgrade Cilium to 1.9.5
- add terraform to provision cloud resources
- ...