Commit Graph

122029 Commits

Author SHA1 Message Date
Matthew Cary
8b6ec70a4a Respect controllers on PVCs for retention policy 2024-06-07 10:56:54 -07:00
Kubernetes Prow Robot
517793856d
Merge pull request #125208 from Dragoncell/fix-gpu-driver-installer
update driver installer
2024-06-06 08:10:16 -07:00
Kubernetes Prow Robot
ed1cda037c
Merge pull request #125306 from gabesaba/automated-cherry-pick-of-#125197-upstream-release-1.30
Cherry pick of #125197: [scheduler] absent key in NodeToStatusMap implies UnschedulableAndUnresolvable
2024-06-05 00:39:53 -07:00
Jiaming Xu
cd73ad187c update driver installer 2024-06-04 23:23:18 +00:00
Gabe
654c085cb1 Don't fill in NodeToStatusMap with UnschedulableAndUnresolvable 2024-06-04 09:04:10 +00:00
Gabe
1ddcf34861 Revert "scheduler: preallocation for NodeToStatusMap"
This reverts commit 9fcd791c01.
2024-06-04 09:02:07 +00:00
Kubernetes Prow Robot
20845d5c0e
Merge pull request #125081 from ardaguclu/automated-cherry-pick-of-#124883-upstream-release-1.30
Automated cherry pick of #124883: kubectl create cronjobs: Manually set OwnerReferences
2024-06-03 19:50:37 -07:00
Kubernetes Prow Robot
4c576aa3c9
Merge pull request #124848 from gabesaba/gated-fix-1.30
cherry pick #124618 to 1.30
2024-06-03 19:50:28 -07:00
Kubernetes Prow Robot
4844fb1876
Merge pull request #124676 from cici37/automated-cherry-pick-of-#124675-upstream-release-1.30
Automated cherry pick of #124675: Adding a deprecating featurer gate to fix cost
2024-06-03 17:53:14 -07:00
Kubernetes Prow Robot
3b70df5ad2
Merge pull request #124563 from atiratree/automated-cherry-pick-of-#123809-upstream-release-1.30
Automated cherry pick of #123809: fix stateful set pod recreation and event spam
2024-06-03 17:53:05 -07:00
Kubernetes Prow Robot
d8abab9610
Merge pull request #125286 from neolit123/automated-cherry-pick-of-#125265-origin-release-1.30
Automated cherry pick of #125265: kubeadm: use the actual configured kubelet healthz
2024-06-03 00:16:07 -07:00
Lubomir I. Ivanov
0df7267723 kubeadm: use the actual configured kubelet healthz address:port
When doing a kubelet health check on init/join, do not
hardcode the "localhost" address. Instead, use the
KubeletConfiguration HealthzBindAddress and HealthzPort
fields.
2024-06-03 08:12:16 +03:00
Kubernetes Prow Robot
be4afb9ef9
Merge pull request #125039 from AxeZhan/automated-cherry-pick-of-#124933-upstream-release-1.30
Automated cherry pick of #124933: base on allNodes when calculating nextStartNodeIndex
2024-05-23 06:32:39 -07:00
Arda Güçlü
398ab938ef kubectl create cronjobs: Manually set OwnerReferences 2024-05-23 12:07:42 +03:00
AxeZhan
42b93b35ba add an integration test when nodeAffinity specifies a non-existent node. 2024-05-22 10:41:21 +08:00
AxeZhan
f73bb17efb base on allNodes when calculating nextStartNodeIndex 2024-05-22 10:41:21 +08:00
Kubernetes Prow Robot
a7f95d39e0
Merge pull request #124802 from seantywork/automated-cherry-pick-of-#124662-upstream-release-1.30
Automated cherry pick of #124662: Updated & added visibility to apiserver x509 test
2024-05-21 00:59:57 -07:00
Kubernetes Prow Robot
279863d081
Merge pull request #124908 from liggitt/automated-cherry-pick-of-#124906-upstream-release-1.30
Automated cherry pick of #124906: Fix printPod panic with spurious container statuses
2024-05-17 10:27:52 -07:00
Jordan Liggitt
a26f2c59e3
Fix printPod panic with spurious container statuses 2024-05-16 11:59:44 -04:00
Kubernetes Prow Robot
5c67fe543e
Merge pull request #124829 from cpanato/update-go-rel-130
[release-1.30] [go] Bump images, dependencies and versions to go 1.22.2 and distroless iptables
2024-05-15 05:35:35 -07:00
Kubernetes Release Robot
85fc475820 Update CHANGELOG/CHANGELOG-1.30.md for v1.30.1 2024-05-14 11:10:45 +00:00
Kubernetes Release Robot
6911225c3f Release commit for Kubernetes v1.30.1 2024-05-14 10:42:02 +00:00
Cici Huang
3d89672476 Adding the feature gates to fix cost for VAP and webhook matchConditions. 2024-05-13 17:34:08 +00:00
Gabe
b762a187f4 cherry pick #124618 to 1.30 2024-05-13 11:04:47 +00:00
Filip Křepinský
1c8b0f697c fix requests tracker concurrency 2024-05-13 11:11:59 +02:00
Filip Křepinský
2956e294c4 fix conflict race in statefulset rest update
statefulset controller does less requests per sync now and thus can
reconcile status faster, thus resulting in a higher chance for conflicts
2024-05-13 11:11:59 +02:00
Filip Křepinský
7d9b913d10 fix stateful set pod recreation and event spam
- do not emit events when pod reaches terminal phase
- do not try to recreate pod until the old pod has been removed from
  etcd storage
