Commit Graph

110078 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
6c9c9ff851
Merge pull request #110717 from kerthcet/poc/ca-detector
Add Framework interface detectors in scheduler
2022-08-23 16:04:55 -07:00
Kubernetes Prow Robot
799a06a0b3
Merge pull request #110454 from ardaguclu/openapi-for-patch-evaluation
Use OpenAPI to determine patch type in kubectl apply patching
2022-08-23 16:04:48 -07:00
Kubernetes Prow Robot
052bfc35b2
Merge pull request #110390 from major1201/fix_kubelet_test
fix defer in loop and optimize test cases with explicit field name
2022-08-23 16:04:37 -07:00
Kubernetes Prow Robot
7424098eaf
Merge pull request #109945 from bells17/fix-error-message
Fix error message
2022-08-23 16:04:26 -07:00
Kubernetes Prow Robot
bccb185739
Merge pull request #109884 from qzoscar/patch-1
fix a broken link
2022-08-23 16:04:15 -07:00
Kubernetes Prow Robot
17dd76f5d4
Merge pull request #108832 from waynepeking348/fix_bugs_of_container_cpu_shares
fix bugs of container cpu shares when cpu request set to zero
2022-08-23 16:04:03 -07:00
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
Davanum Srinivas
9bbf01bae9
Remove references to openstack and cinder
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-08-22 16:43:14 -04:00
Davanum Srinivas
d206d7f0a6
drop gophercloud/gophercloud from vendor/
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-08-22 16:43:14 -04: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
Kensei Nakada
1538bbd73d fix(scheduler): split scheduleOne into two functions for schedulingCycle and bindingCycle 2022-08-19 14:09:18 +00:00
zhoumingcheng
b092dafa67 add unit test for /staging/src/k8s.io/kubectl/pkg/util/storage
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com>
2022-08-19 16:58:07 +08:00
Antonio Ojea
8d7264fb8e regression test for exponential recursion bug on CRDs 2022-08-19 09:43:17 +02:00
leilei.wan.cn
aef47c3c3b not reset when exempt pl panic 2022-08-19 10:23:55 +08: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
Antoni Zawodny
e3ccfb128d Bump prometheus/client_golang to v1.12.2 2022-08-18 13:57:22 +02:00
Antoni Zawodny
a8fb0cab49 Add a possibility of setting GODEBUG env var for kube-apiserver binary 2022-08-18 11:19:52 +02:00
Mikko Ylinen
3128b1a773 e2e: use user provided timeout in WaitForPodsWithLabelRunningReady
The WaitFor* refactoring in 07c34eb400 had an oversight what timeout parameter
is used for calling WaitForAllPodsCondition() in WaitForPodsWithLabelRunningReady()
so the calls to WaitForPodsWithLabelRunningReady() ended up ignoring the user
provided timeout. Fix that.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-08-18 12:05:06 +03: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
Matthew Wong
a322a708f3 Fix PVC nil pointer dereference during migration-enabled volume expand 2022-08-17 11:32:22 -07: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
lojies
89fdd8858b code cleanup: omit comparison to bool constant 2022-08-17 14:46:32 +08:00
Kubernetes Release Robot
619f1cf552 CHANGELOG: Update directory for v1.25.0-rc.1 release 2022-08-16 17:35:00 +00:00
Han Kang
6c451da127 add counter metric for dashpole
Change-Id: I4a235c0d8b936da960cf5ce25cdd992e94130391
2022-08-16 09:19:26 -07:00
Ashutosh Kumar
08bd22670f incorporate review comments
Signed-off-by: Ashutosh Kumar <sonasingh46@gmail.com>
2022-08-16 21:28:58 +05:30
ialidzhikov
7c8a151faa pkg/scheduler: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-08-16 08:39:18 +03: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
wanlei
22b0be9842
fix(apf): not reset apf when panic 2022-08-15 10:38:50 +08:00
ialidzhikov
f2bc2ed2da pkg/proxy: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-08-14 18:27:33 +03:00
ialidzhikov
76bf5a41cf cmd/kubeadm: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-08-14 12:49:45 +03:00
tianyang ni
8310c8f6cc fix(typo): remove extra " from autoscaling doc string
Signed-off-by: tianyang ni <tianzong48@gmail.com>
2022-08-13 22:51:28 +08:00
Han Kang
822c52c220 address comments
Change-Id: I9c9854b8bb3221e4791c70f566361bd0421061c1
2022-08-12 18:11:02 -07: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
Han Kang
895c80be2a add metrics for health checks (for later use in apiserver)
Change-Id: I0dff11cc298c4960ae6620004a071ef6a62ddc9a
2022-08-12 06:21:44 -07:00
kidddddddddddddddddddddd
b5f0c34ef1 replace os.Exit with FlushAndExit 2022-08-12 17:34:13 +08:00
Wei Huang
a07e27082a
Fix potential context leaking in scheduler 2022-08-11 22:22:40 -07:00
Wei Huang
469e63eb5b
[sched] Add more retriable errors 2022-08-11 20:48:20 -07:00
Alvaro Aleman
b285beeb3e
Apimachinery meta errors: Support errors.Is and error wrapping
Currently, the errors in the pkg/api/meta package don't work correctly
with the stdlibs `errors.Is` because they do not implement an `Is`
method, which makes the matching fall through to use reflect to check
for equality. This change fixes that and as a side-effect also adds
support to match on wrapped errors.
2022-08-11 18:50:51 -04: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
SataQiu
25a81a7514 kube-proxy: optimize the format of the flag usage string 2022-08-11 19:37:25 +08:00