File tree Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Expand file tree Collapse file tree 1 file changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,31 @@ The `deploy` command uses the function project name as the Knative Service name.
2020 kn func deploy --registry <registry>
2121 ```
2222
23+ !!! note
24+ In case you want to deploy your function as a raw Kubernetes Deployment and Service instead of a Knative Service, you can use the ` raw ` deployer:
25+ === "func"
26+
27+ Deploy the function by running the command inside the project directory:
28+
29+ ```bash
30+ func deploy --registry <registry > --deployer raw
31+ ```
32+
33+ === "kn func"
34+
35+ Deploy the function by running the command inside the project directory:
36+
37+ ```bash
38+ kn func deploy --registry <registry > --deployer raw
39+ ```
40+
41+
2342!!! Success "Expected output"
24- ```{ .bash .no-copy }
25- 🙌 Function image built: <registry >/hello: latest
26- ✅ Function deployed in namespace "default" and exposed at URL:
27- http://hello.default.127.0.0.1.sslip.io
28- ```
43+ ``` { .bash .no-copy }
44+ 🙌 Function image built: < registry> /hello:latest
45+ ✅ Function deployed in namespace " default" and exposed at URL:
46+ http://hello.default.127.0.0.1.sslip.io
47+ ```
2948
3049You can verify that your function has been successfully deployed by using the ` invoke ` command and observing the output:
3150
You can’t perform that action at this time.
0 commit comments