Ciprian Hacman
d29812fc6e
Replace fi.Bool/Float*/Int*/StringValue() with fi.ValueOf
2022-11-19 03:45:23 +02:00
Ciprian Hacman
8f79c9bd68
Replace fi.Bool/Float*/Int*/String() with fi.PtrTo()
2022-11-19 03:45:22 +02:00
John Gardiner Myers
8473e8b2e7
Stop making MasterInternalName configurable
2022-11-16 22:06:02 -08:00
John Gardiner Myers
0e981b1728
Remove dead code
2022-11-15 12:40:43 -08:00
Ciprian Hacman
f30f9e92d9
azure: Use chrony instead of timesyncd
2022-11-08 22:30:34 +02:00
Ole Markus With
950a69857d
Remove usage of cluster kubelet config from nodeup
2022-10-16 21:04:20 +02:00
justinsb
9bb1d3e114
Configuration file for kube-scheduler
...
We generate a kube-scheduler configuration file in the kops CLI, and
nodeup will use it if provided (instead of generating one).
We put the configuration file into the fileAssets.
Users can provide a kube-scheduler configuration in additional
objects, and this will be used as the base configuration (we add the
kubeconfig path).
Issue #13352
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
2022-08-03 09:51:05 -04:00
Ciprian Hacman
b5f14b589b
Add initial support for Hetzner Cloud
2022-05-09 06:12:15 +03: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
ea7df00719
Run hack/update-gofmt.sh
2021-12-01 22:39:50 +02:00
Ole Markus With
91b40385e6
Remove redundant evaluation of hostnameOverride
...
The override is already resolved in upup/pkg/fi/nodeup/command.go
2021-11-30 11:22:02 +01:00
Brandon
4bc48fc7b6
use metadata to retrieve instance hostname in nodeup
2021-11-26 19:24:04 -06:00
John Gardiner Myers
b9ac79ec6e
Rename fields in v1alpha3 networking API to fit acronym convention
2021-11-22 08:07:55 -08: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
John Gardiner Myers
0fd4dca30e
Remove dead code
2021-10-02 20:58:55 -07:00
Ole Markus With
f5fed2a08d
Move nvidia config under containerd
2021-09-05 20:28:07 +02:00
Ole Markus With
4ab75b01cb
Have instances learn about their GPU capabilities
2021-09-05 20:09:04 +02:00
Ole Markus With
2d013e460c
Install nvidia container runtime
2021-09-05 20:09:04 +02:00
John Gardiner Myers
be8933b577
Remove code for unsupported features
2021-08-28 13:49:55 -07:00
John Gardiner Myers
6655022ce1
Remove support for the Lyft CNI
2021-08-28 11:54:39 -07:00
John Gardiner Myers
3ae5413f63
Use keypair IDs for non-kops-controller-issued worker node certs
2021-07-15 14:04:48 -07:00
John Gardiner Myers
191df58267
Verify CA keypair IDs for kops-controller-issued certs
2021-07-14 08:15:28 -07:00
John Gardiner Myers
68041a4f73
Issue certs using CA KeypairID in NodeupConfig
2021-07-10 23:23:12 -07:00
John Gardiner Myers
6ddccf5f79
Refactor some users of FindPrimaryKeypair
2021-07-10 23:23:12 -07:00
John Gardiner Myers
6f06661a68
Use narrower interface type
2021-07-10 23:23:12 -07:00
John Gardiner Myers
a33a30a859
Refactor out some legacy interfaces
2021-07-10 23:23:12 -07:00
John Gardiner Myers
6846ef3a80
Fix function comment
...
Co-authored-by: Ole Markus With <olemarkus@gmail.com>
2021-07-09 23:50:02 -07:00
John Gardiner Myers
c35d101a89
Refactor keysets for etcd-manager
2021-07-08 18:46:03 -07:00
John Gardiner Myers
1312163edd
Update nodes with an APIServer when APIServer spec changes
2021-06-27 08:45:04 -07:00
John Gardiner Myers
5de6d16e76
Catch calls to GetBootstrapCert from control plane
2021-06-26 00:04:52 -07:00
John Gardiner Myers
2faf28379a
Refactor etcd-client-cilium secrets
2021-06-25 23:57:23 -07:00
John Gardiner Myers
1752f0f4db
Move most of nodeup.Config out of userdata
2021-06-25 22:25:49 -07:00
John Gardiner Myers
c132ae1520
Move fields from AuxConfig to nodeup.Config
2021-06-25 18:41:29 -07:00
John Gardiner Myers
a83bf7b20f
Mark nodes NeedsUpdate when keys they use change
2021-06-21 19:37:23 -07:00
Ciprian Hacman
904f21cd77
Remove previous implementation of pre-pulling container images
2021-06-20 23:01:52 +02:00
John Gardiner Myers
c337d217ba
Refactor kops-controller to use FindPrimaryKeypair and use consistent filenames
2021-06-19 10:56:29 -07:00
John Gardiner Myers
6b9aebae88
Include multiple CA certificates in bootstrap kubeconfigs
2021-06-19 10:56:29 -07:00
John Gardiner Myers
b45c0b4489
Remove InstanceGroup from NodeupModelContext
2021-06-03 21:27:01 -07:00
John Gardiner Myers
2e1629c610
Introduce nodeup.AuxConfig
2021-06-03 20:37:22 -07:00
Ole Markus With
df2f66e1e5
Make API servers provision themselves.
...
API servers also have access to secret store, so there is no need to go through kops-controller.
This lets API server only depend on etcd from the CP nodes, which should make it easier to scale out API servers under pressure
2021-04-23 06:59:15 +02:00
Ole Markus With
df4f429ceb
Apply suggestions from code review
...
Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
2021-04-19 07:25:42 +02:00
Ole Markus With
af92896dc7
Don't start kubelet if we are warming
2021-04-14 11:05:50 +02:00
Ciprian Hacman
1737925c44
Replace k8s.io/utils/mount with k8s.io/mount-utils
2021-04-14 07:01:43 +03:00
Ole Markus With
bd731ce989
Use secure kubelet auth
...
Without secure node auth enabled, commands like `kubectl logs` may fail
with certain configurations.
Previously, we checked if anonymousAuth was enabled on the kubelet
before securing node communication, but this isn't really relevant. We
can still authenticate even if anonymous access is allowed.
2021-04-13 08:59:39 +02:00
Ole Markus With
20bd724f5e
Add support for scaling out the control plane with dedicated apiserver nodes
...
Ensure apiserver role can only be used on AWS (because of firewalling)
Apply api-server label to CP as well
Consolidate node not ready validation message
Guard apiserver nodes with a feature flag
Rename Apiserver role to APIServer
Add an integration test for apiserver nodes
Rename Apiserver role to APIServer
Enumerate all roles in rolling update docs
Apply suggestions from code review
Co-authored-by: Steven E. Harris <seh@panix.com>
2021-03-20 20:57:00 +01:00
Peter Rifel
b57318fc3d
Download kubectl to /opt/kops/bin on Flatcar OS
...
Also add it to protokube's PATH.
Our flatcar job is currently failing because channels arent being applied.
A newly added error log reports that kubectl isn't in protokube's PATH.
This adds the kubectl's location (/opt/bin) to protokube's PATH.
See https://storage.googleapis.com/kubernetes-jenkins/logs/e2e-kops-aws-distro-imageflatcar/1371379886664454144/artifacts/54.206.100.130/protokube.log
2021-03-18 22:26:38 -05:00
Ole Markus With
4d2eca199f
Remove node-authorization
2021-01-11 18:59:45 +01:00
Ciprian Hacman
c36262009b
Install container runtime packages as assets - Code Review 1
2020-10-23 11:05:41 +03:00
Ciprian Hacman
852bebe165
Install container runtime packages as assets - Misc
2020-10-14 15:41:51 +03:00
Justin SB
2be21562a9
Support writing a full certificate chain
...
This means that our https endpoint will serve the ca.crt as well.
2020-08-25 11:09:04 -04:00