Commit Graph

107117 Commits

Author SHA1 Message Date
David Porter
c70f1955c4
test: Add E2E for job completions with cpu reservation
Create an E2E test that creates a job that spawns a pod that should
succeed. The job reserves a fixed amount of CPU and has a large number
of completions and parallelism. Use to repro github.com/kubernetes/kubernetes/issues/106884

Signed-off-by: David Porter <david@porter.me>
2022-03-16 13:15:03 -04:00
Clayton Coleman
ca98714ec0
test: Add E2E for init container pod deletion
Exploring termination revealed we have race conditions in certain
parts of pod initialization and termination. To better catch these
issues refactor the existing test so it can be reused, and then test
a number of alternate scenarios.
2022-03-16 13:15:03 -04:00
Clayton Coleman
69a3820214
kubelet: Delay writing a terminal phase until the pod is terminated
Other components must know when the Kubelet has released critical
resources for terminal pods. Do not set the phase in the apiserver
to terminal until all containers are stopped and cannot restart.

As a consequence of this change, the Kubelet must explicitly transition
a terminal pod to the terminating state in the pod worker which is
handled by returning a new isTerminal boolean from syncPod.

Finally, if a pod with init containers hasn't been initialized yet,
don't default container statuses or not yet attempted init containers
to the unknown failure state.
2022-03-16 13:15:00 -04:00
196Ikuchil
1bb22fc4c8 fix:some comments 2022-03-17 01:38:05 +09:00
Kubernetes Prow Robot
9cb9a29f34
Merge pull request #108731 from mborsz/revert-105585-improvement-volume-health
Revert "add volume kubelet_volume_stats_health_abnormal to kubelet"
2022-03-16 09:15:16 -07:00
Kubernetes Prow Robot
3a4064c5c8
Merge pull request #108359 from ArangoGutierrez/devel/108355
Fix logging statement with missing parameter
2022-03-16 06:31:49 -07:00
Maciej Borsz
aa95513982
Revert "add volume kubelet_volume_stats_health_abnormal to kubelet" 2022-03-16 13:44:09 +01:00
Kubernetes Prow Robot
7152825c06
Merge pull request #108496 from khenidak/remove-port-opener
kube-proxy: remove port opener
2022-03-16 03:01:49 -07:00
Xinqi Li
65a4d1cbe7 add gMSA remote storage test 2022-03-15 22:51:55 -07:00
Kubernetes Prow Robot
1007f4974d
Merge pull request #108712 from dims/support-ci-jobs-that-use-prebuilt-images-by-adding-additional-image-tags
Support CI jobs that use prebuilt-images by adding additional image tags
2022-03-15 21:59:48 -07:00
Jefftree
8a1d5947ad googleapis/gnostic -> google/gnostic 2022-03-15 20:44:03 -07:00
Kubernetes Prow Robot
5ea2615609
Merge pull request #108639 from jiahuif-forks/feature/openapi/node-condition-type-non-enum
remove enum markers on types without validation
2022-03-15 19:49:48 -07:00
cici37
ed03e0955c Fix err handling due to cel update 2022-03-15 19:49:31 -07:00
Kubernetes Prow Robot
aa383570f0
Merge pull request #108705 from denkensk/refine-preempt-msg
make the preempt failed message per node compressible in event
2022-03-15 18:09:55 -07:00
Kubernetes Prow Robot
7dcd697ddf
Merge pull request #108702 from pbetkier/test-e2e-autoscaling-owners
Add sig-autoscaling as owners of test/e2e/framework/autoscaling
2022-03-15 18:09:48 -07:00
Kubernetes Prow Robot
72a1dcb6e7
Merge pull request #108539 from ialidzhikov/cleanup/horizontal-pod-autoscaler-use-rest-clients
kube-controller-manager: Cleanup MarkDeprecared call for already removed flag
2022-03-15 16:09:59 -07:00
Kubernetes Prow Robot
162f8d5bac
Merge pull request #108394 from ialidzhikov/cleanup/warningheaders
Remove the WarningHeaders feature gate
2022-03-15 16:09:48 -07:00
Kermit Alexander
83e4d192b1 Add maxLength/maxItems/maxProperties support to cel.Compile. 2022-03-15 21:39:36 +00:00
Kubernetes Prow Robot
096cd9df63
Merge pull request #108699 from xing-yang/update_owners
Update sig-storage owners files
2022-03-15 14:28:00 -07:00
Kubernetes Prow Robot
6224458dc2
Merge pull request #108448 from ialidzhikov/cleanup/deserialization-cache-size
apiserver: Remove the deprecated `--deserialization-cache-size` flag
2022-03-15 14:27:48 -07:00
Davanum Srinivas
9a0bb97a34
add tags for KUBE_ADDON_REGISTRY when we load images locally
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-03-15 17:16:33 -04:00
Mark Rossetti
f63a194d9e Run kubelet in a job object in windows
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2022-03-15 12:17:52 -07:00
Jiahui Feng
c9dd7bdc9d generated: make update 2022-03-15 12:07:21 -07:00
Kubernetes Prow Robot
2b1b849d6a
Merge pull request #108362 from sanposhiho/implement-mindomains
Implement MinDomains on Pod Topology Spread
2022-03-15 10:34:11 -07:00
Alex Wang
ddd62202fb make the preempt message per node compressible 2022-03-15 22:02:19 +08:00
Kubernetes Prow Robot
1a5abe5d1f
Merge pull request #105585 from fengzixu/improvement-volume-health
add volume kubelet_volume_stats_health_abnormal to kubelet
2022-03-15 05:58:11 -07:00
Kubernetes Prow Robot
4bca479dfb
Merge pull request #108595 from cici37/updateLimit
Update CEL runtime cost limit
2022-03-15 04:00:11 -07:00
Piotr Betkier
3df96cbf01 Add sig-autoscaling as owners of test/e2e/framework/autoscaling 2022-03-15 11:22:49 +01:00
Kubernetes Prow Robot
02b1ec5b0b
Merge pull request #108485 from BigDarkClown/master
Make daemon.NodeShouldRunDaemonPod function public
2022-03-15 00:30:21 -07:00
Kubernetes Prow Robot
7cc4fcd802
Merge pull request #108253 from pohly/kubelet-root
test: support storage tests with non-standard kubelet root directory
2022-03-15 00:30:10 -07:00
Kubernetes Prow Robot
7858fc93e5
Merge pull request #108004 from equinix-ms/kubelet-include-oommetrics
kubelet: expose OOM metrics
2022-03-14 23:14:13 -07:00
Kubernetes Prow Robot
8bf64e4128
Merge pull request #108652 from 249043822/probe-restart
Fix test:Probing container should have monotonically increasing restart
2022-03-14 22:08:11 -07:00
Kubernetes Prow Robot
41dbd290d1
Merge pull request #108694 from mikedanese/metadata-conceal
remove metadata-concealment related testing
2022-03-14 18:50:43 -07:00
Kubernetes Prow Robot
8d0a2089ab
Merge pull request #108684 from chymy/comment-issue
Fix comment typo
2022-03-14 18:50:32 -07:00
Kubernetes Prow Robot
d7bd0d4f52
Merge pull request #108648 from ahg-g/ahg-ds
Update PreFilter interface to return a PreFilterResult
2022-03-14 18:50:20 -07:00
Kubernetes Prow Robot
226a76235a
Merge pull request #108620 from kevindelgado/query-param-verifier
Generalize Query Param Verifier
2022-03-14 18:50:09 -07:00
ZhangKe10140699
d7d7e0d508 Fix test:Probing container should have monotonically increasing restart count 2022-03-15 09:15:33 +08:00
Kubernetes Prow Robot
f9be590b25
Merge pull request #108431 from ii/promote-replace-podtemplate
Promote replaceCoreV1NamespacedPodTemplate test - +1 endpoint coverage
2022-03-14 16:24:58 -07:00
cici37
31677520f3 Update cost budget 2022-03-14 15:11:12 -07:00
Kubernetes Prow Robot
2acc22a9a0
Merge pull request #108690 from klueska/add-owners
Add klueska to test/e2e/node/OWNERS file
2022-03-14 14:23:19 -07:00
Kubernetes Prow Robot
866e42310d
Merge pull request #108482 from cici37/vendorCEL
Add CEL runtime cost into CR validation
2022-03-14 14:23:12 -07:00
Kubernetes Prow Robot
5c98eb5625
Merge pull request #108264 from pbetkier/hpa-behavior-e2e-tests-downscale
Add e2e test for HPA behavior: decreased downscale stabilization
2022-03-14 14:23:00 -07:00
Jiahui Feng
40e1b6b411 polish comments of non-enum values.
types: PodConditionType, NodeConditionType
2022-03-14 13:45:11 -07:00
Kubernetes Prow Robot
64d137ae0a
Merge pull request #108685 from cpanato/update-publish
Update publishing-bot rules for Go 1.17.8 / 1.16.15
2022-03-14 13:03:34 -07:00
Kubernetes Prow Robot
7f1907c4c6
Merge pull request #108561 from RomanBednar/btrfs-resize
mount-utils: Add support for btrfs resize
2022-03-14 13:03:22 -07:00
Kubernetes Prow Robot
c6c4915dd7
Merge pull request #108495 from stevekuznetsov/skuznets/better-rv-math
test/integration: improve TestTransform
2022-03-14 13:03:11 -07:00
Harsh Prateek
840fc3ea7b
Add gauge metric to track unschedulable pod (#108475)
* Add gauge metric to track unschedulable pod

* Add review comments
2022-03-14 13:02:58 -07:00
Mike Danese
b32e043898 remove metadata-concealment related testing
We agreed to remove these tests in SIG Auth because they aren't testing
any OSS functionality.
2022-03-14 12:44:48 -07:00
Abdullah Gharaibeh
da7f085dcb Added a NodeAffinity PreFilter that looks for node.Name MatchField terms; if exist, the pod is only evaluated against the matching nodes. 2022-03-14 15:37:03 -04:00
Abdullah Gharaibeh
5b20b68bc9 Updated the scheduler framework's PreFilter interface to return a PreFilterResult 2022-03-14 15:36:52 -04:00