{"id":17143024,"url":"https://github.com/debianmaster/actions-k3s","last_synced_at":"2025-04-04T19:09:35.647Z","repository":{"id":44732624,"uuid":"266392302","full_name":"debianmaster/actions-k3s","owner":"debianmaster","description":"Github action for spinning up local k3s instance and running kubectl commands","archived":false,"fork":false,"pushed_at":"2025-02-14T23:29:37.000Z","size":6810,"stargazers_count":105,"open_issues_count":5,"forks_count":16,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T05:01:42.057Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/debianmaster.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":"2020-05-23T18:05:59.000Z","updated_at":"2025-03-30T20:22:27.000Z","dependencies_parsed_at":"2024-01-05T20:26:34.516Z","dependency_job_id":"1efdc2c8-80de-40ad-8528-f0a2c1a386a5","html_url":"https://github.com/debianmaster/actions-k3s","commit_stats":{"total_commits":24,"total_committers":7,"mean_commits":"3.4285714285714284","dds":0.5,"last_synced_commit":"ca842a48be8497447dbe764ac159677190a51560"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debianmaster%2Factions-k3s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debianmaster%2Factions-k3s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debianmaster%2Factions-k3s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/debianmaster%2Factions-k3s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/debianmaster","download_url":"https://codeload.github.com/debianmaster/actions-k3s/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234921,"owners_count":20905854,"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-10-14T20:33:32.293Z","updated_at":"2025-04-04T19:09:35.615Z","avatar_url":"https://github.com/debianmaster.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# K3s Github Action\n\nThis github action starts a k3s cluster of choosen version and sets KUBECONFIG to created cluster.\nThis is helpful for testing applications /  operators on top of kubernetes cluster\n\n## Inputs\nversion of k3s  \n\u003e refer to table at the end of this README\n\n## Outputs\n* KUBECONFIG environment variable set to k3s cluster created as part of action.\n* kubeconfig: Kubeconfig location \n## Example usage\n```yaml\n- uses: debianmaster/actions-k3s@master\n  id: k3s\n  with:\n    version: 'latest'\n- run: |\n    kubectl get nodes\n    kubectl get pods -A\n    sleep 20\n    kubectl get pods -A\n```\n```yaml\nname: k3s Testing\non: push\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: debianmaster/actions-k3s@master\n      id: k3s\n      with:\n        version: 'v1.21.2-k3s1'\n    - run: |\n        kubectl get nodes\n```\n\n```yaml\nname: Matrix Testing\non: push\njobs:\n  build:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        k8s_version: [latest,v1.21.2-k3s1,v1.20.8-k3s1,v1.19.12-k3s1]\n    steps:\n    - uses: debianmaster/actions-k3s@master\n      id: k3s\n      with:\n        version: ${{ matrix.k8s_version }}\n    - name: Test on k3s\n      run: |\n        kubectl get nodes\n```\n\n## k3s version mapping with k8s\n| k3s                       | k8s      |\n|---------------------------|----------|\n| v1.21.2-k3s1              | v1.21.2  |\n| v1.20.8-k3s1              | v1.20.8  |\n| v1.19.12-k3s1             | v1.19.1  |\n| v1.18.2-k3s1              | v1.18.2  |\n| v1.17.4-k3s1              | v1.17.4  |\n| v1.17.3-k3s1              | v1.17.3  |\n| v1.17.2-k3s1              | v1.17.2  |\n| v1.17.0-k3s.1             | v1.17.0. |\n| v1.16.9-k3s1              | v1.16.9  |\n| v0.10.0, 0.10.1, 0.10.2   | v1.16.2. |\n| v0.9.0, 0.9.1             | v1.15.4  |\n| v0.8.1                    | v1.14.6. |\n| v0.8.0                    | v1.14.5. |\n| v0.7.0                    | v1.14.4  |\n| 0.6.0, 0.6.1              | v1.14.3. |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebianmaster%2Factions-k3s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdebianmaster%2Factions-k3s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdebianmaster%2Factions-k3s/lists"}