{"id":20053173,"url":"https://github.com/irezaul/kubernetes","last_synced_at":"2026-03-07T00:02:10.645Z","repository":{"id":140057970,"uuid":"382394297","full_name":"irezaul/kubernetes","owner":"irezaul","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-14T18:39:23.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T09:14:05.571Z","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/irezaul.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":"2021-07-02T15:52:12.000Z","updated_at":"2021-08-14T18:39:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"a46d6459-a0e9-4554-880e-47f32f5a331c","html_url":"https://github.com/irezaul/kubernetes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/irezaul/kubernetes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irezaul%2Fkubernetes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irezaul%2Fkubernetes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irezaul%2Fkubernetes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irezaul%2Fkubernetes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irezaul","download_url":"https://codeload.github.com/irezaul/kubernetes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irezaul%2Fkubernetes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30204109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"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-13T12:23:19.652Z","updated_at":"2026-03-07T00:02:10.630Z","avatar_url":"https://github.com/irezaul.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to install putty on macOs\n\u003e open terminal and type the code.\n```bash\nbrew install putty\n```\n![Putty install on macOS](https://user-images.githubusercontent.com/77927449/124318696-d9c5d680-db9a-11eb-89d3-13adc4ebf047.png)\n\n# Now Create 2/3 ubuntu server on VirtualBox\n\n### installing Docker on all 3 Machines\n\n##### First need to update the package list in all 3 machines\n```bash \nsudo apt-get update\n`````\n\n#### \t•\tNext install Docker on all 3 machines\n```bash\nsudo apt-get install docker.io\n````  \n•\tNext check the version of Docker on all 3 machines\n```bash\ndocker ––version\n```\n####\tNext set Docker to launch at boot in all 3 machines\n```bash\nsudo systemctl enable docker\n```\n#### Next verify if Docker is running on all 3 machines - `Install Kubernetes all 3 machin`\n```bash\nsudo systemctl status docker\n```\n#### Since you are downloading Kubernetes from a non-standard repository, it is essential to ensure that the software is authentic. This is done by adding a signing key\u2028\n\n```bash\t\necho \"deb http://apt.kubernetes.io/ kubernetes-xenial main\" | sudo tee /etc/apt/sources.list.d/kubernetes.list\n```\n##### Next\n```bash\ncurl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add\n```\n#### Since Kubernetes is not included in the default repo, add software repo:\n```bash \nsudo apt-add-repository \"deb http://apt.kubernetes.io/ kubernetes-xenial main\"\n```\n#### Enter the following commands to install KUBEADM, KUBELET, KUBECTL:\n```bash \nsudo apt-get install kubeadm kubelet kubectl\nsudo apt-mark hold kubeadm kubelet kubectl\n```\n#### Verify the installation: \n```bash \nkubeadm version\u2028\n```\n#### In order to start Kubernetes deployment start by disabling swap memory for each server:\n```bash \nsudo swapoff –a\n```\n#### Assign unique hostname for each server node or machine:\n```bash\nsudo hostnamectl set-hostname master-node\nsudo hostnamectl set-hostname worker01\nsudo hostnamectl set-hostname worker02\n```\n#### Initialize Kubernetes on Master Node ONLY. Please note cidr 10.244.0.0/16 is designated for Flannel network. This network is required for Pods to communicate with each other. \n```bash \nsudo kubeadm init --pod-network-cidr=10.244.0.0/16 --ignore-preflight-errors=all\n```\n#### Please copy the printout kubeadm join command (at the end of the printout) for later use. This command is unique to each cluster and will be used for joining other nodes to the cluster. Need to run the following commands to complete deployment on Master node: \n```bash\t\nmkdir -p $HOME/.kube\u2028\nsudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config\nsudo chown $(id -u):$(id -g) $HOME/.kube/config\n```\n#### A Pod Network is a way to allow communication between different nodes in the cluster. This tutorial uses the flannel virtual network. Enter the following command on Master node:\n\n```bash \nkubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml\n```\n##### use code when `kubernetes` host if error show -\n```bash \nkubeadm reset \n```\n\n#### If show error IP address not found like that - so use this code- exmaple \u003cbr\u003e(`The connection to the server 192.168.x.x:6443 was refused - did you specify the right host or port? `)\n\n```bash \nsudo cp /etc/kubernetes/admin.conf ~/.kube/config \u0026\u0026 sudo chown $(id -u):$(id -g) $HOME/.kube/config\n```\n#### Allow the process to complete and verify that everything is running and communicating:\n```bash \nkubectl get pods --all-namespaces\n```\n#### Check the nodes on the current cluster by running the following command in Master node:\n```bash \nkubectl get nodes\n```\n#### As mentioned in the earlier steps (see Kubernetes deployment), now kubeadm join command can be used in each worker node to connect them to the cluster. Run the command on each Worker node (the token part is excluded, since your token and IP should be unique):\n```bash \nsudo kubeadm join 172.31.x.x:6443 --token\n```\n#### if you see the error use this code\n```bash\nkubeadm reset\n```\n#### Now run the “kubectl get nodes” on the Master node to check node status\n```bash\nkubectl get nodes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firezaul%2Fkubernetes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firezaul%2Fkubernetes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firezaul%2Fkubernetes/lists"}