From d6c5d11fbb2b3a49975630db388cc4bfc715ed41 Mon Sep 17 00:00:00 2001 From: RyanZhaoXB Date: Tue, 19 Apr 2022 21:27:13 +0800 Subject: [PATCH] fix the example yaml Signed-off-by: RyanZhaoXB --- kubeedge-counter-demo/crds/kubeedge-counter-instance.yaml | 3 +++ kubeedge-counter-demo/crds/kubeedge-pi-counter-app.yaml | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/kubeedge-counter-demo/crds/kubeedge-counter-instance.yaml b/kubeedge-counter-demo/crds/kubeedge-counter-instance.yaml index 337dd1a05..c2df2f035 100644 --- a/kubeedge-counter-demo/crds/kubeedge-counter-instance.yaml +++ b/kubeedge-counter-demo/crds/kubeedge-counter-instance.yaml @@ -5,6 +5,9 @@ metadata: labels: description: 'counter' spec: + protocol: + customizedProtocol: + protocolName: counter deviceModelRef: name: counter-model nodeSelector: diff --git a/kubeedge-counter-demo/crds/kubeedge-pi-counter-app.yaml b/kubeedge-counter-demo/crds/kubeedge-pi-counter-app.yaml index 55ba8b115..85a096839 100644 --- a/kubeedge-counter-demo/crds/kubeedge-pi-counter-app.yaml +++ b/kubeedge-counter-demo/crds/kubeedge-pi-counter-app.yaml @@ -14,8 +14,6 @@ spec: labels: k8s-app: kubeedge-pi-counter spec: - nodeSelector: - node-role.kubernetes.io/master: "" hostNetwork: true containers: - name: kubeedge-pi-counter