Kubernetes Prow Robot
80af36cfff
Merge pull request #119104 from pohly/e2e-remove-node-gcp
...
e2e node: remove unused test/e2e_node/gcp
2023-07-05 10:41:08 -07:00
Kubernetes Prow Robot
c1d4ec0677
Merge pull request #118537 from SataQiu/fix-cluster-gce-20230607
...
replace node-role.kubernetes.io/master taint with node-role.kubernetes.io/control-plane for gce kubelet flags
2023-07-05 10:40:57 -07:00
Patrick Ohly
02efe09abe
component-base/logs: improve handling of re-applying a configuration
...
Normal binaries should never have to do this. It's not safe when there are
already some goroutines running which might do logging. Therefore the new
default is to return an error when a binary accidentally re-applies.
A few unit ensure that there are no goroutines and have to call the functions
more then once. The new ResetForTest API gets used by those to enable changing the
logging settings more than once in the same process.
Integration tests use the same code as the normal binaries. To make reuse of
that code safe, component-base/logs can be configured to silently ignore any
additional calls. This addresses data races that were found when enabling -race
for integration tests. To catch cases where the integration test does want
to modify the config, the old and new config get compared and an error is
raised when it's not the same.
To avoid having to modify all integration tests which start test servers,
reconfiguring component-base/logs is done by the test server packages.
2023-07-05 19:08:54 +02:00
Kubernetes Prow Robot
ce7fd466aa
Merge pull request #118134 from pohly/e2e-pod-security-levels
...
e2e: support admissionapi.LevelRestricted in test/e2e/framework/pod
2023-07-05 08:39:09 -07:00
Kubernetes Prow Robot
91698fe900
Merge pull request #114061 from Octopusjust/k8s-pr15
...
testutil: use contextual logging
2023-07-05 08:38:57 -07:00
Maciej Szulik
1240a29af9
Hide numberOfMissedSchedules as an algorithm internal number
2023-07-05 16:58:28 +02:00
Maciej Szulik
9dcc57ede6
Stop using deprecated API
2023-07-05 16:42:55 +02:00
Patrick Ohly
a514f40131
dra resourceclaim controller: delete generated claims when pod is done
...
When a pod is done, but not getting removed yet for while, then a claim that
got generated for that pod can be deleted already. This then also triggers
deallocation.
2023-07-05 16:10:20 +02:00
Patrick Ohly
e8a0c42212
dra resourceclaim controller: remove reservation for completed pods
...
When a pod is known to never run (again), the reservation for it also can be
removed. This is relevant in particular for the job controller.
2023-07-05 16:10:20 +02:00
Patrick Ohly
7f5a02fc7e
dra resourceclaim controller: enhance logging
...
Adding logging to event handlers makes it more obvious why (or why not) claims
and pods need to be processed.
2023-07-05 16:10:20 +02:00
Patrick Ohly
d1ba893ad8
dra resourceclaim controller: refactor isPodDone
...
This covers pods that get deleted before running and will be used more than
once soon.
2023-07-05 16:09:41 +02:00
Kubernetes Prow Robot
51429cb5af
Merge pull request #119083 from pacoxu/fix-verfiy-master
...
run hack/update-vendor.sh to fix verify master
2023-07-05 06:49:04 -07:00
Kubernetes Prow Robot
e35f4e0087
Merge pull request #119082 from sttts/sttts-corerest-generic-split
...
kube-apiserver/corerest: normalize service IP range plumbing
2023-07-05 06:48:57 -07:00
Patrick Ohly
16e9cc42c1
e2e node: remove unused test/e2e_node/gcp
...
The test package was not included anywhere and thus just dead code that doesn't
need to be maintained anymore.
2023-07-05 14:31:32 +02:00
Kubernetes Prow Robot
293c1b8378
Merge pull request #118025 from AxeZhan/score-metrics
...
feature(scheduler): plugin_evaluation_total metric support preScore/score
2023-07-05 05:14:56 -07:00
Patrick Ohly
932d0337b8
e2e: detect unexpected command line arguments
...
Invalid flags are detected by flag parsing, but optional arguments are just
passed through to the E2E suites. None of them support any, so rejecting them
with an error message is useful because it helps catch typos (like a missing
hyphen before a flag).
2023-07-05 13:34:09 +02:00
Kubernetes Prow Robot
a9a7a3730e
Merge pull request #118994 from pohly/test-integration-race-detection-grpc-logger
...
integration testing: configure gRPC logging during init
2023-07-05 02:58:55 -07:00
Dr. Stefan Schimanski
68aee61d4f
SPLIT: kube-apiserver/corerest: split out service IP setup logic
2023-07-05 11:00:37 +02:00
Dr. Stefan Schimanski
dad3e4d211
SPLIT: kube-apiserver/corerest: split constructor
2023-07-05 09:45:20 +02:00
Kubernetes Prow Robot
4c18d40af1
Merge pull request #119075 from chendave/test_gv
...
kubeadm: check the GV after the config migration
2023-07-04 22:00:54 -07:00
Kubernetes Prow Robot
c0ad5e545e
Merge pull request #119054 from bzsuni/bump/npd
...
bump npd to v0.8.13
2023-07-04 20:54:54 -07:00
Kubernetes Prow Robot
76227fdb3d
Merge pull request #118874 from my-git9/dns-ut
...
kubeadm: increase ut coverage kubeadm/app/phases/dns
2023-07-04 19:30:54 -07:00
Dave Chen
31943cc3f4
kubeadm: check the GV after the config migration
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2023-07-05 10:04:12 +08:00
bzsuni
b4f479d1f2
bump npd to v0.8.13
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io>
2023-07-05 10:02:06 +08:00
Paco Xu
a556feb7cb
run hack/update-vendor.sh to fix verify master
2023-07-05 09:50:45 +08:00
Kubernetes Prow Robot
68b7685b2a
Merge pull request #119081 from sttts/sttts-public-ip-validation-move
...
kube-apiserver: move "public IP matches IP family" check to option validation
2023-07-04 14:28:54 -07:00
Dr. Stefan Schimanski
4149933ed2
kube-apiserver: move "public IP matches IP family" check to option validation
2023-07-04 22:28:27 +02:00
Kubernetes Prow Robot
8d0e46a5ec
Merge pull request #119041 from sttts/sttts-move-back-master-count
...
cmd/kube-apiserver: move back master count variable from generic controlplane
2023-07-04 13:22:54 -07:00
Kubernetes Prow Robot
0235a5a206
Merge pull request #118707 from pacoxu/unwanted-status-order
...
update the unwanted-dependencies order
2023-07-04 12:20:54 -07:00
Kubernetes Prow Robot
cb7acfd46e
Merge pull request #119064 from sttts/sttts-move-kube-service-controller
...
pkg/controlplane: move bootstrap controller to controllers/kubernetesservice
2023-07-04 08:36:53 -07:00
Dr. Stefan Schimanski
616c959988
FIXUP: pkg/controlplane: move bootstrap controller to controllers/kubernetesservice
2023-07-04 16:38:14 +02:00
xin.li
c26e1ba10c
[UT] increase coverage kubeadm/app/phases/dns
...
Signed-off-by: xin.li <xin.li@daocloud.io>
2023-07-04 22:11:32 +08:00
Kubernetes Prow Robot
3149875175
Merge pull request #119059 from pacoxu/migrate-experimental-v1beta4
...
kubeadm: fix "migrate config --allow-experimental-api" to print v1beta4 kubeadm configurations instead of v1beta3
2023-07-04 06:28:53 -07:00
Kubernetes Prow Robot
0852a2759a
Merge pull request #118965 from mengjiao-liu/use-cmp.Diff-scheduler-queue
...
scheduler test: Use cmp.Diff instead of reflect.DeepEqual for pkg/scheduler/internal/queue/
2023-07-04 05:29:05 -07:00
Kubernetes Prow Robot
5f63d1f916
Merge pull request #118955 from MikeSpreitzer/add-exempt-queuesets
...
Make QueueSet support exempt behavior; use it
2023-07-04 05:28:53 -07:00
Kubernetes Prow Robot
2f563464bc
Merge pull request #119045 from serathius/test-consistent-list
...
Test consistent list
2023-07-04 04:20:53 -07:00
Kubernetes Prow Robot
75889ecec5
Merge pull request #119003 from danwinship/proxy-single-dual
...
do a better job of validating IP family of kube-proxy config
2023-07-04 02:16:53 -07:00
Marek Siarkowicz
b36fdd68b7
Test consistent List
2023-07-04 10:13:54 +02:00
Kubernetes Prow Robot
00b8a0a95b
Merge pull request #118160 from minherz/master
...
Support JSONPath condition without value
2023-07-04 00:26:52 -07:00
Paco Xu
01b1174c11
kubeadm: fix "migrate config --allow-experimental-api" to print v1beta4 kubeadm configurations instead of v1beta3
2023-07-04 15:20:43 +08:00
Kubernetes Prow Robot
746b88c6ff
Merge pull request #118867 from chendave/env_custom
...
kubeadm: Support custom env in control plane component
2023-07-03 22:02:52 -07:00
Dave Chen
c68a6b0745
kubeadm: fix fuzzing for ExtraEnvs defined in the control plane component
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2023-07-04 10:01:26 +08:00
Dave Chen
80b035a116
kubeadm: Support custom env in control plane component
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2023-07-04 09:57:07 +08:00
Kubernetes Prow Robot
3be105e7eb
Merge pull request #118905 from stormqueen1990/update-translations-pot
...
Update template.pot with latest message IDs
2023-07-03 15:54:53 -07:00
Kubernetes Prow Robot
c9c541a4b7
Merge pull request #117971 from wojtek-t/paginate_delete_collection
...
Paginate within DeleteCollection call.
2023-07-03 13:08:51 -07:00
Wojciech Tyczyński
e08bd3bc26
Simplify DeleteCollection
2023-07-03 21:10:52 +02:00
Dr. Stefan Schimanski
7b62d000a4
MOVE: pkg/controlplane: move bootstrap controller to controllers/kubernetesservice
2023-07-03 20:27:41 +02:00
Kubernetes Prow Robot
229dd79efd
Merge pull request #117865 from aleksandra-malinowska/parallel-sts-3
...
Parallel StatefulSet pod create & delete
2023-07-03 10:16:51 -07:00
Kubernetes Prow Robot
8f79a3d91e
Merge pull request #118915 from astoycos/remove-netpol-leg
...
remove legacy NetworkPolicy tests
2023-07-03 09:17:04 -07:00
Tim Allclair
2b03f04ce5
Initialize the AuditEvent with the AuditContext ( #113611 )
...
* Initialize the AuditEvent with the AuditContext
* Squash: Address PR feedback
* Squash: address PR feedback
2023-07-03 09:16:51 -07:00