etcd: make all service using etc go to 127.0.0.1:2379 by default

The old etcd port 4001 is no longer enabled by default in etcd 3.
The new port is 2379 and is officially assigned by IANA.

There were still some services left that expect etcd on port 4001 by default.
This changes the default to 2379 everywhere.

It should not cause problems for users as the etcd by nix does listen on the new port only by default anyway.
This commit is contained in:
Pascal Bach 2016-11-11 23:11:54 +01:00
parent 0838c10e22
commit c1dca9e40b
4 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ in {
etcdServers = mkOption {
type = types.listOf types.str;
default = [ "http://127.0.0.1:4001" ];
default = [ "http://127.0.0.1:2379" ];
description = ''
Fleet list of etcd endpoints to use.
'';

View File

@ -23,7 +23,7 @@ in {
etcdServers = mkOption {
description = "Kubernetes list of etcd servers to watch.";
default = [ "127.0.0.1:4001" ];
default = [ "127.0.0.1:2379" ];
type = types.listOf types.str;
};

View File

@ -46,7 +46,7 @@ in {
fleetctlEndpoint = mkOption {
type = types.str;
default = "http://127.0.0.1:4001";
default = "http://127.0.0.1:2379";
description = ''
Panamax fleetctl endpoint.
'';

View File

@ -11,7 +11,7 @@ in {
etcd = {
machines = mkOption {
default = [ "http://localhost:4001" ];
default = [ "http://127.0.0.1:2379" ];
type = types.listOf types.str;
description = "Skydns list of etcd endpoints to connect to.";
};