Commit Graph

30 Commits

Author SHA1 Message Date
John Gardiner Myers 84807874fc Reduce logging chatter 2021-05-31 20:48:37 -07:00
Peter Rifel 1659a95f56
Precreate the kops-controller DNS name
We're seeing test failures in prow because nodes are not able to resolve the kops-controller dns record.

Judging by timestamps, dns-controller adds the record after it is first queried by nodeup.
The negative TTL is long enough that the cluster doesn't validate within the alotted time.
Rather than increasing the validation timeout I think its better to precreate the DNS record the same way we do for the other records.
2021-02-15 18:00:36 -06:00
Justin SB f577e48cdf Logging: don't suggest we are pre-creating DNS records unless we are
We want to communicate what we're doing, but the log message is confusing.
2021-02-10 10:04:18 -05:00
Justin SB b158ffab04 Refactor: KopsModelContext embeds IAMModelContext
go syntax makes this an annoying change, unfortunately.
2020-08-25 11:22:34 -04: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
Peter Rifel 3426e2f585
Address feedback
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2020-08-08 21:51:43 -05:00
Peter Rifel 57edd1f9b7
Improve the error logged when multiple DNS Zones match the provided name 2020-08-08 21:02:34 -05: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
Ole Markus With 7342525872 Remove vsphere from kops files 2020-05-30 13:36:55 +02: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
tanjunchen f01e8e4cdd upup/pkg/fi/cloudup/ staticcheck 2019-12-31 16:15:28 +08:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Srikanth 63927250ba Initial changes to add DO models for etcd-manager
update template

Update notes for digital ocean

Update TTL to 60 seconds and version upgrade to 0.1.15 for DO Cloud Controller Manager

Update review comments

Format go code
2019-07-17 20:08:04 +05:30
Peter Rifel 7ec9a1f5d2 Dont precreate etcd DNS records if we're using etcd-manager 2019-06-12 13:44:16 -07:00
Justin SB 3e33ac7682
Change code from glog to klog
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog.  That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Justin Santa Barbara f03cc5dbd9 Update dnsprovider imports to use our version 2017-12-13 20:43:01 -05:00
chrislovecnm 1e418c3e13 more goimport updates 2017-11-04 10:03:02 -06:00
Justin Santa Barbara 7c8dcc4a0d Code changes for 1.7 2017-07-02 13:10:28 -04:00
Justin Santa Barbara d2df318ecc Move CloudProvider to kops API
This avoids a circular reference when breaking up the fi package
2017-06-17 16:27:07 -04:00
Justin Santa Barbara eddd73549c Use LB IP address for private dns 2017-04-25 01:32:27 -04:00
Justin Santa Barbara c8b18be9dd Gossip backed DNS 2017-04-25 01:32:21 -04:00
Miao Luo 4f98f5b47e Use CoreDNS for vSphere provider (#2)
* Add support of CoreDNS for vSphere provider.

* Add instructions about how to setup CoreDNS for vSphere provider.

* Address comments for CoreDNS support code.
2017-04-20 23:33:20 -07:00
Justin Santa Barbara 645f330dad Re-enable GCE support
We move everything to the models.  We feature-flag it, because we
probably want to change the names etc, and we aren't going to be able to
offer smooth upgrades until that is done.
2017-02-28 20:08:03 -05:00
Kris Nova 2731a354d5 Merge pull request #1500 from justinsb/dns-zone-hint
Suggest the --dns-zone flag when we have multiple zones
2017-01-20 19:58:42 -07:00
Justin Santa Barbara c4a3c5b2ef Suggest the --dns-zone flag when we have multiple zones
Issue #1468
2017-01-17 00:35:15 -05:00
Justin Santa Barbara 4504028b9b dns-controller optimizations
* Cache list of zones
* Combine DNS changesets
* If we have to list records for a zone, cache them in the dns operation
2017-01-16 23:39:25 -05:00
Justin Santa Barbara c87a7adeb0 Fix DNS name precreation
We were creating the wrong names for etcd.  Also add a test.

Fix #1393
2017-01-08 15:28:59 -05:00
Justin Santa Barbara b456efd662 Skip DNS precreation if we have no records
This seems to be a limitation/issue in the route53 dnsprovider; it skips
over alias targets.
2016-12-30 10:00:06 -05:00
Justin Santa Barbara aa6c214a12 Fixes per code-review 2016-12-28 14:05:00 -05:00
Justin Santa Barbara d449f40a37 Pre-create DNS records with placeholder values
Fixes #928
2016-12-28 13:33:23 -05:00