Skip to content

Commit e030fbc

Browse files
authored
detailed run vs. install
1 parent 7d3215f commit e030fbc

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

README.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,43 @@
22

33
This guide will take you through the steps of deploying Kubernetes to bare metal or Openstack using docker.
44

5-
## Setup on Bare Metal
5+
## Run on Bare Metal or VM
6+
Kubernetes will be launched on the machine, but no modification is done to the system. The cluster will not survive a reboot.
67

7-
To setup master in your host
8+
Login to master and paste the following command:
89

910
```
10-
curl -s https://raw.githubusercontent.com/FujitsuEnablingSoftwareTechnologyGmbH/k8s-docker-provisioner/master/master.sh install | sudo sh
11+
curl -s https://raw.githubusercontent.com/FujitsuEnablingSoftwareTechnologyGmbH/k8s-docker-provisioner/master/master.sh run | sudo sh
12+
```
13+
14+
Login to worker and paste the following command:
15+
16+
```
17+
curl -s https://raw.githubusercontent.com/FujitsuEnablingSoftwareTechnologyGmbH/k8s-docker-provisioner/master/worker.sh run | sudo MASTER_IP=<your-master-ip> sh
1118
```
1219

13-
To setup node in your host
1420

21+
## Install on Bare Metal or VM
22+
Kubernetes will be permanantly installed on the systems and automatically started after reboot.
23+
24+
Login to master and paste the following command:
25+
26+
```
27+
curl -s https://raw.githubusercontent.com/FujitsuEnablingSoftwareTechnologyGmbH/k8s-docker-provisioner/master/master.sh install | sudo sh
28+
```
29+
30+
Login to worker and paste the following command:
1531
```
1632
curl -s https://raw.githubusercontent.com/FujitsuEnablingSoftwareTechnologyGmbH/k8s-docker-provisioner/master/worker.sh install | sudo MASTER_IP=<your-master-ip> sh
1733
```
1834

1935

20-
## Setup on OpenStack
36+
## Provision a Cluster on OpenStack
2137

38+
The provisioning includes:
39+
* Virtual machines
40+
* Network
41+
* Installing Kubernetes on the VMs
2242

2343
### Pre-Requisites
2444

0 commit comments

Comments
 (0)