You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -32,13 +32,19 @@ If you're taking an instructor-led workshops then a link will be shared to join
32
32
33
33
## Pick your track
34
34
35
-
* Swarm track (this page)
35
+
In Lab 1 you will pick your track and then throughout the labs look out for any special commands needed for the container orchestrator for your track.
36
36
37
-
The easiest and simplest way to learn about OpenFaaS is through Docker Swarm. The knowledge you build up and the functions you create are both transferrable and portable between Swarm and Kubernetes.
37
+
### Docker Swarm (beginners)
38
38
39
-
* Kubernetes track (click link below)
39
+
The easiest and simplest way to learn about OpenFaaS is by deploying Docker Swarm, this is because it is already built into the Docker distribution and has more limited extensibility.
40
40
41
-
You can also learn about OpenFaaS through Kubernetes. We have a preview available for learning OpenFaaS with Kubernetes. [Switch to the Kubernetes track](https://github.com/openfaas/workshop/tree/kubernetes-preview).
41
+
The knowledge you build up and the functions you create are both transferrable and portable between Docker Swarm and Kubernetes.
42
+
43
+
### Kubernetes (intermediate)
44
+
45
+
You can also learn about Serverless on Kubernetes using OpenFaaS.
46
+
47
+
The recommendation from the OpenFaaS community is that you run Kubernetes in production, but all the knowledge you can is transferrable and functions do not have to be rebuilt.
This should offset the impact on the workshop WiFi of multiple attendees trying to pull the images at the same time.
45
45
46
46
### Setup a single-node cluster
47
-
If you're taking part in a workshop event then the organiser will probably ask you to use Docker Swarm because it's much easier to set up in a short period of time.
48
47
49
-
In order to set up OpenFaaS with Docker Swarm, go to [Lab 1a](./lab1a.md)
48
+
If you're taking part in an instructor-lead event then the organiser may ask you to use Docker Swarm, because it's much quicker and easier to set up in a short period of time. For some workshops you will use Kubernetes, but if you are working independently then choice is entirely your own.
50
49
51
-
If you're going to use Kubernetes, follow [Lab 1b](./lab1b.md)
50
+
* In order to set up OpenFaaS with Docker Swarm, go to [Lab 1a](./lab1a.md)
51
+
52
+
* If you're going to use Kubernetes, follow [Lab 1b](./lab1b.md)
The minikube VM is exposed to the host system via a host-only IP address. Check this IP with `minikube ip`.
37
44
This is the IP you will later use for the gateway URL.
38
45
39
-
#### _Docker for Mac_
46
+
#### Create a remote cluster on the cloud
40
47
41
-
* [Install Docker for Mac](https://docs.docker.com/v17.12/docker-for-mac/install/)
42
-
> Note that Kubernetes is only available in Docker for Mac 17.12 CE and higher
48
+
You can create a remote cluster in the cloud and enjoy the same experience as if you were developing locally whilst saving on RAM/CPU and battery. The costs for running a cluster for 1-2 days is minimal.
49
+
50
+
##### _Run on DigitalOcean's Kubernetes Service_
51
+
52
+
You can use free credits to create a cluster through DigitalOcean's UI.
53
+
54
+
The DigitalOcean dashboard will then guide you through how to configure your `kubectl` and `KUBECONFIG` file for use in the labs.
55
+
56
+
* [Claim your free credits - $100 in credit over 60 days](https://m.do.co/c/8d4e75e9886f)
57
+
58
+
> Note: Even if you have already claimed free credit, the running costs for a 2-3 node cluster for 24-48 hours is negligible.
0 commit comments