-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathk3d-config.yaml
72 lines (71 loc) · 2.06 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
70
71
72
apiVersion: k3d.io/v1alpha5
kind: Simple
metadata:
name: captain
servers: 1
agents: 6
image: rancher/k3s:v1.30.8-k3s1@sha256:72c67f37faed25521d21e4743e964d325dcb9dc807d38a3c3d6708fc137baf3c
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
"registry.k8s.io":
endpoint:
- http://dev-only-registry.glueopshosted.com:5007
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