Jump to content

AVI: Difference between revisions

744 bytes added ,  5 years ago
Line 222:
*Create the Route
kubectl create -f route.yaml
 
* This will create a VIP in Avi in Tenant Default
 
*Test reach-ability:
curl 10.52.201.15 ==> This will fail as it will not hit the HTTP Request policy to fwd traffic to Pool & will hit 404 policy.
curl -H "HOST:httptest" 10.52.201.15
http://httptest
 
*Avi HTTP Request policies:
oshift-k8s-cloud-connector--httptest--/--
Path begins with (/)
Host Header equals 'httptest'
Content Switch:
Pool Group: httptest---aviroute-poolgroup-8080-tcp
 
host--path--drop--rule--httptest--[u'/']
Path does not equal (/)
Host Header equals 'httptest'
Content Switch
Status Code: 404
 
all-nomatch-host--drop--rule
Host Header does not equal 'httptest'
Content Switch
Status Code: 404
 
= OpenShift =
Cookies help us deliver our services. By using our services, you agree to our use of cookies.