{"id":22941307,"url":"https://github.com/thejaxon/kluster","last_synced_at":"2025-08-12T21:31:48.515Z","repository":{"id":130963111,"uuid":"323131597","full_name":"theJaxon/Kluster","owner":"theJaxon","description":"Yet another k8s cluster using kubeadm","archived":true,"fork":false,"pushed_at":"2021-03-15T18:02:32.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-01T20:43:36.990Z","etag":null,"topics":["ansible","containerd","docker","kubeadm","kubernetes-cluster","vagrant"],"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/theJaxon.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-12-20T17:52:05.000Z","updated_at":"2024-11-29T12:38:39.000Z","dependencies_parsed_at":"2023-03-22T20:15:10.009Z","dependency_job_id":null,"html_url":"https://github.com/theJaxon/Kluster","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theJaxon/Kluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theJaxon%2FKluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theJaxon%2FKluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theJaxon%2FKluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theJaxon%2FKluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theJaxon","download_url":"https://codeload.github.com/theJaxon/Kluster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theJaxon%2FKluster/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270140510,"owners_count":24534412,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ansible","containerd","docker","kubeadm","kubernetes-cluster","vagrant"],"created_at":"2024-12-14T13:38:41.655Z","updated_at":"2025-08-12T21:31:48.501Z","avatar_url":"https://github.com/theJaxon.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kluster\n\n![Vagrant](https://img.shields.io/badge/-Vagrant-1563FF?style=for-the-badge\u0026logo=Vagrant\u0026logoColor=white)\n![K8s](https://img.shields.io/badge/-kubeadm-326CE5?style=for-the-badge\u0026logo=kubernetes\u0026logoColor=white)\n![Docker](https://img.shields.io/badge/Docker-container%20runtime-2496ED?style=for-the-badge\u0026logo=Docker)\n\n![Ansible](https://img.shields.io/badge/Configured%20using-ansible-EE0000?style=for-the-badge\u0026logo=ansible)\n![Ingress](https://img.shields.io/badge/nginx-ingress%20controller-269539?style=for-the-badge\u0026logo=Nginx)\n\n![Locl-path-provisioner](https://img.shields.io/badge/Dynamic%20provisioning-local%20path%20provisioner-0075A8?style=for-the-badge\u0026logo=Rancher)\n\nYet another k8s cluster using kubeadm\n\n---\n\n### About the project:\n\n- This project deploys a kubernetes cluster using [Kubeadm](https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/install-kubeadm/) on top of Vagrant, all configuration is taken care of using Ansible\n- Dynamic storage provisioning is done using **[local-path-provisioner](https://github.com/rancher/local-path-provisioner)** from Rancher\n- LoadBalancer implementation is provided using **[MetalLB](https://metallb.universe.tf/)**\n- For ingress, **[nginx-ingress-controller](https://kubernetes.github.io/ingress-nginx/deploy/#bare-metal)** is used\n- [Weave net CNI](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#-installation) is used to provide [Network Policies](https://kubernetes.io/docs/concepts/services-networking/network-policies/)\n- [Metrics server](https://github.com/kubernetes-sigs/metrics-server) for collecting resource metrics\n\n---\n\n### Cluster details:\n- The cluster is configured as one master and 2 worker nodes as follows:\n\n| Machine Name \t|     Address    \t|         FQDN        \t|\n|:------------:\t|:--------------:\t|:-------------------:\t|\n|    master    \t| 192.168.100.10 \t|  master.example.com \t|\n|    worker1   \t| 192.168.100.11 \t| worker1.example.com \t|\n|    worker2   \t| 192.168.100.12 \t| worker2.example.com \t|\n\n---\n---\n\n#### Making local-path the default storage class:\n```bash\n# 1- Enable DefaultStorageClass Admission controller \nvi /etc/kubernetes/manifests/kube-apiserver.yaml\n- --enable-admission-plugins=NodeRestriction,DefaultStorageClass\n\n#2- Patch the storage class created by local-path-provisioner\nk patch sc local-path -p '{\"metadata\": {\"annotations\":{\"storageclass.kubernetes.io/is-default-class\":\"true\"}}}'\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthejaxon%2Fkluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthejaxon%2Fkluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthejaxon%2Fkluster/lists"}