add edge page

pull/94/head
Ignacio Van Droogenbroeck 2020-09-25 11:45:07 -03:00
parent 2af98230a9
commit b3fcf019b8
10 changed files with 86 additions and 0 deletions

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

View File

@ -0,0 +1,86 @@
# Edge Compute features
In todays world you can easily have hundreds - if not thousands - of Docker-enabled devices in your environment. Most of these systems run without any form of clustering or run a lean orchestrator such as Docker Swarm or Kubernetes.
Remote devices may be distributed across multiple sites and/or across many different networks, some may even be attached to the internet using mobile data or satellite. To be managed effectively, engineers need a way to control distributed instances centrally, which is exactly what Portainer does with Edge Computer Features.
## Enabling Edge Compute Features
To start to use this features, you need to enable from the Portainer Settings.
Once you logged into Portainer, click in <b>Settings</b> and scroll down to <b>Edge Compute</b> section.
Enable the toogle and click in <b>Save Settings</b>
![edge](assets/edge_1.png)
After that, you will see that a few options appears in the left column.
![edge](assets/edge_2.png)
Now, let's going to walktrough for that options in the following sections.
## Edge Groups
Edge Groups is a option that enable you to create groups of Edge endpoints based in a manual selection or in a dynamic way trough <b>tags</b>. This feature is very useful when you manage multiple Edge Endpoints in multiple zones.
To create a group, go to <b>Edge Groups</b> and then a clic in <b>Add Edge Group</b>.
![edge](assets/edge_3.png)
Name the group and pick if you want to make a <b>Static</b> group type selecting Edge endpoints manually or choose Dynamic that automatically associate endpoints to that group trough determined tags.
If you choose <b>Static</b>. Select the Endpoints you want to add to that group and do a click in <b>Add edge group</b>.
![edge](assets/edge_4.png)
If you choose <b>Dynamic</b> you can choose two options to match via <b>Tags</b> your Edge endpoints.
* Partial Match: Associate any endpoint matching at least one of the selected tags. (Each endpoint can have multiple tags).
* Full Match: Associate any endpoint matching all of the selected tags.
Type the tag and endpoints with that tag will appear in the screen. After that do a click in <b>Add edge group</b>
![edge](assets/edge_5.png)
## Edge Stacks
This feature is very powerful because can help you to deploy multiple applications to a multiple endpoints from a single screen and multiple sources.
To start using it. Click in <b>Edge Stacks</b> and then in <b>Add stack</b>.
![edge](assets/edge_6.png)
The following step is name your stack and select an or several <b>Edge Groups</b>.
In the <b>Build Methond</b> you need to define how to deploy your app. Several options are available:
* Web Editor: You can use our web editor to write or paste a docker-compose file.
* Upload: Upload a docker-compose.yml file from your computer
* Repository: Use a git repository where the compose file is.
* Template: Use an Edge stack template.
Once this set, do a click in <b>Deploy stack</b>
![edge](assets/edge_7.png)
## Edge Jobs
This feature is useful to define task to run of multiple Edge endpoints, fox example, backup.
Go to <b>Edge Jobs</b>, name your job and choose between the following two options:
* Basic Configuration: Select a date from a calendar
* Advanced Configuration: Write your own cron rule.
Select if this job is a recurring one and select the job time.
After that you can use our web editor to write or paste your script directly or upload from your computer.
After that selecte in what endpoints you need to run this job and clic in <b>Create edge job</b>
![edge](assets/edge_8.png)
## Notes
Do you think that is missing something here? Contribute with this admin guide forking the repo [Portainer-Docs](https://github.com/portainer/portainer-docs) and propose changes.