作者 yangfu

添加日志

1 appname = partner 1 appname = partner
2 runmode = "${RUN_MODE||dev}" 2 runmode = "${RUN_MODE||dev}"
3 -httpport = "${HTTP_PORT||8080}" 3 +httpport = "${HTTP_PORT||8082}"
4 4
5 #开启监控 5 #开启监控
6 EnableAdmin = false 6 EnableAdmin = false
@@ -9,7 +9,7 @@ spec: @@ -9,7 +9,7 @@ spec:
9 ports: 9 ports:
10 - name: "http" 10 - name: "http"
11 port: 80 11 port: 80
12 - targetPort: 8080 12 + targetPort: 8082
13 selector: 13 selector:
14 k8s-app: mmmpartner 14 k8s-app: mmmpartner
15 --- 15 ---
@@ -47,7 +47,7 @@ spec: @@ -47,7 +47,7 @@ spec:
47 image: 192.168.0.243:5000/mmm/partner:dev 47 image: 192.168.0.243:5000/mmm/partner:dev
48 imagePullPolicy: Always 48 imagePullPolicy: Always
49 ports: 49 ports:
50 - - containerPort: 8080 50 + - containerPort: 8082
51 volumeMounts: 51 volumeMounts:
52 - mountPath: /opt/logs 52 - mountPath: /opt/logs
53 name: accesslogs 53 name: accesslogs