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.
38 lines
817 B
38 lines
817 B
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:
|
|
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: data-gitea-0
|
|
mountPath: "/data-gitea-0"
|
|
volumes:
|
|
- name: data-gitea-0
|
|
persistentVolumeClaim:
|
|
claimName: data-gitea-0
|
|
readOnly: false |