diff options
| author | allenleu <liulun@inspur.com> | 2021-12-24 11:46:22 +0800 |
|---|---|---|
| committer | allenleu <liulun@inspur.com> | 2021-12-24 15:15:15 +0800 |
| commit | 819a68adc2e2550a03118cbef50c61317f7f2076 (patch) | |
| tree | 86d1685585f03c5f3b0aa3bb1938fa2eafe9314d /build | |
| parent | Merge pull request #3474 from dsy3502/fixCommonName (diff) | |
| download | kubeedge-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.yaml | 12 | ||||
| -rw-r--r-- | build/cloud/08-service.yaml.example | 8 | ||||
| -rw-r--r-- | build/cloud/ha/03-ha-deployment.yaml.example | 11 |
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: |
