Commit Graph

109944 Commits

Author SHA1 Message Date
Yuan Chen
974a41e55a Replace pod key with KObj(pod) in scheduler cache error msg
Add back pod key in scheduler cache

Add additional changes

Change podInfo to pod
2022-08-23 15:08:48 -07:00
Kubernetes Release Robot
773a2aa5a6 CHANGELOG: Update directory for v1.25.0 release 2022-08-23 18:41:25 +00:00
Kubernetes Prow Robot
a1128e380c
Merge pull request #111428 from lzhecheng/skip-instance-not-found
Azure: Skip "instance not found" error for LB backend address pools
2022-08-21 19:33:38 -07:00
Kubernetes Prow Robot
d581cc90ad
Merge pull request #111918 from liggitt/in-tree-auth
Restore in-tree credential plugins for 1.25
2022-08-18 12:36:09 -07:00
Jordan Liggitt
68758fc5c5 Update removal warnings to 1.26 2022-08-18 14:17:56 -04:00
Jordan Liggitt
79c09f0b31 update-gofmt 2022-08-18 14:17:31 -04:00
Jordan Liggitt
651b4f5b64 Revert "Remove gcp and azure auth plugins"
This reverts commit 916cf16cf1.
2022-08-18 14:16:23 -04:00
Kubernetes Release Robot
58c10aa6eb CHANGELOG: Update directory for v1.24.4 release 2022-08-17 23:07:54 +00:00
Kubernetes Release Robot
776cff3915 CHANGELOG: Update directory for v1.23.10 release 2022-08-17 22:20:27 +00:00
Kubernetes Release Robot
5b2362e5b9 CHANGELOG: Update directory for v1.22.13 release 2022-08-17 21:19:13 +00:00
Kubernetes Prow Robot
ae62cd6ce2
Merge pull request #111896 from deads2k/revert-compression-disable
Revert "Add an option to conditionally disable compression based on client ip."
2022-08-17 13:28:47 -07:00
David Eads
2f3ffbed2c Revert "Add an option to conditionally disable compression based on client ip."
This reverts commit 023583a155.
2022-08-17 15:08:39 -04:00
Kubernetes Prow Robot
93054957c1
Merge pull request #111859 from omertuc/fixparallelclosure2
Fix failing `test/e2e/storage/csi_mock_volume.go` test
2022-08-17 09:09:11 -07:00
Omer Tuchfeld
44a59710ea Fix failing test/e2e/storage/csi_mock_volume.go test
Followup on https://github.com/kubernetes/kubernetes/pull/111846. This
particular test was left out from that PR because once it was enabled it
started failing. It was desired to merge
https://github.com/kubernetes/kubernetes/pull/111846 irrespective of
this particular test.

The failure in the test was caused due to the
`createFSGroupRequestPreHook` mock CSI driver hook function assuming
that the request object passed to it is an instance of the respective
struct, but it's actually a pointer instead. This resulted in the hook
function not fulfilling its purpose, and the so the test failed.
2022-08-17 14:38:45 +02:00
Kubernetes Release Robot
619f1cf552 CHANGELOG: Update directory for v1.25.0-rc.1 release 2022-08-16 17:35:00 +00:00
Kubernetes Prow Robot
d5fdf3135e
Merge pull request #111846 from omertuc/fixparallelclosure
Fix capture loop vars in parallel or ginkgo tests
2022-08-15 11:51:55 -07:00
Omer Tuchfeld
eb317ecd40 Fix capture loop vars in parallel or ginkgo tests
Fixes instances of #98213 (to ultimately complete #98213 linting is
required).

This commit fixes a few instances of a common mistake done when writing
parallel subtests or Ginkgo tests (basically any test in which the test
closure is dynamically created in a loop and the loop doesn't wait for
the test closure to complete).

I'm developing a very specific linter that detects this king of mistake
and these are the only violations of it it found in this repo (it's not
airtight so there may be more).

In the case of Ginkgo tests, without this fix, only the last entry in
the loop iteratee is actually tested. In the case of Parallel tests I
think it's the same problem but maybe a bit different, iiuc it depends
on the execution speed.

Waiting for the CI to confirm the tests are still passing, even after
this fix - since it's likely it's the first time those test cases are
executed - they may be buggy or testing code that is buggy.

Another instance of this is in `test/e2e/storage/csi_mock_volume.go` and
is still failing so it has been left out of this commit and will be
addressed in a separate one
2022-08-15 16:28:50 +02:00
Kubernetes Prow Robot
132f29769d
Merge pull request #111697 from thockin/master
Docs: node-port-range should not overlap ephemeral
2022-08-12 13:44:32 -07:00
Kubernetes Prow Robot
7b1b801295
Merge pull request #111773 from amewayne/fix_mem_leak_in_preemption
fix a memory leakage problem when calling DryRunPreemption
2022-08-11 08:36:58 -07:00
Kubernetes Prow Robot
f5956716e3
Merge pull request #111786 from jeremyrickard/publishing-release-125
staging/publishing: add release-1.25 branch
2022-08-10 11:16:25 -07:00
Kubernetes Prow Robot
3b945fd77d
Merge pull request #111746 from RomanBednar/retro-sc-assignment-int
Add integration test for Retroactive default StorageClass assignement
2022-08-10 09:04:25 -07:00
Jeremy Rickard
ac1d38b750
Add missing codegen rule
Signed-off-by: Jeremy Rickard <jeremyrrickard@gmail.com>
2022-08-10 09:02:35 -06:00
Kubernetes Prow Robot
518e0aca6f
Merge pull request #111784 from deads2k/fix-cleaner
Revert "enforce strict alpha handling for API serving"
2022-08-10 07:52:30 -07:00
Jeremy Rickard
3d2ffc5287
Add publishing bot rules for 1.25 2022-08-10 08:27:41 -06:00
David Eads
696e41a698 Revert "enforce strict alpha handling for API serving"
This reverts commit 233e0cb8c3.
2022-08-10 09:42:37 -04:00
amewayne
1457ad548c fix a memory leak problem when calling DryRunPreemption 2022-08-10 12:02:27 +08:00
Kubernetes Release Robot
a38bb7ed81 CHANGELOG: Update directory for v1.25.0-rc.0 release 2022-08-09 22:36:19 +00:00
Kubernetes Prow Robot
d1a9a77280
Merge pull request #111770 from cici37/testForCelBeta
[test] Remove feature to enable e2e tests
2022-08-09 14:48:38 -07:00
Kubernetes Prow Robot
3e396dbac5
Merge pull request #111657 from aojea/hc_nodeport
document that services healthcheckNodePort is inmutable once set
2022-08-09 13:20:39 -07:00
Cici Huang
00ca624362 Remove feature 2022-08-09 19:23:27 +00:00
Kubernetes Prow Robot
42a5eb4818
Merge pull request #111748 from zhaodiaoer/check-nil-InstanceMetadata
Prevent panic in cloud-provider
2022-08-09 07:00:50 -07:00
Roman Bednar
77d904f053 add integration tests for retroactive SC assignment
Also stress tested for ~2 hours to minimize possible races:

