Create bindings for an ingress gateway by selecting ingress gateway deployments for Kubernetes bindings.
-
Open the navigation menu and click Developer Services. Under Containers & Artifacts, click Service Mesh.
-
Click Service Meshes.
-
On the Service Mesh page, from the list of compartments on the left side, select a compartment.
-
From the list of meshes, click the mesh that contains the ingress gateway for which you want to create the binding.
-
On the details page, click the name of the ingress gateway that contains the ingress gateway deployment with which you want to generate bindings.
-
On the details page of the ingress gateway, click Create Kubernetes bindings.
-
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.
-
Click Generate bindings to generate the YAML binding code.
-
To exit the panel, click Close.