Skip to content

Commit 66d39f3

Browse files
committed
update installation doc & correct mistakes
Signed-off-by: wrongerror <[email protected]>
1 parent 8cefbff commit 66d39f3

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

content/en/docs/concepts/networking/function-access.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ kubectl run --rm ofn-test -i --tty --image=radial/busyboxplus:curl -- curl -sv $
4040
### Access functions by the Kubernetes Gateway's IP address
4141
Get Kubernetes Gateway's ip address and port:
4242
```shell
43-
export IP=$(<your node ip>)
43+
export IP=<your node ip>
4444
export PORT=$(kubectl get svc -n projectcontour contour-envoy -o=jsonpath='{.spec.ports[?(@.name=="http")].nodePort}')
4545
```
4646
Get Function's HOST and PATH:

content/en/docs/getting-started/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,30 +59,30 @@ Now you can install OpenFunction and all its dependencies with helm charts.
5959
- Install Serving only (without build):
6060
```shell
6161
kubectl create namespace openfunction
62-
helm install openfunction --set ShipwrightBuild.enabled=false --set TektonPipelines.enabled=false openfunction/openfunction -n openfunction
62+
helm install openfunction --set global.ShipwrightBuild.enabled=false --set global.TektonPipelines.enabled=false openfunction/openfunction -n openfunction
6363
```
6464

6565
- Install Knative sync runtime only:
6666
```shell
6767
kubectl create namespace openfunction
68-
helm install openfunction --set Keda.enabled=false openfunction/openfunction -n openfunction
68+
helm install openfunction --set global.Keda.enabled=false openfunction/openfunction -n openfunction
6969
```
7070

7171
- Install OpenFunction async runtime only:
7272
```shell
7373
kubectl create namespace openfunction
74-
helm install openfunction --set IngressNginx.enabled=false --set KnativeServing.enabled=false openfunction/openfunction -n openfunction
74+
helm install openfunction --set global.Contour.enabled=false --set global.KnativeServing.enabled=false openfunction/openfunction -n openfunction
7575
```
7676

7777
{{% alert title="Note" color="success" %}}
7878

79-
For more information about how to install OpenFunction with Helm, see [Install OpenFunction with Helm](https://github.com/OpenFunction/charts/tree/release-0.6#install-the-chart).
79+
For more information about how to install OpenFunction with Helm, see [Install OpenFunction with Helm](https://github.com/OpenFunction/charts#install-the-chart).
8080

8181
{{% /alert %}}
8282

8383
3. Run the following command to verify OpenFunction is up and running:
8484
```shell
85-
kubectl get pods -namespace openfunction
85+
kubectl get po -n openfunction
8686
```
8787

8888
## Uninstall OpenFunction
@@ -93,6 +93,6 @@ helm uninstall openfunction -n openfunction
9393
```
9494
{{% alert title="Note" color="success" %}}
9595

96-
For more information about how to uninstall OpenFunction with Helm, see [Uninstall OpenFunction with Helm](https://github.com/OpenFunction/charts/tree/release-0.6#uninstall-the-chart).
96+
For more information about how to uninstall OpenFunction with Helm, see [Uninstall OpenFunction with Helm](https://github.com/OpenFunction/charts#uninstall-the-chart).
9797

9898
{{% /alert %}}

content/zh/blog/blogs/Getting-Started-with-OpenFunction/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $ kubectl create -f https://github.com/OpenFunction/OpenFunction/releases/downlo
6565
等待controller manager的状态变为`Running`且健康状态为正常.
6666

6767
```bash
68-
$ kubectl get pods -namespace openfunction -w
68+
$ kubectl get po -n openfunction -w
6969
NAME READY STATUS RESTARTS AGE
7070
openfunction-controller-manager-6955498c9b-hjql7 2/2 Running 0 2m2s
7171
```

0 commit comments

Comments
 (0)