$ stress ./volume.test  -test.run=TestRetroactiveStorageClassAssignment
...
1h59m50s: 3198 runs so far, 0 failures
1h59m55s: 3200 runs so far, 0 failures
2h0m0s: 3201 runs so far, 0 failures
2h0m5s: 3202 runs so far, 0 failures
2022-08-09 15:22:38 +02:00
Kubernetes Prow Robot
f0bd02ca5e
Merge pull request #111346 from piotrnosek/hpa-tests-2
Add e2e HPA Behavior tests: scale up/down limited by number of Pods / min, scale up/down limited by percentage / min
2022-08-09 03:14:50 -07:00
Kubernetes Prow Robot
a837be03ff
Merge pull request #111751 from dobsonj/issue111740
Fix flaky CSIInlineVolumes e2e test (issue 111740)
2022-08-08 19:54:49 -07:00
Kubernetes Prow Robot
25a3274a4f
Merge pull request #111440 from verb/111025-ec-conformance
Promote Ephemeral Containers e2e test to Conformance
2022-08-08 15:35:57 -07:00
Kubernetes Prow Robot
0d9aaf1bca
Merge pull request #111749 from endocrimes/dani/dbus-restart-test
node_e2e: add a dbus restart test
2022-08-08 14:27:57 -07:00
Jonathan Dobson
645f667376 Fix flaky CSIInlineVolumes e2e test (issue 111740) 2022-08-08 12:54:11 -06:00
Danielle Lancashire
e8442054fe node_e2e: add a dbus restart test 2022-08-08 16:56:13 +00:00
zhaodiaoer
fd67e04d70
Prevent panic in cloud-provider
Prevent panic when cloud-provider InstancesV2.InstanceMetadata
        returns (nil,nil)

Signed-off-by: zhaodiaoer <ddaaren@gmail.com>
2022-08-08 22:15:51 +08:00
Kubernetes Prow Robot
759785ea14
Merge pull request #109090 from sarveshr7/multicidr-rangeallocator
Enhance NodeIPAM to support multiple ClusterCIDRs
2022-08-07 15:40:18 -07:00
Kubernetes Prow Robot
985c9202cc
Merge pull request #110182 from kerthcet/cleanup/remove-potential-goroutine-leak-in-metric-recorder
Remove potential goroutine leak in testing framework
2022-08-05 19:14:17 -07:00
Sarvesh Rangnekar
1473e13d1b Add integration test for multi cluster cidr 2022-08-06 00:11:06 +00:00
Sarvesh Rangnekar
5b801ba9f9 Introduce MultiCIDRRangeAllocator
MultiCIDRRangeAllocator is a new Range Allocator which makes using
multiple ClusterCIDRs possible. It consists of two controllers, one for
reconciling the ClusterCIDR API objects and the other for allocating
Pod CIDRs to the nodes.

The allocation is based on the rules defined in
https://github.com/kubernetes/enhancements/tree/master/keps/sig-network/2593-multiple-cluster-cidrs
2022-08-06 00:10:39 +00:00
Kubernetes Prow Robot
64ed914545
Merge pull request #111258 from dobsonj/kep-596-ga-feature-flag
KEP-596: Move CSIInlineVolume feature to GA
2022-08-05 13:54:30 -07:00
Kubernetes Prow Robot
137439194d
Merge pull request #111721 from alculquicondor/fix-delete-expectations
Fix deleting UIDs tracking expectations
2022-08-05 12:07:25 -07:00
Kubernetes Prow Robot
11d4cb52f2
Merge pull request #111693 from kinvolk/rata/userns-support-2022
volume: FeatureGate access to GetHostIDsForPod()
2022-08-05 09:37:48 -07:00
Aldo Culquicondor
c1e0dac461 Fix deleting UIDs tracking expectations
Change-Id: I5dad644cf5cb232ebed0950a14b35a781a38eeb0
2022-08-05 12:37:31 -04:00
kerthcet
97e3e50493 Remove potential goroutine leak in NewFramework
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-08-06 00:05:22 +08:00
Antonio Ojea
5ec9d4a530 doc services healthcheckNodePort is inmutable 2022-08-05 11:51:50 +02:00
Sarvesh Rangnekar
02d944d046 Add a priority queue to implement MultiCIDR tie-breaks
The Priority is determined as follows:
P0: ClusterCIDR with higher number of matching labels has highest
priority.
P1: ClusterCIDR having cidrSet with fewer allocatable Pod CIDRs has
higher priority.
P2: ClusterCIDR with a PerNodeMaskSize having fewer IPs has higher
priority.
P3: ClusterCIDR having label with lower alphanumeric value has higher
priority.
P4: ClusterCIDR with a cidrSet having a smaller IP address value has
higher priority.
2022-08-05 01:06:43 +00:00