Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 791 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 791 Bytes

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