{"id":19044466,"url":"https://github.com/tilt-dev/minikube-local","last_synced_at":"2025-04-17T18:35:06.728Z","repository":{"id":38405444,"uuid":"296165489","full_name":"tilt-dev/minikube-local","owner":"tilt-dev","description":"The best way to set minikube up for local development","archived":true,"fork":false,"pushed_at":"2023-04-03T13:38:29.000Z","size":15,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-11T10:48:19.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tilt-dev.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}},"created_at":"2020-09-16T23:00:30.000Z","updated_at":"2023-12-24T22:55:09.000Z","dependencies_parsed_at":"2022-08-26T23:11:34.053Z","dependency_job_id":null,"html_url":"https://github.com/tilt-dev/minikube-local","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Fminikube-local","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Fminikube-local/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Fminikube-local/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tilt-dev%2Fminikube-local/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tilt-dev","download_url":"https://codeload.github.com/tilt-dev/minikube-local/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249366355,"owners_count":21258351,"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":[],"created_at":"2024-11-08T22:46:24.018Z","updated_at":"2025-04-17T18:35:06.373Z","avatar_url":"https://github.com/tilt-dev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minikube-local\n\n## UPDATE(2023-04-03)\n\nAs of Minikube 1.26, this script no longer works, due to [upstream breaking API changes](https://github.com/tilt-dev/ctlptl/issues/239).\n\nPlease migrate to [ctlptl](http://github.com/tilt-dev/ctlptl), which checks\nthe version of Minikube and uses the right config.\n\nThis repo will be archived for posterity.\n\n---\n\nThe best way to set minikube up for local development\n\n[![Build Status](https://circleci.com/gh/tilt-dev/minikube-local/tree/master.svg?style=shield)](https://circleci.com/gh/tilt-dev/minikube-local)\n\nWhen using Tilt with a [Minikube](https://minikube.sigs.k8s.io/docs/) cluster, \nwe recommend using a local registry for faster image pushing and pulling.\n\nThis repo documents the best way to set it up.\n\n## Why use Minikube with a local registry?\n\nMinikube offers many different ways to get your app into the cluster.\n\nUsing a local registry is the best method for iterative app development.\n\n- Unlike with a remote registry, the image stays local to your machine, with no\n  network traffic to wait on or credentials to setup.\n\n- Unlike with an in-cluster builder, you can reset the cluster without deleting\n  the image cache.\n\n- Unlike with loading into the container runtime, docker will skip pushing any\n  layers that already exist in the registry.\n\nOver all these approaches, a local registry has good speed, incremental caching,\nand few footguns. But setting it up is awkward and fiddly. This script makes it\neasy.\n\n## How to Try It\n\n1) Install [Minikube](https://minikube.sigs.k8s.io/docs/)\n\n2) Copy the [minikube-with-registry.sh](minikube-with-registry.sh) script somewhere on your path.\n\n3) Create a cluster with `minikube-with-registry.sh`. Currently it creates the registry at port 5000.\n\n```\nminikube-with-registry.sh\n```\n\n4) Try pushing an image.\n\n```\ndocker tag alpine localhost:5000/alpine\ndocker push localhost:5000/alpine\n```\n\nYou can now use the image name `localhost:5000/alpine` in any resources you deploy to the cluster.\n\n[Tilt](https://tilt.dev) will automatically detect the local registry created by this script.\n\n## Thanks to\n\nHigh five to [MicroK8s](https://github.com/ubuntu/microk8s) for the initial local registry feature\nthat inspired a lot of this work.\n\nThe Kind team ran with this, writing up documentation and hooks for how to [set up a local registry](https://kind.sigs.k8s.io/docs/user/local-registry/) with Kind.\n\nThis repo adapts the Kind team's approach and applies the local registry configmap, so that tools\nlike Tilt can discover the local-registry. This protocol is a [Kubernetes Enhancement Proposal](https://github.com/kubernetes/enhancements/issues/1755).\n\n## License\n\nCopyright 2020 Windmill Engineering\n\nLicensed under [the Apache License, Version 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilt-dev%2Fminikube-local","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftilt-dev%2Fminikube-local","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftilt-dev%2Fminikube-local/lists"}