That section is outdated and scripts doesn't work anymore
Create a local cluster on your laptop
k3s using k3d
If you have Docker on your computer, then you can use k3d from Rancher Labs. It installs a lightweight version of Kubernetes called k3s and runs it within a Docker container, meaning it will work on any computer that has Docker.
$ k3d create
INFO[0000] Created cluster network with ID 9a7d5887754d3e317b5c1500f706a5ae602077a18bc71bcedb9fae86ebd84c0b
INFO[0000] Created docker volume k3d-k3s-default-images
INFO[0000] Creating cluster [k3s-default]
INFO[0000] Creating server using docker.io/rancher/k3s:v0.9.1...
INFO[0000] SUCCESS: created cluster [k3s-default]
That section is outdated and scripts doesn't work anymore
Create a local cluster on your laptop
k3s using k3d
If you have Docker on your computer, then you can use
k3d
from Rancher Labs. It installs a lightweight version of Kubernetes calledk3s
and runs it within a Docker container, meaning it will work on any computer that has Docker.Install k3d
Start a cluster
Switch into the k3d context:
Context
Your Environment
FaaS-CLI version ( Full output from:
faas-cli version
):Docker version ( Full output from:
docker version
): Docker version 19.03.13, build 4484c46d9dAre you using Docker Swarm (FaaS-swarm ) or Kubernetes (FaaS-netes)? CLI: commit: c12d57c39ac4cc6eef3c9bba2fb45113d882432f version: 0.12.14
Operating System and version (e.g. Linux, Windows, MacOS): MacOS
Link to your project or a code example to reproduce issue: