Skip to content

Vagrant config for local Cloud Native Environment

Notifications You must be signed in to change notification settings

jpertejo/cn-environment

 
 

Repository files navigation

cn-environment

Vagrant config for local Cloud Native Environment

Emulate k8s on docker with kind

To create a cluster:

kind create cluster --name k8s-local --config /vagrant/kind-dev-config.yaml

In case you already have more clusters at kubectl config

kubectl cluster-info --context k8s-local

Testing NSM

In case helm install throws an error like: no available release name found

Add tiller service account:

kubectl create serviceaccount --namespace kube-system tiller
kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}'

About

Vagrant config for local Cloud Native Environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%