...
|
...
|
@@ -2,7 +2,7 @@ apiVersion: v1 |
|
|
kind: Service
|
|
|
metadata:
|
|
|
name: allied-creation-cooperation
|
|
|
namespace: <replace-your-k8s-namespace>
|
|
|
namespace: mmm-suplus-test
|
|
|
labels:
|
|
|
k8s-app: allied-creation-cooperation
|
|
|
spec:
|
...
|
...
|
@@ -10,6 +10,9 @@ spec: |
|
|
- name: "http"
|
|
|
port: 80
|
|
|
targetPort: 8082
|
|
|
- name: "https"
|
|
|
port: 443
|
|
|
targetPort: 443
|
|
|
selector:
|
|
|
k8s-app: allied-creation-cooperation
|
|
|
---
|
...
|
...
|
@@ -17,7 +20,7 @@ apiVersion: extensions/v1beta1 |
|
|
kind: Deployment
|
|
|
metadata:
|
|
|
name: allied-creation-cooperation
|
|
|
namespace: <replace-your-k8s-namespace>
|
|
|
namespace: mmm-suplus-test
|
|
|
labels:
|
|
|
k8s-app: allied-creation-cooperation
|
|
|
spec:
|
...
|
...
|
@@ -48,6 +51,7 @@ spec: |
|
|
imagePullPolicy: Always
|
|
|
ports:
|
|
|
- containerPort: 8082
|
|
|
- containerPort: 443
|
|
|
volumeMounts:
|
|
|
- mountPath: /opt/logs
|
|
|
name: accesslogs
|
...
|
...
|
|