-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathk3d-cluster.yaml
31 lines (31 loc) · 914 Bytes
/
k3d-cluster.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
apiVersion: k3d.io/v1alpha4
kind: Simple
metadata:
name: myk8s
servers: 1
agents: 2
kubeAPI: # same as `--api-port myhost.my.domain:6445` (where the name would resolve to 127.0.0.1)
hostPort: "6445" # where the Kubernetes API listening port will be mapped to on your host system
ports:
- port: 8080:80 # same as `--port '8080:80@loadbalancer'` TODO: Add some nodeports?
nodeFilters:
- loadbalancer
- port: 30000-31000:30000-31000 # Adding all of the nodeports causes a timeout. Can I fix this?
nodeFilters:
- agent:0
registries:
create:
name: myregistry
config: |
mirrors:
containers.intersystems.com:
endpoint:
- https://containers.intersystems.com
arti.iscinternal.com:
endpoint:
- https://arti.iscinternal.com
configs:
containers.intersystems.com:
auth:
username: TBD
password: TBD