Add gitops manifest for tetris.
This commit is contained in:
34
data/app-delivery/tetris.yaml
Normal file
34
data/app-delivery/tetris.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user