{"id":16430158,"url":"https://github.com/its-alex/tanka-playground","last_synced_at":"2025-10-15T13:49:58.346Z","repository":{"id":241917465,"uuid":"761832020","full_name":"Its-Alex/tanka-playground","owner":"Its-Alex","description":"Tanka playground, this repo aim to locally deploy a stack with tanka","archived":false,"fork":false,"pushed_at":"2024-05-30T15:41:00.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T11:12:29.318Z","etag":null,"topics":["configuration","deployment","jsonnet","kubernetes","tanka"],"latest_commit_sha":null,"homepage":"","language":"Jsonnet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Its-Alex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-22T15:16:36.000Z","updated_at":"2024-05-30T15:41:03.000Z","dependencies_parsed_at":"2024-05-30T18:58:42.205Z","dependency_job_id":null,"html_url":"https://github.com/Its-Alex/tanka-playground","commit_stats":null,"previous_names":["its-alex/tanka-playground"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Ftanka-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Ftanka-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Ftanka-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Ftanka-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Its-Alex","download_url":"https://codeload.github.com/Its-Alex/tanka-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240627980,"owners_count":19831600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","deployment","jsonnet","kubernetes","tanka"],"created_at":"2024-10-11T08:25:54.654Z","updated_at":"2025-10-15T13:49:53.304Z","avatar_url":"https://github.com/Its-Alex.png","language":"Jsonnet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tanka playground\n\nThis repository aim to play with tanka locally to familiarize with it.\n\n# Requirements\n\n- [`mise`](https://mise.jdx.dev/)\n- [`direnv`](https://direnv.net/)\n\nTo setup dependencies you must run:\n\n```sh\n$ mise install\n$ direnv allow\n```\n\n# Getting started\n\nThose steps will help you setup a cluster with tanka configured in this folder.\n\n## Create cluster\n\nFirst you must create a kube cluster, we will use [`kind`](https://kind.sigs.k8s.io/):\n\n```sh\n$ kind create cluster --config ./kind/config.yaml\n$ kind get kubeconfig --name local \u003e .kubeconfig/default\n```\n\n## Deploy with tanka\n\nMove to [`tanka folder`](/tanka/) and install jsonnet dependencies:\n\n```sh\n$ cd tanka\n$ jb install\n```\n\nMake sure that direnv is load with the kubeconfig:\n\n```sh\n$ direnv reload\n```\n\nFinally, apply [`default environment`](/tanka/environments/default) to\n[`kind`](https://kind.sigs.k8s.io/) cluster:\n\n\n```sh\n$ tk apply tanka/environments/default/\ndiff -u -N /tmp/LIVE-1182370706/apps.v1.Deployment.default.grafana /tmp/MERGED-257336423/apps.v1.Deployment.default.grafana\n--- /tmp/LIVE-1182370706/apps.v1.Deployment.default.grafana     2024-02-22 16:56:06.905113732 +0100\n+++ /tmp/MERGED-257336423/apps.v1.Deployment.default.grafana    2024-02-22 16:56:06.905113732 +0100\n@@ -0,0 +1,43 @@\n+apiVersion: apps/v1\n+kind: Deployment\n+metadata:\n...\n```\n\n## Delete environment\n\n```sh\n$ kind delete clusters local\n```\n\n# License\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-alex%2Ftanka-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fits-alex%2Ftanka-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-alex%2Ftanka-playground/lists"}