-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch hostAlias to real edgeDNS #726
Conversation
922be2b
to
421c8d8
Compare
1ed3319
to
ecab83d
Compare
0d3002b
to
f178bcc
Compare
1594489
to
ed6a7a5
Compare
e701529
to
1094152
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pls, leave the support for host aliases in helm
We should probably update the docs later on (local playground needs to be changed/improved to make podinfo working in the browser) and also mention somewhere that it's not meant to be used in production, unless the credentials are changed, like in the original tutorial.
otherwise looks good to me. I've tested the branch locally by:
make deploy-full-local-setup CLUSTERS_NUMBER=2 CHART='./chart/k8gb'
# CHART='./chart/k8gb' is required here, because the changes in helm haven't been released yet
dig @localhost -p 1053 roundrobin.cloud.example.com +short
172.19.0.8
172.19.0.7
172.19.0.3
172.19.0.4
172.19.0.5
172.19.0.6
k scale deployment frontend-podinfo -n test-gslb --replicas 0 --context k3d-test-gslb1
dig @localhost -p 1053 roundrobin.cloud.example.com +short
172.19.0.8
172.19.0.7
172.19.0.5
172.19.0.6
k scale deployment frontend-podinfo -n test-gslb --replicas 0 --context k3d-test-gslb2
dig @localhost -p 1053 roundrobin.cloud.example.com +short
172.19.0.8
172.19.0.7
k scale deployment frontend-podinfo -n test-gslb --replicas 1 --context k3d-test-gslb1
dig @localhost -p 1053 roundrobin.cloud.example.com +short
172.19.0.3
172.19.0.4
172.19.0.5
172.19.0.6
good stuff @k0da 👍
@@ -209,6 +215,9 @@ deploy-k8gb-with-helm: | |||
--set k8gb.imageTag=${VERSION:"stable"=""} \ | |||
--set k8gb.log.format=$(LOG_FORMAT) \ | |||
--set k8gb.log.level=$(LOG_LEVEL) \ | |||
--set rfc2136.enabled=true \ | |||
--set k8gb.edgeDNSServers[0]=$(CLUSTER_GSLB_GATEWAY):1053 \ | |||
--set externaldns.image=absaoss/external-dns:rfc-ns1 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what were the changes in absaoss/external-dns:rfc-ns1
, where is it being built (/dockerfile)? Is it the upstream repo + this PR kubernetes-sigs/external-dns#2439 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, exactly. This is built from branch make build.mini
{{- if .Values.k8gb.hostAliases }} | ||
hostAliases: | ||
{{- toYaml .Values.k8gb.hostAliases | nindent 8 }} | ||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't we leave this here and also in values.yaml
as an alternative option? These still can co-exist, right? 0 support on the "makefile level", but leaving the option there would be a safe thing to do, imho
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to drop fall back from controller as well, right now it is quite confusing
86de21e
to
1e53039
Compare
746b172
to
e591931
Compare
rebased against master to include k3d-action@v2 and drop temporary k3d hack |
This runs rfc2136 provider and remove all local hacks Signed-off-by: Dinar Valeev <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 nice job!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This runs rfc2136 provider and remove all local hacks
Signed-off-by: Dinar Valeev [email protected]