Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Latest commit

 

History

History
24 lines (21 loc) · 596 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 596 Bytes

Kubernetes training

Building

make docker

Will build the go app and create a docker image called myapp:latest.

Minikube

To start minikube and install the ingress addon run:

make minikube

Afterwards, to set your docker client to use the minikube docker daemon run:

eval $(minikube -p minikube docker-env)

Finally, this will add an entry to /etc/hosts containing your minkube ip so that we can spoof DNS.

sudo make hosts

Kubernetes Manifests

Empty templates for the Kubernetes files are in /templates, finished versions can be found in /examples.