{"id":13566888,"url":"https://github.com/engineerd/setup-kind","last_synced_at":"2025-04-13T01:59:26.823Z","repository":{"id":37976345,"uuid":"203587971","full_name":"engineerd/setup-kind","owner":"engineerd","description":"kind (Kubernetes in Docker) GitHub Action","archived":false,"fork":false,"pushed_at":"2024-11-02T07:54:39.000Z","size":21828,"stargazers_count":240,"open_issues_count":22,"forks_count":28,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T01:59:19.890Z","etag":null,"topics":["github","github-actions","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/engineerd.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":"2019-08-21T13:16:50.000Z","updated_at":"2025-01-22T16:37:37.000Z","dependencies_parsed_at":"2024-08-01T13:24:09.634Z","dependency_job_id":"74fc9bfb-907b-4e61-b069-fdb22c13eced","html_url":"https://github.com/engineerd/setup-kind","commit_stats":{"total_commits":54,"total_committers":12,"mean_commits":4.5,"dds":0.5925925925925926,"last_synced_commit":"71e45b960fc8dd50b4aeabf6eb6ef2ca0920b4c1"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerd%2Fsetup-kind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerd%2Fsetup-kind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerd%2Fsetup-kind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/engineerd%2Fsetup-kind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/engineerd","download_url":"https://codeload.github.com/engineerd/setup-kind/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654047,"owners_count":21140235,"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":["github","github-actions","kubernetes"],"created_at":"2024-08-01T13:02:18.910Z","updated_at":"2025-04-13T01:59:26.802Z","avatar_url":"https://github.com/engineerd.png","language":"TypeScript","readme":"# @engineerd/setup-kind\n\nSetup [KinD (Kubernetes in Docker)](https://kind.sigs.k8s.io/) with a single\nGitHub Action!\n\n\u003e This action assumes a Linux environment (amd64 or arm64 architecture), and will _not_ work on Windows or\n\u003e MacOS agents.\n\n```yaml\nname: \"Create cluster using KinD\"\non: [pull_request, push]\n\njobs:\n  kind:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - uses: engineerd/setup-kind@v0.6.0\n        with:\n          version: \"v0.24.0\"\n      - name: Testing\n        run: |\n          kubectl cluster-info\n          kubectl version\n          kubectl get pods -n kube-system\n```\n\nThis will configure KinD and start a cluster in your local GitHub Action:\n\n```\ndownloading kind from https://github.com/kubernetes-sigs/kind/releases/download/v0.24.0/kind-linux-amd64\n/opt/hostedtoolcache/kind/0.24.0/x64/kind create cluster --name kind --wait 300s\nCreating cluster \"kind\" ...\n ✓ Ensuring node image (kindest/node:v1.31.0) 🖼\n ✓ Preparing nodes 📦 \n ✓ Writing configuration 📜\n ✓ Starting control-plane 🕹️\n • Installing CNI 🔌  ...\n ✓ Installing StorageClass 💾\n • Ready after 17s 💚\n```\n\n\u003e Note: GitHub Actions workers come pre-configured with `kubectl`.\n\nThe following arguments can be configured on the job using the `with` keyword\n(see example above). Currently, possible inputs are all the flags for\n`kind cluster create`, with the additional version, which sets the Kind version\nto download and `skipClusterCreation`, which when present, skips creating the\ncluster (the KinD tool is configured in the path).\n\nOptional inputs:\n\n- `version`: version of Kind to use (default `\"v0.24.0\"`)\n- `config`: path (relative to the root of the repository) to a kind config file.\n  If omitted, a default 1-node cluster will be created\n- `image`: node Docker image to use for booting the cluster.\n- `name`: cluster name (default `\"kind\"`)\n- `wait`: wait for control plane node to be ready (default `\"300s\"`)\n- `kubeconfig`: sets kubeconfig path instead of $KUBECONFIG or $HOME/.kube/config\n- `skipClusterCreation`: if `\"true\"`, the action will not create a cluster, just\n  acquire the tools\n- `skipClusterDeletion`: if `\"true\"`, the action will not delete the cluster\n- `skipClusterLogsExport`: if `\"true\"`, the action will not export the cluster logs\n- `verbosity`: numeric log verbosity, (info = 0, debug = 3, trace = 2147483647) (default `\"0\"`)\n- `quiet`: silence all stderr output (default `\"false\"`)\n\n\n[kind-kubeconfig]: https://github.com/kubernetes-sigs/kind/issues/1060\n[gh-actions-path]:\n  https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/\n[path-issue]: https://github.com/engineerd/setup-kind/issues/28\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineerd%2Fsetup-kind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fengineerd%2Fsetup-kind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fengineerd%2Fsetup-kind/lists"}