jan-berge-ommedal / naisd

nais deployment daemon

Home Page:http://nais.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

http://nais.io


Languages

Language:Go 95.9%Language:Makefile 2.6%Language:Shell 1.4%