Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Local cluster on a Mac with k3d and k3s — Wiki Update #1066

Open
ghost opened this issue Dec 5, 2020 · 0 comments
Open

Local cluster on a Mac with k3d and k3s — Wiki Update #1066

ghost opened this issue Dec 5, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Dec 5, 2020

Describe the bug

Wiki instructions out of date for running on macOS. In the Wiki the k3d command given is:

k3d create -n rio --image rancher/k3s:v1.0.1 --api-port 6550 --publish 80:80 --publish 443:443 --publish 9443:9443 --publish 9080:9080 --workers 1

Issues include -n is not a valid flag, --image is out of date, --publish should be -p with @loadbalancer appended and --workers needs to be renamed to --agents.

The command I used was:

k3d cluster create --image rancher/k3s:latest --api-port 6550 -p 80:80@loadbalancer -p 443:443@loadbalancer -p 9443:9443@loadbalancer -p 9080:9080@loadbalancer --agents 1

After that I was able to follow the rest of the instructions as-is and see Hi there, I'm running in Rio after opening the endpoint on macOS Big Sur beta.

To Reproduce

  1. Follow the instructions here: https://github.com/rancher/rio/wiki/Local-development-workflow-for-Rio#local-cluster-on-a-mac-with-k3d-and-k3s

Expected behavior

  1. Go beyond step 1 of the instructions.

Kubernetes version & type (GKE, on-prem): kubectl version

1.19.3

Type:
Rio version: rio info

n/a

Additional context

k3d version v3.3.0
k3s version v1.19.4+k3s1
@ghost ghost added the bug Something isn't working label Dec 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants