Skip to content

Commit 0061017

Browse files
authored
Adjust Serverless apps guide (#317)
Signed-off-by: Benjamin Huo <benjamin@kubesphere.io> Signed-off-by: Benjamin Huo <benjamin@kubesphere.io>
1 parent e40d935 commit 0061017

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/en/docs/concepts/serverless_apps.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ OpenFunction support building source code into container images in two different
1717

1818
If you already created a `Dockerfile` for your application like this [Go Application](https://github.com/OpenFunction/samples/tree/main/apps/buildah/go), you can build and run this application in the serverless way like [this](https://github.com/OpenFunction/samples/blob/main/apps/buildah/go/sample-go-app.yaml):
1919

20-
1. Create the sample go serverless app
20+
1. Create the sample go serverless application
2121

2222
```shell
2323
cat <<EOF | kubectl apply -f -
@@ -50,7 +50,7 @@ spec:
5050
EOF
5151
```
5252

53-
2. Check the serverless app status
53+
2. Check the application status
5454

5555
You can then check the serverless app's status by `kubectl get functions.core.openfunction.io -w`:
5656

@@ -60,7 +60,7 @@ NAME BUILDSTATE SERVINGSTATE BUILDER SERVING
6060
sample-go-app Succeeded Running builder-jgnzp serving-q6wdp http://sample-go-app.default.svc.cluster.local/ 22m
6161
```
6262

63-
3. Access the function
63+
3. Access this application
6464

6565
Once the `BUILDSTATE` becomes `Succeeded` and the `SERVINGSTATE` becomes `Running`, you can access this Go serverless app through the address in the `ADDRESS` field:
6666

@@ -75,7 +75,7 @@ curl http://sample-go-app.default.svc.cluster.local
7575

7676
If you hava an application without a `Dockerfile` like this [Java Application](https://github.com/buildpacks/samples/tree/main/apps/java-maven), you can also build and run your application in the serverless way like this [Java application](https://github.com/OpenFunction/samples/tree/main/apps/buildpacks/java):
7777

78-
1. Create the sample Java serverless app
78+
1. Create the sample Java serverless application
7979

8080
```shell
8181
cat <<EOF | kubectl apply -f -
@@ -104,7 +104,7 @@ spec:
104104
EOF
105105
```
106106

107-
2. Check the serverless app status
107+
1. Check the application status
108108

109109
You can then check the serverless app's status by `kubectl get functions.core.openfunction.io -w`:
110110

@@ -114,7 +114,7 @@ NAME BUILDSTATE SERVINGSTATE BUILDER
114114
sample-java-app-buildpacks Succeeded Running builder-jgnzp serving-q6wdp http://sample-java-app-buildpacks.default.svc.cluster.local/ 22m
115115
```
116116

117-
3. Access the function
117+
1. Access this application
118118

119119
Once the `BUILDSTATE` becomes `Succeeded` and the `SERVINGSTATE` becomes `Running`, you can access this Java serverless app through the address in the `ADDRESS` field:
120120

0 commit comments

Comments
 (0)