Initial commit
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: search
|
||||
namespace: {{ wanderer_namespace }}
|
||||
spec:
|
||||
replicas: {{ wanderer_replica_count.search }}
|
||||
selector:
|
||||
matchLabels:
|
||||
app: search
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: search
|
||||
spec:
|
||||
containers:
|
||||
- name: search
|
||||
image: "{{ wanderer_images.search }}"
|
||||
ports:
|
||||
- containerPort: 7700
|
||||
env:
|
||||
- name: MEILI_URL
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: wanderer-config
|
||||
key: MEILI_URL
|
||||
- name: MEILI_MASTER_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: wanderer-secrets
|
||||
key: MEILI_MASTER_KEY
|
||||
- name: MEILI_NO_ANALYTICS
|
||||
value: "true"
|
||||
volumeMounts:
|
||||
- name: search-data
|
||||
mountPath: /meili_data
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 7700
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 10
|
||||
failureThreshold: 10
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: 7700
|
||||
initialDelaySeconds: 20
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 10
|
||||
failureThreshold: 10
|
||||
volumes:
|
||||
- name: search-data
|
||||
persistentVolumeClaim:
|
||||
claimName: wanderer-search-data
|
||||
|
||||
Reference in New Issue
Block a user