{"id":21475257,"url":"https://github.com/rinx/setup-k3d","last_synced_at":"2026-05-19T17:14:25.310Z","repository":{"id":65161515,"uuid":"307330381","full_name":"rinx/setup-k3d","owner":"rinx","description":"GitHub Action for setting up k3d (k3s in Docker). It's lighter than KinD (Kubernetes in Docker).","archived":false,"fork":false,"pushed_at":"2021-09-09T07:43:09.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-14T16:47:52.253Z","etag":null,"topics":["actions","k3d","k3s"],"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/rinx.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-10-26T10:05:47.000Z","updated_at":"2021-09-09T07:40:11.000Z","dependencies_parsed_at":"2023-01-04T12:38:54.485Z","dependency_job_id":null,"html_url":"https://github.com/rinx/setup-k3d","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.25,"last_synced_commit":"6ccbb8567145f2412b2642d3a9b55e93f57248f9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinx%2Fsetup-k3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinx%2Fsetup-k3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinx%2Fsetup-k3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rinx%2Fsetup-k3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rinx","download_url":"https://codeload.github.com/rinx/setup-k3d/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243997038,"owners_count":20380980,"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":["actions","k3d","k3s"],"created_at":"2024-11-23T10:40:01.969Z","updated_at":"2026-05-19T17:14:25.261Z","avatar_url":"https://github.com/rinx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# setup-k3d\n\nThis is a GitHub Action for setting up [k3d](https://github.com/rancher/k3d).\n\n## Inputs\n\n### `version`\n\nk3d version.\n\nDefault: latest\n\n### `name`\n\ncluster name.\n\nDefault: mycluster\n\n### `skipClusterCreation`\n\nIf \"true\", the action will not create a cluster, just acquire the tools.\n\nDefault: false\n\n### `ingressPort`\n\nIf it is not `0`, ingress will be exposed to the specified port.\n\nDefault: 0\n\n### `agents`\n\nIf it is not `0`, specified number of agents will be created.\n\nDefault: 0\n\n### `options`\n\nextra options that will passed to `k3d cluster create` command.\n\nDefault: \"\"\n\n## Examples\n\nTo create a single node cluster,\n\n```yaml\non: push\njobs:\n  setup-k3d:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: rinx/setup-k3d@v0.0.2\n      - name: Get cluster info\n        run: |\n          kubectl cluster-info\n          kubectl get pods -n kube-system\n          kubectl get nodes\n          echo \"current-context:\" $(kubectl config current-context)\n```\n\nTo create a cluster with multi agents,\n\n```yaml\non: push\njobs:\n  setup-k3d:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: rinx/setup-k3d@v0.0.2\n        with:\n          agents: 3\n      - name: Get cluster info\n        run: |\n          kubectl cluster-info\n          kubectl get pods -n kube-system\n          kubectl get nodes\n          echo \"current-context:\" $(kubectl config current-context)\n```\n\nTo create a cluster with exposed ingress,\n\n```yaml\non: push\njobs:\n  setup-k3d:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: rinx/setup-k3d@v0.0.2\n        with:\n          ingressPort: 8081\n      - name: Get cluster info\n        run: |\n          kubectl cluster-info\n          kubectl get pods -n kube-system\n          kubectl get nodes\n          echo \"current-context:\" $(kubectl config current-context)\n```\n\n## References\n\n- [rancher/k3s](https://github.com/rancher/k3s)\n- [rancher/k3d](https://github.com/rancher/k3d)\n- [engineerd/setup-kind](https://github.com/engineerd/setup-kind)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinx%2Fsetup-k3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frinx%2Fsetup-k3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frinx%2Fsetup-k3d/lists"}