{"id":26249770,"url":"https://github.com/its-alex/tilt-playground","last_synced_at":"2026-03-17T21:02:57.563Z","repository":{"id":280597617,"uuid":"941896613","full_name":"Its-Alex/tilt-playground","owner":"Its-Alex","description":"Tilt playground to play with some configurations","archived":false,"fork":false,"pushed_at":"2025-03-04T13:45:08.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T12:03:14.336Z","etag":null,"topics":["kubernetes","playground","tilt"],"latest_commit_sha":null,"homepage":"","language":"Shell","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-03T08:33:43.000Z","updated_at":"2025-03-06T14:35:24.000Z","dependencies_parsed_at":"2025-12-28T22:04:12.183Z","dependency_job_id":null,"html_url":"https://github.com/Its-Alex/tilt-playground","commit_stats":null,"previous_names":["its-alex/tilt-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Its-Alex/tilt-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Ftilt-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Ftilt-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Ftilt-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Ftilt-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Its-Alex","download_url":"https://codeload.github.com/Its-Alex/tilt-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Its-Alex%2Ftilt-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30631425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["kubernetes","playground","tilt"],"created_at":"2025-03-13T15:49:34.180Z","updated_at":"2026-03-17T21:02:57.557Z","avatar_url":"https://github.com/Its-Alex.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- omit in toc --\u003e\n# tilt-playground\n\nThis playground is aimed to test [tilt](https://github.com/tilt-dev/tilt).\n\n- [Prerequisites](#prerequisites)\n- [Getting started](#getting-started)\n- [Local registry](#local-registry)\n- [Hack it](#hack-it)\n- [Use another tilt configuration](#use-another-tilt-configuration)\n- [Stop and cleanup](#stop-and-cleanup)\n- [Notes on Tilt](#notes-on-tilt)\n- [License](#license)\n\n## Prerequisites\n\n- [Docker](https://www.docker.com/)\n- [mise](https://mise.jdx.dev/)\n\nWhen above dependencies are installed, you can run:\n\n```bash\n$ mise trust \u0026\u0026 mise install\n```\n\nThis will trust the mise configuration and install the dependencies with\ncorresponding versions.\n\n## Getting started\n\nThis project use [kind](https://kind.sigs.k8s.io/) and\n[tilt](https://github.com/tilt-dev/tilt) to run a local kubernetes cluster and\ndeploy an application in python.\n\nIf you want to try, first you must start the kube clutser, for that we use\n[kind](https://kind.sigs.k8s.io/):\n\n```bash\n$ ./scripts/kind-up.sh\n```\n\nThen you can start the tilt server with:\n\n```bash\n$ tilt up\n```\n\nThen, in another terminal, check if everything is running:\n\n```bash\n$ curl http://localhost:8080/\nHello, World!\n```\n\nYou can now try and edit any file in the `services/hello-world` or\n`tanka` directories, [tilt](https://github.com/tilt-dev/tilt) will automatically\ndetect the changes and apply them to the kind cluster.\n\n## Local registry\n\n[tilt](https://github.com/tilt-dev/tilt) can use a local registry to store the\ndocker images. To use a\n[local registry](https://docs.tilt.dev/personal_registry.html), you can run:\n\n```bash\n$ ./scripts/kind-up.sh --local-registry 1\n```\n\nThis will create a local registry, [tilt](https://github.com/tilt-dev/tilt) will\nautomatically use it to store the docker images.\n\n## Hack it\n\nAll steps done by [tilt](https://github.com/tilt-dev/tilt) can be done manually,\nfirst launch the kind cluster:\n\n```bash\n$ ./scripts/kind-up.sh\n```\n\nThis will create a local kind cluster. You can see the cluster using `kubectl`:\n\n```bash\n$ kubectl get nodes\n```\n\nThen you can build an hello-world docker image:\n\n```bash\n$ ./services/hello-world/scripts/docker-build.sh\n```\n\nAnd upload the docker image to the kind cluster:\n\n```bash\n$ ./services/hello-world/scripts/upload-docker-image-to-kind.sh\n```\n\nFinally, you can deploy the app in the kind cluster:\n\n```bash\n$ ./tanka/scripts/install-vendors.sh \u0026\u0026 ./tanka/scripts/tk-apply.sh\n```\n\nThose tasks can be done with the `./scripts/up.sh` script. Be warned that\n`./scripts/up.sh` will not create and use the local registry.\n\n## Use another tilt configuration\n\nThere are some tilt configurations in the [`tiltfiles`](./tiltfiles) directory.\nTo use another tilt configuration, you can run:\n\n```bash\n$ tilt down\n```\n\nThen change the [Tiltfile](./Tiltfile) to use another tilt configuration by\ncommenting the current one and uncommenting the desired one.\n\n## Stop and cleanup\n\nTo destroy the app, you can run:\n\n```bash\n$ tilt down\n```\n\nThen destroy the kind cluster:\n\n```bash\n$ ./scripts/kind-down.sh\n```\n\nFor cleanup, you can run:\n\n```bash\n$ tilt docker-prune\n```\n## Notes on Tilt\n\n- [Resource deps](https://docs.tilt.dev/resource_dependencies.html#other-types-of-dependencies)\n  are not supported for every resource type.\n- [k8s_resource](https://docs.tilt.dev/api.html#k8s_resource) can permit to use\n  resource without defining nodePort. The side effect are that the nodePort\n  configuration should be used in CI and not in the Tiltfile.\n- There is a little bit a magic with managing the resources. For example,\n  `k8s_resource` will automatically find the resource in the cluster and apply\n  the changes, without them being visible in the cluster.\n- Tilt is written in [Starlark](https://bazel.build/rules/language), there is no\n  real linter or formatter available outside of bazel scope.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-alex%2Ftilt-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fits-alex%2Ftilt-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fits-alex%2Ftilt-playground/lists"}