4.3.1 Configure the Git Repository and Load Balancer

This topic provides the systematic instructions to set the load balancer configuration for the target cluster provider.

  1. Navigate to the platform-setup-gitops directory.
    cd /scratch/obma_installer/26_1_0/installer/installation/platform-setup-gitops
  2. Update /scratch/obma_installer/26_1_0/installer/installation/platform-setup-gitops/istio/istio-gateway/istio-ingress-custom-values.yaml with the load balancer configuration.
  3. For OKE and OCNE CAPI clusters, update the network security group and subnet OCIDs.
    oci.oraclecloud.com/oci-network-security-groups: <network_security_group_OCID>
    oci.oraclecloud.com/security-rule-management-mode: "None"
    service.beta.kubernetes.io/oci-load-balancer-enable-proxy-protocol: "true"
    service.beta.kubernetes.io/oci-load-balancer-internal: "true"
    service.beta.kubernetes.io/oci-load-balancer-shape: flexible
    service.beta.kubernetes.io/oci-load-balancer-shape-flex-max: 100Mbps
    service.beta.kubernetes.io/oci-load-balancer-shape-flex-min: 100Mbps
    service.beta.kubernetes.io/oci-load-balancer-subnet1: <LoadBalancer_subnet-OCID>
    oci.oraclecloud.com/initial-freeform-tags-override: '{"k8s-cluster-name": "obaas-helm-release"}'
  4. For clusters from other providers, replace the following annotations with the provider-specific annotations.
    oci.oraclecloud.com/oci-network-security-groups: <network_security_group_OCID>
    oci.oraclecloud.com/security-rule-management-mode: "None"
    service.beta.kubernetes.io/oci-load-balancer-enable-proxy-protocol: "true"
    service.beta.kubernetes.io/oci-load-balancer-internal: "true"
    service.beta.kubernetes.io/oci-load-balancer-shape: flexible
    service.beta.kubernetes.io/oci-load-balancer-shape-flex-max: 100Mbps
    service.beta.kubernetes.io/oci-load-balancer-shape-flex-min: 100Mbps
    service.beta.kubernetes.io/oci-load-balancer-subnet1: <OCI_LoadBalancer_subnet-ocid>
    oci.oraclecloud.com/initial-freeform-tags-override: '{"k8s-cluster-name": "obaas-helm-release"}'