Skip to content

Commit

Permalink
Merge pull request #122 from fujitatomoya/bugfix/20220621-counter-demo
Browse files Browse the repository at this point in the history
tutorial fix for kubeedge-counter-demo app.
  • Loading branch information
kubeedge-bot authored Jun 24, 2022
2 parents 9ce0a1c + 688c816 commit dd67137
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubeedge-counter-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand All @@ -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
```

Expand Down
3 changes: 3 additions & 0 deletions kubeedge-counter-demo/crds/kubeedge-web-controller-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd67137

Please sign in to comment.