merge ervu-backend/release/ervu/1.9.11
This commit is contained in:
parent
1ce2361347
commit
4f6c16b5c7
50 changed files with 12221 additions and 934 deletions
74
config/config.yaml
Normal file
74
config/config.yaml
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
name: ervu-account-applications-backend
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
resources:
|
||||
requests:
|
||||
memory: '256Mi'
|
||||
cpu: '50m'
|
||||
limits:
|
||||
memory: '2Gi'
|
||||
cpu: '1'
|
||||
|
||||
env:
|
||||
- name: ERVU_URL
|
||||
value: 'https://{{ $.Values.ingress_base_host }}'
|
||||
- name: ERVU_PWD_SIGN_SECRET_KEY
|
||||
value: 'DtCAQdeKnrAMLfdJkFVdfQnyT/Z5OINK4jqX0LbavfM='
|
||||
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
|
||||
services:
|
||||
- name: '{{ $.Values.name }}'
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
|
||||
postgres:
|
||||
database: 'ervu_account_applications'
|
||||
|
||||
livenessProbe:
|
||||
failureThreshold: 3
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 3
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 5
|
||||
|
||||
readinessProbe:
|
||||
failureThreshold: 3
|
||||
httpGet:
|
||||
path: /account-applications/version
|
||||
port: 8080
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 3
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 5
|
||||
|
||||
ingress:
|
||||
- name: '{{ $.Values.name }}'
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/affinity: 'cookie'
|
||||
nginx.ingress.kubernetes.io/session-cookie-name: 'stickysession'
|
||||
nginx.ingress.kubernetes.io/session-cookie-max-age: '7200'
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "75m"
|
||||
nginx.ingress.kubernetes.io/rewrite-target: /account-applications/$2
|
||||
labels:
|
||||
app/name: ervu-account-applications
|
||||
rules:
|
||||
- host: '{{ $.Values.ingress_base_host }}'
|
||||
http:
|
||||
paths:
|
||||
- path: /mfe/account-applications/account-applications(/|$)(.*)
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: '{{ $.Values.name }}'
|
||||
port:
|
||||
name: http
|
||||
Loading…
Add table
Add a link
Reference in a new issue