Commit Graph

102839 Commits

Author SHA1 Message Date
Antonio Ojea
d38c2df2c4 client-go: deltaFIFO trace slow handlers
If the informers handlers are slow processing the objects, the deltaFIFO
blocks the queue and the streamWatchers can not add new elements to the
queue, creating contention and causing different problems, like high
memory usage.
The problem is not easy to identify from a user perspective, typically
you can use pprof to identify a high memory usage on the StreamWatchers
or some handler consuming most of the cpu time, but users should not
have to profile the golang binary in order to know that.

Metrics were disabled on the reflector because of memory leaks, also
monitoring the queue depth can't give a good signal, since it never goes high

However, we can trace slow handlers and inform users about the problem.
2021-07-27 08:52:43 +02:00
Wei Huang
55765f1b49
sched: support HistogramVec in scheduler performance test 2021-07-26 20:27:37 -07:00
Kevin Delgado
479e2ae307 wrap extractor errors 2021-07-27 01:28:44 +00:00
Kevin Delgado
7bfc420351 simplify test to only test the new logic of extractUnstructured 2021-07-27 01:28:44 +00:00
Kevin Delgado
1122091b06 Revert caching in favor of simple ttl 2021-07-27 01:28:44 +00:00
Kevin Delgado
53582a0104 remove commented out code 2021-07-27 01:28:44 +00:00
Kevin Delgado
c9e97de46b Address PR feedback around gvk parser generation ergonomics 2021-07-27 01:28:43 +00:00
Kevin Delgado
9b9925f56d Restructure caching logic 2021-07-27 01:28:43 +00:00
Kevin Delgado
7cb18e84f1 comments 2021-07-27 01:28:43 +00:00
Kevin Delgado
f6ce385e44 remove test script 2021-07-27 01:28:43 +00:00
Kevin Delgado
604db6eb2a rename cache, add to integration test 2021-07-27 01:28:43 +00:00
Kevin Delgado
235a57a29e Add HasOpenAPISchemaChanged to DiscoveryInterface 2021-07-27 01:28:42 +00:00
Kevin Delgado
7b9757faa4 basic caching working 2021-07-27 01:28:42 +00:00
Kevin Delgado
dda31bbf2e Manually set GVK in extract, add commentary to extractor 2021-07-27 01:28:42 +00:00
Kevin Delgado
9f4a4d812d Write TestUnstructuredExtract 2021-07-27 01:28:04 +00:00
Kevin Delgado
6e481c5db1 Initial UnstructuredExtract without caching 2021-07-27 01:28:01 +00:00
Pavithra Ramesh
b15ed04c9d Allow non-subsetting ILBs to update when the feature is enabled. 2021-07-26 11:12:34 -07:00
kabab
2ad2bc6844 kubectl: Add labels to ingress describe 2021-07-26 20:08:16 +02:00
Kubernetes Prow Robot
ee5df7cbcf
Merge pull request #103875 from andrewrynhard/fix-audit-log-path
Do not try to create an audit log file named "-"
2021-07-26 02:32:33 -07:00
njuptlzf
1555877cc5 fix data race for Test_Run_Positive_VolumeMountControllerAttachEnabledRace 2021-07-26 17:17:16 +08:00
houjun
8dc091ef2e Fix wrong log 2021-07-26 11:38:02 +08:00
Di Xu
ae7b9787ee
cleanup description on deprecated include-uninitialized flag 2021-07-26 11:14:55 +08:00
Shiming Zhang
dc9eb82e0a Fix NPE in test/e2e/framework/providers/azure 2021-07-26 10:27:44 +08:00
SataQiu
7fa0b9b6c1 add --concurrent-ephemeralvolume-syncs flag for kube-controller-manager 2021-07-25 21:36:57 +08:00
Kubernetes Prow Robot
3a863643c3
Merge pull request #103895 from cheftako/anpv122
Update to using apiserver-network-proxy v1.22
2021-07-25 06:11:07 -07:00
Walter Fender
6d1556df7b Update to using apiserver-network-proxy v1.22
Includes a fix to prevent the agent writing to a closed channel.
2021-07-24 16:02:01 -07:00
Kubernetes Prow Robot
47e1df8f4e
Merge pull request #103743 from kolyshkin/runc-1.0.1
vendor: bump runc to v1.0.1
2021-07-23 15:16:33 -07:00
Elana Hashman
93146048b4
Mark "update Node.Spec.ConfigSource" node e2es as slow
- recover to last-known-good ConfigMap.KubeletConfigKey
  ~12m to run in CI, 13m locally
