apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: gitlab spec: ingressClassName: nginx rules: - host: "gitlab-mashibing.com" http: paths: - pathType: Prefix path: "/" backend: service: name: gitlab port: number: 80