Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angudadevops/kubernetes_baremetal
Install kubernetes on Baremetal Servers
https://github.com/angudadevops/kubernetes_baremetal
k8s-ansible k8s-ansible-playbooks k8s-baremetal k8s-cluster-ubuntu k8s-container-runtime kubernetes-cluster kubernetes-container-runtime kubernetes-containerd kubernetes-crio kubernetes-docker kubernetes-runtime kubernetes-setup
Last synced: 9 days ago
JSON representation
Install kubernetes on Baremetal Servers
- Host: GitHub
- URL: https://github.com/angudadevops/kubernetes_baremetal
- Owner: angudadevops
- Created: 2019-07-28T04:47:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T18:40:49.000Z (over 3 years ago)
- Last Synced: 2023-07-19T19:56:02.321Z (over 1 year ago)
- Topics: k8s-ansible, k8s-ansible-playbooks, k8s-baremetal, k8s-cluster-ubuntu, k8s-container-runtime, kubernetes-cluster, kubernetes-container-runtime, kubernetes-containerd, kubernetes-crio, kubernetes-docker, kubernetes-runtime, kubernetes-setup
- Language: Shell
- Homepage: https://angudadevops.github.io/
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kubernetes on Baremetal
## Motivation
https://kubernetes.io/docs/setup/production-environment/container-runtimes/## Prerequisites:
1. Spin up nodes on vmware/virtualbox with ubuntu/RHEL/CentOS, here one node is master and another one for node
2. you can add multiple nodes to the masters
3. Please update your master and node ip's in hosts file like below
```
[master]
10.110.16.178 ansible_ssh_user=admin ansible_ssh_pass=pass ansible_sudo_pass=pass ansible_ssh_common_args='-o StrictHostKeyChecking=no'
[node]
10.110.16.179 ansible_ssh_user=admin ansible_ssh_pass=pass ansible_sudo_pass=pass ansible_ssh_common_args='-o StrictHostKeyChecking=no'
```
4. Provide container runtime to the script, Available runtimes are- CRI-O
- Containerd
- Docker## Setup
Run the below command to Install Kubernetes cluster```
bash setup.sh install
```## Uninstall
Run the below command to uninstall Kubernetes cluster
```
bash setup.sh uninstall```
### Please raise an issue if you have any difficulties to install the kubernetes cluster with ansible