This commit is contained in:
j 2025-08-22 22:12:13 +10:00
parent f75b44efca
commit 5b4bbe8f86
33 changed files with 691 additions and 35 deletions

View file

@ -0,0 +1,38 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: redis-deployment
namespace: database
labels:
app: redis
spec:
replicas: 1
selector:
matchLabels:
app: redis
template:
metadata:
labels:
app: redis
spec:
containers:
- name: redis
image: redis:latest
ports:
- containerPort: 6379
---
apiVersion: v1
kind: Service
metadata:
name: redis
namespace: database
spec:
selector:
app: redis
ports:
- protocol: TCP
port: 6379
targetPort: 6379