Grundgerüst Kubernetes Ingress YAML-Datei
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: <Name>
namespace: <Namespace>
spec:
ingressClassName: <Name> nginx
rules:
- host: <dns name> website.domain.de
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: <app name>
port:
name: <Port Name> http