{"id":18402528,"url":"https://github.com/wingkwong/traefik-playground","last_synced_at":"2026-03-19T04:13:28.108Z","repository":{"id":95978166,"uuid":"257162615","full_name":"wingkwong/traefik-playground","owner":"wingkwong","description":"Demonstrating how to setup Traefik on a k3s cluster using arkade and k3d.","archived":false,"fork":false,"pushed_at":"2024-05-01T14:36:07.000Z","size":4,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T19:18:17.961Z","etag":null,"topics":["arkade","k3d","k3s","traefik-v2"],"latest_commit_sha":null,"homepage":"","language":null,"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/wingkwong.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},"funding":{"github":"wingkwong","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2020-04-20T03:35:51.000Z","updated_at":"2023-04-15T15:21:28.000Z","dependencies_parsed_at":"2024-11-06T03:21:24.335Z","dependency_job_id":null,"html_url":"https://github.com/wingkwong/traefik-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wingkwong/traefik-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingkwong%2Ftraefik-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingkwong%2Ftraefik-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingkwong%2Ftraefik-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingkwong%2Ftraefik-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wingkwong","download_url":"https://codeload.github.com/wingkwong/traefik-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingkwong%2Ftraefik-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28694457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T14:15:13.573Z","status":"ssl_error","status_checked_at":"2026-01-23T14:09:05.534Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["arkade","k3d","k3s","traefik-v2"],"created_at":"2024-11-06T02:42:44.014Z","updated_at":"2026-01-23T14:44:26.115Z","avatar_url":"https://github.com/wingkwong.png","language":null,"funding_links":["https://github.com/sponsors/wingkwong"],"categories":[],"sub_categories":[],"readme":"# traefik-playground\n\nDemonstrating how to setup Traefik on a k3s cluster using arkade and k3d. \n\n\u003e This is just a learning playground\n\n##  Install k3d\nk3d is a little helper to run k3s in docker, where k3s is the lightweight Kubernetes distribution by Rancher. It actually removes millions of lines of code from k8s. If you just need a learning playground, k3s is definitely your choice.\n\nCheck out [k3d Github Page](https://github.com/rancher/k3d#get) to see the installation guide.\n\n\u003e When creating a cluster, ``k3d`` utilises ``kubectl`` and ``kubectl`` is not part of ``k3d``. If you don't have ``kubectl``, please install and set up [here](https://kubernetes.io/docs/tasks/tools/install-kubectl/). \n\nOnce you've installed ``k3d`` and ``kubectl``, run\n```\nk3d create -n traefik-playground\n```\n\n```\nINFO[0000] Created cluster network with ID 9f3c0c8caf0712b7f59970afd3c5db8159362b6ea34c84788f57b8e41a9011b3\nINFO[0000] Created docker volume  k3d-traefik-playground-images\nINFO[0000] Creating cluster [traefik-playground]\nINFO[0000] Creating server using docker.io/rancher/k3s:v1.0.1...\nINFO[0004] SUCCESS: created cluster [traefik-playground]\nINFO[0004] You can now use the cluster with:\n\nexport KUBECONFIG=\"$(k3d get-kubeconfig --name='traefik-playground')\"\nkubectl cluster-info\n```\n\nRun ``k3d list`` to make sure the status is running.\n```\n+--------------------+------------------------------+---------+---------+\n|        NAME        |            IMAGE             | STATUS  | WORKERS |\n+--------------------+------------------------------+---------+---------+\n| traefik-playground | docker.io/rancher/k3s:v1.0.1 | running |   0/0   |\n+--------------------+------------------------------+---------+---------+\n```\n\nWe need to make ``kubectl`` to use the kubeconfig for that cluster.\n```\nexport KUBECONFIG=\"$(k3d get-kubeconfig --name='traefik-playground')\"\n```\n\n## Install arkade \nMoving on to [arkade](https://github.com/alexellis/arkade), it provides a simple Golang CLI with strongly-typed flags to install charts and apps to your cluster in one command. Originally, the codebase is derived from [k3sup](https://github.com/alexellis/k3sup) which I've contributed last month. \n\n```\ncurl -sLS https://dl.get-arkade.dev | sudo sh\n```\n\nOnce you've installed it, you should see the following\n```\nNew version of arkade installed to /usr/local/bin\n            _             _\n  __ _ _ __| | ____ _  __| | ___\n / _` | '__| |/ / _` |/ _` |/ _ \\\n| (_| | |  |   \u003c (_| | (_| |  __/\n \\__,_|_|  |_|\\_\\__,_|\\__,_|\\___|\n\nGet Kubernetes apps the easy way\n\nVersion: 0.2.2\nGit Commit: 9063b6eb16deae5978805f71b0e749828c815490\n```\n\n``arkade`` currently does not support non-existing namespace for ``traefik``. Create the namespace first.\n```\nkubectl create namespace traefik-playground\n```\n\nInstall Traefik with dashboard via ``arkade``. You can use an alias ``ark`` or ``arkade``. \n```\narkade install traefik2 --dashboard -n traefik-playground \n```\n\n```\nUsing kubeconfig: /Users/wingkwong/.config/k3d/traefik-playground/kubeconfig.yaml\nClient: \"Darwin\"\n\"traefik\" has been added to your repositories\nHang tight while we grab the latest from your chart repositories...\n...Successfully got an update from the \"traefik\" chart repository\n...Successfully got an update from the \"openfaas\" chart repository\n...Successfully got an update from the \"stable\" chart repository\nUpdate Complete. ⎈ Happy Helming!⎈\nVALUES values.yaml\nCommand: /Users/wingkwong/.arkade/bin/helm3/helm [upgrade --install traefik traefik/traefik --namespace traefik-playground --values /var/folders/v3/24stf97d7nv35j_9vwppqzy00000gp/T/charts/traefik/values.yaml --set service.type=LoadBalancer --set additional.checkNewVersion=false --set additional.sendAnonymousUsage=false --set dashboard.ingressRoute=true --set additionalArguments={--providers.kubernetesingress}]\nRelease \"traefik\" does not exist. Installing it now.\nNAME: traefik\nLAST DEPLOYED: Mon Apr 20 17:41:21 2020\nNAMESPACE: traefik-playground\nSTATUS: deployed\nREVISION: 1\nTEST SUITE: None\n=======================================================================\n=                  traefik2 has been installed                        =\n=======================================================================\n Thanks for using arkade!# Get started at: https://docs.traefik.io/v2.0/\n\n# Install with an optional dashboard\n\narkade install traefik2 --dashboard\n\n# Find your LoadBalancer IP:\n\nkubectl get svc -n kube-system traefik\n```\n\nCheck out the traefik service \n```\nkubectl get svc -n traefik-playground traefik\n```\n\nForwarding from [::1]:8082 -\u003e 8080\n```\nkubectl port-forward svc/traefik 8082:80 -n traefik-playground \u0026\n```\n\n\u003e Currently there are some issues with the dashboard. Reported to ``arkade`` team and pending for a fix.\n\n## Clean up\n```\nk3d delete -n traefik-playground\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwingkwong%2Ftraefik-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwingkwong%2Ftraefik-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwingkwong%2Ftraefik-playground/lists"}