File tree Expand file tree Collapse file tree 1 file changed +21
-14
lines changed Expand file tree Collapse file tree 1 file changed +21
-14
lines changed Original file line number Diff line number Diff line change 1
1
# Deploy faasd (which installs a bundled containerd).
2
2
#
3
3
# It can be accessed from the host by authenticating with faas-cli;
4
- # the ports are already forwarded automatically by lima:
5
- #
6
- # Get the faas-cli:
7
- # $ curl -sLS https://cli.openfaas.com | sh
8
- #
9
- # You can now log into your gateway:
10
- # $ export OPENFAAS_URL=http://localhost:8080
11
- # $ limactl shell faasd sudo cat /var/lib/faasd/secrets/basic-auth-password | faas-cli login -u admin --password-stdin
12
- # $
13
- # $ faas-cli store deploy NodeInfo
14
- #
15
- # Deployed. 200 OK.
16
- # URL: http://localhost:8080/function/nodeinfo
4
+ # the ports are already forwarded automatically by lima.
17
5
#
18
6
# This example requires Lima v0.7.0 or later.
19
7
8
+ message : |
9
+ # Get the faas-cli from one of following sources:
10
+ # package manager:
11
+ brew install faas-cli
12
+ #
13
+ # script:
14
+ curl -sLS https://cli.openfaas.com | sh
15
+ #
16
+ # You can now log into your gateway:
17
+ ------
18
+ export OPENFAAS_URL=http://localhost:8080
19
+ limactl shell faasd sudo cat /var/lib/faasd/secrets/basic-auth-password | faas-cli login -u admin --password-stdin
20
+ ------
21
+ #
22
+ # Once logged in, you can deploy your first function
23
+ ------
24
+ faas-cli store deploy NodeInfo
25
+ ------
26
+
20
27
# Image is set to jammy (22.04 LTS) for long-term stability
21
28
images :
22
29
# Try to use release-yyyyMMdd image if available. Note that release-yyyyMMdd will be removed after several months.
@@ -42,7 +49,7 @@ containerd:
42
49
user : false
43
50
44
51
provision :
45
- - mode : system
52
+ - mode : user
46
53
script : |
47
54
#!/bin/sh
48
55
curl -sfL https://raw.githubusercontent.com/openfaas/faasd/master/hack/install.sh | bash -s -
You can’t perform that action at this time.
0 commit comments