{"id":22748128,"url":"https://github.com/githubfoam/k8s-centos-hybrid-sandbox","last_synced_at":"2025-03-30T05:42:44.673Z","repository":{"id":49557742,"uuid":"236870769","full_name":"githubfoam/k8s-centos-hybrid-sandbox","owner":"githubfoam","description":"kubernetes centos","archived":false,"fork":false,"pushed_at":"2020-05-06T10:41:57.000Z","size":21,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T07:49:43.516Z","etag":null,"topics":["centos","kubernetes"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/githubfoam.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}},"created_at":"2020-01-29T00:09:24.000Z","updated_at":"2020-06-25T16:36:24.000Z","dependencies_parsed_at":"2022-09-05T19:20:51.134Z","dependency_job_id":null,"html_url":"https://github.com/githubfoam/k8s-centos-hybrid-sandbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubfoam%2Fk8s-centos-hybrid-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubfoam%2Fk8s-centos-hybrid-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubfoam%2Fk8s-centos-hybrid-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/githubfoam%2Fk8s-centos-hybrid-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/githubfoam","download_url":"https://codeload.github.com/githubfoam/k8s-centos-hybrid-sandbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246281216,"owners_count":20752207,"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":["centos","kubernetes"],"created_at":"2024-12-11T03:20:03.291Z","updated_at":"2025-03-30T05:42:44.651Z","avatar_url":"https://github.com/githubfoam.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubernetes sandbox\n\n~~~~\ncross platform (freebsd,lin,win,mac..etc)\n~~~~\n\n~~~~\nmake sure the docker-ce and kubernetes are using same 'cgroup'.\n\n$ sudo docker info | grep -i cgroup\nCgroup Driver: cgroupfs\n~~~~\n\n~~~~\n[vagrant@k8s-master ~]$ sudo yum --showduplicates list docker-ce | grep 18.09.*\ndocker-ce.x86_64            3:18.09.8-3.el7                    @docker-ce-stable\ndocker-ce.x86_64            3:18.09.0-3.el7                    docker-ce-stable\ndocker-ce.x86_64            3:18.09.1-3.el7                    docker-ce-stable\ndocker-ce.x86_64            3:18.09.2-3.el7                    docker-ce-stable\ndocker-ce.x86_64            3:18.09.3-3.el7                    docker-ce-stable\ndocker-ce.x86_64            3:18.09.4-3.el7                    docker-ce-stable\ndocker-ce.x86_64            3:18.09.5-3.el7                    docker-ce-stable\ndocker-ce.x86_64            3:18.09.6-3.el7                    docker-ce-stable\ndocker-ce.x86_64            3:18.09.7-3.el7                    docker-ce-stable\ndocker-ce.x86_64            3:18.09.8-3.el7                    docker-ce-stable\n[vagrant@k8s-master ~]$ sudo yum --showduplicates list docker-ce-cli | grep 18.09.*\ndocker-ce-cli.x86_64              1:18.09.8-3.el7              @docker-ce-stable\ndocker-ce-cli.x86_64              1:18.09.0-3.el7              docker-ce-stable\ndocker-ce-cli.x86_64              1:18.09.1-3.el7              docker-ce-stable\ndocker-ce-cli.x86_64              1:18.09.2-3.el7              docker-ce-stable\ndocker-ce-cli.x86_64              1:18.09.3-3.el7              docker-ce-stable\ndocker-ce-cli.x86_64              1:18.09.4-3.el7              docker-ce-stable\ndocker-ce-cli.x86_64              1:18.09.5-3.el7              docker-ce-stable\ndocker-ce-cli.x86_64              1:18.09.6-3.el7              docker-ce-stable\ndocker-ce-cli.x86_64              1:18.09.7-3.el7              docker-ce-stable\ndocker-ce-cli.x86_64              1:18.09.8-3.el7              docker-ce-stable\n\n~~~~\n~~~~  \nv1.15 Release Notes\nThe list of validated docker versions remains unchanged.\nThe current list is 1.13.1, 17.03, 17.06, 17.09, 18.06, 18.09. (#72823, #72831)\nhttps://kubernetes.io/docs/setup/release/notes/\n\nContainer runtimes\nOn each of your machines, install Docker. Version 18.06.2 is recommended, but 1.11, 1.12, 1.13, 17.03 and 18.09 are known to work as well. Keep track of the latest verified Docker version in the Kubernetes release notes.\nhttps://kubernetes.io/docs/setup/production-environment/container-runtimes/\n\n[WARNING IsDockerSystemdCheck]: detected \"cgroupfs\" as the Docker cgroup driver. The recommended driver is \"systemd\". Please follow the guide at https://kubernetes.io/docs/setup/cri/\n\n~~~~\n\n~~~~\nflannel pod network\nhttps://github.com/coreos/flannel#flannel\nCluster Networking\nhttps://kubernetes.io/docs/concepts/cluster-administration/networking/\n\n~~~~\n\n~~~~\nvagrant up\nor\nvagrant up k8s-master\nvagrant up node01\nvagrant up node02\n~~~~\nhybrid-cluster\n~~~~\n[vagrant@k8s-master ~]$ cat /etc/centos-release\nCentOS Linux release 7.6.1810 (Core)\n[vagrant@node01 ~]$ cat /etc/centos-release\nCentOS Linux release 7.4.1708 (Core)\n[vagrant@node02 ~]$ cat /etc/centos-release\nCentOS Linux release 7.5.1804 (Core)\n~~~~\n\n~~~~\n\nvagrant ssh k8s-master\n[vagrant@k8s-master ~]$ kubectl get nodes\nNAME         STATUS   ROLES    AGE   VERSION\nk8s-master   Ready    master   20m   v1.15.2\nnode01       Ready    \u003cnone\u003e   11m   v1.15.2\n~~~~\nnode-2 added after cluster booted\n~~~~\n[vagrant@k8s-master ~]$ kubectl get nodes\nNAME         STATUS   ROLES    AGE     VERSION\nk8s-master   Ready    master   34m     v1.15.2\nnode01       Ready    \u003cnone\u003e   24m     v1.15.2\nnode02       Ready    \u003cnone\u003e   2m19s   v1.15.2\n~~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubfoam%2Fk8s-centos-hybrid-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithubfoam%2Fk8s-centos-hybrid-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithubfoam%2Fk8s-centos-hybrid-sandbox/lists"}