Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openfaas-faas
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Team Jaz CS 598 CCC Final Project
openfaas-faas
Commits
7be845cb
Commit
7be845cb
authored
7 years ago
by
Alex Ellis
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update with additional blog link
parent
77043710
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
guide/deployment_k8s.md
+21
-3
21 additions, 3 deletions
guide/deployment_k8s.md
with
21 additions
and
3 deletions
guide/deployment_k8s.md
+
21
−
3
View file @
7be845cb
...
...
@@ -15,7 +15,7 @@ You can start evaluating FaaS and building functions on your laptop or on a VM (
*
Clone the code
```
$ git clone https://github.com/
alexelli
s/faas-netes
$ git clone https://github.com/
openfaa
s/faas-netes
```
*
Deploy the services
...
...
@@ -42,7 +42,7 @@ There are currently no sample functions built into this stack, but we can deploy
**Use the CLI**
Follow the tutorial below, but change your gateway URL from localhost:8080 to kubernetes-node-ip:31112
Follow the tutorial
s
below, but change your gateway URL from
`
localhost:8080
`
to
`
kubernetes-node-ip:31112
`
i.e.
...
...
@@ -52,9 +52,20 @@ provider:
gateway: http://192.168.4.95:31112
```
*
Learn about the CLI
[
Morning coffee with the OpenFaaS CLI
](
https://blog.alexellis.io/quickstart-openfaas-cli/
)
*
Build your first Python function
[
Your first serverless Python function with OpenFaaS
](
https://blog.alexellis.io/first-faas-python-function/
)
You can also deploy the samples from the
[
FaaS-cli
](
https://github.com/alexellis/faas-cli
)
, but change the gateway address as above.
You can also deploy the samples from the
[
FaaS-cli
](
https://github.com/openfaas/faas-cli
)
, but change the gateway address as above.
```
$ git clone https://github.com/openfaas/faas-cli && \
faas-cli deploy -f samples.yml
```
**Use the UI**
...
...
@@ -70,3 +81,10 @@ Click "New Function" and fill it out with the following:
*
Test the function
Your function will appear after a few seconds and you can click "Invoke"
You can also use the CLI like this:
```
$ echo -n "" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
$ echo -n "verbose" | faas-cli invoke --gateway http://kubernetes-ip:31112 --name nodeinfo
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment