Created
November 17, 2017 20:51
-
-
Save Silvenga/c07fd3603600d45b336e00dc51659304 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install Pre-Reqs: | |
pkg.installed: | |
- pkgs: | |
- apt-transport-https | |
- ca-certificates | |
- curl | |
- software-properties-common | |
Install Docker Apt Repo: | |
pkgrepo.managed: | |
- name: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ salt.cmd.run('lsb_release -cs') }} stable | |
- key_url: https://download.docker.com/linux/ubuntu/gpg | |
- require: | |
- Install Pre-Reqs | |
Install Docker: | |
pkg.installed: | |
- name: docker-ce | |
- require: | |
- Install Docker Apt Repo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include: | |
- app.docker | |
Install K8s Pre-Reqs: | |
pkg.installed: | |
- name: apt-transport-https | |
Install K8s Apt Repo: | |
pkgrepo.managed: | |
- name: deb http://apt.kubernetes.io/ kubernetes-xenial main | |
- key_url: https://packages.cloud.google.com/apt/doc/apt-key.gpg | |
- require: | |
- Install K8s Pre-Reqs | |
Install K8s Packages: | |
pkg.installed: | |
- pkgs: | |
- kubelet | |
- kubeadm | |
- kubectl | |
Install NFS Support: | |
pkg.installed: | |
- name: nfs-common |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment