Add Redis app.
This commit is contained in:
27
apps/redis/deployment.yaml
Normal file
27
apps/redis/deployment.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: redis
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: redis
|
||||
replicas: 1
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: redis
|
||||
spec:
|
||||
containers:
|
||||
- image: redis:alpine
|
||||
name: redis
|
||||
ports:
|
||||
- containerPort: 6379
|
||||
env:
|
||||
- name: TZ
|
||||
value: America/New_York
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: config
|
||||
restartPolicy: Always
|
Reference in New Issue
Block a user