-
Notifications
You must be signed in to change notification settings - Fork 0
/
k3d-config.yaml
69 lines (68 loc) · 1.96 KB
/
k3d-config.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
apiVersion: k3d.io/v1alpha5
kind: Simple
metadata:
name: captain
servers: 1
agents: 6
image: rancher/k3s:v1.29.11-k3s1@sha256:3a81e0470d730df30a111c59c9c5d8c14138f90cd85eceb68b6c5e325d7b4bc9
registries:
# create:
# name: docker-io # name of the registry container
# proxy:
# remoteURL: https://registry-1.docker.io # proxy DockerHub
# username: <DOCKER_USERNAME>
# password: <DOCKER_PASSWORD>
# volumes:
# - /tmp/reg:/var/lib/registry # persist data locally in /tmp/reg
# config: | # tell K3s to use this registry when pulling from DockerHub
# mirrors:
# "docker.io":
# endpoint:
# - http://docker-io:5000
config: |
mirrors:
"docker.io":
endpoint:
- http://dev-only-registry.glueopshosted.com:5000
"quay.io":
endpoint:
- http://dev-only-registry.glueopshosted.com:5001
"ghcr.io":
endpoint:
- http://dev-only-registry.glueopshosted.com:5002
"gcr.io":
endpoint:
- http://dev-only-registry.glueopshosted.com:5003
"public.ecr.aws":
endpoint:
- http://dev-only-registry.glueopshosted.com:5004
"mcr.microsoft.com":
endpoint:
- http://dev-only-registry.glueopshosted.com:5005
"registry.gitlab.com":
endpoint:
- http://dev-only-registry.glueopshosted.com:5006
options:
k3d:
disableLoadbalancer: true
k3s:
extraArgs:
- arg: --disable=cloud-controller
nodeFilters:
- server:*
- arg: --disable=helm-controller
nodeFilters:
- server:*
- arg: --disable=traefik
nodeFilters:
- server:*
- arg: --disable=servicelb
nodeFilters:
- server:*
nodeLabels:
- label: glueops.dev/role=glueops-platform
nodeFilters:
- agent:1,2,3
- label: glueops.dev/role=glueops-platform-argocd-app-controller
nodeFilters:
- agent:4