Commit Graph

14247 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
d3b37e1f6b Merge pull request #104499 from liggitt/visitor-source
Propagate source to list items when flattening
2021-10-01 09:45:23 -07:00
Kubernetes Prow Robot
ca08978c2d Merge pull request #104653 from astraw99/fix-word-comment
Fix word most `comment` to `common` and typo
2021-10-01 07:31:22 -07:00
Kubernetes Prow Robot
26365faf31 Merge pull request #105185 from ialidzhikov/fix/azure-lb-deletion
Ignore VMs in vmss delete backend pools
2021-10-01 01:55:21 -07:00
Kubernetes Prow Robot
dec5153eb0 Merge pull request #105383 from tkashem/lifecycle-signal
make lifecycle signal thread safe
2021-09-30 18:33:57 -07:00
Abu Kashem
d3e2e9ede2 make lifecycle signal thread safe 2021-09-30 15:33:09 -04:00
Madhav Jivrajani
a43fca76ea run hack/{pind-dependency.sh, update-vendor.sh}
Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2021-09-30 19:15:43 +05:30
Kubernetes Prow Robot
38746752af Merge pull request #104365 from jyz0309/adjust-log-level
[PodSecurity] log nsPolicy evaluation for the request
2021-09-30 01:00:08 -07:00
Kubernetes Prow Robot
ed40a89f2e Merge pull request #104965 from CKchen0726/invalid_nil_check
remove redundant nil check
2021-09-29 19:44:07 -07:00
Kubernetes Prow Robot
dac94e1c9e Merge pull request #105121 from wujiangfa-xlauncher/master
fix top node output format incorrect
2021-09-29 16:42:08 -07:00
Kubernetes Prow Robot
d551560a78 Merge pull request #105330 from liggitt/importboss-doc
Make package paths referenced by import boss valid
2021-09-29 15:34:56 -07:00
Kubernetes Prow Robot
995a1c5abf Merge pull request #105117 from cmssczy/fix_useless_error_handling
handle error when parse Quantity
2021-09-29 15:34:44 -07:00
Kubernetes Prow Robot
bac45abf77 Merge pull request #105327 from julianvmodesto/kubectl-dry-run-flag-removals
Remove deprecated kubectl --dry-run values.
2021-09-29 13:31:21 -07:00
Kubernetes Prow Robot
1ad3e14f1f Merge pull request #105188 from nilo19/bug/cherry-pick-794
fix: consolidate logs for instance not found error
2021-09-29 11:23:21 -07:00
Kubernetes Prow Robot
6f47878926 Merge pull request #105107 from cici37/addFG
Add feature gate CustomResourceValidationExpressions
2021-09-29 08:08:48 -07:00
Kubernetes Prow Robot
49f9e227e9 Merge pull request #105247 from Jille/patch-1
Fix double formatting on error message
2021-09-29 04:14:48 -07:00
Kubernetes Prow Robot
fafbe3aa51 Merge pull request #103900 from ash2k/ash2k/cache-mapper-and-client
Cache rest mapper and discovery client
2021-09-29 02:10:49 -07:00
Kubernetes Prow Robot
c9b9c40109 Merge pull request #105315 from wzshiming/test/events-expansion
Add unit test coverage for events expansion
2021-09-29 01:00:48 -07:00
Shiming Zhang
13fe94f136 Add unit test coverage for events expansion 2021-09-29 10:11:27 +08:00
jyz0309
f157aa17f2 bump version to 5
Signed-off-by: jyz0309 <45495947@qq.com>
2021-09-29 09:30:16 +08:00
Kubernetes Prow Robot
198c9c70f1 Merge pull request #104925 from prameshj/ilbracefix
Process GCE ILB services with the v1 annotation in the service controller
2021-09-28 18:06:48 -07:00
Qi Ni
0406ba32ea fix: skip not found nodes when reconciling LB backend address pools 2021-09-29 08:00:28 +08:00
Jordan Liggitt
f6b831aeac Make package paths referenced by import boss valid 2021-09-28 18:05:58 -04:00
Kubernetes Prow Robot
66e1d27a59 Merge pull request #104300 from wojtek-t/converting_informer
Create TransformingInformer
2021-09-28 14:02:34 -07:00
Kubernetes Prow Robot
3b2b23cee7 Merge pull request #105234 from wojtek-t/optimize_indexer
Optimize indexer
2021-09-28 12:50:34 -07:00
Julian V. Modesto
e0b7a85ee5 Remove deprecated kubectl --dry-run values.
The boolean values for --dry-run have been deprecated for removal since
1.18, more than 2 releases.

The default value for --dry-run with the flag set and unspecified has
been deprecated for removal since 1.18, more than 2 releases.

Both values are now removed in this change. Any kubectl --dry-run
usage no longer accepts --dry-run=(true|false) boolean values and usage
now requires that a value of (client|server|none) is specified.
2021-09-28 10:21:04 -04:00
Shiming Zhang
f63c135e1f Update comments 2021-09-28 18:07:50 +08:00
jyz0309
88e35021e6 address comment
Signed-off-by: jyz0309 <45495947@qq.com>
2021-09-28 17:15:44 +08:00
wojtekt
75273a0689 Optimize index updating 2021-09-28 08:40:09 +02:00
Kubernetes Prow Robot
e35dff68af Merge pull request #105232 from wojtek-t/optimize_watchcache
Optimize watchcache by not starting a gorotuine for all Get/List requests setting RV=0
2021-09-27 15:15:56 -07:00
Kubernetes Prow Robot
c647c5614b Merge pull request #104985 from caesarxuchao/aggregator-no-spdy
Aggregator uses the regular transport when handling upgrade requests
2021-09-27 15:15:44 -07:00
Kubernetes Prow Robot
597f197e61 Merge pull request #105275 from tkashem/apf-rename-seats
apf: rename WorkEstimate.Seats to InitialSeats
2021-09-27 12:49:57 -07:00
Kubernetes Prow Robot
04f3d19bea Merge pull request #104507 from wzshiming/fix/match
Check namespaces match in UpdateWithEventNamespace
2021-09-27 09:05:35 -07:00
Kubernetes Prow Robot
dc2fe6d56c Merge pull request #105078 from aramase/fix-typo-kms-config
fix typo in kms encryption config logs
2021-09-27 07:33:49 -07:00
Kubernetes Prow Robot
48d844ec64 Merge pull request #104483 from margocrawf/master
Add UID to client-go impersonation config
2021-09-27 07:33:36 -07:00
Kubernetes Prow Robot
486ca678a0 Merge pull request #104923 from davidkarlsen/xfsFormatIssue
mount-utils: force-format xfs-filesystems too
2021-09-27 02:29:36 -07:00
Jille Timmermans
4c038d387c Fix double formatting on error message
fmt.Errorf() was called with a message rather than a format string
2021-09-25 09:51:48 +02:00
jyz0309
e93e29a6bc address comment
Signed-off-by: jyz0309 <45495947@qq.com>
2021-09-25 09:31:55 +08:00
Abu Kashem
5d67896ade apf: rename WorkEstimate.Seats to InitialSeats 2021-09-24 19:49:25 -04:00
Khaled Henidak (Kal)
a53e2eaeab move IPv6DualStack feature to stable. (#104691)
* kube-proxy

* endpoints controller

* app: kube-controller-manager

* app: cloud-controller-manager

* kubelet

* app: api-server

* node utils + registry/strategy

* api: validation (comment removal)

* api:pod strategy (util pkg)

* api: docs

* core: integration testing

* kubeadm: change feature gate to GA

* service registry and rest stack

* move feature to GA

* generated
2021-09-24 16:30:22 -07:00
Margo Crawford
d9ddfb26e1 Introduces Impersonate-Uid to client-go.
* Updates ImpersonationConfig in rest/config.go to include UID
  attribute, and pass it through when copying the config
* Updates ImpersonationConfig in transport/config.go to include UID
  attribute
* In transport/round_tripper.go, Set the "Impersonate-Uid" header in
  requests based on the UID value in the config
* Update auth_test.go integration test to specify a UID through the new
  rest.ImpersonationConfig field rather than manually setting the
  Impersonate-Uid header

Signed-off-by: Margo Crawford <margaretc@vmware.com>
2021-09-24 14:06:30 -07:00
wojtekt
27c94a49c8 Optimize indexer 2021-09-24 14:46:56 +02:00
wojtekt
37f93fc63d Optimize watchcache by not starting a gorotuine for all Get/List requests setting RV=0 2021-09-24 14:14:19 +02:00
jyz0309
339c81f9a8 add log
Signed-off-by: jyz0309 <45495947@qq.com>
2021-09-23 19:23:01 +08:00
wojtekt
56ffb4e2b0 Create TransformingIndexerInformer 2021-09-23 09:10:08 +02:00
wojtekt
efd3490076 Create TransformingInformer
TransformingInfomer is like a regular Informer, but allows for applying
custom transform functions on the objects received via list/watch API calls.
2021-09-23 08:19:05 +02:00
Kubernetes Prow Robot
dce069ce22 Merge pull request #104588 from liggitt/podsecurity-benchmark
PodSecurity: benchmark and optimize privileged namespace evaluations
2021-09-22 16:17:10 -07:00
Kubernetes Prow Robot
752c4b7f0b Merge pull request #105160 from MikeSpreitzer/improve-sharding-and-dispatch
Improve sharding and dispatch
2021-09-22 12:58:32 -07:00
Jordan Liggitt
32a5f41ec4 PodSecurity: avoid double parsing policy from namespace labels
benchmark                                                           old ns/op     new ns/op     delta
BenchmarkVerifyPod/enforce-implicit_pod-12                          224           225           +0.40%
BenchmarkVerifyPod/enforce-implicit_deployment-12                   237           234           -1.31%
BenchmarkVerifyPod/enforce-privileged_pod-12                        259           245           -5.26%
BenchmarkVerifyPod/enforce-privileged_deployment-12                 261           254           -2.72%
BenchmarkVerifyPod/enforce-baseline_pod-12                          2967          2850          -3.94%
BenchmarkVerifyPod/enforce-baseline_deployment-12                   252           255           +0.87%
BenchmarkVerifyPod/enforce-restricted_pod-12                        3244          3125          -3.67%
BenchmarkVerifyPod/enforce-restricted_deployment-12                 258           261           +0.97%
BenchmarkVerifyPod/warn-baseline_pod-12                             2956          2841          -3.89%
BenchmarkVerifyPod/warn-baseline_deployment-12                      3034          2913          -3.99%
BenchmarkVerifyPod/warn-restricted_pod-12                           3276          3176          -3.05%
BenchmarkVerifyPod/warn-restricted_deployment-12                    3302          3157          -4.39%
BenchmarkVerifyPod/enforce-warn-audit-baseline_pod-12               5159          5132          -0.52%
BenchmarkVerifyPod/enforce-warn-audit-baseline_deployment-12        4208          4069          -3.30%
BenchmarkVerifyPod/warn-baseline-audit-restricted_pod-12            4336          4252          -1.94%
BenchmarkVerifyPod/warn-baseline-audit-restricted_deployment-12     4436          4316          -2.71%
2021-09-22 10:26:34 -04:00
Kubernetes Prow Robot
5b489e2846 Merge pull request #104983 from MikeSpreitzer/list-metrics-take3
Try yet again to add metrics about LIST handling
2021-09-22 07:16:02 -07:00
Qi Ni
1e21fe694e fix: consolidate logs for instance not found error 2021-09-22 14:32:01 +08:00