{"id":20173276,"url":"https://github.com/teedjay/k8s-testing-k3d","last_synced_at":"2026-03-05T07:34:08.630Z","repository":{"id":73156812,"uuid":"314935179","full_name":"teedjay/k8s-testing-k3d","owner":"teedjay","description":"Checking out k3d instead of kind as my local k8s cluster in docker","archived":false,"fork":false,"pushed_at":"2020-11-22T02:06:30.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T04:41:56.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teedjay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-22T01:14:43.000Z","updated_at":"2020-11-22T02:06:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"21a43ff3-f763-4541-a49a-e3c8b8243708","html_url":"https://github.com/teedjay/k8s-testing-k3d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teedjay/k8s-testing-k3d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fk8s-testing-k3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fk8s-testing-k3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fk8s-testing-k3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fk8s-testing-k3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teedjay","download_url":"https://codeload.github.com/teedjay/k8s-testing-k3d/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teedjay%2Fk8s-testing-k3d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30114310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T03:40:26.266Z","status":"ssl_error","status_checked_at":"2026-03-05T03:39:15.902Z","response_time":93,"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":[],"created_at":"2024-11-14T01:34:37.086Z","updated_at":"2026-03-05T07:34:08.599Z","avatar_url":"https://github.com/teedjay.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to start k3d kubernetes cluster\n\n- have Docker running\n- brew install k3d\n- brew install kubeclt\n\n## Create a small cluster (name will be `k3s-default` if not specified)\nWill start ingress loadbalancer Traefik on port 80, expose it on 10080 on localhost.\n```\nk3d cluster create -p \"10080:80@loadbalancer\"\nk3d kubeconfig merge k3s-default --switch-context\n```\n\n## Start the nginx demo\nWill start nginx and expose index.html with a bootstrap welcome page using ingress and inrgess rewrite rules.\n```\nkubectl apply -f pod.yaml\nkubectl apply -f service.yaml\nkubectl apply -f ingress.yaml\n```\n\n## Testing the ingress routing\nThis should work in your browser with images etc : http://localhost:10080/web/\n\nHere are some other rewrites that will \"miss\" the correct entrypoint.\n```\n# should be 404 from traefik ingress\ncurl -i :10080/\n\n# using Prefix match, all will hit nginx\ncurl -i http://localhost:10080/web\ncurl -i http://localhost:10080/web123\ncurl -i http://localhost:10080/web/\n\n# using Exact match, first should be 404 from ingress ingress, second should hit nginx\ncurl -i http://localhost:10080/copy\ncurl -i http://localhost:10080/copy/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteedjay%2Fk8s-testing-k3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteedjay%2Fk8s-testing-k3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteedjay%2Fk8s-testing-k3d/lists"}