diff --git a/kubeedge-counter-demo/README.md b/kubeedge-counter-demo/README.md index 2ae36fde2..7cc172227 100644 --- a/kubeedge-counter-demo/README.md +++ b/kubeedge-counter-demo/README.md @@ -49,7 +49,7 @@ The KubeEdge Web App runs in a VM on cloud. $ cd $GOPATH/src/github.com/kubeedge/examples/kubeedge-counter-demo/web-controller-app $ make $ make docker -$ cd $GOPATH/src/github.com/kubeedge/examples/kubeedge-counter-demo/templates +$ cd $GOPATH/src/github.com/kubeedge/examples/kubeedge-counter-demo/crds $ kubectl create -f kubeedge-web-controller-app.yaml ``` @@ -63,7 +63,7 @@ The KubeEdge Counter App run in raspi. $ cd $GOPATH/src/github.com/kubeedge/examples/kubeedge-counter-demo/counter-mapper $ make $ make docker -$ cd $GOPATH/src/github.com/kubeedge/examples/kubeedge-counter-demo/templates +$ cd $GOPATH/src/github.com/kubeedge/examples/kubeedge-counter-demo/crds $ kubectl create -f kubeedge-pi-counter-app.yaml ``` diff --git a/kubeedge-counter-demo/crds/kubeedge-web-controller-app.yaml b/kubeedge-counter-demo/crds/kubeedge-web-controller-app.yaml index 80688d8ee..207f555de 100644 --- a/kubeedge-counter-demo/crds/kubeedge-web-controller-app.yaml +++ b/kubeedge-counter-demo/crds/kubeedge-web-controller-app.yaml @@ -25,6 +25,9 @@ spec: - key: node-role.kubernetes.io/master operator: Exists effect: NoSchedule + - key: node-role.kubernetes.io/control-plane + operator: Exists + effect: NoSchedule restartPolicy: Always --- apiVersion: rbac.authorization.k8s.io/v1beta1