Skip to content

Commit

Permalink
coreos/azure: Remove workaround coreos/bugs#267 -
Browse files Browse the repository at this point in the history
it turned out the issue was due to the domain lenght, so let's just
keep it short.
  • Loading branch information
errordeveloper committed Mar 10, 2015
1 parent cc9f6b1 commit 5deff8b
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ coreos:
snapshot: true
max-retry-attempts: 50
units:
- name: dhcpcd.service
enable: true
command: start
- name: systemd-resolved.service
command: stop
- name: etcd.service
command: start
update:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,6 @@ coreos:
[Service]
Environment=DOCKER_OPTS='--bridge="weave" -r="false"'
- name: dhcpcd.service
enable: true
command: start

- name: systemd-resolved.service
command: stop

- name: wait-for-network-online.service
enable: true
command: start
content: |
[Unit]
After=network-online.target
Before=install-weave.service
Before=download-kubernetes.service
Description=Temporary hack, as the use of dhcpcd.service breaks nework-online.online
Documentation=https://github.com/coreos/bugs/issues/267
Requires=network-online.target
[Service]
Type=oneshot
ExecStart=/bin/sh -c 'until curl --silent --fail https://status.github.com/api/status.json | grep -q \"good\"; do sleep 2; done'
[Install]
WantedBy=network-online.target
- name: weave-network.target
enable: true
content: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var azure = require('./lib/azure_wrapper.js');
var kube = require('./lib/deployment_logic/kubernetes.js');

azure.create_config('kubernetes', { 'etcd': 3, 'kube': 3 });
azure.create_config('kube', { 'etcd': 3, 'kube': 3 });

azure.run_task_queue([
azure.queue_default_network(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ exports.create_config = function (name, nodes) {
weave_salt: util.rand_string(),
resources: {
vnet: [name, 'internal-vnet', util.rand_suffix].join('-'),
service: [name, 'service-cluster', util.rand_suffix].join('-'),
service: [name, util.rand_suffix].join('-'),
ssh_key: create_ssh_key(name),
}
};
Expand Down

0 comments on commit 5deff8b

Please sign in to comment.