This commit is contained in:
jooho
2021-12-30 17:50:22 +09:00
parent c62eb513e4
commit c8e6106271
13 changed files with 26 additions and 42 deletions

View File

@@ -8,9 +8,11 @@ metadata:
app: apigateway
name: apigateway-service
spec:
type: NodePort
ports:
- port: 8000
targetPort: 8000
nodePort: 30001
selector:
env: production
tier: backend

View File

@@ -8,9 +8,11 @@ metadata:
app: discovery
name: discovery-service
spec:
type: NodePort
ports:
- port: 8761
targetPort: 8761
nodePort: 30002
selector:
env: production
tier: backend

View File

@@ -84,11 +84,4 @@ spec:
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
volumeMounts:
- name: backend-volume
mountPath: /srv/nfs
volumes:
- name: backend-volume
persistentVolumeClaim:
claimName: backend-pvc
failureThreshold: 3

View File

@@ -84,11 +84,4 @@ spec:
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
volumeMounts:
- name: backend-volume
mountPath: /srv/nfs
volumes:
- name: backend-volume
persistentVolumeClaim:
claimName: backend-pvc
failureThreshold: 3

View File

@@ -84,11 +84,4 @@ spec:
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
volumeMounts:
- name: backend-volume
mountPath: /srv/nfs
volumes:
- name: backend-volume
persistentVolumeClaim:
claimName: backend-pvc
failureThreshold: 3

View File

@@ -84,11 +84,4 @@ spec:
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
volumeMounts:
- name: backend-volume
mountPath: /srv/nfs
volumes:
- name: backend-volume
persistentVolumeClaim:
claimName: backend-pvc
failureThreshold: 3

View File

@@ -8,10 +8,12 @@ metadata:
app: admin
name: frontend-admin-service
spec:
type: NodePort
ports:
- name: frontend-admin-http
port: 3000
targetPort: 3000
nodePort: 30011
selector:
env: production
tier: frontend

View File

@@ -8,10 +8,12 @@ metadata:
app: portal
name: frontend-portal-service
spec:
type: NodePort
ports:
- name: frontend-portal-http
port: 3000
targetPort: 3000
nodePort: 30012
selector:
env: production
tier: frontend