kube-go / jsonnet_with_tanka

Using jsonnet to create kube manifests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsonnet_with_tanka

Using jsonnet to generate kube manifests and deploy to kubernetes cluster

Motivation

This project was created to learn jsonnet using tanka. In this demo we will install prometheus using tanka on a kubernetes cluster.

Pre-requisites

Install tanka and jsonnet-bundler

Usage

  • Set apiserver address

    Get api-server address from kubeconfig or by executing kubectl cluster-info

    Example for minikube

    tk env set environments/default --server=https://127.0.0.1:52585
  • Review manifests that will be applied,

    tk show environments/default
  • Apply the manifests

    tk apply environments/default

About

Using jsonnet to create kube manifests

License:Apache License 2.0


Languages

Language:Jsonnet 100.0%