-
Notifications
You must be signed in to change notification settings - Fork 0
fix: Update README with new k3d cluster creation command to work with… #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -11,7 +11,7 @@ | |||||||||
|
|
||||||||||
| Run: | ||||||||||
| ```bash | ||||||||||
| k3d cluster delete captain || true && curl https://raw.githubusercontent.com/GlueOps/k3d/main/k3d-config.yaml -o k3d-config.yaml && k3d cluster create --config k3d-config.yaml && bash <(curl -sL https://raw.githubusercontent.com/GlueOps/k3d/main/add-machineid.sh) | ||||||||||
| k3d cluster delete captain || true && docker network rm k3d-glueops-net || true && docker network create --driver bridge --opt com.docker.network.driver.mtu=1400 k3d-glueops-net && curl https://raw.githubusercontent.com/GlueOps/k3d/main/k3d-config.yaml -o k3d-config.yaml && k3d cluster create --config k3d-config.yaml && bash <(curl -sL https://raw.githubusercontent.com/GlueOps/k3d/main/add-machineid.sh) | ||||||||||
|
||||||||||
| k3d cluster delete captain || true && docker network rm k3d-glueops-net || true && docker network create --driver bridge --opt com.docker.network.driver.mtu=1400 k3d-glueops-net && curl https://raw.githubusercontent.com/GlueOps/k3d/main/k3d-config.yaml -o k3d-config.yaml && k3d cluster create --config k3d-config.yaml && bash <(curl -sL https://raw.githubusercontent.com/GlueOps/k3d/main/add-machineid.sh) | |
| k3d cluster delete captain || true && docker network rm k3d-glueops-net || true && (docker network inspect k3d-glueops-net >/dev/null 2>&1 || docker network create --driver bridge --opt com.docker.network.driver.mtu=1400 k3d-glueops-net) && curl https://raw.githubusercontent.com/GlueOps/k3d/main/k3d-config.yaml -o k3d-config.yaml && k3d cluster create --config k3d-config.yaml && bash <(curl -sL https://raw.githubusercontent.com/GlueOps/k3d/main/add-machineid.sh) |
Copilot
AI
Apr 26, 2026
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.
The curl https://... -o k3d-config.yaml download does not fail the command chain on HTTP errors (e.g., 404/500), which can lead to creating a cluster with an invalid/HTML config file. Using curl’s “fail on HTTP error” option (and keeping the rest of the pipeline unchanged) would make this setup command safer and easier to debug.
| k3d cluster delete captain || true && docker network rm k3d-glueops-net || true && docker network create --driver bridge --opt com.docker.network.driver.mtu=1400 k3d-glueops-net && curl https://raw.githubusercontent.com/GlueOps/k3d/main/k3d-config.yaml -o k3d-config.yaml && k3d cluster create --config k3d-config.yaml && bash <(curl -sL https://raw.githubusercontent.com/GlueOps/k3d/main/add-machineid.sh) | |
| k3d cluster delete captain || true && docker network rm k3d-glueops-net || true && docker network create --driver bridge --opt com.docker.network.driver.mtu=1400 k3d-glueops-net && curl -f https://raw.githubusercontent.com/GlueOps/k3d/main/k3d-config.yaml -o k3d-config.yaml && k3d cluster create --config k3d-config.yaml && bash <(curl -sL https://raw.githubusercontent.com/GlueOps/k3d/main/add-machineid.sh) |
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 single-line command is getting quite long and hard to troubleshoot when one step fails. Splitting it across multiple lines (continuations) or separating into a small script section in the README would improve readability and make failures easier for users to pinpoint.