Commit Graph

112278 Commits

Author SHA1 Message Date
Joseph Anttila Hall
906b97931a egress_selector: prevent goroutines leak on connect() step. 2022-11-08 10:59:01 -08:00
Kubernetes Prow Robot
81bd2496bc
Merge pull request #113723 from jsafrane/update-azurefile-comment
Fix comments on CSI migration feature gates
2022-11-08 10:38:58 -08:00
Kubernetes Prow Robot
c40d961324
Merge pull request #113718 from mimowo/handling-pod-failures-kubelet-nits
Add comments to clarify the updated logic in kubelet's status_manager
2022-11-08 10:38:51 -08:00
Kubernetes Prow Robot
bbbb79712c
Merge pull request #113116 from brianpursley/allowlist
kubectl apply: Deprecate --prune-whitelist in favor of --prune-allowlist
2022-11-08 10:38:43 -08:00
Kubernetes Prow Robot
7752c3a8e0
Merge pull request #112679 from dgrisonnet/fix-apiserver-sli
Improve apiserver SLI metric name
2022-11-08 10:38:31 -08:00
Kubernetes Prow Robot
114594e1d2
Merge pull request #111384 from harche/evented_pleg_pr
Add Support for Evented PLEG
2022-11-08 10:38:19 -08:00
Wei Huang
ae5d430c76
Integration tests for KEP Pod Scheduling Readiness
- test generic integration in plugins_test.go
- test integration with SchedulingGates plugin in queue_test.go
2022-11-08 10:06:44 -08:00
Wei Huang
0f66366aff
Fix an issue that pod may be added to backoffQ 2022-11-08 10:05:32 -08:00
Tim Hockin
d577e2bfb1
Make static controller registration slightly safer
As we have more and more of these, the risk of a dup name seems
non-zero.
2022-11-08 09:44:19 -08:00
Kubernetes Prow Robot
c36127e330
Merge pull request #113736 from liggitt/deflake-limit-range
Deflake limitrange singleflight test
2022-11-08 09:34:34 -08:00
Kubernetes Prow Robot
e2b9fd760d
Merge pull request #113710 from kerthcet/deprecate/enable-taint-manager
Deprecate CLI flag pod-eviction-timeout in KCM
2022-11-08 09:34:22 -08:00
Jan Safranek
167d27a790 Save SELinux context both in MountDevice and SetUp
And make it feature gated in both places.
2022-11-08 18:10:51 +01:00
Kubernetes Prow Robot
b3ed40b167
Merge pull request #113733 from soltysh/revert_112127
Revert "Update daemonSet status even if syncDaemonSet fails"
2022-11-08 08:30:31 -08:00
Kubernetes Prow Robot
e21438fca5
Merge pull request #113719 from pacoxu/runc-v1.1.4
upgrade runc to v1.1.4
2022-11-08 08:30:20 -08:00
Claudiu Belu
b9bf3e5c49 Replaces path.Operation with filepath.Operation (kubelet)
The path module has a few different functions:
Clean, Split, Join, Ext, Dir, Base, IsAbs. These functions do not
take into account the OS-specific path separator, meaning that they
won't behave as intended on Windows.

For example, Dir is supposed to return all but the last element of the
path. For the path "C:\some\dir\somewhere", it is supposed to return
"C:\some\dir\", however, it returns ".".

Instead of these functions, the ones in filepath should be used instead.
2022-11-08 16:05:48 +00:00
Peter Schuurman
9258cb4041 Fix typo in function emptyInvariants() 2022-11-08 07:48:10 -08:00
Peter Schuurman
67425594f3 Rebasing feature branch 2022-11-08 07:48:10 -08:00
Peter Schuurman
366997951b Update doc comments and change name of feature gate 2022-11-08 07:48:10 -08:00
Peter Schuurman
8a9c126eca Small updates and comment fixes 2022-11-08 07:48:09 -08:00
Peter Schuurman
af58b491ef Update generated protobuf files 2022-11-08 07:48:09 -08:00
Peter Schuurman
7b3d77a41a Adding implementation of KEP-3335, StatefulSetSlice 2022-11-08 07:48:00 -08:00
weikhor
69b0b731e9 Clean up testing code of kubectl cmd section 2022-11-08 22:46:21 +08:00
Harshal Patil
86284d42f8
Add support for Evented PLEG
Signed-off-by: Harshal Patil <harpatil@redhat.com>
Co-authored-by: Swarup Ghosh <swghosh@redhat.com>
2022-11-08 20:06:16 +05:30
Jordan Liggitt
dac0306596
Deflake limitrange singleflight test 2022-11-08 09:28:21 -05:00
Kubernetes Prow Robot
2b7b5245ea
Merge pull request #112637 from sanposhiho/pre-filter-skip
feature(scheduler): won't run Filter if PreFilter returned a Skip status
2022-11-08 06:16:37 -08:00
Marly Puckett
e721272d10
Update redacting functionality to redact all sensitive info in config when printing with view (#109189)
* Add RedactSecrets function

* Move RedactSecrets method to existing RawBytesData case

* Update TestRedactSecrets to use new pattern of os.CreateTemp()
2022-11-08 06:16:25 -08:00
Maciej Szulik
3c93d540c6
Revert "Update daemonSet status even if syncDaemonSet fails"
This reverts commit 2ee024a4df.
2022-11-08 15:01:09 +01:00
Jan Safranek
d6c36736d5 Add mock CSI driver test for SELinux mount 2022-11-08 13:37:09 +01:00
Kubernetes Prow Robot
34ca18d1d0
Merge pull request #113728 from pawbana/add-scope-to-api-server-tracking
Added scope to api server tracing
2022-11-08 04:30:22 -08:00
inosato
774ab1349b Remove ioutil from kubectl
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-11-08 21:11:53 +09:00
Jan Safranek
802979c295 Add SELinux disruptive test 2022-11-08 12:42:20 +01:00
Wojciech Tyczyński
593742f092 Standardize naming in generic storage watcher tests 2022-11-08 12:26:04 +01:00
Paweł Banaszewski
e4169d7f43 Added scope as tracing attribute 2022-11-08 11:22:57 +00:00
Kubernetes Prow Robot
aef9a37df9
Merge pull request #113010 from soltysh/promote_job_metrics
Promote job metrics
2022-11-08 03:16:32 -08:00
Kubernetes Prow Robot
3451501c2e
Merge pull request #112737 from gjkim42/cleanup-defer-from-sts
StatefulSet: Cleanup the complex defer function updating the status
2022-11-08 03:16:21 -08:00
Oscar Utbult
61cd37b806 Update shellcheck version (0.7.2 -> 0.8.0) and fix findings 2022-11-08 11:53:57 +01:00
Jan Safranek
cf912a2512 Update SELinux context log
SELinux context discovered from Pod is not final, it can be cleared when a
volume plugin does not support SELinux or the volume is not
ReadWriteOncePod. Update the existing log line + add a new one for easier
debugging.
2022-11-08 11:17:38 +01:00
Jan Safranek
e575e60ea4 Reconstruct SELinux mount option
When reconstructing volumes from disk after kubelet restart, reconstruct
also context=XYZ mount option and add it to the ActualStateOfWorld.
2022-11-08 11:17:38 +01:00
Jan Safranek
d62dfb0c23 Fix comment on CSI migration feature gates
So we know when to remove them.
2022-11-08 10:47:15 +01:00
Kubernetes Prow Robot
e3d7cb5bc5
Merge pull request #113664 from laphets/kubectl-empty-ingress-backend-fix
Fix kubectl describe ingress when default backend is empty
2022-11-08 01:44:36 -08:00
Kubernetes Prow Robot
5a1fb17e2e
Merge pull request #112137 from MikeSpreitzer/add-concurrency-allocation-algorithm
Add solver for APF concurrency rebalancing
2022-11-08 01:44:21 -08:00
Michal Wozniak
026b97352f Add comments to clarify the updated logic in kubelet's status_manager 2022-11-08 10:21:25 +01:00
Paco Xu
ecbafed7c3 upgrade runc to v1.1.4 2022-11-08 16:42:48 +08:00
Paco Xu
c3add32859 upgrade prometheus-client to v1.14.0 2022-11-08 16:25:12 +08:00
Kubernetes Prow Robot
95bd687a28
Merge pull request #113275 from Huang-Wei/kep-3521-B
[KEP-3521] Part 2: Core scheduling implementation
2022-11-07 23:18:19 -08:00
Kubernetes Prow Robot
f2c89045f4
Merge pull request #113699 from liggitt/manjusaka/fix-107415
Add extra value validation for matchExpression field in LabelSelector
2022-11-07 21:52:30 -08:00
Kubernetes Prow Robot
64af9e03f1
Merge pull request #111597 from 249043822/evictionmessage
make eviction message more clear
2022-11-07 21:52:19 -08:00
Kubernetes Prow Robot
f328d3dc3d
Merge pull request #113291 from mengjiao-liu/fix-podAndContainerStatsFromCRI
Fix stats for podAndContainerStatsFromCRI
2022-11-07 19:48:17 -08:00
Brian Pursley
f7ebf4d885 kubectl apply: Deprecate --prune-whitelist in favor of --prune-allowlist
Changes in kubectl apply --prune to support k8s Inclusive Naming Initiative:
* Deprecated the --prune-whitelist flag.
* Deprecated the PruneWhitelist field on ApplyFlags struct.
* Removed PruneWhitelist field (not used anywhere) from ApplyOptions struct.
* Added --prune-allowlist flag.
* Added PruneAllowlist field on ApplyFlags struct.
* Added unit tests for prune with allowlist

This commit also fixes a bug where the command would fail if you specified
the sameGVK multiple times for --allow-whitelist. Now it only attempts to
prune the unique set of allowed GVKs.
2022-11-07 22:17:07 -05:00
ZhangKe10140699
62177fd36d make eviction message more clear 2022-11-08 10:07:02 +08:00