Dmitry
d972688244
Fixed adding record for root domain name
2018-08-24 18:41:44 +03:00
Dmitry
ba0fd1a310
Added using custom FQDN for service
2018-06-26 00:04:47 +03:00
Dmitry
40b755dd4e
Fixed bug with using CloudFlare when getting CNAME values (without '.')
2018-06-13 10:18:42 +03:00
Dmitry
a70db3f0a6
Changed links to this repository
2018-06-12 18:40:40 +03:00
Dmitry
4f63d5b7c3
Added CNAME records to LoadBalancer service
2018-06-06 21:44:09 +03:00
loganhz
e278357022
Fix the issue that DNS record doesn't get updated when user change environment name
...
Environment name was initialized when external dns starts up. So it will not get updated if user change the env name after dns starting.
https://github.com/rancher/rancher/issues/10077
2017-12-02 09:43:33 +08:00
janeczku
e6067ca7c1
Fixes Cattle FQDN update with custom name templates
2017-05-03 01:32:37 +02:00
jbruder
e6a79be373
Use fqdn for metadata service
2017-04-26 15:30:49 -04:00
gerich-home
6357708495
Allow overriding name template for specific services by setting io.rancher.service.external_dns_name_template label to it in docker-compose.yml ( #74 )
...
* Allow overriding name template for specific services by setting io.rancher.service.external_dns_name_template label to it in docker-compose.yml
* Removed unneeded variable declaration
2017-04-26 12:24:24 -04:00
janeczku
c521fd4d47
Adds support for multi-IP per host allocation
2017-03-11 16:07:35 +01:00
janeczku
211b5ca7d4
Fixes duplicate IP records issue for services without exposed ports
2017-02-28 20:41:36 +01:00
janeczku
439d205908
Update rancher/go-rancher-metadata
2017-01-26 17:35:17 +01:00
janeczku
d5976c0f2f
Fix go fmt errors
2017-01-26 17:26:13 +01:00
Matthew Ellison
62b9d3f994
Added Support for Toggling DNS via Labels
...
1. Host: io.rancher.host.external_dns=[true|false] (Default: true)
- `false`: Any containers of a service deployed to this host will NOT update external DNS.
2. Service: io.rancher.service.external_dns=[always|auto|never] (Default: auto)
- `auto`: Observe the original behavior of determining if a service should be placed into external DNS.
- `always`: Always place containers of a service in external DNS regardless if they meet the criteria for `auto`.
- `never`: Disable external DNS for the service.
2016-12-17 15:45:21 -05:00
janeczku
6e084a570f
Fix variable assignment
2016-11-29 23:49:11 +01:00
Jan B
ece1978c54
Don't create DNS records for system services ( #50 )
2016-11-29 19:32:15 +01:00
janeczku
07b84160bb
Parameterize FQDN, state TXT record, sanitize labels
2016-10-21 22:12:42 +02:00
janeczku
b74a7448fc
Prevent provider API flooding + smaller fixes
...
* Check if metadata records have changed before querying provider
* Only include containers whose state is ‚running’
* Fix error call formatting
2016-10-13 21:50:51 +02:00
Jan B
a7280c070b
Merge pull request #42 from janeczku/check-container-state
...
Include only running/healthy containers
2016-07-27 20:59:44 +02:00
janeczku
26dcef80aa
Update go-rancher-metadata package
2016-07-27 20:55:55 +02:00
janeczku
4420e05fb2
Include only running/healthy containers
2016-07-17 03:28:50 +02:00
janeczku
48214189de
Refactoring
...
* Decouples setup routines from the init() funcs to prepare for unit testing
* Adds Init() method to providers interface
* Adds HealthCheck() method to providers interface for using least expensive API call
* Moves providers to individual packages
* Moves DNS types and helper funcs to utils package
2016-07-17 02:54:13 +02:00
Prachi Damle
5fce5fe8ef
Use the public ip from host labels if provided in metadata, otherwise
...
use the host agent's ip
The label from metadata is 'io.rancher.host.external_dns_ip'
2016-03-15 16:16:45 -07:00
Alena Prokharchyk
450d47d29b
Don't start rancher metadata till selfstack info is returned
2016-01-13 15:30:57 -08:00
Alena Prokharchyk
1343dc5bc4
Explicit version for rancher-metadata
2016-01-13 15:30:57 -08:00
Alena Prokharchyk
a50cfa77fd
Wait for rancher-metadata to come up before performing other actions
...
Also refactor code structure so dns package can be re-used by
provider/metadata packages w/o introducing circular links.
2015-11-09 15:10:37 -08:00
Alena Prokharchyk
583fda05da
Metadata as a separate project
2015-10-15 12:38:48 -07:00
Alena Prokharchyk
daf64d2501
More review comments addressed
2015-10-14 15:47:02 -07:00
Alena Prokharchyk
dcd1e76912
Addressing review comments:
...
* don't log an error in the methods; propagate err to main and log there
* external-dns code to its own file
* register provider in main() instead of init()
2015-10-14 14:53:24 -07:00
Alena Prokharchyk
3aeaae6f40
Read host_ip information from hosts metadata
2015-10-05 11:40:48 -07:00
Alena Prokharchyk
c600134c5d
Metadata crawler
2015-10-05 10:00:09 -07:00