Commit Graph

113560 Commits

Author SHA1 Message Date
Artem Minyaylov
d2dd415f00 Add option to limit the number of concurrent mkfs calls 2023-02-06 14:27:57 -08:00
Artem Minyaylov
f573e14942 Update k8s.io/utils to latest version
Update all usages of FakeExec to pointer to avoid copying the mutex
2023-02-04 11:05:22 -08:00
Kubernetes Prow Robot
0e3818e027
Merge pull request #115515 from dgrisonnet/scrape-and-compare
Add wrapper around ScrapeAndCompare
2023-02-03 13:46:29 -08:00
Kubernetes Prow Robot
1ded677b2a
Merge pull request #114894 from dipankardas011/validate-admission-policy-error-handling
Added error handling in ValidateAdmissionPolicy
2023-02-03 12:14:30 -08:00
Damien Grisonnet
c5774a703d component-base: add ScrapeAndCompare wrapper
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2023-02-03 20:35:52 +01:00
Kubernetes Prow Robot
c34ddb5054
Merge pull request #115485 from SergeyKanzhelev/epmeneralContainersQoS
small comment the ephemeral containers are not accounted for the QoS …
2023-02-03 08:46:29 -08:00
pwschuurman
7bf175d5a2
Add integration tests for StatefulSetStartOrdinal feature (#115466)
* Add integration tests for StatefulSetStartOrdinal feature

* Move expensive test setup (apiserver and running controller) to be run once in StatefulSetStartOrdinal parameterized tests
2023-02-03 05:26:29 -08:00
Kubernetes Prow Robot
7a55b76f28
Merge pull request #115503 from princepereira/ppereira-kubeproxy-ipv6-master
[#115501] Fix for issue with missing Loadbalancer policies for IPV6 endpoints in Dualstack mode.
2023-02-02 23:46:27 -08:00
Prince Pereira
5eb6f82c1a [Issue:#115501] Fix for issue with Loadbalancer policy creation for IPV6 endpoints in Dualstack mode. 2023-02-03 11:14:20 +05:30
Kubernetes Prow Robot
49ddc510bc
Merge pull request #115488 from liggitt/lint
Add golang.org/x/lint to unwanted dependencies
2023-02-02 15:18:42 -08:00
Jordan Liggitt
1e4a032a34
Add golang.org/x/lint to unwanted dependencies 2023-02-02 17:12:23 -05:00
Kubernetes Prow Robot
5fd9a7abca
Merge pull request #115484 from soltysh/image_version
Don't explicitly set image version in tests
2023-02-02 12:52:49 -08:00
Kubernetes Prow Robot
d3a62dcb76
Merge pull request #114351 from ruiwen-zhao/event_ignore_nil
[Evented PLEG] Ignore container events with nil PodSandboxStatus
2023-02-02 12:52:42 -08:00
Kubernetes Prow Robot
0ebf9a3a1b
Merge pull request #115434 from ehashman/requests-limits-ratio-docs
Document relationship between requests/limits
2023-02-02 11:02:53 -08:00
Kubernetes Prow Robot
9812eefd43
Merge pull request #115377 from liggitt/go-version
Fetch go version using gimme if needed
2023-02-02 11:02:41 -08:00
Sergey Kanzhelev
b517d640a4 small comment the ephemeral containers are not accounted for the QoS calculation 2023-02-02 18:21:39 +00:00
Maciej Szulik
8b48ff3584
Don't explicitly set image version in tests
Image versions are already explicitly set in our manifests
configuration, so tests should not be setting these values
to ensure we're using the same versions across the board.
2023-02-02 19:06:00 +01:00
Kubernetes Prow Robot
ae23b0c11b
Merge pull request #115111 from kannon92/strategy-coverage-increase
increasing coverage from 78% to 94% for strategy.go for batch/job
2023-02-02 07:58:41 -08:00
Kubernetes Prow Robot
05121454ba
Merge pull request #115455 from dgrisonnet/verb
Rename "method" label to "verb" in rest_client_requests_total
2023-02-02 06:35:31 -08:00
Damien Grisonnet
c9944709bc restclient: rename "method" label to "verb"
Verb is the commonly used label when referring to HTTP verbs.
rest_client_requests_total is the only metric in the rest package using
`method` instead of `verb` which makes it inconsistent and confusing.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2023-02-02 14:09:21 +01:00
Kubernetes Prow Robot
fc7b25cf72
Merge pull request #113104 from pawbana/add-workers-to-cloud-controller-manager
Added workerCount flag to node controller in cloud controller manager
2023-02-01 19:21:28 -08:00
Max Smythe
0ed74145fb
make CEL admission controller code consumable (#115412)
* Make policy decision object public

Signed-off-by: Max Smythe <smythe@google.com>

* Separate version conversion from validation

Signed-off-by: Max Smythe <smythe@google.com>

* Address review comments

Signed-off-by: Max Smythe <smythe@google.com>

* Fix variable name

Signed-off-by: Max Smythe <smythe@google.com>

---------

Signed-off-by: Max Smythe <smythe@google.com>
2023-02-01 17:29:30 -08:00
Kubernetes Prow Robot
d475085776
Merge pull request #114439 from alexzielenski/apiserver/smd/conversion-smaller
add direct construction of TypeConverter from OpenAPI
2023-02-01 14:51:35 -08:00
Jordan Liggitt
fa66ec647d
Invoke gimme from kube::golang::verify_go_version
Defaults to ensuring .go-version is used
Override the go version by setting GO_VERSION=1.x
Force using the host go version with FORCE_HOST_GO=y
2023-02-01 17:03:30 -05:00
Jordan Liggitt
f6bb29c2d2
Add gimme 2023-02-01 16:34:23 -05:00
Jordan Liggitt
7cc6b724ab
Defer builds to test-cmd and test-integration targets 2023-02-01 15:35:14 -05:00
Kubernetes Prow Robot
f97d14c6c8
Merge pull request #115453 from sarveshr7/multicidr-tests
Add integration tests for MultiCIDRRangeAllocator
2023-02-01 12:21:45 -08:00
Kubernetes Prow Robot
d415647739
Merge pull request #115441 from bobbypage/busybox-mirror-test
test: Use preloaded busybox image in mirror pod test
2023-02-01 12:21:36 -08:00
Alexander Zielenski
ac21010134 add "object" type to list schema openapi
to not include a type for v3 means it can be treated as a list
2023-02-01 11:13:20 -08:00
Alexander Zielenski
0c0f524318 add openapi typeconverter 2023-02-01 11:13:20 -08:00
Kubernetes Prow Robot
200220ccef
Merge pull request #113534 from pacoxu/ControllerManagerLeaderMigration
remove FG ControllerManagerLeaderMigration
2023-02-01 09:35:09 -08:00
Paweł Banaszewski
197683f347 Fixed ConcurrentNodeSyncs option validation 2023-02-01 15:35:14 +00:00
Paweł Banaszewski
0816394e63 Renamed WorkerCount option in node controller to ConcurrentNodeSyncs 2023-02-01 15:35:13 +00:00
Paweł Banaszewski
ceb6a4ebf9 Changed flag name to node-controller-worker-count 2023-02-01 15:35:13 +00:00
Paweł Banaszewski
528f41490c Update staging/src/k8s.io/cloud-provider/options/nodecontroller.go
Co-authored-by: Jiahui Feng <jhf@google.com>
2023-02-01 15:35:13 +00:00
Paweł Banaszewski
446b0051dd Update staging/src/k8s.io/cloud-provider/options/nodecontroller.go
Co-authored-by: Jiahui Feng <jhf@google.com>
2023-02-01 15:35:13 +00:00
Paweł Banaszewski
fea0667c5e Added workerCount flag to cloud controller manager 2023-02-01 15:35:13 +00:00
Kubernetes Prow Robot
b1667918bc
Merge pull request #115424 from songxiao-wang87/runwxs-test11
Make docs more accurate for the contention-profiling flag
2023-02-01 07:25:20 -08:00
Kubernetes Prow Robot
a94caec59c
Merge pull request #114605 from mochizuki875/feature_114546
Fix: Pod terminating stuck because of trying to umount not actual mounted dir
2023-02-01 07:25:08 -08:00
Sarvesh Rangnekar
c791d69b3e Fix the nodeSelector key creation mechanism
Fixes the issue caused when multile ClusterCIDR objects have the same
nodeSelector values, order of the requirements in the nodeSelector is
not preserved when nodeSelector is marshalled and converted to a string.
2023-02-01 13:48:07 +00:00
Sarvesh Rangnekar
9875c1b661 Add integration tests for MultiCIDRRangeAllocator
Adds integration tests for the following scenarios with
MultiCIDRRangeAllocator enabled:
- ClusterCIDR is released when an associated node is deleted.
- ClusterCIDR delete when a node is associated, validate the finalizer
  behavior, make sure that deleted ClusterCIDR is cleaned up after the
  associated node is deleted.
- ClusterCIDR marked as terminating due to deletion must not be used for
  allocating PodCIDRs to new nodes.
- Tie break behavior when multiple ClusterCIDRs are eligible to
  allocate PodCIDRs to a node.
2023-02-01 13:48:07 +00:00
Kubernetes Prow Robot
36450ee422
Merge pull request #115423 from pohly/scheduler-perf-goroutine-leak
scheduler perf: goroutine leak
2023-02-01 04:51:06 -08:00
Patrick Ohly
a7f658e442 test/integration: fix Broadcaster leak
When starting a scheduler, the event broadcaster for it wasn't stopped.
2023-02-01 12:42:50 +01:00
Kubernetes Prow Robot
3a4cef70f2
Merge pull request #115445 from bobbypage/gh-115381
test: Fix node e2e device plugin flake
2023-02-01 02:55:06 -08:00
Kubernetes Prow Robot
bb7c9739a3
Merge pull request #114759 from my-git9/chore/k8staint
chore: add k8s node-role.kubernetes.io/control-plane taint
2023-01-31 21:01:17 -08:00
Kubernetes Prow Robot
51c54a1e2f
Merge pull request #114179 from lixiaobing1/break
improve performance
2023-01-31 21:01:06 -08:00
David Porter
225658884b test: Fix node e2e device plugin flake
The device plugin test expects that no other pods are running prior to
the test starting. However, it has been observed that in some cases
some resources may still be around from previous tests. This is because
the deletion of resources from other tests is handled by deleting that
test's framework's namespace which is done asynchronously without
waiting for the other test's namespace to be deleted.

As a result, when the node e2e device plugin starts, there may still be
other pods in process of termination. To work around this, add a retry
to the device plugin test to account for the time it takes to delete the
resources from the prior test.

Signed-off-by: David Porter <david@porter.me>
2023-01-31 17:36:10 -08:00
Kubernetes Prow Robot
046595f11f
Merge pull request #115437 from bobbypage/115219-followup
test: Update runtime class detection logic
2023-01-31 17:05:19 -08:00
Kubernetes Prow Robot
39b1ec434e
Merge pull request #115383 from my-git9/imporve/note
Cleanup: improve some note for code
2023-01-31 17:05:07 -08:00
Kubernetes Prow Robot
bd63a912d6
Merge pull request #115349 from danielvegamyhre/job-controller-changes
Update previous succeeded indexes for Indexed jobs unconditionally
2023-01-31 15:51:04 -08:00