You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/concepts/serverless_apps.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ OpenFunction support building source code into container images in two different
17
17
18
18
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):
19
19
20
-
1. Create the sample go serverless app
20
+
1. Create the sample go serverless application
21
21
22
22
```shell
23
23
cat <<EOF | kubectl apply -f -
@@ -50,7 +50,7 @@ spec:
50
50
EOF
51
51
```
52
52
53
-
2. Check the serverless app status
53
+
2. Check the application status
54
54
55
55
You can then check the serverless app's status by `kubectl get functions.core.openfunction.io -w`:
56
56
@@ -60,7 +60,7 @@ NAME BUILDSTATE SERVINGSTATE BUILDER SERVING
Once the `BUILDSTATE` becomes `Succeeded` and the `SERVINGSTATE` becomes `Running`, you can access this Go serverless app through the address in the `ADDRESS` field:
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):
77
77
78
-
1. Create the sample Java serverless app
78
+
1. Create the sample Java serverless application
79
79
80
80
```shell
81
81
cat <<EOF | kubectl apply -f -
@@ -104,7 +104,7 @@ spec:
104
104
EOF
105
105
```
106
106
107
-
2. Check the serverless app status
107
+
1. Check the application status
108
108
109
109
You can then check the serverless app's status by `kubectl get functions.core.openfunction.io -w`:
110
110
@@ -114,7 +114,7 @@ NAME BUILDSTATE SERVINGSTATE BUILDER
Once the `BUILDSTATE` becomes `Succeeded` and the `SERVINGSTATE` becomes `Running`, you can access this Java serverless app through the address in the `ADDRESS` field:
0 commit comments