Commit Graph

111921 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e62cfabf93
Merge pull request #112050 from nilekhc/kms-hot-reload
Implements hot reload of the KMS `EncryptionConfiguration`
2022-11-08 17:24:12 -08:00
Kubernetes Prow Robot
3c025280c9
Merge pull request #111795 from lojies/addnamespaceforkubectlrollback
Remove specific command suggestion from kubectl rollout undo error message
2022-11-08 16:16:13 -08:00
Kubernetes Prow Robot
b4040b3b86
Merge pull request #113609 from haircommander/sandbox-metrics
kubelet: add support for broadcasting metrics from CRI
2022-11-08 15:08:26 -08:00
Kubernetes Prow Robot
d619f60e0f
Merge pull request #113442 from Huang-Wei/kep-3521-C
[KEP-3521] Part 3: Bug fixes, integration & E2E Test
2022-11-08 15:08:15 -08:00
Kubernetes Prow Robot
c61c3fc492
Merge pull request #113749 from jpbetz/fix-params-null
Fix params to be null instead of an empty map if paramRef is null
2022-11-08 13:51:42 -08:00
Kubernetes Prow Robot
429f1527a7
Merge pull request #113711 from andrewsykim/fieldmanager-logging
apiserver: use the correct error when logging errors updating managedFields
2022-11-08 13:51:35 -08:00
Kubernetes Prow Robot
86c535c0f8
Merge pull request #113486 from jkh52/uds-dial
egress_selector.go: hard cap UDS dial.
2022-11-08 13:51:27 -08:00
Kubernetes Prow Robot
d93ea2557f
Merge pull request #111908 from dengyufeng2206/new-test0818
spelling fix
2022-11-08 13:51:20 -08:00
Kubernetes Prow Robot
886da71e75
Merge pull request #111879 from sanwishe/etcd_compact_doc
fix etcd compaction doc
2022-11-08 13:51:12 -08:00
Kubernetes Prow Robot
694698ca38
Merge pull request #110485 from Octopusjust/k8s-pr
cidr_set.go :  fix several typo
2022-11-08 13:51:00 -08:00
Nilekh Chaudhari
761b7822fc
feat: implements kms encryption config hot reload
This change enables hot reload of encryption config file when api server
flag --encryption-provider-config-automatic-reload is set to true. This
allows the user to change the encryption config file without restarting
kube-apiserver. The change is detected by polling the file and is done
by using fsnotify watcher. When file is updated it's process to generate
new set of transformers and close the old ones.

Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
2022-11-08 21:47:59 +00:00
Kubernetes Prow Robot
2f22404003
Merge pull request #113747 from thockin/safer-controller-init-map
Make static controller registration slightly safer
2022-11-08 12:43:25 -08:00
Kubernetes Prow Robot
e361272423
Merge pull request #113698 from dashpole/missing_apiserver_migration
Migrate another usage of utiltrace to component base tracing
2022-11-08 12:43:17 -08:00
Kubernetes Prow Robot
3a99a5954d
Merge pull request #113629 from andrewsykim/apiserver-identity-beta
Promote APIServerIdentity to Beta
2022-11-08 12:43:10 -08:00
Kubernetes Prow Robot
da735b5415
Merge pull request #113596 from jsafrane/selinux-reconstruction
Reconstruct SELinux  mount label
2022-11-08 12:43:03 -08:00
Kubernetes Prow Robot
b3082c5e5b
Merge pull request #113582 from wzshiming/fix/grpc-probe-log
Fix grpc probe log
2022-11-08 12:42:56 -08:00
Kubernetes Prow Robot
74352d88aa
Merge pull request #113577 from pacoxu/prometheus-client
upgrade github.com/prometheus/client_golang to v1.14.0
2022-11-08 12:42:49 -08:00
Kubernetes Prow Robot
89ad7b37c5
Merge pull request #113444 from weikhor/test_kubectl_clean_up
Clean up testing code of kubectl cmd section
2022-11-08 12:42:43 -08:00
Kubernetes Prow Robot
6687496832
Merge pull request #113383 from pohly/e2e-failure-handling
e2e: improve failure handling
2022-11-08 12:42:31 -08:00
Kubernetes Prow Robot
83fe3aae4b
Merge pull request #113340 from Richabanker/cloud-cm-metrics-slis
add metrics/slis to cloud-controller-manager health checks
2022-11-08 12:42:19 -08:00
Wei Huang
abe0c5d5b4
E2E test for KEP Scheduling Readiness Gates 2022-11-08 12:38:21 -08:00
Peter Hunt
95489a26d6 kubelet: add cri metrics to server
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2022-11-08 14:47:08 -05:00
Peter Hunt
1a7388c2ef kubelet/metrics: add cri_metrics
that pulls metrics from the CRI

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2022-11-08 14:47:08 -05:00
Peter Hunt
6298ce68e2 kubelet: wire ListPodSandboxMetrics
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2022-11-08 14:47:08 -05:00
Daniel Ye
dcc7c2f660 Add fake runtimes and CRI changes for KEP-2371
Added new gRPC call 'ListPodSanboxMetrics' which would return additional
container stats currently supported by cAdvisor, but outside the scope
of /stats/summary api. Added new types to support metric exporting of
prometheus, including Metric and other subfields. Added fake runtime
changes associated with the CRI changes.
2022-11-08 14:47:08 -05:00
Peter Hunt
435606b109 component-base/metrics: Add NewConstMetric function
so that a caller can use the metrics.Metric structure but still handle
errors

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2022-11-08 14:47:08 -05:00
Andrew Sy Kim
efdd067186 apiserver: use the correct error when logging errors updating managedFields
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-11-08 14:10:39 -05:00
Joe Betz
65460b14d2 Fix params to be null instead of an empty map if paramRef is null 2022-11-08 13:59:31 -05:00
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
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