- non-nil last-known-good to a new non-nil last-known-good
  ~24m to run in CI
- recover to last-known-good ConfigMap
  ~12m to run in CI
- state transitions
   ~8m to run in CI
2021-07-23 12:40:24 -07:00
Kubernetes Prow Robot
fb7e3f4639
Merge pull request #103865 from palnabarun/patch-e2e-node-test-suite
Add e2e testing manifest bundle to e2e_node test suite
2021-07-23 12:32:33 -07:00
Jordan Liggitt
4115bef826 Update references to test/conformance/image 2021-07-23 11:26:54 -04:00
Jordan Liggitt
024930df11 Move cluster/images/conformance to test/conformance/image 2021-07-23 11:23:55 -04:00
Andrew Rynhard
7728428f01
Do not try to create an audit log file named "-"
That PR fixes --audit-log-path=- support.
It now logs to stdout as in 1.21.
2021-07-23 14:26:28 +00:00
Kubernetes Prow Robot
8088b3e67d
Merge pull request #103713 from aojea/metrics-server-443
cluster: fix metrics-server deployment on CI jobs
2021-07-23 06:59:16 -07:00
able8
3520e8b339 Fix a typo in comment 2021-07-23 19:47:33 +08:00
Nabarun Pal
77afa53f9d
Add e2e testing manifest bundle to e2e_node test suite
Ref: https://kubernetes.slack.com/archives/C0BP8PW9G/p1627003199187100?thread_ts=1626988113.184100&cid=C0BP8PW9G

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-07-23 09:49:33 +05:30
Neeraj Shah
75f0007d2b Overlaid OS's environment variables with the ones specified in the CredentialProviderConfig
- Removed dependency with cmd.Run's stub
- Added test cases

Signed-off-by: Neeraj Shah <neerajx86@gmail.com>
2021-07-23 09:45:19 +05:30
Yuan Chen
00e31ce565 Fix incorrect comments in scheduler_queue.go 2021-07-22 20:57:21 -07:00
Juan Escobar
fef5c0c1a6 Improve storage test skipping pattern.
Including a skip method as the first line of a test does not prevent the test to fail in the BeforeEach function.
If the test is skipped because of a tag in the name, then we can prevent such odd behavior.
2021-07-22 21:42:30 -05:00
Kubernetes Prow Robot
f8ef5a9411
Merge pull request #103620 from thockin/kal-approver
Make khenidak a sig-net approver
2021-07-22 19:29:16 -07:00
Kubernetes Prow Robot
8ac0fcdb74
Merge pull request #103842 from bobbypage/summary-test
test: summary use pointer gomega comparison for UsageNanoCores
2021-07-22 16:07:28 -07:00
Kubernetes Prow Robot
de8b873684
Merge pull request #103827 from mmiranda96/fix/demote-sysctl-conformance-test
Demote sysctl test from its conformance status
2021-07-22 16:07:16 -07:00
Kubernetes Prow Robot
603830b8a6
Merge pull request #103806 from mauriciopoppe/fetch-metrics-no-sync-once
Fetch metrics from controller manager & scheduler without `sync.Once`
2021-07-22 13:55:18 -07:00
Mike Miranda
0cce9a4a6c Remove conformance status from a sysctl test and relabel 2021-07-22 20:12:26 +00:00
Jordan Liggitt
326471d880 k8s.io/code-generator: Change BoilerplatePath() to locate file or require explicit flag 2021-07-22 16:04:30 -04:00
“Ibrahim
2cacfada26 Update Containerd version - GCE Windows 2021-07-22 18:34:11 +00:00
Kubernetes Prow Robot
9b84e473b2
Merge pull request #103831 from lizhuqi/disable-aufs
disable aufs module
2021-07-22 10:13:52 -07:00
Kubernetes Prow Robot
4818e5844e
Merge pull request #103844 from palnabarun/1.22/update-publishing-rules
staging/publishing: add release-1.22 rules
2021-07-22 08:13:51 -07:00
Nabarun Pal
0aa16fae5b
staging/publishing: add release-1.22 rules
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-07-22 19:37:42 +05:30
Alexi Kessler
94977dce8d
Update doc description for --audit-log-maxbackup
Per https://pkg.go.dev/gopkg.in/natefinch/lumberjack.v1 a value of 0 will retain all logs. Not understanding this led to an outage for my team.
2021-07-22 09:42:30 -04:00
David Porter
3af4fe8c9b Use pointer gomega comparison for UsageNanoCores 2021-07-22 01:08:36 -07:00