Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7312aac

Browse files
authored
Cf istio config fix (#258)
* Update requirements.mdUpdated Istio configuration: Virtual Service and WorkflowTemplate configurations* Update requirements.mdAdded WorkflowTemplate configuration for Istio* Update istio configurationAdded virtual service example for runtime 0.0. 543 and higher* Update requirements.md* Update requirements.mdAdded note on webhook - to be clarified with Yarik
1 parent61bd787 commit7312aac

File tree

1 file changed

+55
-5
lines changed

1 file changed

+55
-5
lines changed

‎_docs/runtime/requirements.md‎

Lines changed: 55 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -216,13 +216,58 @@ Configure the ingress controller to handle TCP requests.
216216
#### Cluster routing service
217217
> The cluster routing service must be configured _after_ installing the hybrid runtime.
218218

219-
Configure the `VirtualService` to route traffic to the `app-proxy` and `webhook` services, as in the examples below.
219+
Based on the runtime version, you need to configure a single or different `VirtualService` resources for these services:
220+
221+
##### Runtime version 0.0.543 or higher
222+
Configure a single `VirtualService` resource to route traffic to the `app-proxy`, `webhook`, and `workflow` services, as in the example below.
223+
224+
```yaml
225+
apiVersion: networking.istio.io/v1alpha3
226+
kind: VirtualService
227+
metadata:
228+
namespace: pov-codefresh-istio-runtime # replace with your runtime name
229+
name: internal-router
230+
spec:
231+
hosts:
232+
- pov-codefresh-istio-runtime.sales-dev.codefresh.io # replace with your host name
233+
gateways:
234+
- istio-system/internal-router # replace with your gateway name
235+
http:
236+
- match:
237+
- uri:
238+
prefix: /webhooks
239+
route:
240+
- destination:
241+
host: internal-router
242+
port:
243+
number: 80
244+
- match:
245+
- uri:
246+
prefix: /app-proxy
247+
route:
248+
- destination:
249+
host: internal-router
250+
port:
251+
number: 80
252+
- match:
253+
- uri:
254+
prefix: /workflows
255+
route:
256+
- destination:
257+
host: internal-router
258+
port:
259+
number: 80
260+
```
261+
262+
##### Runtime version 0.0.542 or lower
263+
264+
Configure two different `VirtualService` resources, one to route traffic to the `app-proxy`, and the second to route traffic to the `webhook` services, as in the examples below.
220265

221266
{::nomarkdown}
222267
</br>
223268
{:/}
224269

225-
**`VirtualService` example for `app-proxy`:**
270+
**`VirtualService` example for `app-proxy`:**
226271

227272
```yaml
228273
apiVersion: networking.istio.io/v1alpha3
@@ -234,7 +279,7 @@ spec:
234279
hosts:
235280
- my.support.cf-cd.com # replace with your host name
236281
gateways:
237-
- my-gateway
282+
- my-gateway # replace with your host name
238283
http:
239284
- match:
240285
- uri:
@@ -249,7 +294,9 @@ spec:
249294
</br>
250295
{:/}
251296

252-
**`VirtualService` example for `webhook`:**
297+
**`VirtualService` example for `webhook`:**
298+
299+
> Configure a `webhook` for each event defined in the event source.
253300

254301
```yaml
255302
apiVersion: networking.istio.io/v1alpha3
@@ -261,7 +308,7 @@ spec:
261308
hosts:
262309
- my.support.cf-cd.com # replace with your host name
263310
gateways:
264-
- my-gateway
311+
- my-gateway # replace with your gateway name
265312
http:
266313
- match:
267314
- uri:
@@ -272,6 +319,9 @@ spec:
272319
port:
273320
number:80
274321
```
322+
323+
324+
275325
{::nomarkdown}
276326
</br></br>
277327
{:/}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp