You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-14Lines changed: 19 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,8 @@
2
2
Install Contiv on your Docker Swarm or Kubernetes cluster.
3
3
## Docker Swarm Installation
4
4
### Prerequisites
5
-
* CentOS 7.x operating system
5
+
* CentOS 7.x operating system.
6
+
* Python installed on the master and worker nodes.
6
7
* Docker installed on the host where you are running the installer.
7
8
* Install a Docker Swarm cluster or use the Contiv installer to install the scheduler stack after installing Docker on a node external to the cluster where the scheduler stack is being installed.
8
9
@@ -16,34 +17,38 @@ If your access to the Internet is limited or slow and you want to download the f
16
17
Note: The full image contains only Contiv components. Installing Docker Swarm will need Internet connectivity.
17
18
* Extract the install bundle <br>`tar oxf contiv-$VERSION.tgz`.
18
19
* Change directories to the extracted folder <br>`cd contiv-$VERSION`
19
-
* To install Contiv with Docker Swarm:<br> `./install/ansible/install_swarm.sh -f cfg.yml -e <ssh key> -u <username> -i`
20
-
* To install Contiv with Docker Swarm and ACI:<br> `./install/ansible/install_swarm.sh -f aci_cfg.yml -e <ssh key> -u <username> -i -m aci`
20
+
* To install Contiv with Docker Legacy Swarm:<br> `./install/ansible/install_swarm.sh -f cfg.yml -e <ssh key> -u <username> -i`
21
+
* To install Contiv with Docker Legacy Swarm and ACI:<br> `./install/ansible/install_swarm.sh -f aci_cfg.yml -e <ssh key> -u <username> -i -m aci`
* Note: Adding the `-r` flag, will cleanup any Contiv state.
34
38
35
-
## Kubernetes 1.4 Installation
39
+
## Kubernetes Installation
36
40
37
41
### Prerequisites
38
42
43
+
* Kubernetes 1.4.x, 1.5.x and 1.6.2+ are supported with the following instructions.
39
44
* CentOS 7.x operating system
40
-
* Install Kubernetes 1.4:
41
-
1.Contiv service-cidr is currently 10.254.0.0/16. `kubeadm init` step needs to be called with the `--service-cidr 10.254.0.0/16` parameter.
42
-
2. kubeadm installs the latest Kubernetes version. To install the latest supported version use the `--use-kubernetes-version v1.4.7` parameter.<br>
43
-
See an example script [here.](https://github.com/contiv/install/blob/master/cluster/k8s1.4/k8smaster.sh)
44
-
3. Replace step (3/4) in the kubeadm install guide with the following Contiv Installation Instructions. Contiv installation can be done after completing step (4/4).
45
-
4. Instructions to install Kubernetes 1.4 are available [here.](http://kubernetes.io/docs/getting-started-guides/kubeadm/)
46
-
5.**NOTE:** A recent kubeadm update has rendered the latest kubeadm unable to install Kubernetes 1.4. To workaround this issue, please use kubeadm version 1.6.0-0.alpha or earlier.
45
+
* Install Kubernetes:
46
+
1. kubeadm installs the latest Kubernetes version. <br>
47
+
For Kubernetes 1.4, see an example script [here.](https://github.com/contiv/install/blob/master/cluster/k8s1.4/k8smaster.sh)
48
+
For Kubernetes 1.6, see an example script [here.](https://github.com/contiv/install/blob/master/cluster/k8s1.6/k8smaster.sh)
49
+
1. Replace step (3/4) in the kubeadm install guide with the following Contiv Installation Instructions. Contiv installation can be done after completing step (4/4).
50
+
1. Instructions to install Kubernetes are available [here.](http://kubernetes.io/docs/getting-started-guides/kubeadm/)
51
+
1.**Kubernetes 1.4 NOTE:** A recent kubeadm update has rendered the latest kubeadm unable to install Kubernetes 1.4. To workaround this issue, please use kubeadm version 1.6.0-0.alpha or earlier.
47
52
Example pre-built RPMs are available as shown [here.](https://github.com/contiv/install/blob/master/cluster/k8s1.4/bootstrap_centos.sh#L22-L26)
0 commit comments