huhouhua
c41bf2c2ff
fix(kubelet): handle parsing of imageMaximumGCAge and imageMinimumGCAge in kubelet config
...
- add unit tests for image GC duration
- change the string type of the image GC field to metav1.Duration
- remove unnecessary comments
2025-06-30 23:36:29 +08:00
Kubernetes Prow Robot
905f9cf6c9
Merge pull request #16974 from justinsb/cleanup_linter_error_in_test
...
tests: fix linter-detected problem with error handling
2024-12-04 17:45:02 +00:00
justinsb
4a63a118b2
Remove unusued kubernetesVersion from AssetBuilder
...
This field is no longer used, and can be removed.
2024-12-04 08:57:17 -05:00
justinsb
50ce4a902e
tests: fix linter-detected problem with error handling
...
A small cleanup to keep the linter happier.
2024-12-04 08:46:46 -05:00
justinsb
3646a610b1
refactor: Move GetCloudProvider to cluster
...
This lets us use labels (or annotations), meaning we can experiment
with different clouds without changing the API.
We also add initial (experimental/undocumented) support for exposing a "Metal" provider.
2024-08-26 08:20:37 -04:00
Peter Rifel
4418e65232
Migrate nodeup to aws-sdk-go-v2
2024-03-24 18:05:26 -05:00
Ciprian Hacman
3c7e05f335
aws: Set provider ID when starting kubelet
2024-01-05 10:18:48 +02:00
John Gardiner Myers
b3908e592c
Remove support for Kubernetes 1.23
2023-09-03 16:22:18 -07:00
John Gardiner Myers
ed9883651c
Remove references to Openstack ClusterSpec fields from nodeup
2023-07-29 04:42:07 -07:00
John Gardiner Myers
e317648d57
Remove references to control-plane-specific ClusterSpec fields from nodeup
2023-07-28 08:20:43 -07:00
John Gardiner Myers
2420991954
Determine default API access method by IG subnet type
2023-07-18 22:21:05 -07:00
John Gardiner Myers
1358851c7d
Get VFSContext from caller in NewAssetBuilder()
2023-07-18 08:49:06 -07:00
John Gardiner Myers
245cd64a3a
Get VFSContext from caller in LoadChannel()
2023-07-17 21:45:43 -07:00
Kubernetes Prow Robot
ef284b11e5
Merge pull request #14960 from johngmyers/vfscontext
...
Add VFSContext to various clientsets
2023-07-15 14:55:05 -07:00
John Gardiner Myers
f5fc710d6c
Remove references to ClusterSpec from nodeup sysctls.go
2023-07-09 21:11:54 -07:00
John Gardiner Myers
11304807f2
Hold reference to VFSContext from simple.Clientset
2023-07-06 19:41:45 -07:00
John Gardiner Myers
125866792d
Use NodeupConfig for ContainerdConfig
2023-01-02 13:42:11 -08:00
John Gardiner Myers
b4f04a6d13
Simplify test setup
2023-01-02 12:50:24 -08:00
John Gardiner Myers
768299134c
hack/update-expected.sh
2023-01-02 12:50:24 -08:00
John Gardiner Myers
c68be498c6
Refactor NewAssetBuilder to not take a Cluster
2023-01-01 13:37:52 -08:00
Kubernetes Prow Robot
b97662c6a3
Merge pull request #14837 from johngmyers/gce-cloudconfig
...
v1alpha3: Move GCE-specific CloudConfig settings to GCESpec
2022-12-24 22:31:26 -08:00
justinsb
90cbf75584
Context threading: more wiring
...
We're aiming to use this for testing immediately and better
logging/tracing in future, but to make the changes manageable breaking
them into a smaller series that don't directly achieve much.
2022-12-22 17:52:22 -05: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
8f79c9bd68
Replace fi.Bool/Float*/Int*/String() with fi.PtrTo()
2022-11-19 03:45:22 +02:00
Ole Markus With
cd378bff72
Move setting role taints to cloudup
2022-10-18 13:42:00 +02:00
Ole Markus With
950a69857d
Remove usage of cluster kubelet config from nodeup
2022-10-16 21:04:20 +02:00
Ole Markus With
abb9da1ed3
Remove nodeup merge test
...
Merging has happened in cloudup for quite some time
2022-10-16 19:59:48 +02:00
Ole Markus With
a1678ad9bd
Fix stringSliceEqual function when strings are out of order
2022-09-29 10:49:28 +02:00
Ole Markus With
1955a8cef3
Set podManifestPath for nodeup model tests
2022-08-20 15:35:17 +02:00
Ole Markus With
86be353777
Use testhelper for generating test IG
2022-08-20 15:34:22 +02:00
Ole Markus With
d4ea445f24
Remove redundant buildKubeletConfig function
2022-08-20 15:34:22 +02:00
John Gardiner Myers
70f7d9bdb2
Use function to get cloud provider from cluster spec
2022-03-02 21:59:47 -08:00
Ole Markus With
2625264fe5
Add support for graceful node shutdown
...
Update docs/cluster_spec.md
Co-authored-by: Ciprian Hacman <ciprianhacman@gmail.com>
2022-02-11 20:51:02 +01: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
John Gardiner Myers
f4d2cb0437
Rename fields in v1alpha3 keyset API to fit acronym convention
2021-11-22 08:07:55 -08:00
Ole Markus With
820683bba0
Test if update_service behaves as intended
2021-08-10 12:51:44 +02:00
Ole Markus With
c17ec3a7e7
Move containerd config from cloudup to nodeup
2021-07-14 10:28:37 +02:00
John Gardiner Myers
9dbf3479d6
Stop writing the certificate-only keyset.yaml
2021-07-11 11:16:11 -07:00
Kubernetes Prow Robot
73b1bce020
Merge pull request #11975 from johngmyers/refactor-legacy
...
Issue certs using CA KeypairID in NodeupConfig
2021-07-11 01:56:47 -07:00
Kubernetes Prow Robot
a3daff9343
Merge pull request #11971 from johngmyers/rotate-all
...
Add "all" variants of key rotation commands
2021-07-11 00:30:46 -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
d58a19e1bd
Refactor service-account signing key
2021-07-10 17:31:59 -07:00
John Gardiner Myers
5a2aac4cfd
Add "all" variants of key rotation commands
2021-07-10 05:51:31 -07:00
John Gardiner Myers
921d09523e
Rename the "ca" keyset to "kubernetes-ca"
2021-07-03 17:33:13 -07:00
John Gardiner Myers
e1df9f09dd
Refactor service-account public keys
2021-06-27 08:45:06 -07:00
John Gardiner Myers
7e0c6acbad
Take poorly formed keypair out of tests
2021-06-27 08:45:05 -07:00
John Gardiner Myers
1312163edd
Update nodes with an APIServer when APIServer spec changes
2021-06-27 08:45:04 -07:00