Skip to content

viskan/meetup-2019-08-20-kubernetes-on-bare-metal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Viskan Meetup 2019-08-20: Kubernetes on bare metal

Slides can be found here.

Preparation

$ mkdir --parents ~/projects
$ cd ~/projects
$ git clone [email protected]:viskan/meetup-2019-08-20-kubernetes-on-bare-metal.git
$ git clone [email protected]:amimof/kubernetes-the-right-way.git
$ cd ~/projects/kubernetes-the-right-way
$ git checkout v1.0.4

Installing

$ cd ~/projects/meetup-2019-08-20-kubernetes-on-bare-metal
$ ansible-playbook --inventory ansible-inventory --ask-pass --ask-become-pass \
     ~/projects/kubernetes-the-right-way/install.yml

Installing manifests

$ cd manifests
$ KUBECONFIG=~/.ktrw/k8s-lab/kubeconfig kubectl apply -f flannel
$ KUBECONFIG=~/.ktrw/k8s-lab/kubeconfig kubectl apply -f nginx-ingress-controller
$ KUBECONFIG=~/.ktrw/k8s-lab/kubeconfig kubectl apply -f who-am-i