mirror of https://github.com/k3d-io/k3d
[FEATURE] Config file compatible with Kustomize (#945)
parent
08bf145e95
commit
9a2a3ec0ff
@ -1,4 +1,5 @@ |
|||||||
apiVersion: k3d.io/v1alpha4 |
apiVersion: k3d.io/v1alpha4 |
||||||
kind: Simple |
kind: Simple |
||||||
name: supertest |
metadata: |
||||||
|
name: supertest |
||||||
agents: 8 |
agents: 8 |
||||||
|
@ -0,0 +1,56 @@ |
|||||||
|
apiVersion: k3d.io/v1alpha4 |
||||||
|
kind: Simple |
||||||
|
metadata: |
||||||
|
name: test |
||||||
|
servers: 3 |
||||||
|
agents: 2 |
||||||
|
kubeAPI: |
||||||
|
hostIP: "0.0.0.0" |
||||||
|
hostPort: "6446" |
||||||
|
#image: rancher/k3s:latest |
||||||
|
volumes: |
||||||
|
- volume: /my/path:/some/path |
||||||
|
nodeFilters: |
||||||
|
- all |
||||||
|
ports: |
||||||
|
- port: 80:80 |
||||||
|
nodeFilters: |
||||||
|
- loadbalancer |
||||||
|
- port: 0.0.0.0:443:443 |
||||||
|
nodeFilters: |
||||||
|
- loadbalancer |
||||||
|
env: |
||||||
|
- envVar: bar=baz,bob |
||||||
|
nodeFilters: |
||||||
|
- all |
||||||
|
registries: |
||||||
|
create: |
||||||
|
name: k3d-test-registry |
||||||
|
host: "0.0.0.0" |
||||||
|
hostPort: random |
||||||
|
config: | |
||||||
|
mirrors: |
||||||
|
"my.company.registry": |
||||||
|
endpoint: |
||||||
|
- http://my.company.registry:5000 |
||||||
|
|
||||||
|
options: |
||||||
|
k3d: |
||||||
|
wait: true |
||||||
|
timeout: "360s" # should be pretty high for multi-server clusters to allow for a proper startup routine |
||||||
|
disableLoadbalancer: false |
||||||
|
disableImageVolume: false |
||||||
|
k3s: |
||||||
|
extraArgs: |
||||||
|
- arg: --tls-san=127.0.0.1 |
||||||
|
nodeFilters: |
||||||
|
- server:* |
||||||
|
kubeconfig: |
||||||
|
updateDefaultKubeconfig: true |
||||||
|
switchCurrentContext: true |
||||||
|
runtime: |
||||||
|
labels: |
||||||
|
- label: foo=bar |
||||||
|
nodeFilters: |
||||||
|
- server:0 |
||||||
|
- loadbalancer |
@ -1,4 +1,5 @@ |
|||||||
apiVersion: k3d.io/v1alpha4 |
apiVersion: k3d.io/v1alpha4 |
||||||
kind: Simple |
kind: Simple |
||||||
name: testenvexpand |
metadata: |
||||||
|
name: testenvexpand |
||||||
servers: ${K3D_TEST_SERVERS} |
servers: ${K3D_TEST_SERVERS} |
||||||
|
Loading…
Reference in new issue