How to Create a L7 Rule?

To create a L7 rule in Kubernetes load balancer, follow the steps given below:

Step 1: Login to your account.

Step 2: Navigate to Services and then click on My Services.

Step 3: Click on your project.

Step 4: Navigate to Kubernetes and then click on K8s Load Balancer.

Step 5: Click on the load balancer name for which you want to create a L7 rule.

Step 6: Go to Listener tab and click on the listener's name for which you want to create a L7 rule.

Step 7: Go to the L7 Policies tab and click on policy name for which you want to create a L7 rule.

Step 8: Got to L7Rules tab and click on Create L7 Rule.

Step 9: Enter the details and click on Create L7 Rule.

FieldDescription

Invert

Select Yes, if you want the logic of the rule to be inverted or select No, if you want the logic of the rule to be same as set.

Type*

Select the L7 rule type from the below mention option: 1. HOST_NAME 2. PATH 3. FILE_TYPE 4. HEADER 5. COOKIE

Compare Type*

Select the comparison type for the L7 rule from the below mention option: 1. REGEX 2. EQUAL_TO 3. STARTS_WITH 4. ENDS_WITH 5. CONTAINS

Value

Enter the value to use for the comparison.

Last updated