fixing the README.md 87/71187/1
authorKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Wed, 23 Sep 2020 20:02:59 +0000 (13:02 -0700)
committerKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Wed, 23 Sep 2020 20:02:59 +0000 (13:02 -0700)
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I3d3499862a472db76d801b9ee9ab520a4b521a15

README.md
demo/sfc-setup/README.md

index 8fd91c6..365b232 100644 (file)
--- a/README.md
+++ b/README.md
@@ -61,6 +61,12 @@ In the master node run the `kubeadm init` as below. The ovn4nfv uses pod network
 ```
     $ kubeadm init --kubernetes-version=1.19.0 --pod-network-cidr=10.233.64.0/18 --apiserver-advertise-address=<master_eth0_ip_address>
 ```
+Ensure the master node taint for no schedule is removed and labelled with `ovn4nfv-k8s-plugin=ovn-control-plane`
+```
+nodename=$(kubectl get node -o jsonpath='{.items[0].metadata.name}')
+kubectl taint node $nodename node-role.kubernetes.io/master:NoSchedule-
+kubectl label --overwrite node $nodename ovn4nfv-k8s-plugin=ovn-control-plane
+```
 Deploy the ovn4nfv Pod network to the cluster.
 ```
     $ kubectl apply -f deploy/ovn-daemonset.yaml
index 676fa88..ef0dcc0 100644 (file)
@@ -28,21 +28,15 @@ is available on the Vagrant site.
 
 ## Deployment
 
-### kubeadm
+### How to create K8s cluster?
 
 Install the [docker](https://docs.docker.com/engine/install/ubuntu/) in the master, minion01 and minion02 vm.
 Follow the steps in [create cluster kubeadm](https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/) to create kubernetes cluster in master
-In the master vm run the `kubeadm init` as below. The ovn4nfv uses same pod network cidr `10.233.64.0/18`
-```
-    $ kubeadm init --kubernetes-version=1.19.0 --pod-network-cidr=10.233.64.0/18 --apiserver-advertise-address=<master_eth0_ip_address>
-```
-Deploy the ovn4nfv Pod network to the cluster.
-```
-    $ kubectl apply -f ovn4nfv-pod-network/ovn-daemonset.yaml
-    $ kubectl apply -f ovn4nfv-pod-network/ovn4nfv-k8s-plugin.yaml
-```
+In the master vm run the `kubeadm init` as below. The ovn4nfv uses same pod network cidr `10.233.64.0/18`. 
 Join minion01 and minion02 by running the `kubeadm join` on each node as root as mentioned in [create cluster kubeadm](https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/)
 
+Please follow the ovn4nfv installation steps - [ovn4nfv installation](https://github.com/ovn4nfv/ovn4nfv-k8s-plugin#quickstart-installation-guide)
+
 ### TM1 server
 
 ssh into the TM1 vm and run the following command to attach TM1 to the left provider network.