作者 Administrator

更新 mmm-open-api.yaml

@@ -46,11 +46,6 @@ spec: @@ -46,11 +46,6 @@ spec:
46 - name: mmm-open-api 46 - name: mmm-open-api
47 image: 192.168.0.243:5000/mmm/mmm-open-api:dev 47 image: 192.168.0.243:5000/mmm/mmm-open-api:dev
48 imagePullPolicy: Always 48 imagePullPolicy: Always
49 - volumeMounts:  
50 - - mountPath: /opt/logs  
51 - name: accesslogs  
52 - - mountPath: /var/www/opp/file  
53 - name: mmmjihuitest-pvc1  
54 ports: 49 ports:
55 - containerPort: 8080 50 - containerPort: 8080
56 env: 51 env:
@@ -91,10 +86,4 @@ spec: @@ -91,10 +86,4 @@ spec:
91 - name: aliyun_logs_suplusfile 86 - name: aliyun_logs_suplusfile
92 value: "stdout" 87 value: "stdout"
93 - name: aliyun_logs_access 88 - name: aliyun_logs_access
94 - value: " /opt/logs/app.log"  
95 - volumes:  
96 - - name: accesslogs  
97 - emptyDir: {}  
98 - - name: mmmjihuitest-pvc1  
99 - persistentVolumeClaim:  
100 - claimName: mmmjihuitest-pvc  
  89 + value: " /opt/logs/app.log"