Open soknang-khna opened 5 months ago
I'm not an expert but wazhu agent are using 1514 and 1515 ports by default so they won't use the 443 of the ingress. What is your agent config ? Also If you want to expose wazuh to the outside there is no need for an Ingress because the nodes are configured in LoadBalancer (you could use an Ingress If you want but it's not necessary that's just what I mean)
Dear wazuh support team, I face issue with wazuh relate wazuh agent cannot join to wazuh server via kubernetes ingress that using dns port 443. this sample me create ingress point to wazuh backend service as below: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: nginx.ingress.kubernetes.io/backend-protocol: HTTPS nginx.ingress.kubernetes.io/force-ssl-redirect: "true" nginx.ingress.kubernetes.io/proxy-body-size: "500m" name: wazuh-master namespace: wazuh spec: ingressClassName: nginx rules:
backend: service: name: wazuh port: number: 1515 path: / pathType: Prefix
apiVersion: networking.k8s.io/v1 kind: Ingress metadata: annotations: nginx.ingress.kubernetes.io/backend-protocol: "HTTPS" nginx.ingress.kubernetes.io/proxy-body-size: "500m" nginx.ingress.kubernetes.io/force-ssl-redirect: "true" name: wazuh-workers namespace: wazuh spec: ingressClassName: nginx rules: