作者 Administrator

更新 opp.yaml

... ... @@ -10,6 +10,9 @@ spec:
- name: "http"
port: 80
targetPort: 8080
- name: "https"
port: 443
targetPort: 443
selector:
k8s-app: mmmopp
---
... ... @@ -53,6 +56,7 @@ spec:
name: opportunity-pvc1
ports:
- containerPort: 8080
- containerPort: 443
env:
- name: MYSQL_HOST
valueFrom:
... ...