Commit Graph

171770 Commits

Author SHA1 Message Date
Christian Albrecht
154356d820
nixos/kubernetes: Fix kube-control-plane-online must not be present
outside kubernetes module.
2019-03-08 09:36:59 +01:00
Christian Albrecht
ff382c18c8
nixos/kubernetes: Address review: Move remaining paths to pki 2019-03-06 17:56:28 +01:00
Christian Albrecht
e148cb040b
nixos/kubernetes: Address review: rename node-online target 2019-03-06 17:17:20 +01:00
Christian Albrecht
5684034693
nixos/kubernetes: Address review: Remove restart from certmgr bootstrap service 2019-03-06 16:55:13 +01:00
Christian Albrecht
7323b77435
nixos/kubernetes: Address review: Separate preStart from certificates 2019-03-06 16:55:08 +01:00
Christian Albrecht
52fe1d2e7a
nixos/kubernetes: Address review: Move controller manager paths into pki 2019-03-06 16:55:04 +01:00
Christian Albrecht
6e9037fed0
nixos/kubernetes: Address review: Move bootstrapping addons into own service 2019-03-06 16:54:50 +01:00
Christian Albrecht
ff91d5818c
nixos/kubernetes: Address review: Rename targets and move proxy to node-online.target 2019-03-06 16:54:22 +01:00
Christian Albrecht
74962bf767
nixos/kubernetes: No need to restart services besides certmgr
within the node join script, since certmgr is taking care of
restarting services.
2019-03-03 19:43:15 +01:00
Christian Albrecht
7df88bd802
nixos/kubernetes: Put dashboard service account into bootstrapAddons
to prevent errors in log about missing permissions when
addon manager starts the dashboard.
2019-03-03 19:43:15 +01:00
Christian Albrecht
fd28c0a82a
nixos/kubernetes: Seed docker images before kubelet service start
to speed up startup time because it can be parallelized.
2019-03-03 19:43:14 +01:00
Christian Albrecht
cf8389c904
nixos/kubernetes: Add longer timeouts for waiting services 2019-03-03 19:43:14 +01:00
Christian Albrecht
51aeaaffc2
nixos/kubernetes: flannel needs iptables in service path 2019-03-03 19:43:13 +01:00
Christian Albrecht
62f03750e4
nixos/kubernetes: Stabilize services startup across machines
by adding targets and curl wait loops to services to ensure services
are not started before their depended services are reachable.

Extra targets cfssl-online.target and kube-apiserver-online.target
syncronize starts across machines and node-online.target ensures
docker is restarted and ready to deploy containers on after flannel
has discussed the network cidr with apiserver.

Since flannel needs to be started before addon-manager to configure
the docker interface, it has to have its own rbac bootstrap service.

The curl wait loops within the other services exists to ensure that when
starting the service it is able to do its work immediately without
clobbering the log about failing conditions.

By ensuring kubernetes.target is only reached after starting the
cluster it can be used in the tests as a wait condition.

In kube-certmgr-bootstrap mkdir is needed for it to not fail to start.

The following is the relevant part of systemctl list-dependencies

default.target
● ├─certmgr.service
● ├─cfssl.service
● ├─docker.service
● ├─etcd.service
● ├─flannel.service
● ├─kubernetes.target
● │ ├─kube-addon-manager.service
● │ ├─kube-proxy.service
● │ ├─kube-apiserver-online.target
● │ │ ├─flannel-rbac-bootstrap.service
● │ │ ├─kube-apiserver-online.service
● │ │ ├─kube-apiserver.service
● │ │ ├─kube-controller-manager.service
● │ │ └─kube-scheduler.service
● │ └─node-online.target
● │   ├─node-online.service
● │   ├─flannel.target
● │   │ ├─flannel.service
● │   │ └─mk-docker-opts.service
● │   └─kubelet.target
● │     └─kubelet.service
● ├─network-online.target
● │ └─cfssl-online.target
● │   ├─certmgr.service
● │   ├─cfssl-online.service
● │   └─kube-certmgr-bootstrap.service
2019-03-03 19:39:02 +01:00
Christian Albrecht
f9e2f76a59
nixos/kubernetes: Add systemd path units
to protect services from crashing and clobbering the logs when
certificates are not in place yet and make sure services are activated
when certificates are ready.

To prevent errors similar to "kube-controller-manager.path: Failed to
enter waiting state: Too many open files"
fs.inotify.max_user_instances has to be increased.
2019-03-03 19:34:57 +01:00
R. RyanTM
2d20e8c5f2 gtkwave: 3.3.98 -> 3.3.99
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gtkwave/versions
2019-03-03 17:13:47 +01:00
R. RyanTM
a54c6b7933 hpx: 1.2.0 -> 1.2.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/hpx/versions
2019-03-03 17:13:28 +01:00
R. RyanTM
0261cb0ee8 hyper: 2.1.1 -> 2.1.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/hyper/versions
2019-03-03 17:12:48 +01:00
Dmitry Kalinkin
4a62576c12
Merge pull request #55983 from veprbl/pr/qt5_qtwebkit_darwin_fix
qt511.qtwebkit: fix on darwin
2019-03-03 11:01:47 -05:00
Andreas Rammhold
768336a74b
Merge pull request #56233 from jtojnar/nginx-tlsv13
nixos/nginx: Enable TLS 1.3 support
2019-03-03 14:19:38 +01:00
Michael Raskin
20b066356a pythonPackages.pyside: fix build by passing mesa for GL/gl.h 2019-03-03 13:54:08 +01:00
Michael Raskin
19d817c5ec lispPackages.lfarm-*: init from Quicklisp 2019-03-03 13:54:08 +01:00
Vincent Laporte
93ce3df6b5 ocamlPackages.stdlib-shims: init at 0.1.0 2019-03-03 11:45:21 +01:00
Dmitry Kalinkin
bf483b6e4e
Merge pull request #56638 from eadwu/vscode-extensions.WakaTime.vscode-wakatime/fix-dependency-path
vscode-extensions.WakaTime.vscode-wakatime: fix dependency path
2019-03-03 05:40:02 -05:00
Herwig Hochleitner
77edcf88dc nixopsUnstable: mark as broken
Unstable should probably be working towards updating to the most
recent version, so marking as broken, instead of using the pinned
version, like stable does.

