-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use k3d to replace kind for faster CI and less disk usage
Signed-off-by: Tao He <[email protected]>
- Loading branch information
1 parent
8d1215b
commit a1337fd
Showing
31 changed files
with
136 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
apiVersion: k3d.io/v1alpha3 | ||
kind: Simple | ||
name: cluster | ||
servers: 1 | ||
agents: 3 | ||
image: rancher/k3s:latest | ||
volumes: # repeatable flags are represented as YAML lists | ||
- volume: /var/run/docker.sock:/var/run/docker.sock | ||
nodeFilters: | ||
- server:* | ||
- agent:* | ||
options: | ||
k3d: | ||
wait: true | ||
timeout: "600s" | ||
disableLoadbalancer: false | ||
disableImageVolume: false | ||
disableRollback: false | ||
loadbalancer: | ||
configOverrides: | ||
- settings.workerConnections=2048 | ||
k3s: | ||
extraArgs: | ||
- arg: --docker | ||
nodeFilters: | ||
- server:* | ||
- agent:* | ||
kubeconfig: | ||
updateDefaultKubeconfig: true | ||
switchCurrentContext: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.