birb-scheduler-teller/k8s/redis.yml

38 lines
690 B
YAML
Raw Normal View History

2021-12-10 23:25:37 +01:00
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: birb-scheduler-redis
namespace: turbomemer
labels:
app: birb-scheduler-redis
spec:
selector:
matchLabels:
app: birb-scheduler-redis
strategy:
type: Recreate
template:
metadata:
labels:
app: birb-scheduler-redis
spec:
containers:
- name: birb-scheduler-redis
image: redis
ports:
- containerPort: 6379
---
apiVersion: v1
kind: Service
metadata:
name: birb-scheduler-redis
2021-12-10 23:39:09 +01:00
namespace: turbomemer
2021-12-10 23:25:37 +01:00
spec:
selector:
app: birb-scheduler-redis
ports:
- name: birb-scheduler-redis
protocol: TCP
port: 6379
targetPort: 6379