Added staging

This commit is contained in:
Teodor
2026-05-07 00:41:00 +02:00
parent acc5363c70
commit 4a4f6bf2bc
3 changed files with 37 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: flask-app
namespace: staging
spec:
replicas: 1
selector:
matchLabels:
app: flask-app
template:
metadata:
labels:
app: flask-app
spec:
containers:
- name: flask-app
image: PLACEHOLDER_IMAGE
ports:
- containerPort: 5000
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: staging
+13
View File
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: flask-app-service
namespace: staging
spec:
selector:
app: flask-app
ports:
- protocol: TCP
port: 80
targetPort: 5000
type: ClusterIP