mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
8e98a2f975
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5414 Co-authored-by: Nithin <36623418+nithindv@users.noreply.github.com> Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com> Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com> GitOrigin-RevId: a9a7e24d3e63e4f5df979cf1eb56308067be49b4
50 lines
1.0 KiB
YAML
50 lines
1.0 KiB
YAML
---
|
|
# Source: hge-pro/templates/redis-service.yaml
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: hge-pro-redis
|
|
labels:
|
|
app: hge-pro-redis
|
|
spec:
|
|
ports:
|
|
- port: 6379
|
|
targetPort: 6379
|
|
selector:
|
|
app: hge-pro-redis
|
|
---
|
|
# Source: hge-pro/templates/redis-deployment.yaml
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: hge-pro-redis
|
|
labels:
|
|
app: hge-pro-redis
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: hge-pro-redis
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: hge-pro-redis
|
|
spec:
|
|
securityContext:
|
|
fsGroup: 1001
|
|
runAsUser: 1001
|
|
containers:
|
|
- name: hge-pro-redis
|
|
args:
|
|
- --dir
|
|
- $(DATA_DIR)
|
|
- --appendonly
|
|
- "yes"
|
|
env:
|
|
- name: DATA_DIR
|
|
value: /tmp
|
|
image: 'docker.io/redis:5'
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 6379
|