diff --git a/clusters/brusnika-stage/test-service.yaml b/clusters/brusnika-stage/test-service.yaml new file mode 100644 index 0000000..7d8f2b1 --- /dev/null +++ b/clusters/brusnika-stage/test-service.yaml @@ -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