-
Notifications
You must be signed in to change notification settings - Fork 402
Conversation
Update README.md
Update README.md
README.md
Outdated
Example | ||
```bash | ||
#!/bin/sh | ||
exec "k3s" "server" "--cluster-cidr 10.107.0.0/23" "--service-cidr 10.107.1.0/23" |
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
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 :)
There was a problem hiding this 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" |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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)
Update documentation for
k3os.k3s_args
to better explain syntax