mirror of https://github.com/k3d-io/k3d
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
748 B
43 lines
748 B
4 years ago
|
apiVersion: k3d.io/v1alpha2
|
||
|
kind: Simple
|
||
|
name: 1234
|
||
|
servers: 1
|
||
|
agents: 2
|
||
|
kubeAPI:
|
||
|
hostIP: "0.0.0.0"
|
||
|
hostPort: "6443"
|
||
|
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
|
||
|
nodeFilters:
|
||
|
- all
|
||
|
labels:
|
||
|
- label: foo=bar
|
||
|
nodeFilters:
|
||
|
- server[0]
|
||
|
- loadbalancer
|
||
|
|
||
|
options:
|
||
|
k3d:
|
||
|
wait: true
|
||
|
timeout: "60s"
|
||
|
disableLoadbalancer: false
|
||
|
disableImageVolume: false
|
||
|
k3s:
|
||
|
extraServerArgs:
|
||
|
- --tls-san=127.0.0.1
|
||
|
extraAgentArgs: []
|
||
|
kubeconfig:
|
||
|
updateDefaultKubeconfig: true
|
||
|
switchCurrentContext: true
|