Commit Graph

25271 Commits

Author SHA1 Message Date
Eric Lin
44c08fdbd5 Add /readyz for kube-scheduler
/readyz contains `sched-handler-sync`, `leaderElection` (when election is
enabled) and `shutdown` checks
2024-05-27 19:11:24 +00:00
Eric Lin
708180be69 Add /livez to kube-scheduler
Health endpoint `/livez` only contains ping check.
2024-05-27 19:11:24 +00:00
Antonio Ojea
98fe5ace74 tag e2e test that depends on cloud-provider-gcp 2024-05-27 18:14:48 +00:00
Kubernetes Prow Robot
b5bc8025be Merge pull request #125110 from brianpursley/k-125109
Add logging to show which unexpected events were received in kubectl events e2e test
2024-05-27 09:31:02 -07:00
Humble Chirammal
d8458293d2 add controllerModifyVolume test function
Signed-off-by: Humble Chirammal <humble.devassy@gmail.com>
2024-05-27 19:57:54 +05:30
Kubernetes Prow Robot
b2817dc432 Merge pull request #125040 from carlory/fix-125012
Fix kubelet on Windows fails if a pod has SecurityContext with RunAsUser
2024-05-27 04:58:20 -07:00
bzsuni
61a35c2186 update cni from 1.4.1 to 1.5.0
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2024-05-25 10:33:52 +08:00
Kubernetes Prow Robot
ec93d3b71a Merge pull request #123160 from bart0sh/PR133-e2e-node-device-plugin-fix-features
e2e_node: fix DevicePlugin feature flags
2024-05-24 09:23:10 -07:00
Kubernetes Prow Robot
e0e6c9633d Merge pull request #125112 from neolit123/1.31-add-v-to-windows-pause-after-promo
dependencies: start using registry.k8s.io/pause:3.10
2024-05-24 03:55:56 -07:00
Lubomir I. Ivanov
5e290ebc90 switch k/k to pause version 3.10 2024-05-24 10:02:51 +03:00
Kubernetes Prow Robot
3332eef27d Merge pull request #125111 from aojea/e2e_panic_lb
add logging on e2e loadbalancer test
2024-05-23 22:27:21 -07:00
Kubernetes Prow Robot
903aeed208 Merge pull request #125096 from carlory/add-carlory-as-kubeadm-reviewer
Add carlory (myself) in kubeadm reviewers
2024-05-23 21:02:44 -07:00
Brian Pursley
39d24b0877 Add logging to show which unexpected events were received in kubectl events e2e test
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2024-05-23 20:33:17 -04:00
Antonio Ojea
5221df5074 add logging on e2e loadbalancer test 2024-05-23 23:32:08 +00:00
Benjamin Elder
043da7164d update gcb-docker-gcloud to latest, and pin digest
this is a staging repository, which has lower security than registry.k8s.io, so we should REALLY be pinning it.

TODO: This is one of the few places we still depend on GCR to build things. We should consider promoting this image to registry.k8s.io or using a different image.
2024-05-23 13:51:40 -07:00
Kubernetes Prow Robot
028b457cb5 Merge pull request #125090 from gjkim42/deflake-container-lifecycle-e2e-test
e2e: Increase preStop hook delay to deflake the test
2024-05-23 11:58:46 -07:00
carlory
ba7b3bcbb6 Add carlory (myself) in kubeadm reviewers 2024-05-23 22:07:57 +08:00
Gunju Kim
65b9e560ce e2e: Increase preStop hook delay to deflake the test
This delays the preStop hook to allow sufficient time for the readiness
probe to be executed.
2024-05-23 21:31:02 +09:00
carlory
3812fa1d6d Fix kubelet on Windows fails if a pod has SecurityContext with RunAsUser.
Co-authored-by: rphillips <rphillips@redhat.com>
2024-05-23 12:44:51 +08:00
Kubernetes Prow Robot
df35f179ba Merge pull request #125077 from eddiezane/ez/fix-test-simple-pod
Reduce file descriptors created in test
2024-05-22 17:49:27 -07:00
Kubernetes Prow Robot
ea06d605f7 Merge pull request #125071 from BenTheElder/ag-pause
kubectl logs test: use agnhost pause instaed of fixed duration sleep
2024-05-22 17:49:18 -07:00
Eddie Zaneski
49f85ca854 Reduce file descriptors created in test
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2024-05-22 16:35:37 -06:00
Kubernetes Prow Robot
5cdab888bb Merge pull request #125027 from haircommander/e2e-swap-v1
e2e_node: skip swap tests on cgroupv1
2024-05-22 13:09:42 -07:00
Benjamin Elder
12cbad2110 kubectl logs test: use agnhost pause instaed of fixed duration sleep 2024-05-22 12:40:56 -07:00
Daman Arora
2e669de458 test/e2e/network: test for localhost nodeport metric update
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-22 17:52:40 +05:30
Kubernetes Prow Robot
68091805a5 Merge pull request #124785 from kerthcet/cleanup/deprecate-wait-pull
Avoid to use deprecated wait.Poll in scheduler tests
2024-05-22 01:17:30 -07:00
Kubernetes Prow Robot
cabdf39e26 Merge pull request #125037 from eddiezane/ez/fix-logs-flake
[Flake] Fix test in kubectl logs all pods
2024-05-21 17:09:29 -07:00
Eddie Zaneski
411e0094ac Prevent pods from completing before test runs
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2024-05-21 16:49:34 -06:00
Kubernetes Prow Robot
790d65b28d Merge pull request #125006 from matthyx/fixoom
increase memory limit for e2e test containers
2024-05-21 15:48:15 -07:00
Kubernetes Prow Robot
0f584a9b86 Merge pull request #124933 from AxeZhan/fix_panic
[Scheduler] Use allNodes when calculating nextStartNodeIndex
2024-05-21 10:29:35 -07:00
Daman Arora
9b9a3d780e test/e2e: add kube-proxy metrics grabber
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-21 22:41:23 +05:30
Peter Hunt
ba80f252bf e2e_node: skip swap tests on cgroupv1
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2024-05-21 11:39:46 -04:00
Kubernetes Prow Robot
c0f4879164 Merge pull request #123557 from iholder101/swap/enhance-swap-functests-serial
[Swap][Tests][KEP2400] Add swap serial stress tests, improve NodeConformance tests and adapt NoSwap behavior
2024-05-21 05:44:35 -07:00
Ahmad Zolfaghari
834658cb26 Fix kubectl explain bug when additionalProperties in schema defines as boolean. (#124506)
* Fix kubectl explain bug when additionalProperties in schema defines as:
`additionalProperties: true` to ignore iterating.

* trigger error on kubectl explain with integration test on crd with non bool additionalfields

* add changes to fix the problem

* replace sleep with loop and retry for kubectl explain integration test

* replaced testdata file with inline create
2024-05-21 04:40:32 -07:00
Itamar Holder
e9b1a5e185 Expect NoSwap on NodeConformance, test LimitedSwap only in serial tests
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
ab5f84e8ed Refactor: Better pod image, read cgroup file from container
- Improve cgroup file read: execute from container instead of host
- Clean unused variables/functions
- BeTrue/BeFalse -> BeTrueBecause/BeFalseBecause
- Use agnhost instread of stress image
- Improve description and fix typo

Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
b17050927c Update node conformance to use NoSwap
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
bdeb80a846 Add serial tests
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
2230ed7dc6 Refactor: helper functions and quantity improvement
- Add getSleepingPod() helper function
- Refactor: quantity functions to return resource.quantity instead of int64
- Improve helper functions for memory capacity

Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
13403e836a Fix swap feature gate check by introduting IsFeatureGateEnabled()
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
959d01cbbf Remove cgroup v1 support for swap tests
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
eb5d647655 Move current test under its own NodeConformance context
Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Itamar Holder
9f344f23fb Add NodeSwap as a node feature in nodefeature.go
Also, Remove wrong documentation about
tempSetCurrentKubeletConfig() returning bool

Signed-off-by: Itamar Holder <iholder@redhat.com>
2024-05-21 11:19:54 +03:00
Lukasz Szaszkiewicz
9248cccc27 replace ENABLE_CLIENT_GO_WATCH_LIST_ALPHA with WatchListClient gate 2024-05-21 08:47:31 +02:00
Matthias Bertschy
893ab296d7 increase memory limit for e2e test containers
Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
2024-05-20 22:40:03 +02:00
Kubernetes Prow Robot
073c1596f2 Merge pull request #124602 from Iceber/fix_discovery_prioritized_versions
fix the version order of 'discovery.k8s.io'
2024-05-20 09:12:20 -07:00
AxeZhan
b5f25c41ce add an integration test when nodeAffinity specifies a non-existent node. 2024-05-18 05:00:59 +08:00
Kubernetes Prow Robot
5ceb99dc6b Merge pull request #124824 from seans3/export-poke-udp
Export PokeUDP helper function
2024-05-16 20:13:01 -07:00
Kubernetes Prow Robot
6d4250ed41 Merge pull request #123149 from mochizuki875/remove_probe_from_copy_pod
kubectl debug: Add --keep-* flag to control the removal of probes, labels, annotations, and initContainers from copy pod
2024-05-16 17:35:53 -07:00
mochizuki875
b63fa1300c Add keep options 2024-05-16 17:26:20 +00:00