正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
| @@ -10,6 +10,9 @@ spec: | @@ -10,6 +10,9 @@ spec: | ||
| 10 | - name: "http" | 10 | - name: "http" |
| 11 | port: 80 | 11 | port: 80 |
| 12 | targetPort: 8082 | 12 | targetPort: 8082 |
| 13 | + - name: "https" | ||
| 14 | + port: 443 | ||
| 15 | + targetPort: 443 | ||
| 13 | selector: | 16 | selector: |
| 14 | k8s-app: allied-creation-gateway | 17 | k8s-app: allied-creation-gateway |
| 15 | --- | 18 | --- |
| @@ -48,6 +51,7 @@ spec: | @@ -48,6 +51,7 @@ spec: | ||
| 48 | imagePullPolicy: Always | 51 | imagePullPolicy: Always |
| 49 | ports: | 52 | ports: |
| 50 | - containerPort: 8082 | 53 | - containerPort: 8082 |
| 54 | + - containerPort: 443 | ||
| 51 | volumeMounts: | 55 | volumeMounts: |
| 52 | - mountPath: /opt/logs | 56 | - mountPath: /opt/logs |
| 53 | name: accesslogs | 57 | name: accesslogs |
-
请 注册 或 登录 后发表评论