Files
homelab/whoogle/templates/deployment.yaml
2022-10-10 17:36:40 -05:00

48 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: whoogle
labels:
helm.sh/chart: whoogle-0.1.0
app.kubernetes.io/name: whoogle
app.kubernetes.io/instance: whoogle
app.kubernetes.io/version: "0.7.2"
app.kubernetes.io/managed-by: Helm
spec:
selector:
matchLabels:
app.kubernetes.io/name: whoogle
app.kubernetes.io/instance: whoogle
template:
metadata:
labels:
app.kubernetes.io/name: whoogle
app.kubernetes.io/instance: whoogle
spec:
serviceAccountName: whoogle
securityContext:
{}
containers:
- name: whoogle
securityContext:
runAsUser: 0
image: "benbusby/whoogle-search:0.7.2"
imagePullPolicy: Always
resources:
limits:
cpu: 1000m
requests:
cpu: 100m
ports:
- name: http
containerPort: 5000
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http