@@ -70,24 +70,15 @@ here we deploy a GlobalConfiguration resource with the listeners we want to use
70
70
kubectl create -f global-configuration.yaml
71
71
```
72
72
73
- ## Step 2 - Save the custom port numbers
74
-
75
- Save the custom HTTP and/or HTTPS ports into a shell variables for later:
76
-
77
- ``` console
78
- IC_HTTP_PORT=8083
79
- IC_HTTPS_PORT=8443
80
- ```
81
-
82
- ## Step 3 - Deploy the Cafe Application
73
+ ## Step 2 - Deploy the Cafe Application
83
74
84
75
Create the coffee and the tea deployments and services:
85
76
86
77
``` console
87
78
kubectl create -f cafe.yaml
88
79
```
89
80
90
- ## Step 4 - Deploy the VirtualServer with custom listeners
81
+ ## Step 3 - Deploy the VirtualServer with custom listeners
91
82
92
83
The VirtualServer in this example is set to use the listeners defined in the GlobalConfiguration resource
93
84
that was deployed in Step 1. Below is the yaml of this example VirtualServer:
@@ -132,7 +123,7 @@ that was deployed in Step 1. Below is the yaml of this example VirtualServer:
132
123
kubectl create -f cafe-virtual-server.yaml
133
124
` ` `
134
125
135
- # # Step 5 - Test the Configuration
126
+ # # Step 4 - Test the Configuration
136
127
137
128
1. Check that the configuration has been successfully applied by inspecting the events of the VirtualServer :
138
129
@@ -158,13 +149,13 @@ that was deployed in Step 1. Below is the yaml of this example VirtualServer:
158
149
Normal AddedOrUpdated 7s nginx-ingress-controller Configuration for default/cafe was added or updated
159
150
` ` `
160
151
161
- 2. Since the deployed VirtualServer is using ports `8083` and 8443` in this example. you must explicitly specify these ports
152
+ 2. Since the deployed VirtualServer is using ports `8083` and ` 8443` in this example. you must explicitly specify these ports
162
153
when sending requests to the endpoints of this VirtualServer :
163
154
164
- For `/coffee` on `8443 ` :
155
+ For `/coffee` on `8083 ` :
165
156
166
157
` ` ` console
167
- curl -k https ://cafe.example.com:8443 /coffee
158
+ curl -k http ://cafe.example.com:8083 /coffee
168
159
` ` `
169
160
170
161
` ` ` text
@@ -175,10 +166,10 @@ when sending requests to the endpoints of this VirtualServer:
175
166
...
176
167
` ` `
177
168
178
- For `/coffee` on `8083 ` :
169
+ For `/coffee` on `8443 ` :
179
170
180
171
` ` ` console
181
- curl -k https://cafe.example.com:8083 /coffee
172
+ curl -k https://cafe.example.com:8443 /coffee
182
173
` ` `
183
174
184
175
` ` ` text
0 commit comments