Skip to content

numerique-gouv/dk8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dk8s

main

The goal of this project is to deploy quickly a local k8s cluster in order to be able to experiment k8s deployment with all tools (grafana/prometheus/loki...).

In order to use the script 'local-cluster.sh', you need :

  • helm
  • helm-diff (plugin)
  • helmfile
  • docker
  • kind
  • mkcert
  • sops, age

To install requirements use scripts/install-prereq.sh

How to

Deploy kind cluster:

First deployment

./local-cluster.sh

Everything is deployed in default namespace for simplicity. After the deployment you can access to :

https://grafana.127.0.0.1.nip.io

admin / prom-operator

and :

https://argocd.127.0.0.1.nip.io

admin / admin

Use local docker image

The ./local-cluster.sh create a local registry. In order to use it, you just need to tag docker image as follow:

docker tag alpine:latest localhost:5001/alpine:latest
docker push localhost:5001/alpine:latest

Then change value for the docker image in the values.grist.yaml as follow :

 image:
   repository: localhost:5001/alpine
   pullPolicy: Always
   tag: latest

Override default kind cluster config

export CLUSTER_CONFIG="clusters/my-dev.yaml"
./local-cluster.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages