k8s
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user