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.

68 lines
2.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:
- k3s-00-ssd-seattle.sapian.cloud
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: matrix-matrix-synapse-rwm
mountPath: /matrix-matrix-synapse-rwm
# - name: prometheus
# mountPath: /prometheus
# - name: data-consul-dc-k8s-cur-consul-server-0
# mountPath: /data-consul-dc-k8s-cur-consul-server-0
# - name: data-consul-dc-k8s-cur-consul-server-1
# mountPath: /data-consul-dc-k8s-cur-consul-server-1
# - name: data-consul-dc-k8s-cur-consul-server-2
# mountPath: /data-consul-dc-k8s-cur-consul-server-2
volumes:
- name: matrix-matrix-synapse-rwm
persistentVolumeClaim:
claimName: matrix-matrix-synapse-rwm
readOnly: false
# - name: prometheus
# persistentVolumeClaim:
# claimName: prometheus-kps-kube-prometheus-stack-prometheus-db-prometheus-kps-kube-prometheus-stack-prometheus-0
# readOnly: false
# - name: data-consul-dc-k8s-cur-consul-server-0
# persistentVolumeClaim:
# claimName: data-consul-dc-k8s-cur-consul-server-0
# readOnly: false
# - name: data-consul-dc-k8s-cur-consul-server-1
# persistentVolumeClaim:
# claimName: data-consul-dc-k8s-cur-consul-server-1
# readOnly: false
# - name: data-consul-dc-k8s-cur-consul-server-2
# persistentVolumeClaim:
# claimName: data-consul-dc-k8s-cur-consul-server-2
# readOnly: false