File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ This tutorial walks you through an example to deploy a Nginx application using D
13
13
## Create the Nginx DeployFlow
14
14
15
15
There are two ways to create a DeployFlow:
16
- 1 . just using ` kubectl apply -f `
16
+ 1 . just using ` kubectl apply -f https://github.com/triton-io/triton/raw/main/docs/tutorial/v1/nginx-deployflow.yaml `
17
17
2 . also, triton provides REST & GRPC API to handle deploy process, using the next API to create a DeployFlow
18
18
``` bash
19
19
curl --location --request POST ' localhost:8088/api/v1/namespaces/default/deployflows' \
@@ -58,7 +58,7 @@ curl --location --request POST 'localhost:8088/api/v1/namespaces/default/deployf
58
58
59
59
Then we create the service of this application:
60
60
``` bash
61
- kubectl apply -f
61
+ kubectl apply -f https://raw.githubusercontent.com/triton-io/triton/main/docs/tutorial/v1/nginx-service.yaml
62
62
```
63
63
64
64
## Verify DeployFlow Started
@@ -287,4 +287,4 @@ localhost:8099 application.Application/Scale
287
287
12122-sample-10010-qllmx 1/1 Running 0 43h
288
288
```
289
289
290
- The cloneset has been scaled to 2 replicas and the deleted pod is ` 12122-sample-10010-jrk6g ` .
290
+ The cloneset has been scaled to 2 replicas and the deleted pod is ` 12122-sample-10010-jrk6g ` .
You can’t perform that action at this time.
0 commit comments