diff options
author | Pascal Bach <pascal.bach@nextrem.ch> | 2016-11-11 23:11:54 +0100 |
---|---|---|
committer | Pascal Bach <pascal.bach@nextrem.ch> | 2016-11-11 23:11:54 +0100 |
commit | c1dca9e40b7f357460f69e08e568b242c6e1bdfa (patch) | |
tree | b1644624321575af4c36d3b61979049a2d3601d6 /nixos/modules/services | |
parent | 0838c10e22c30dda7cda5fe43e891c69dd0dbe63 (diff) | |
download | nixlib-c1dca9e40b7f357460f69e08e568b242c6e1bdfa.tar nixlib-c1dca9e40b7f357460f69e08e568b242c6e1bdfa.tar.gz nixlib-c1dca9e40b7f357460f69e08e568b242c6e1bdfa.tar.bz2 nixlib-c1dca9e40b7f357460f69e08e568b242c6e1bdfa.tar.lz nixlib-c1dca9e40b7f357460f69e08e568b242c6e1bdfa.tar.xz nixlib-c1dca9e40b7f357460f69e08e568b242c6e1bdfa.tar.zst nixlib-c1dca9e40b7f357460f69e08e568b242c6e1bdfa.zip |
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.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/cluster/fleet.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/cluster/kubernetes.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/cluster/panamax.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/networking/skydns.nix | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/nixos/modules/services/cluster/fleet.nix b/nixos/modules/services/cluster/fleet.nix index 78d4ea93c491..ec03be395948 100644 --- a/nixos/modules/services/cluster/fleet.nix +++ b/nixos/modules/services/cluster/fleet.nix @@ -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. ''; diff --git a/nixos/modules/services/cluster/kubernetes.nix b/nixos/modules/services/cluster/kubernetes.nix index 4bdd7f95f774..19303e97a706 100644 --- a/nixos/modules/services/cluster/kubernetes.nix +++ b/nixos/modules/services/cluster/kubernetes.nix @@ -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; }; diff --git a/nixos/modules/services/cluster/panamax.nix b/nixos/modules/services/cluster/panamax.nix index b47ff744fc27..4475e8d8c24b 100644 --- a/nixos/modules/services/cluster/panamax.nix +++ b/nixos/modules/services/cluster/panamax.nix @@ -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. ''; diff --git a/nixos/modules/services/networking/skydns.nix b/nixos/modules/services/networking/skydns.nix index ba913482e3cb..6ad18bb22403 100644 --- a/nixos/modules/services/networking/skydns.nix +++ b/nixos/modules/services/networking/skydns.nix @@ -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."; }; |