You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: sapiantools
|
|
labels:
|
|
k8s-app: sapiantools
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
k8s-app: sapiantools
|
|
template:
|
|
metadata:
|
|
labels:
|
|
k8s-app: sapiantools
|
|
spec:
|
|
# affinity:
|
|
# nodeAffinity:
|
|
# requiredDuringSchedulingIgnoredDuringExecution:
|
|
# nodeSelectorTerms:
|
|
# - matchExpressions:
|
|
# - key: kubernetes.io/hostname
|
|
# operator: In
|
|
# values:
|
|
# - juju-9f1c47-k8s-38
|
|
containers:
|
|
- name: sapiantools
|
|
image: quay.io/sapian/sapiantools:latest
|
|
imagePullPolicy: Always
|
|
command: [ "/bin/bash", "-c", "--" ]
|
|
args: [ "while true; do sleep 60; done;" ]
|
|
resources:
|
|
limits:
|
|
cpu: 100m
|
|
memory: 100Mi
|
|
volumeMounts:
|
|
#- name: teleport-auth-storage
|
|
# mountPath: /teleport-auth-storage
|
|
- name: zammad-zammad-0
|
|
mountPath: /zammad-zammad-0
|
|
volumes:
|
|
#- name: teleport-auth-storage
|
|
# persistentVolumeClaim:
|
|
# claimName: teleport-auth-storage
|
|
# readOnly: false
|
|
- name: zammad-zammad-0
|
|
persistentVolumeClaim:
|
|
claimName: zammad-zammad-0
|
|
readOnly: false
|