2024-05-13 11:11:58 +02:00
Filip Křepinský
a58d4f54cf fix pods tracking and internal error checking in statefulset tests 2024-05-13 11:11:58 +02:00
cpanato
f20b6672b8
[go] Bump images, dependencies and versions to go 1.22.3 and distroless iptables
Signed-off-by: cpanato <ctadeu@gmail.com>
2024-05-12 15:30:58 +02:00
Kubernetes Prow Robot
7cf91cf387
Merge pull request #124794 from jsafrane/1.30-pvlabel-cleanup
1.30: Clean up PersistentVolumeLabel admission plugin
2024-05-11 16:56:16 -07:00
Taehoon Yoon
d8c37e8153 Updated & added visibility to apiserver x509 test certificates expiring this year 2024-05-11 01:18:51 +00:00
Kubernetes Prow Robot
7d9aab80e6
Merge pull request #124415 from pohly/automated-cherry-pick-of-#124289-origin-release-1.30
Automated cherry pick of #124289: e2e node: fix -v support
2024-05-10 16:26:03 -07:00
Jan Safranek
ad1353499e Clean up PersistentVolumeLabel admission plugin
Azure and vSphere cloud providers were removed in v1.30. Remove their usage
from PersistentVolumeLabel admission plugin, otherwise the admission plugin
refuses creation of in-tree AzureDisk or vSphere volume.
2024-05-10 14:24:29 +02:00
Kubernetes Prow Robot
4183998aa0
Merge pull request #124753 from sanposhiho/automated-cherry-pick-of-#124714-upstream-release-1.30
Automated cherry pick of #124714: scheduler: preallocation for NodeToStatusMap
2024-05-10 01:15:15 -07:00
Kubernetes Prow Robot
6c9d03c1b9
Merge pull request #124702 from aojea/automated-cherry-pick-of-#124572-upstream-release-1.30
Automated cherry pick of #124572: tag TrafficDistribution tests to avoid running on
2024-05-10 01:15:06 -07:00
Kubernetes Prow Robot
630266c3cc
Merge pull request #124570 from neolit123/automated-cherry-pick-of-#124503-origin-release-1.30
Automated cherry pick of #124503: kubeadm: check for available nodes during 'CreateJob'
2024-05-10 01:14:57 -07:00
Kubernetes Prow Robot
65921f4ea1
Merge pull request #124497 from neolit123/automated-cherry-pick-of-#124480-origin-release-1.30
Automated cherry pick of #124480: kubeadm: fix bug of kubeletconfig not being downloaded on
2024-05-10 01:14:48 -07:00
Kubernetes Prow Robot
80932fe95b
Merge pull request #124694 from pmalek/backport-124553-to-release-1.30
[backport release-1.30]: fix(api): make LocalObjectReference.Name and HostAlias.IP required (#124553)
2024-05-10 00:00:28 -07:00
Kensei Nakada
42742942f5 scheduler: preallocation for NodeToStatusMap 2024-05-08 13:06:43 +00:00
Antonio Ojea
d17cd6ef75 tag service.spec.TrafficDistribution field as alpha 2024-05-06 12:22:12 +00:00
Antonio Ojea
d379535362 tag TrafficDistribution tests to avoid running on clusters without the feature enabled 2024-05-06 12:22:12 +00:00
Patryk Małek
37e7cbdd3a
fix(api): make LocalObjectReference.Name and HostAlias.IP required (#124553)
* fix(api): LocalObjectReference Name a "" default and make HostAlias.IP required

* chore(api): add LocalObjectReference comment

* chore(api): add omitempty to LocalObjectReference's Name

* chore(api): add kubebuilder:default annotation

* chore(api): ./hack/update-codegen.sh
2024-05-04 21:43:21 +02:00
Lubomir I. Ivanov
1410806d2a kubeadm: check for available nodes during 'CreateJob' preflight
Instead of erroring during the preflight check 'CreateJob'
from "upgrade" commands when there are no schedulable nodes,
show a warning.

This can happen in single node clusters.

Also increase the Job TTL after completion to 20 seconds
to make sure it's more than the timeout what waits
for the Job to complete.
2024-04-26 20:00:56 +03:00
Kubernetes Prow Robot
43a0480e94
Merge pull request #124517 from wojtek-t/automated-cherry-pick-of-#124352-upstream-release-1.30
Automated cherry pick of #124352: Idempotent transformers in scheduler & kcm
2024-04-25 02:58:26 -07:00
Wojciech Tyczyński
e1594967bb Idempotent transformers in scheduler & kcm 2024-04-24 21:57:15 +02:00
Lubomir I. Ivanov
dabc4428f2 kubeadm: fix bug of kubeletconfig not being downloaded on upgrade
During upgrade apply we had logic to download the kubelet and
kubeproxy configs from the cluster as part of the call to:
  FetchInitConfigurationFromCluster()

With the introduction of UpgradeConfiguration there was
some refactor in this area and the function no longer
had the argument skipComponentConfigs set to false.

It is set to 'true', an InitConfiguration is downloaded
but it would contain empty / defaulted component configs.

- Set the argument to 'false'
- Perform minor cleanup of STDOUT messages and comments.
that were missed in 1.30.
2024-04-24 10:36:25 +03:00
Patrick Ohly
7e5e4c3f61 e2e framework: configure Ginkgo logger and klog consistently
Even if the textlogger which writes to Ginkgo is installed as the logger in
klog, klog still does some verbosity checks itself (for example,
klog.V().Enabled).

Therefore the framework has to keep the verbosity settings in the textlogger
and in klog consistent. This is done by wrapping the Set call instead of
replacing it.
2024-04-19 18:27:56 +02:00
Patrick Ohly
6bb6b07b18 e2e node: fix -v support
Since 43539c855f (first released in
v1.30.0-alpha.2), the test/e2e/framework manages -v and -vmodule and uses them
for a logger which writes to the Ginkgo output stream.

This did not work for test/e2e_node, because:
- logs.AddFlags(pflag.CommandLine) registers its own -v and -vmodule flags
- pflag.CommandLine.AddGoFlagSet(flag.CommandLine) skips the corresponding
  flags in the flag.CommandLine
- pflag.Parse() initializes the settings in the "logs" package even though
  those are not used at runtime

The solution is to not use the "logs" package.
2024-04-19 18:27:56 +02:00
Kubernetes Prow Robot
e7178656ad
Merge pull request #124371 from soltysh/automated-cherry-pick-of-#123893-#124193-upstream-release-1.30
Automated cherry pick of #123893: kube_codegen: expose applyconfig-openapi-schema flag for
#124193: Update applyconfig-gen for pacakges where group and dir
2024-04-19 04:49:27 -07:00
Maciej Szulik
4d1dd9cd07
Update applyconfig-gen for pacakges where group and dir differ in name
It is possible that package paths might differ from the group name, see
https://github.com/openshift/api/blob/master/operatorcontrolplane/v1alpha1/doc.go
notice that pacakge name is `operatorcontrolplane` whereas the group is
`controlplane.operator...`. This confuses the generator since it tries
to extrapolate the name of the package based on the group name. Whereas
the ImportTracker can properly recognize the import path. This leads to
cyclical imports in packages where the group name is different from the
actual import path.
2024-04-18 14:22:46 +02:00