mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
62 lines
1.6 KiB
YAML
62 lines
1.6 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
human-connection.org/selector: deployment-human-connection-neo4j
|
|
name: neo4j
|
|
namespace: human-connection
|
|
spec:
|
|
progressDeadlineSeconds: 2147483647
|
|
replicas: 1
|
|
revisionHistoryLimit: 2147483647
|
|
selector:
|
|
matchLabels:
|
|
human-connection.org/selector: deployment-human-connection-neo4j
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 0
|
|
maxUnavailable: 100%
|
|
type: RollingUpdate
|
|
template:
|
|
metadata:
|
|
annotations:
|
|
backup.velero.io/backup-volumes: neo4j-data
|
|
creationTimestamp: null
|
|
labels:
|
|
human-connection.org/selector: deployment-human-connection-neo4j
|
|
name: neo4j
|
|
spec:
|
|
containers:
|
|
- envFrom:
|
|
- configMapRef:
|
|
name: configmap
|
|
image: ocelotsocialnetwork/neo4j:latest
|
|
imagePullPolicy: Always
|
|
name: neo4j
|
|
ports:
|
|
- containerPort: 7687
|
|
protocol: TCP
|
|
- containerPort: 7474
|
|
protocol: TCP
|
|
resources:
|
|
limits:
|
|
memory: 2G
|
|
requests:
|
|
memory: 1G
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /data/
|
|
name: neo4j-data
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
securityContext: {}
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: neo4j-data
|
|
persistentVolumeClaim:
|
|
claimName: neo4j-data-claim
|
|
status: {}
|