Commit Graph

122 Commits

Author SHA1 Message Date
Leïla MARABESE 12d6b12125 doc: add dns feature 2023-06-19 11:40:12 +02:00
Leïla MARABESE 62e3495b1a scaleway dns provider + tests 2023-06-19 11:40:08 +02:00
Jesse Haka e7d27bbf15 openstack designate changes 2023-05-17 20:24:01 +03:00
Ole Markus With ce2e877aeb Remove bazel files from vendor 2022-04-12 13:29:03 +02:00
Ole Markus With 5cac1eea56 Set command using entrypoint instead of cmd 2022-03-11 16:02:46 +01:00
Ciprian Hacman ea7df00719 Run hack/update-gofmt.sh 2021-12-01 22:39:50 +02:00
John Gardiner Myers 1bd88a441d dns-controller: Use aliases for internal pod records 2021-10-30 13:28:39 -07:00
John Gardiner Myers 2cebd7ece5 dns-controller: Filter node InternalIPs by pod network families 2021-10-30 13:28:39 -07:00
John Gardiner Myers 23632fb29f Revert "Make dns-controller delete placeholder addresses for IPv6 cluster"
This reverts commit c58f104e4d.
2021-10-30 11:43:50 -07:00
Kubernetes Prow Robot 1b70a62d01
Merge pull request #12605 from johngmyers/ipv6-apiserver
Make dns-controller delete placeholder addresses for IPv6 cluster
2021-10-27 00:27:25 -07:00
John Gardiner Myers 540a1ca803 dns-controller: Treat IPv6 node addresses as both internal and external 2021-10-25 17:43:07 -07:00
John Gardiner Myers c58f104e4d Make dns-controller delete placeholder addresses for IPv6 cluster 2021-10-24 23:41:03 -07:00
Kubernetes Prow Robot ecb85a207a
Merge pull request #12173 from srikiz/DO-Fix-DNSProvider-Interface-Package
[DigitalOcean] Code refactor to use the existing dnsprovider package
2021-08-18 22:53:24 -07:00
srikiz 6e2bfb038e gazelle updates 2021-08-18 21:21:53 +05:30
srikiz c3996024b6 Minor changes for adding digitalocean plugin for dnsprovider 2021-08-18 21:07:40 +05:30
srikiz 41439109a8 Fix DNS Provider package for DO 2021-08-12 00:01:50 +05:30
Peter Rifel 7c2112b32d
Update dns-controller to use networking.k8s.io/v1 for watching Ingresses 2021-08-08 15:54:27 -04:00
Michael Beasley e9403b2945
Update README.md
Fix typo
2021-08-03 23:22:03 -05:00
Ciprian Hacman 65f18c3946 Add support for IPv6 addresses to dns-controller 2021-07-02 09:34:05 +03:00
Justin SB 01d1c7fa1d Deeper validation in dns controller tests
Follow up to #11069; use cmp.Diff to compare got vs want.
2021-03-21 11:00:20 -04:00
Ole Markus With 6982e5d4c8 update dns-controller readme to match reality 2021-03-19 10:11:48 +01:00
Ole Markus With b13bc432b1 Remove commented logic we'll probably never add back 2021-03-19 10:11:48 +01:00
Ole Markus With f5ecbd63cf Add a dns-controller pod watcher test
Update dns-controller/pkg/watchers/testhelpers.go

Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2021-03-19 10:11:46 +01:00
Ciprian Hacman 631b43bd56 Use exponential backoff for DNS updates 2021-03-09 14:06:47 +02:00
Ole Markus With 076ae3dfe4 Remove coredns dnsprovider 2021-01-22 09:19:35 +01:00
Barry Melbourne f2ecb5c153 Upgrade Go v1.15.6 / Bazel v3.4.1 2021-01-10 18:13:12 +00:00
Ciprian Hacman 2d9d43ab39 Fix multi-arch image pushing 2020-11-19 07:57:30 +02:00
Kubernetes Prow Robot 42e189605a
Merge pull request #10265 from hakman/docker-manifest
Push multi-arch images
2020-11-18 12:08:06 -08:00
Ciprian Hacman 78c28288a2 Push multi-arch images 2020-11-18 16:52:27 +02:00
Ciprian Hacman 924ab9effa Update Bazel rules for Go to v0.24.7 2020-11-15 12:32:24 +02:00
Peter Rifel 4d9f0128a3
Upgrade to klog2
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
Ciprian Hacman 172031859d ARM64 support - Build multi-arch images 2020-08-10 13:47:07 +03:00
ZouYu 2fc52ec6be fix some go-lint warning
Signed-off-by: ZouYu <zouy.fnst@cn.fujitsu.com>
2020-06-09 08:52:50 +08:00
Justin Santa Barbara 7e710e85d9 DNS: Apply should be a no-op when empty
Document the contract a bit more, change the signature by adding a
context arg and following through to make sure we honor the contract
everywhere.
2020-05-17 16:45:08 -04:00
Justin SB 520474468d DNS: Don't try to apply empty changesets
For GCE this was resulting in confusing error messages.
2020-05-17 16:43:10 -04:00
Justin Santa Barbara 31bb16d4d1 Add context.Context to most signatures
The client-go signature for most methods adds a context.Context
object, and also makes Options mandatory.  Feed through a
context.Context through many of our methods (but use context.TODO to
stop it getting totally out of hand!)
2020-04-11 14:44:17 -04:00
Peter Rifel afd9aa1a4d Enable stamping on bazel image builds
Currently the images have a timestamp of epoch 0:

