Adding
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: incentive-manager
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: incentive-manager
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 25%
|
||||
maxUnavailable: 25%
|
||||
type: RollingUpdate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: incentive-manager
|
||||
spec:
|
||||
containers:
|
||||
- name: incentive-manager
|
||||
image: incentive-manager
|
||||
resources:
|
||||
limits:
|
||||
memory: "1536Mi"
|
||||
cpu: "500m"
|
||||
ports:
|
||||
- containerPort: 80
|
||||
livenessProbe:
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
readinessProbe:
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 5
|
||||
httpGet:
|
||||
path: /
|
||||
port: 80
|
||||
volumeMounts:
|
||||
- name: volume-lcu-internal-cert
|
||||
mountPath: /etc/ssl/certs/lcu-internal-cert.pem
|
||||
subPath: lcu-internal-cert.pem
|
||||
- name: volume-appsettings
|
||||
mountPath: /app/config/mapped-appsettings
|
||||
volumes:
|
||||
- name: volume-lcu-internal-cert
|
||||
configMap:
|
||||
name: configmap-lcu-internal-cert
|
||||
- name: volume-appsettings
|
||||
configMap:
|
||||
name: incentivemanager-configmap
|
||||
Reference in New Issue
Block a user