parent
3c68cdc9a5
commit
0efef0f8e1
|
|
@ -129,24 +129,25 @@ spec:
|
||||||
app.kubernetes.io/name: nam-frontend-dev
|
app.kubernetes.io/name: nam-frontend-dev
|
||||||
spec:
|
spec:
|
||||||
affinity:
|
affinity:
|
||||||
podAntiAffinity:
|
podAntiAffinity:
|
||||||
preferredDuringSchedulingIgnoredDuringExecution:
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
- weight: 100
|
- weight: 100
|
||||||
podAffinityTerm:
|
podAffinityTerm:
|
||||||
labelSelector:
|
labelSelector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/instance: nam-frontend-dev
|
app.kubernetes.io/instance: nam-frontend-dev
|
||||||
app.kubernetes.io/name: nam-frontend-dev
|
app.kubernetes.io/name: nam-frontend-dev
|
||||||
topologyKey: "kubernetes.io/hostname"
|
topologyKey: "kubernetes.io/hostname"
|
||||||
containers:
|
containers:
|
||||||
- name: web
|
- name: web
|
||||||
image: git.winteraccess.id/winter-access/frontend-nam:dev
|
image: git.winteraccess.id/winter-access/frontend-nam:dev
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
envFrom:
|
env:
|
||||||
- configMapRef:
|
- name: DB_PASSWORD
|
||||||
name: nam-frontend-dev-config
|
valueFrom:
|
||||||
- secretRef:
|
secretKeyRef:
|
||||||
name: nam-frontend-dev-secret
|
name: nam-frontend-dev-secret
|
||||||
|
key: DB_PASSWORD
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: "250m"
|
cpu: "250m"
|
||||||
|
|
@ -167,12 +168,8 @@ spec:
|
||||||
terminationMessagePath: /dev/termination-log
|
terminationMessagePath: /dev/termination-log
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/public
|
- mountPath: /app
|
||||||
name: public
|
name: app
|
||||||
- mountPath: /app/storage
|
|
||||||
name: storage
|
|
||||||
- mountPath: /tmp
|
|
||||||
name: tmp
|
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init
|
- name: init
|
||||||
image: git.winteraccess.id/winter-access/frontend-nam:dev
|
image: git.winteraccess.id/winter-access/frontend-nam:dev
|
||||||
|
|
@ -200,12 +197,8 @@ spec:
|
||||||
terminationMessagePath: /dev/termination-log
|
terminationMessagePath: /dev/termination-log
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /app/public
|
- mountPath: /app
|
||||||
name: public
|
name: app
|
||||||
- mountPath: /app/storage
|
|
||||||
name: storage
|
|
||||||
- mountPath: /tmp
|
|
||||||
name: tmp
|
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: winter-registry
|
- name: winter-registry
|
||||||
dnsPolicy: ClusterFirst
|
dnsPolicy: ClusterFirst
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue