Skip to content

Latest commit

 

History

History

k8s

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Kubernetes development & deployment flow

Setup

First, install Docker.

Then, install kind. You do not need to use kind, but you will have to figure out how to setup a local registry with your local kubernetes instance. (The makefile target 'launch-local-kind-cluster' handles this for KIND clusters)

If you have go (1.11+) and docker installed GO111MODULE="on" go get sigs.k8s.io/[email protected] && kind create cluster is all you need!

After, that, delete the default cluster:

kind delete cluster

and re-create your own cluster with the custom local repository:

make launch-local-kind-cluster

Development

Set up the cluster:

make launch-local-kind-cluster

Build the docker images:

make create-docker-images

Push Docker Images to local registry:

make push-docker-images

Apply kubernetes manifests to local cluster:

make apply-local-k8s

Port Forwarding

Forward various ports for local interaction with the kubernetes cluster.

Run the following make targets in separate terminal shells

Deployment

TKTK