mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
41 lines
944 B
YAML
41 lines
944 B
YAML
---
|
|
kind: Pod
|
|
apiVersion: v1
|
|
metadata:
|
|
name: maintenance-worker
|
|
namespace: human-connection
|
|
spec:
|
|
containers:
|
|
- name: maintenance-worker
|
|
image: schoolsinmotion/maintenance-worker:latest
|
|
imagePullPolicy: Always
|
|
resources:
|
|
requests:
|
|
memory: "2G"
|
|
limits:
|
|
memory: "8G"
|
|
envFrom:
|
|
- configMapRef:
|
|
name: maintenance-worker
|
|
- configMapRef:
|
|
name: configmap
|
|
volumeMounts:
|
|
- name: secret-volume
|
|
readOnly: false
|
|
mountPath: /root/.ssh
|
|
- name: uploads
|
|
mountPath: /uploads
|
|
- name: neo4j-data
|
|
mountPath: /data/
|
|
volumes:
|
|
- name: secret-volume
|
|
secret:
|
|
secretName: ssh-keys
|
|
defaultMode: 0400
|
|
- name: uploads
|
|
persistentVolumeClaim:
|
|
claimName: uploads-claim
|
|
- name: neo4j-data
|
|
persistentVolumeClaim:
|
|
claimName: neo4j-data-claim
|