first commit
This commit is contained in:
commit
e8a57ace39
16 changed files with 1486 additions and 0 deletions
55
config/deployment.yaml
Normal file
55
config/deployment.yaml
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: template-solver
|
||||
namespace: template-solver
|
||||
labels:
|
||||
app: template-solver
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: template-solver
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: template-solver
|
||||
spec:
|
||||
serviceAccountName: template-solver
|
||||
containers:
|
||||
- name: template-solver
|
||||
image: git.giftfish.de/ston1th/template-solver
|
||||
imagePullPolicy: Always
|
||||
resources:
|
||||
requests:
|
||||
cpu: 100m
|
||||
memory: 128Mi
|
||||
args:
|
||||
- --tls-cert-file=/tls/tls.crt
|
||||
- --tls-private-key-file=/tls/tls.key
|
||||
env:
|
||||
- name: GROUP_NAME
|
||||
value: template-solver
|
||||
ports:
|
||||
- name: https
|
||||
containerPort: 443
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
scheme: HTTPS
|
||||
path: /healthz
|
||||
port: https
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
scheme: HTTPS
|
||||
path: /healthz
|
||||
port: https
|
||||
volumeMounts:
|
||||
- name: certs
|
||||
mountPath: /tls
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: certs
|
||||
secret:
|
||||
secretName: template-solver-cert
|
||||
Loading…
Add table
Add a link
Reference in a new issue