UiPath Documentation
automation-suite
2023.4
false
Guía de instalación de Automation Suite en EKS/AKS
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Configuración del controlador de entrada NGINX

En la configuración estándar, Automation Suite aprovisiona un tipo de servicio de Kubernetes de equilibrador de carga configurado con Istio Puerta de enlace como controlador de entrada para las solicitudes procedentes del equilibrador de carga de red.

Si ya tienes un controlador de entrada NGINX en tu clúster y quieres seguir utilizándolo, debes configurar Kubernetes service_type como cluster_IP en lugar de Load Balancer. Este documento proporciona los cambios necesarios para esa configuración.

Importante:

Para gestionar encabezados grandes, ajusta proxy-buffer-size en la anotación de entrada de la siguiente manera:

nginx.ingress.kubernetes.io/proxy-buffer-size: "8k"
nginx.ingress.kubernetes.io/proxy-buffer-size: "8k"

NGINX a Istio a través de HTTP​

Actualizar la configuración de entrada de NGINX​

Debes actualizar tu especificación NGINX con istio-ingressgateway como servicio de backend y especificar el número de puerto 80. Además, si tienes tus propias Políticas de red, asegúrate de que están configuradas correctamente para permitir el enrutamiento NGINX e Istio.

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx-ingress
  namespace: istio-system
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - "<FQDN>"
        - "*.<FQDN>"
      secretName: nginx-tls
  rules:
    - host: "<FQDN>"
      http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: istio-ingressgateway
              port:
                number: 80
    - host: "*.<FQDN>"
      http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: istio-ingressgateway
              port:
                number: 80
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx-ingress
  namespace: istio-system
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - "<FQDN>"
        - "*.<FQDN>"
      secretName: nginx-tls
  rules:
    - host: "<FQDN>"
      http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: istio-ingressgateway
              port:
                number: 80
    - host: "*.<FQDN>"
      http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: istio-ingressgateway
              port:
                number: 80

Parámetros de input.json​

Debes proporcionar los siguientes parámetros en input.json para cambiar service_type y HTTPS:

...
"ingress": {
  "service_type": "ClusterIP",
  "HTTPS": false
}
...
...
"ingress": {
  "service_type": "ClusterIP",
  "HTTPS": false
}
...

NGINX a Istio a través de HTTP​

Actualizar la configuración de entrada de NGINX​

Debe actualizar su especificación NGINX con istio-ingressgateway como servicio de backend y especificar https como nombre de puerto.

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx-ingress
  namespace: istio-system
  annotations:
    nginx.ingress.kubernetes.io/backend-protocol: "https"
    nginx.ingress.kubernetes.io/proxy-ssl-name: "<FQDN>"
    nginx.ingress.kubernetes.io/proxy-ssl-server-name: "on"
    nginx.ingress.kubernetes.io/proxy-ssl-secret: "istio-system/istio-ingressgateway-certs"
    nginx.ingress.kubernetes.io/proxy-ssl-verify: "on"
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - "<FQDN>"
        - "*.<FQDN>"
      secretName: nginx-tls
  rules:
    - host: "<FQDN>"
      http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: istio-ingressgateway
              port:
                name: https
    - host: "*.<FQDN>"
      http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: istio-ingressgateway
              port:
                name: https
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: nginx-ingress
  namespace: istio-system
  annotations:
    nginx.ingress.kubernetes.io/backend-protocol: "https"
    nginx.ingress.kubernetes.io/proxy-ssl-name: "<FQDN>"
    nginx.ingress.kubernetes.io/proxy-ssl-server-name: "on"
    nginx.ingress.kubernetes.io/proxy-ssl-secret: "istio-system/istio-ingressgateway-certs"
    nginx.ingress.kubernetes.io/proxy-ssl-verify: "on"
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - "<FQDN>"
        - "*.<FQDN>"
      secretName: nginx-tls
  rules:
    - host: "<FQDN>"
      http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: istio-ingressgateway
              port:
                name: https
    - host: "*.<FQDN>"
      http:
        paths:
        - path: /
          pathType: Prefix
          backend:
            service:
              name: istio-ingressgateway
              port:
                name: https

Parámetros de input.json​

Debes proporcionar los siguientes parámetros en input.json para cambiar service_type y HTTPS:

...
"ingress": {
  "service_type": "ClusterIP",
  "HTTPS": true
}
...
...
"ingress": {
  "service_type": "ClusterIP",
  "HTTPS": true
}
...

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado