summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorallenleu <liulun@inspur.com>2021-12-24 11:46:22 +0800
committerallenleu <liulun@inspur.com>2021-12-24 15:15:15 +0800
commit819a68adc2e2550a03118cbef50c61317f7f2076 (patch)
tree86d1685585f03c5f3b0aa3bb1938fa2eafe9314d /build
parentMerge pull request #3474 from dsy3502/fixCommonName (diff)
downloadkubeedge-819a68adc2e2550a03118cbef50c61317f7f2076.tar.gz
add stream/tunnel port and nodeport for cloudcore
Signed-off-by: allenleu <liulun@inspur.com>
Diffstat (limited to 'build')
-rw-r--r--build/cloud/07-deployment.yaml12
-rw-r--r--build/cloud/08-service.yaml.example8
-rw-r--r--build/cloud/ha/03-ha-deployment.yaml.example11
3 files changed, 30 insertions, 1 deletions
diff --git a/build/cloud/07-deployment.yaml b/build/cloud/07-deployment.yaml
index 150f1f53e..9ae7dab26 100644
--- a/build/cloud/07-deployment.yaml
+++ b/build/cloud/07-deployment.yaml
@@ -26,6 +26,18 @@ spec:
- containerPort: 10000
name: cloudhub
protocol: TCP
+ - containerPort: 10001
+ name: cloudhub-quic
+ protocol: TCP
+ - containerPort: 10002
+ name: cloudhub-https
+ protocol: TCP
+ - containerPort: 10003
+ name: cloudstream
+ protocol: TCP
+ - containerPort: 10004
+ name: tunnelport
+ protocol: TCP
resources:
limits:
cpu: 200m
diff --git a/build/cloud/08-service.yaml.example b/build/cloud/08-service.yaml.example
index 4aa93aec1..3e57fed6c 100644
--- a/build/cloud/08-service.yaml.example
+++ b/build/cloud/08-service.yaml.example
@@ -10,6 +10,14 @@ spec:
ports:
- port: 10000
name: cloudhub
+ - port: 10001
+ name: cloudhub-quic
+ - port: 10002
+ name: cloudhub-https
+ - port: 10003
+ name: cloudstream
+ - port: 10004
+ name: tunnelport
selector:
k8s-app: kubeedge
kubeedge: cloudcore
diff --git a/build/cloud/ha/03-ha-deployment.yaml.example b/build/cloud/ha/03-ha-deployment.yaml.example
index 9a70b16a5..319b161c3 100644
--- a/build/cloud/ha/03-ha-deployment.yaml.example
+++ b/build/cloud/ha/03-ha-deployment.yaml.example
@@ -47,8 +47,17 @@ spec:
- containerPort: 10000
name: cloudhub
protocol: TCP
+ - containerPort: 10001
+ name: cloudhub-quic
+ protocol: TCP
- containerPort: 10002
- name: certandreadyz
+ name: cloudhub-https
+ protocol: TCP
+ - containerPort: 10003
+ name: cloudstream
+ protocol: TCP
+ - containerPort: 10004
+ name: tunnelport
protocol: TCP
resources:
limits: