birb-scheduler-teller/k8s/redis.yml
marcsello c0ffcb76f7
All checks were successful
continuous-integration/drone/push Build is passing
Fixes
2021-12-10 23:39:09 +01:00

38 lines
690 B
YAML

---
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
namespace: turbomemer
spec:
selector:
app: birb-scheduler-redis
ports:
- name: birb-scheduler-redis
protocol: TCP
port: 6379
targetPort: 6379