Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was 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

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions