Creating Bindings for an Ingress Gateway

Create bindings for an ingress gateway by selecting ingress gateway deployments for Kubernetes bindings.

Important

Before you proceed, you must set up the appropriate OCI policies for the ingress gateway resource. For details, see Required IAM Policy for Ingress Gateways.
  1. Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Service Mesh.
  2. Click Service Meshes.
  3. On the Service Mesh page, from the list of compartments on the left side, select a compartment.
  4. From the list of meshes, click the mesh that contains the ingress gateway for which you want to create the binding.
  5. On the details page, click the name of the ingress gateway that contains the ingress gateway deployment with which you want to generate bindings.
  6. On the details page of the ingress gateway, click Create Kubernetes bindings.
  7. On the Create Bindings for <name of the ingress gateway> panel, provide the following details:
    • Binding Namespace: (Optional) The Kubernetes namespace for your deployment.
    • Proxy Log Level: Select Error, Warn, Info, Debug, or Off.
    • Maximum Pods: The maximum number of pods the ingress gateway can scale up to.
    • Service Type: Select one of the following options:
      • Loadbalancer: Exposes the service externally using a load balancer that forwards all traffic to your service.
      • ClusterIP: Exposes the service on a cluster-internal IP address. If you select this value, the service becomes reachable only from the cluster.
      • NodePort: Exposes a port on all the Kubernetes nodes that is forwarded to your service.
    • Listener Ports: Create a list of ports your service listens on. For each port, provide the following details:
      • Port: Select an available port.
      • Service Port: Select the listener port for the service.
      Caution

      Don't use the following Service Mesh reserved ports in your mesh resource: 15000, 15003, 15006, and 9901.
    • To add more ports, click + Add Another Port.
    • Labels: A list of key or value labels passed to your deployment. For each label, specify a key and a value.
    • To add another label key or value pair, click + Add Another Condition Pair.
  8. Click Generate bindings to generate the YAML binding code.
  9. To exit the panel, click Close.