```
$ docker inspect kope/kops-controller:1.18.0-alpha.2 -f '{{ .Created }}'
1970-01-01T00:00:00Z
```

The `container_image` bazel rule [0] mentions that `creation_time` has a default value of 0 unless `stamp = True`, so this should be enabled on all container_image rules that are pushed to a docker registry.

[0] https://github.com/bazelbuild/rules_docker#container_image-1
2020-04-02 20:27:14 -05:00
Justin SB 46c8cc6d86 makefile: use more hash helpers when building images
It's cleaner & more consistent.
2020-02-16 13:10:31 -05:00
Justin SB 0cb35638f2
Stop logging to /var/log/kops-controller.log
Writing to a hostPath from a non-root container requires file
ownership changes, which is difficult to roll out today.  See
discussion in #8454

We were primarily using the logfile for e2e diagnostics, so we're
going to look into collecting the information via other means instead.

We also haven't yet shipped this logfile in a released version (though
we have shipped it in beta releases)
2020-02-04 06:41:25 -05:00
Justin Santa Barbara 3ae2ccb153
Use component-base for metrics
Another dependency on k/k removed!

prometheus
2020-01-17 06:35:21 -05:00
Ciprian Hacman 4c4400c5f3 Add code simplifications for staticheck 2019-12-30 17:40:24 +02:00
John Gardiner Myers 14bc441d8d Run dns-controller and kops-controller as non-root user 2019-12-21 21:28:44 -08:00
Justin SB b6862103bb
Change default port for memberlist from 3997
We had a port collision on 3997; change the default memberlist ports
to avoid the collision (we haven't shipped a release with this in it).

Also create a go file so that we can use constants to keep track of
our port numbers, rather than magic values.
2019-10-14 07:26:27 -04:00
Justin SB e611f39e48
Upload dns-controller archive, use in KOPS_BASE_URL
Like we recently did with kops-controller, this means we aren't
reliant on pushing a docker container for development.  This should
also fix the e2e tests, which otherwise break whenever we make an
incompatible change to dns-controller.
2019-10-13 08:34:44 -07:00
Thomas Jackson cd8c743d1c make gomod 2019-10-10 13:10:13 -07:00
Thomas Jackson 6acbfe661b Move gossip implementations into a plugin interface 2019-10-10 13:09:22 -07:00
Thomas Jackson cfcb93e822 Misc fixes 2019-10-10 13:09:22 -07:00
Thomas Jackson 421ee540b9 Add memberlist gossip option 2019-10-10 13:08:55 -07:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB 605659b415
Call klog.InitFlags in dns-controller
Otherwise the logging flags don't get registered.
2019-05-10 01:04:53 -04:00