Skip to content

Commit

Permalink
Add docs for installation/setup using k3sup.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHeinz committed Nov 18, 2019
1 parent b6301f0 commit e4a1799
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@ For more information please see blog post here:

## Prerequisites

- **k3s**:
- **k3s** (`k3sup` install is preferable):

```bash
# Fastest, easiest and recommended option - using k3sup
curl -SLsf https://get.k3sup.dev/ | sudo sh

# Manual, more involved option
curl -sfL https://get.k3s.io | sh -

sudo cat /var/lib/rancher/k3s/server/node-token # This is K3S_TOKEN
Expand All @@ -37,9 +41,13 @@ For more information please see blog post here:
curl -sL https://cli.openfaas.com | sudo sh
```

- **OpenFaaS**:
- **OpenFaaS** (`k3sup` install is preferable):

```bash
# Again if using k3sup - simpler, faster option
k3sup app install openfaas
# Manual, more involved option
git clone https://github.com/openfaas/faas-netes
kubectl apply -f https://raw.githubusercontent.com/openfaas/faas-netes/master/namespaces.yml
Expand Down

0 comments on commit e4a1799

Please sign in to comment.