{"id":17125826,"url":"https://github.com/kaitoy/ansible-k8s","last_synced_at":"2025-04-13T06:25:25.381Z","repository":{"id":143022820,"uuid":"135898459","full_name":"kaitoy/ansible-k8s","owner":"kaitoy","description":"Ansible Playbook to setup Kubernetes Cluster","archived":false,"fork":false,"pushed_at":"2024-06-30T13:34:31.000Z","size":269,"stargazers_count":5,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T13:44:08.016Z","etag":null,"topics":["ansible","ansible-playbook","kubernetes","kubernetes-cluster","kubernetes-setup"],"latest_commit_sha":null,"homepage":"","language":"Jinja","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/kaitoy.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":"2018-06-03T11:33:09.000Z","updated_at":"2024-06-30T13:34:35.000Z","dependencies_parsed_at":"2023-04-19T22:32:05.533Z","dependency_job_id":null,"html_url":"https://github.com/kaitoy/ansible-k8s","commit_stats":null,"previous_names":[],"tags_count":70,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaitoy%2Fansible-k8s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaitoy%2Fansible-k8s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaitoy%2Fansible-k8s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaitoy%2Fansible-k8s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaitoy","download_url":"https://codeload.github.com/kaitoy/ansible-k8s/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240039703,"owners_count":19738384,"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":["ansible","ansible-playbook","kubernetes","kubernetes-cluster","kubernetes-setup"],"created_at":"2024-10-14T18:45:55.550Z","updated_at":"2025-02-23T00:31:47.455Z","avatar_url":"https://github.com/kaitoy.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Playbook to setup Kubernetes Cluster\n\n## Prerequisites for Ansible Controller\n\n* Ansible 2.5.x installed\n* Python package \"netaddr\" is installed\n* Git installed\n\n## Kubernetes Cluster to setup\n\n* Kubernetes: v1.30.2\n    * Single node cluster\n    * kubelet,kube-proxy, kube-apiserver, kube-controller-manager, kube-scheduler, and etcd are managed by systemd (i.e. not containerized)\n        * kubelet and kube-proxy run as root, and the rest run as non-root\n    * Communication between k8s components is encrypted by TLS\n    * Authentication by x509 client certificates\n    * TLS Bootstrapping\n        * Bootstrap token\n        * Auto approval for CSRs\n    * [Certificate Rotation](https://kubernetes.io/docs/tasks/tls/certificate-rotation/) is enabled\n    * etcd 3.5.14\n    * [Calico](https://www.tigera.io/project-calico/) 3.28.0\n    * [CoreDNS](https://github.com/coredns/coredns) 1.11.1\n    * Service cluster IP range: 10.0.0.0/16\n    * Cluster CIDR: 10.32.0.0/16\n    * [Proxy mode](https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies): ipvs\n    * Using [KubeletConfiguration](https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ ), [KubeProxyConfiguration](https://github.com/kubernetes/kube-proxy/blob/master/config/v1alpha1/types.go), and [KubeSchedulerConfiguration](https://kubernetes.io/docs/reference/config-api/kube-scheduler-config.v1/)\n* Tools\n    * [Helm](https://helm.sh/) 3.15.2\n\n## How to use\n\n```sh\n$ su -\n# git clone https://github.com/kaitoy/ansible-k8s.git\n# cd ansible-k8s\n# sh play.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaitoy%2Fansible-k8s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaitoy%2Fansible-k8s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaitoy%2Fansible-k8s/lists"}