add http-server part 3
All checks were successful
ci / build (push) Successful in 1m19s

This commit is contained in:
Christopher Hase 2025-04-07 13:16:29 +02:00
parent 2fca0ec7e2
commit cf8bd4014b
3 changed files with 14 additions and 5 deletions

View file

@ -1,8 +1,8 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: iching-broker-0-0-2 name: iching-broker-0-0-1
namespace: default namespace: argocd
spec: spec:
selector: selector:
matchLabels: matchLabels:

View file

@ -2,9 +2,13 @@ apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: iching-ingress name: iching-ingress
namespace: argocd
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec: spec:
ingressClassName: nginx
rules: rules:
- host: 192-168-197-2.c-one-infra.de # z.B. iching.local - host: 192-168-197-2.c-one-infra.de
http: http:
paths: paths:
- path: /iching - path: /iching
@ -14,3 +18,7 @@ spec:
name: iching-service name: iching-service
port: port:
number: 80 number: 80
tls:
- hosts:
- 192-168-197-2.c-one-infra.de
secretName: argocd-net-tls

View file

@ -2,9 +2,10 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: iching-service name: iching-service
namespace: argocd
spec: spec:
selector: selector:
app: iching app: iching-broker
ports: ports:
- protocol: TCP - protocol: TCP
port: 80 port: 80