Commit Graph

23 Commits

Author SHA1 Message Date
justinsb c89f434f1b Only use node challenge on hetzner
DigitalOcean (and others) will follow shortly.

Also create a method for CloudProvider, so that we are more ambivalent
towards bootstrapping methods.
2023-05-06 08:57:21 -04:00
John Gardiner Myers 447220ef4e Use NodeupConfig for NTP-managed setting 2023-01-03 22:16:20 -08:00
John Gardiner Myers b38c55a2b9 Simplify nodeup references to CloudProvider 2022-12-20 19:44:32 -08:00
John Gardiner Myers 7c3e32369a Refactor Context into separate cloudup and nodeup types 2022-12-17 17:42:46 -08:00
Ciprian Hacman f30f9e92d9 azure: Use chrony instead of timesyncd 2022-11-08 22:30:34 +02:00
justinsb 8220211655 nodeup: store the CloudProvider in the context
This is a bit simpler than fetching it from the cluster every time,
and also can allow things like mixed-cloud clusters (in future).
2021-12-11 09:16:03 -05:00
Ciprian Hacman 5ec40c0c32 Use chrony for synchronizing time in Ubuntu 2021-11-04 10:20:41 +02:00
justinsb f54cf000fd GCE: use chrony on Ubuntu + GCE
Ubuntu on GCE has systemd-timesyncd masked, and recommends (and
preconfigures) chrony instead.
2021-10-23 13:36:50 -04:00
Kenji Kaneda baff30d66e Add an option to skip NTP installation
Add NTPConfig to ClusterSpec. NTPConfig has the SkipInstall option.

https://github.com/kubernetes/kops/issues/9661
2021-03-31 12:33:32 -07:00
Ciprian Hacman e68ee80a93 Move and rename the "distros" package 2020-08-17 07:25:43 +03:00
Peter Rifel 4d9f0128a3
Upgrade to klog2
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
John Gardiner Myers 06c6ac1bee Remove support for CoreOS and Jessie 2020-05-04 23:09:52 -07:00
Ciprian Hacman 9ae94664bf Use systemd-timesyncd for Ubuntu 2020-03-18 07:32:39 +02:00
Ciprian Hacman 5003bd2f16 Fix NTP failures after #8312 2020-03-17 17:31:41 +02:00
simonmacklin 2b04d7d111
Update nodeup/pkg/model/ntp.go
updated to non group capturing

Co-Authored-By: John Gardiner Myers <jgmyers@proofpoint.com>
2020-01-15 10:37:39 +00:00
Simon Macklin 29223a3cf1 adjusted regex 2020-01-14 23:02:36 +00:00
Simon Macklin 402359d57f updated case to use the const 2020-01-13 10:32:21 +00:00
Simon Macklin 2f0c33fd4e first initial commit
added replace method

added cloud ips

updated the func params

removed whitespace at gce address

removed sample ntp.conf

removed whitespace from gce ntp address

created const var ntp type

added a period at the end of the func comment and used the const vars on the case statement.  Will finish sometime this weekend

unexported func and const type

trying to fix git email config issue

changed func param
2020-01-13 10:05:21 +00:00
Ciprian Hacman e90474d593 Update support for RHEL 8 2019-12-24 17:07:23 +02:00
Salvatore Mazzarino 16f667d5a8 Correct Distro name
Signed-off-by: Salvatore Mazzarino <dev@mazzarino.cz>
2019-11-24 18:58:49 +01:00
Salvatore Mazzarino 9732d06d97 Add reference
Signed-off-by: Salvatore Mazzarino <dev@mazzarino.cz>
2019-11-24 16:35:23 +01:00
mikesplain 9e55b8230a Update copyright notices
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB 10a7f9afb0
Move NTP and misc package initialization to code
Paring down the nodeup portion of gobindata
2019-07-19 07:34:44 -04:00