Untitled

mail@pastecode.io avatar
unknown
plain_text
4 months ago
3.1 kB
2
Indexable
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  namespace: profitowi-dev
  name: profitowi-ingress-alb
  annotations:
    kubernetes.io/ingress.class: alb
    alb.ingress.kubernetes.io/rewrite-target: /
    alb.ingress.kubernetes.io/scheme: internet-facing
    alb.ingress.kubernetes.io/target-type: ip
    alb.ingress.kubernetes.io/subnets: subnet-0eeeb8a2a6228dc93, subnet-01de27cabc87ae6d3
    alb.ingress.kubernetes.io/group.name: dev-alb-profitowi
    alb.ingress.kubernetes.io/tags: Environment=DEV,Client=Profitowi
    alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:eu-west-1:044014628997:certificate/e4b8bf64-17e2-4959-8c6c-2267ccbe2e9e
    alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]'
    alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}'
spec:
  rules:
    - host: cavatst.profitowi.pl
      http:
        paths:
          - path: "/apk"
            pathType: Prefix
            backend:
              service:
                name: apk
                port:
                  number: 8080
          - path: "/keycloak"
            pathType: Prefix
            backend:
              service:
                name: keycloak
                port:
                  number: 8080
          - path: "/"
            pathType: Prefix
            backend:
              service:
                name: apk-front
                port:
                  number: 80
    - host: raportytst.profitowi.pl
      http:
        paths:
          - path: "/"
            pathType: Prefix
            backend:
              service:
                name: reportmod
                port:
                  number: 8080
    - host: proseccotst.profitowi.pl
      http:
        paths:
          - path: /commissionmod
            pathType: Prefix
            backend:
              service:
                name: commissionmod
                port:
                  number: 8080
          - path: /contractormod
            pathType: Prefix
            backend:
              service:
                name: contractormod
                port:
                  number: 8081
          - path: /recordmod
            pathType: Prefix
            backend:
              service:
                name: recordmod
                port:
                  number: 8082
          - path: /keycloak
            pathType: Prefix
            backend:
              service:
                name: keycloak
                port:
                  number: 8080
          - path: /portal-agenta
            pathType: Prefix
            backend:
              service:
                name: portal-front
                port:
                  number: 80
          - path: /
            pathType: Prefix
            backend:
              service:
                name: commission-front
                port:
                  number: 80
Leave a Comment