-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- k3d config examples migrated to `apiVersion: k3d.io/v1alpha3` [https://github.com/rancher/k3d/pull/605](https://github.com/rancher/k3d/pull/605) - `:direct` node filter option used when load balancer is disabled [https://github.com/rancher/k3d/pull/656](https://github.com/rancher/k3d/pull/656) - `--label` --> `--runtime-label` [https://github.com/rancher/k3d/pull/598](https://github.com/rancher/k3d/pull/598) - `--k3s-server-arg` --> `--k3s-arg` with server node filter (`@server:*`) [https://github.com/rancher/k3d/pull/605](https://github.com/rancher/k3d/pull/605) - removed `disableImageVolume` option from examples and test assets - Updated documentation Signed-off-by: Timofey Ilinykh <[email protected]>
- Loading branch information
1 parent
c75fedf
commit 8781d81
Showing
17 changed files
with
140 additions
and
138 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
apiVersion: k3d.io/v1alpha2 | ||
apiVersion: k3d.io/v1alpha3 | ||
kind: Simple | ||
image: docker.io/rancher/k3s:v1.21.2-k3s1 | ||
servers: 1 | ||
agents: 3 | ||
ports: | ||
- port: 0.0.0.0:80:80 | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
- port: 0.0.0.0:443:443 | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
- port: 0.0.0.0:5053:53/udp | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
options: | ||
k3d: | ||
wait: true | ||
timeout: "60s" | ||
timeout: 1m0s | ||
disableLoadbalancer: true | ||
disableImageVolume: true | ||
k3s: | ||
extraServerArgs: | ||
- --no-deploy=traefik,servicelb,metrics-server | ||
extraAgentArgs: [] | ||
extraArgs: | ||
- arg: --no-deploy=traefik,servicelb,metrics-server | ||
nodeFilters: | ||
- server:* | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
apiVersion: k3d.io/v1alpha2 | ||
apiVersion: k3d.io/v1alpha3 | ||
kind: Simple | ||
image: docker.io/rancher/k3s:v1.21.2-k3s1 | ||
servers: 1 | ||
agents: 3 | ||
ports: | ||
- port: 0.0.0.0:81:80 | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
- port: 0.0.0.0:444:443 | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
- port: 0.0.0.0:5054:53/udp | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
options: | ||
k3d: | ||
wait: true | ||
timeout: "60s" | ||
timeout: 1m0s | ||
disableLoadbalancer: true | ||
disableImageVolume: true | ||
k3s: | ||
extraServerArgs: | ||
- --no-deploy=traefik,servicelb,metrics-server | ||
extraAgentArgs: [] | ||
extraArgs: | ||
- arg: --no-deploy=traefik,servicelb,metrics-server | ||
nodeFilters: | ||
- server:* | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
apiVersion: k3d.io/v1alpha2 | ||
apiVersion: k3d.io/v1alpha3 | ||
kind: Simple | ||
image: docker.io/rancher/k3s:v1.21.2-k3s1 | ||
servers: 1 | ||
agents: 3 | ||
ports: | ||
- port: 0.0.0.0:82:80 | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
- port: 0.0.0.0:445:443 | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
- port: 0.0.0.0:5055:53/udp | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
options: | ||
k3d: | ||
wait: true | ||
timeout: "60s" | ||
timeout: 1m0s | ||
disableLoadbalancer: true | ||
disableImageVolume: true | ||
k3s: | ||
extraServerArgs: | ||
- --no-deploy=traefik,servicelb,metrics-server | ||
extraAgentArgs: [] | ||
extraArgs: | ||
- arg: --no-deploy=traefik,servicelb,metrics-server | ||
nodeFilters: | ||
- server:* | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
apiVersion: k3d.io/v1alpha2 | ||
apiVersion: k3d.io/v1alpha3 | ||
kind: Simple | ||
# image: default k3s version | ||
servers: 1 | ||
agents: 3 | ||
ports: | ||
- port: 0.0.0.0:83:80 | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
- port: 0.0.0.0:446:443 | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
- port: 0.0.0.0:5056:53/udp | ||
nodeFilters: | ||
- agent[0] | ||
- agent:0:direct | ||
options: | ||
k3d: | ||
wait: true | ||
timeout: "60s" | ||
timeout: 1m0s | ||
disableLoadbalancer: true | ||
disableImageVolume: true | ||
k3s: | ||
extraServerArgs: | ||
- --no-deploy=traefik,servicelb,metrics-server | ||
extraAgentArgs: [] | ||
extraArgs: | ||
- arg: --no-deploy=traefik,servicelb,metrics-server | ||
nodeFilters: | ||
- server:* | ||
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
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.