Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Ingress Controllers | Kubernetes

View file
namekudo.yaml

  • Depending on the ingress controller of the kuberenetes setup, set the kind: Ingress
    ingressClassName: <ingressclass> (we have used nginxin the configuration)
    optionally, set spec.rules.host: <dns/hostname> (graebert.local here) for name based routing

...

  • Set env variables in kind: Deployment
    NGINX_X_FORWARDED_HOST (keep same as the spec.rules.host in kind: Ingress if its set, default is localhost)
    LICENSING_ACCOUNT (your graebert licensing account emailId)
    LICENSING_PASSWORD (password for the licensing account)

  • Set Number of deployment units: replicas (2 in config)

  • Once the Ingress Controller is deployed, deploy the configuration with kubectl
    kubectl apply -f kudo.yaml
    kubectl port-forward --namespace=ingress-nginx service/ingress-nginx-controller 80:80