see https://github.com/NixOS/nixpkgs/pull/52550
see https://github.com/NixOS/nixops/issues/1065
see https://github.com/NixOS/nixpkgs/issues/52547
2019-03-03 11:18:50 +01:00
Vincent Laporte
0379e97193 ocamlPackages.ocamlbuild: 0.12.0 -> 0.14.0 2019-03-03 10:57:18 +01:00
Herwig Hochleitner
0c4d750ea1 azure-mgmt-*: re-init older versions for use with nixops
add pinned versions package-private

azure-mgmt-compute 0.20.1
azure-mgmt-network 0.20.1
azure-mgmt-nspkg 1.0.0
azure-mgmt-resource 0.20.1
azure-mgmt-storage 0.20.0

https://github.com/NixOS/nixpkgs/pull/52550
https://github.com/NixOS/nixops/issues/1065
2019-03-03 10:52:00 +01:00
Michael Raskin
fdfcc4c292
Merge pull request #56757 from dtzWill/update/libsecret-0.18.8
libsecret: 0.18.7 -> 0.18.8
2019-03-03 08:42:54 +00:00
R. RyanTM
ab08921f45 aescrypt: 3.13 -> 3.14
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/aescrypt/versions
2019-03-03 09:19:02 +01:00
R. RyanTM
e2fd06ad1d ams-lv2: 1.2.1 -> 1.2.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ams-lv2/versions
2019-03-03 09:18:48 +01:00
R. RyanTM
376e915a37 chirp: 20190201 -> 20190206
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/chirp-daily/versions
2019-03-03 09:18:25 +01:00
R. RyanTM
495dd9f84b ckbcomp: 1.188 -> 1.189
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ckbcomp/versions
2019-03-03 09:18:04 +01:00
R. RyanTM
61aaab7c62 CoinMP: 1.8.3 -> 1.8.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/coinmp/versions
2019-03-03 09:17:44 +01:00
R. RyanTM
663fde8c39 src: 1.22 -> 1.24
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/src/versions
2019-03-03 09:17:18 +01:00
R. RyanTM
377a16fbe8 sigil: 0.9.10 -> 0.9.12
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/sigil/versions
2019-03-03 09:16:58 +01:00
R. RyanTM
38900337d9 shaarli: 0.10.2 -> 0.10.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/shaarli/versions
2019-03-03 09:16:43 +01:00
R. RyanTM
e0c354f18b bspwm: 0.9.6 -> 0.9.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/bspwm/versions
2019-03-03 09:16:19 +01:00
R. RyanTM
d5f0acf3c3 rpm-ostree: 2019.1 -> 2019.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/rpm-ostree/versions
2019-03-03 09:15:57 +01:00
R. RyanTM
63c99f3d4f squirrel-sql: 3.9.0 -> 3.9.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/squirrel-sql/versions
2019-03-03 09:15:35 +01:00
Frederik Rietdijk
f207bc59f1
Merge pull request #56577 from status-im/qtwebview
Add qtwebview to 5.11 and 5.12 packages
2019-03-03 09:03:45 +01:00
Elis Hirwing
bcdab23bdd
Merge pull request #56766 from r-ryantm/auto-update/twa
twa: 1.7.1 -> 1.8.0
2019-03-03 09:02:53 +01:00
Elis Hirwing
1cc2091ac2
Merge pull request #56644 from r-ryantm/auto-update/feh
feh: 3.1.2 -> 3.1.3
2019-03-03 08:59:26 +01:00
Jan Tojnar
ca50e4937e python2Packages.pyqt4: partial clean up 2019-03-03 08:57:41 +01:00
Jan Tojnar
34fd15c8aa python2Packages.pyqt4: Fix build 2019-03-03 08:57:41 +01:00
Elis Hirwing
89fb4b4b2d
Merge pull request #56654 from r-ryantm/auto-update/flmsg
flmsg: 4.0.8 -> 4.0.8.04
2019-03-03 08:57:20 +01:00
Pascal Wittmann
c318db2c03
Merge pull request #56692 from jokogr/f/pugixml-1.9
pugixml: Fix pkg-config file installation and use fetchFromGitHub
2019-03-03 08:55:08 +01:00
Elis Hirwing
365d199173
Merge pull request #56734 from petabyteboy/feature/update-gitea
gitea: 1.7.1 -> 1.7.3
2019-03-03 08:52:35 +01:00
Elis Hirwing
6355e8d686
Merge pull request #56764 from r-ryantm/auto-update/tmuxp
tmuxp: 1.5.0a1 -> 1.5.1
2019-03-03 08:42:17 +01:00
Elis Hirwing
6518e5f9cf
Merge pull request #56735 from qolii/fish_update_301_302
fish: 3.0.1 -> 3.0.2
2019-03-03 08:40:23 +01:00
Frederik Rietdijk
1285d739d8 wxPython: fix build 2019-03-03 08:37:03 +01:00