diff options
| author | Siddharth Bhadri <siddharth.bhadri@huawei.com> | 2019-03-05 11:27:39 +0530 |
|---|---|---|
| committer | m1093782566 <dujun5@huawei.com> | 2019-03-05 17:44:20 +0800 |
| commit | 4cc8cbf31262d25fdaaf13f1501706c9b3acc610 (patch) | |
| tree | 3c6a01b0092f7716528ca355a7c8ce705316958f /README.md | |
| parent | added cloud setup steps in README (diff) | |
| download | kubeedge-4cc8cbf31262d25fdaaf13f1501706c9b3acc610.tar.gz | |
added sample node and deployment
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -102,7 +102,7 @@ yum-config-manager \ yum update && yum install docker-ce-18.06.1.ce ``` -KubeEdge's Cloud(edgecontroller) connects to Kubernetes master to sync updates of node/pod status. If you don't have Kubernetes Setup, please follow these steps to install Kubernetes using kubeadm +KubeEdge's Cloud(edgecontroller) connects to Kubernetes master to sync updates of node/pod status. If you don't have Kubernetes setup, please follow these steps to install Kubernetes using kubeadm #### Install kubeadm/kubectl @@ -247,6 +247,14 @@ cd $GOPATH/src/github.com/kubeedge/kubeedge/cloud/edgecontroller ### Run Edge +We have provided a sample node.json to add a node in kubernetes. Please make sure edge-node is added in kubernetes. Run below steps to add edge-node + +```shell +kubectl apply -f $GOPATH/src/github.com/kubeedge/kubeedge/build/node.json +``` + +Run Edge + ```shell # run mosquitto mosquitto -d -p 1883 @@ -261,7 +269,13 @@ nohup ./edge_core > edge_core.log 2>&1 & If you are using HuaweiCloud IEF, then the edge node you created should be running (check it in the IEF console page). +### Deploy Application +Try out a sample application deployment by following below steps + +```shell +kubectl apply -f $GOPATH/src/github.com/kubeedge/kubeedge/build/deployment.yaml +``` ### Run Edge Unit Tests ```shell |
