Customize Ingress

Customize Verrazzano NGINX and Istio ingress installation settings

Verrazzano uses NGINX for ingress to Verrazzano system components and Istio for application ingress. You can customize the NGINX and Istio ingress installation configurations using Helm overrides specified in the Verrazzano custom resource. For example, the following Verrazzano custom resource overrides the shape of an Oracle Cloud Infrastructure load balancer for both NGINX and Istio ingresses:

apiVersion: install.verrazzano.io/v1alpha1
kind: Verrazzano
metadata:
  name: custom-lb-settings
spec:
  profile: prod
  components:
    ingress:
      type: LoadBalancer
      nginxInstallArgs:
      - name: controller.service.annotations."service\.beta\.kubernetes\.io/oci-load-balancer-shape"
        value: "10Mbps"
    istio:
      istioInstallArgs:
      - name: gateways.istio-ingressgateway.serviceAnnotations."service\.beta\.kubernetes\.io/oci-load-balancer-shape"
        value: "10Mbps"

The previous entries use dot notation to represent YAML values.

For example:

    - name: controller.service.annotations."service\.beta\.kubernetes\.io/oci-load-balancer-shape"
      value: "10Mbps"

Is translated into:

controler:
   service:
     annotations:
       service.beta.kubernetes.io/oci-load-balancer-shape: 10Mbps

For more information about setting component overrides, see Customizing the Chart Before Installing.