Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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