{"action":"created","issue":{"url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/822","labels_url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/822/labels{/name}","comments_url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/822/comments","events_url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/822/events","html_url":"https://github.com/CiscoCloud/microservices-infrastructure/issues/822","id":117398062,"number":822,"title":"Simplify Terraform DNS configurations","user":{"login":"BrianHicks","id":355401,"avatar_url":"https://avatars.githubusercontent.com/u/355401?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianHicks","html_url":"https://github.com/BrianHicks","followers_url":"https://api.github.com/users/BrianHicks/followers","following_url":"https://api.github.com/users/BrianHicks/following{/other_user}","gists_url":"https://api.github.com/users/BrianHicks/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianHicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianHicks/subscriptions","organizations_url":"https://api.github.com/users/BrianHicks/orgs","repos_url":"https://api.github.com/users/BrianHicks/repos","events_url":"https://api.github.com/users/BrianHicks/events{/privacy}","received_events_url":"https://api.github.com/users/BrianHicks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/labels/community%20input","name":"community input","color":"d4c5f9"},{"url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/labels/need%20feedback","name":"need feedback","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/milestones/5","html_url":"https://github.com/CiscoCloud/microservices-infrastructure/milestones/0.5","labels_url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/milestones/5/labels","id":999194,"number":5,"title":"0.5","description":"- mantl cli cilent to deploy to clusters\r\n- Kubernetes\r\n- Mantl API\r\n- New Pacakging system","creator":{"login":"keithchambers","id":1405432,"avatar_url":"https://avatars.githubusercontent.com/u/1405432?v=3","gravatar_id":"","url":"https://api.github.com/users/keithchambers","html_url":"https://github.com/keithchambers","followers_url":"https://api.github.com/users/keithchambers/followers","following_url":"https://api.github.com/users/keithchambers/following{/other_user}","gists_url":"https://api.github.com/users/keithchambers/gists{/gist_id}","starred_url":"https://api.github.com/users/keithchambers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithchambers/subscriptions","organizations_url":"https://api.github.com/users/keithchambers/orgs","repos_url":"https://api.github.com/users/keithchambers/repos","events_url":"https://api.github.com/users/keithchambers/events{/privacy}","received_events_url":"https://api.github.com/users/keithchambers/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":40,"state":"open","created_at":"2015-02-27T18:41:38Z","updated_at":"2015-11-17T20:07:07Z","due_on":"2015-11-21T06:00:00Z","closed_at":null},"comments":1,"created_at":"2015-11-17T16:55:12Z","updated_at":"2015-11-17T20:07:37Z","closed_at":null,"body":"The current DNS configuration modules reflect an older view of how the project needs to be connected up. Namely, we get records like this:\r\n\r\n| type | IP | name |\r\n|-------|-----|---------|\r\n| A | `10.10.10.1` | `shortname-control-01.yourdomain.com` |\r\n| A | `10.10.10.2` | `shortname-control-02.yourdomain.com` |\r\n| A | `10.10.10.3` | `shortname-control-03.yourdomain.com` |\r\n| A | `10.10.10.4` | `shortname-worker-001.yourdomain.com` |\r\n| A | `10.10.10.4` | `*.shortname-lb.yourdomain.com` |\r\n\r\nThis made sense when we needed to connect to a specific control node for tasks, but since we have Mantl UI now, we can connect to any node. We also don't need to connect to worker nodes anymore as of #821, we now connect to edge nodes.\r\n\r\nSo I'd propose our DNS config should look like this:\r\n\r\n| type | IP | name |\r\n|------|----|------|\r\n| A | `10.10.10.1` | `control.yourdomain.com` |\r\n| A | `10.10.10.2` | `control.yourdomain.com` |\r\n| A | `10.10.10.3` | `control.yourdomain.com` |\r\n| A | `10.10.10.5` (edge-01) | `*.yourdomain.com` |\r\n\r\nThis should have a configurable subdomain, so if you want `control.mantl.yourdomain.com`, you could have that.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/comments/157490845","html_url":"https://github.com/CiscoCloud/microservices-infrastructure/issues/822#issuecomment-157490845","issue_url":"https://api.github.com/repos/CiscoCloud/microservices-infrastructure/issues/822","id":157490845,"user":{"login":"BrianHicks","id":355401,"avatar_url":"https://avatars.githubusercontent.com/u/355401?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianHicks","html_url":"https://github.com/BrianHicks","followers_url":"https://api.github.com/users/BrianHicks/followers","following_url":"https://api.github.com/users/BrianHicks/following{/other_user}","gists_url":"https://api.github.com/users/BrianHicks/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianHicks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianHicks/subscriptions","organizations_url":"https://api.github.com/users/BrianHicks/orgs","repos_url":"https://api.github.com/users/BrianHicks/repos","events_url":"https://api.github.com/users/BrianHicks/events{/privacy}","received_events_url":"https://api.github.com/users/BrianHicks/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T20:07:37Z","updated_at":"2015-11-17T20:07:37Z","body":"Moving this to 0.5 because when we merge Traefik support, it will mean that the current DNS is invalid. It needs to change *somehow*."}}