Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Update README #373

Merged
merged 7 commits into from
Feb 10, 2020
Merged

Update README #373

merged 7 commits into from
Feb 10, 2020

Conversation

jdbohrman
Copy link
Contributor

Update documentation for k3os.k3s_args to better explain syntax

README.md Outdated
Example
```bash
#!/bin/sh
exec "k3s" "server" "--cluster-cidr 10.107.0.0/23" "--service-cidr 10.107.1.0/23"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

exec "k3s" "server" "--cluster-cidr 10.107.0.0/23" "--service-cidr 10.107.1.0/23"

This is exactly the kind of thing folks have been tripping over. It should be either of the below:

  • exec "k3s" "server" "--cluster-cidr=10.107.0.0/23" "--service-cidr=10.107.1.0/23"
  • exec "k3s" "server" "--cluster-cidr" "10.107.0.0/23" "--service-cidr" "10.107.1.0/23"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ok missed that part! I'll make that edit, thanks man :)

Copy link
Contributor

@dweomer dweomer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution @jdbohrman, I do appreciate it!

Please see my comments for requested corrections.

- server
- "--disable-agent"
- "--cluster-cidr" "10.107.0.0/23"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are two separate args and therefore should be two separate array entries. Please see the above comment.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commend applies here too: #373 (comment)

@dweomer dweomer merged commit b136368 into rancher:master Feb 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants