{"id":18081613,"url":"https://github.com/thequib/k3s","last_synced_at":"2026-04-13T16:32:20.134Z","repository":{"id":111986312,"uuid":"449739342","full_name":"TheQuib/k3s","owner":"TheQuib","description":"Configurations, scripts, and commands for getting k3s up and running on at least 1 server and 1 worker node.","archived":false,"fork":false,"pushed_at":"2022-05-17T21:37:40.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"chief","last_synced_at":"2025-04-05T22:26:30.793Z","etag":null,"topics":["cluster","docker","k3s","kubernetes","linux","linux-server","ubuntu"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/TheQuib.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":"2022-01-19T15:06:37.000Z","updated_at":"2024-06-13T08:09:19.000Z","dependencies_parsed_at":"2023-09-09T20:33:08.552Z","dependency_job_id":null,"html_url":"https://github.com/TheQuib/k3s","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TheQuib/k3s","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheQuib%2Fk3s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheQuib%2Fk3s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheQuib%2Fk3s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheQuib%2Fk3s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheQuib","download_url":"https://codeload.github.com/TheQuib/k3s/tar.gz/refs/heads/chief","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheQuib%2Fk3s/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31761831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"last_error":"SSL_read: 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":["cluster","docker","k3s","kubernetes","linux","linux-server","ubuntu"],"created_at":"2024-10-31T13:15:29.235Z","updated_at":"2026-04-13T16:32:20.126Z","avatar_url":"https://github.com/TheQuib.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Configurations\nConfigurations, scripts, and commands for getting k3s up and running on at least 1 server and 1 worker node.\n\nA bit of information on my implementation can be found below, and more specific installation instructions can be found under each directory.\n\n## Directory Information\n - **Cluster**\n   - Information on how to get a k3s cluster running\n - **DB**\n   - Information for the external database for k3s master servers\n - **LoadBalancer**\n   - Information for the master server load balancer\n   - This was done using nginx, but can be adapted to use any load balancer\n - **Rancher**\n   - *Optional*, Rancher is an open-source web-based Kubernetes orchestrator\n - **Workloads**\n   - *Optional*, example commands / configurations for Kubernetes workloads you can deploy\n\n\u003cbr\u003e\n\n# My Environment\n\n## Servers\nIn my environment, I'm running a total of 8 virtual machines (IP addresses for documentation reference):\n - k3sServer1 (10.175.134.131)\n - k3sServer2 (10.175.134.132)\n - k3sAgent1 (10.175.134.141)\n - k3sAgent2 (10.175.134.142)\n - k3sAgent3 (10.175.134.143)\n - KubeDB (10.175.134.133)\n - k3sLoadBalancer (10.175.134.134)\n - k3sDev (10.175.134.139)\n\n## Roles\n - k3s Servers\n   - Denoted as `masters` by Kubernetes\n   - Run the kubernetes API, which drives the worker agents\n   - Load Balanced\n   - Configs found in [Cluster/k3s-server-setup](/Cluster/k3s-server-setup.sh)\n - k3s Agents (workers)\n   - Denoted as `workers` by Kubernetes\n   - Run workloads called `Pods`, identical instances of the same container\n   - Configs found in [Cluster/k3s-agent-setup.sh](/Cluster/k3s-agent-setup.sh)\n - k3s Database\n   - Provides database information for the cluster\n   - Each master server communicates with this\n   - Agents communicate to the masters only\n - Load Balancer\n   - Load balances services for communication\n     - For both the masters and services to be accessed\n   - Configs found in [LoadBalancer](/LoadBalancer)\n - Dev Machine\n   - A machine with Kubectl installed,\n   - Downloaded `kubeconfig` from a master server\n     - See [Dev machine requirements](#dev-machine-requirements)\n\n\n# Dev Machine Requirements\nTo deploy workloads, you will need a separate client machine with:\n - Install `kubectl`\n   - `curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add`\n   - `sudo apt-add-repository \"deb http://apt.kubernetes.io/ kubernetes-xenial main\"`\n   - `sudo apt-get install kubeadm kubelet kubectl`\n   - `sudo apt-mark hold kubeadm kubelet kubectl`\n   - Verify installation with `kubeadm version`\n - Kubeconfig from Master server\n   - Connect to master server and run `sudo cat /etc/rancher/k3s/k3s.yaml`\n   - Save these contents to `~/.kube/config`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthequib%2Fk3s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthequib%2Fk3s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthequib%2Fk3s/lists"}