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
c7068597
Commit
c7068597
authored
7 years ago
by
Alex Ellis
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Create deployment_swarm.md
parent
907a55f6
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_swarm.md
+32
-0
32 additions, 0 deletions
guide/deployment_swarm.md
with
32 additions
and
0 deletions
guide/deployment_swarm.md
0 → 100644
+
32
−
0
View file @
c7068597
# Deployment guide for Docker Swarm
> Note: The best place to start is the README file in the faas or faas-netes repo.
## Initialize Swarm Mode
Use either a single host or multi-node setup.
This is how you initialize your master node:
```
# docker swarm init
```
If you have more than one IP address you may need to pass a string like
`--advertise-addr eth0`
to this command.
Then copy any join token commands you see and run them on your worker nodes.
## Deploy the stack
```
$ git clone https://github.com/alexellis/faas && \
cd faas && \
git checkout 0.6.0 && \
./deploy_stack.sh
```
## Test the UI
Within a few seconds (or minutes if on a poor WiFi connection) the API gateway and sample functions will be pulled into your local Docker library and you will be able to access the UI at:
http://localhost:8080
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