Add test service in test namespace for brusnika-stage

This commit is contained in:
Kochetkov S 2026-06-01 16:59:02 +03:00
parent 38bf5c91ca
commit b29d519854

View File

@ -0,0 +1,43 @@
apiVersion: v1
kind: Namespace
metadata:
name: test
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-http
namespace: test
labels:
app: test-http
spec:
replicas: 1
selector:
matchLabels:
app: test-http
template:
metadata:
labels:
app: test-http
spec:
containers:
- name: http-echo
image: hashicorp/http-echo:1.0.0
args:
- "-text=ok from flux"
ports:
- containerPort: 5678
name: http
---
apiVersion: v1
kind: Service
metadata:
name: test-http
namespace: test
spec:
selector:
app: test-http
ports:
- name: http
port: 80
targetPort: 5678