Skip to content

jan-berge-ommedal/naisd

 
 

Repository files navigation

naisd

k8s in-cluster daemon with API for performing NAIS-operations

Basic outline

  1. HTTP POST to API with name of application, version and environment
  2. Fetches app-config from internal artifact repository
  3. Extract info from yaml
  4. Get and inject environment specific variables from Fasit
  5. Creates appropriate k8s resources

CI

on push:

  • run tests
  • produce binary
  • bump version
  • make and publish alpine docker image with binary to dockerhub
  • make and publish corresponding helm chart to quay.io

dev notes

For local development, use minikube. You can run naisd.go with -kubeconfig= for testing without deploying to cluster.

glide install

...to fetch dependecies

To reduce build time, do

go build -i .

initially.

About

nais deployment daemon

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 96.0%
  • Makefile 2.6%
  • Shell 1.4%