Add gitops manifest for tetris.

This commit is contained in:
2024-07-25 22:35:28 +12:00
parent 9c0881ff5f
commit fa43603ab0

View File

@ -0,0 +1,34 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: tetris
spec:
replicas: 1
selector:
matchLabels:
app: tetris
template:
metadata:
labels:
app: tetris
spec:
containers:
- name: tetris
image: aakibkhan1212/tetrisv1:latest
ports:
- containerPort: 3000
---
apiVersion: v1
kind: Service
metadata:
name: tetris-service
spec:
selector:
app: tetris
ports:
- protocol: TCP
port: 3000
targetPort: 3000
type: ClusterIP