Commit Graph

102712 Commits

Author SHA1 Message Date
Zhou Peng
7e2d6301bf [k8s.io/kubectl/pkg/drain/drain]: minor typo fixup
Signed-off-by: Zhou Peng <p@ctriple.cn>
2021-08-01 07:07:31 +08:00
Manu Gupta
1a3eda9394 fix: 81134: display conflicted taint without a json representation.
1. string is formatted as unsafe json. Since this is created on the fly;
TaintKey and Effect are formatted as a 'key=effect' instead of '{key=effect}'
eliminating unsafe json representation.

2. Adds a fail test case for the case where a taint with same key and effect is added
and removed together.

Manual Testing

```
▶ ./_output/bin/kubectl taint nodes kind-control-plane key1=:NoSchedule key1=:NoSchedule-
error: can not both modify and remove the following taint(s) in the same command: key1=NoSchedule
```
2021-07-30 18:00:33 -07:00
Elana Hashman
a77f4f4c29
Log e2e-node kubelet output directly to file
For some reason when we send them to journald, many log lines are
consistently dropped as soon as the PLEG is started.

If we log directly to file, we don't have this problem. As a bonus, if
the tests crash, the kubelet logs will always be available since they
were already written; otherwise we normally wait until the end of the
test run to collect them from journald, meaning that we often end up
with empty logs.
2021-07-30 15:35:42 -07:00
Kubernetes Prow Robot
5be21c50c2
Merge pull request #104040 from rphillips/fix_crash_in_node_e2e_server
e2e node server: fix crash in log line
2021-07-30 11:45:38 -07:00
Ryan Phillips
163e4974b6 e2e node server: fix crash in log line 2021-07-30 12:36:00 -05:00
Kubernetes Prow Robot
026fb3bf35
Merge pull request #104033 from s-urbaniak/revert-101208-admission_metrics
Revert commit "Add a namespace label to admission metrics and expand histogram range to 0-10s"
2021-07-30 07:49:38 -07:00
Sergiusz Urbaniak
1a87ae19a6
Revert "Add a namespace label to admission metrics and expand histogram range to 0-10s" 2021-07-30 14:34:45 +02:00
Kubernetes Prow Robot
5336006cc8
Merge pull request #103997 from nilo19/bug/cherry-pick-551
Fix: ignore not a VMSS error for VMAS nodes in reconcileBackendPools
2021-07-30 00:21:38 -07:00
Kubernetes Prow Robot
7e78af445a
Merge pull request #103951 from sdmodi/startinformer
Start the informerFactory in the ControllerContext
2021-07-29 17:37:37 -07:00
Tim Hockin
09dc055984
Update golang.org/x/time/rate (#104014)
* Add failing test case

* Update golang.org/x/time/rate

* Call update-internal-modules from update-vendor
2021-07-29 16:13:38 -07:00
Kubernetes Prow Robot
b302770660
Merge pull request #103794 from nilo19/bug/cherry-pick-703
fix: Provide IPv6 support for internal load balancer
2021-07-29 14:41:20 -07:00
Kubernetes Prow Robot
ec16f247a6
Merge pull request #103982 from ehashman/flaky-serials
Mark failing node serial tests as flaky
2021-07-29 13:29:18 -07:00
Antonio Ojea
a2a22903bc delete stale UDP conntrack entries for loadbalancer IPs 2021-07-29 17:35:07 +02:00
Mzhiing
2635415482 fix error variable name 2021-07-29 20:10:06 +08:00
wojtekt
9f735e71bb Simplify APF promise to what is really used in the code 2021-07-29 11:05:40 +02:00
j2gg0s
9cee586ee9 apiserver: avoid repeated loading context for requestInfo in Namer.Name 2021-07-29 13:17:07 +08:00
Qi Ni
c406f2edab Fix: ignore not a VMSS error for VMAS nodes in reconcileBackendPools 2021-07-29 13:10:14 +08:00
Michael Taufen
ecb3813726 Update component-base OWNERS to include SIG-Architecture
Also update OWNERS in subdirs based on best-guess picks of appropriate
OWNERS. We can update as necessary in future iterations but this'll help
reduce initial noise for SIG-Arch.
2021-07-28 15:19:45 -07:00
Elana Hashman
fec260d083
Add release note block to cherry-pick script 2021-07-28 14:46:05 -07:00
Tanmoy Bhowmick
260b5ef155 fixing scripts from https://github.com/google/protobuf/releases to https://github.com/protocolbuffers/protobuf/releases 2021-07-29 02:24:39 +05:30
Kubernetes Prow Robot
fffaadc013
Merge pull request #103980 from ehashman/dkc-metrics
Bump DynamicKubeConfig metric deprecation to 1.23
2021-07-28 11:42:47 -07:00
Elana Hashman
59a7cc12c9
Mark failing node serial tests as flaky
Tracked in:
- https://github.com/kubernetes/kubernetes/issues/103690
- https://github.com/kubernetes/kubernetes/issues/103691
2021-07-28 10:39:30 -07:00
Kubernetes Prow Robot
84451a9c64
Merge pull request #103960 from seans3/security-vulnerability-fix
Fixes (temporarily) curl piped to shell security vulnerability
2021-07-28 10:27:35 -07:00
Elana Hashman
b5f24c334e
Bump DynamicKubeConfig metric deprecation to 1.23 2021-07-28 09:29:57 -07:00
wojtekt
a1cf44eab4 Remove unused promise code from APF 2021-07-28 11:34:12 +02:00
Claudiu Belu
05cfbecab9 test images: Adds image labels by default
Adds the "image_version", "commit_id", "git_url" to the image labels.
2021-07-28 09:25:21 +00:00
Kubernetes Prow Robot
dadecb2c89
Merge pull request #103439 from andyzhangx/azure-managed-disk-translation-issue
fix azure disk translation issue due to lower case `managed` kind
2021-07-27 22:01:35 -07:00
Kevin Delgado
ca90849724 add kube-openapi/pkg/schemaconv to kubeadm import-restrictions 2021-07-28 01:06:15 +00:00
Chok Yip Lau
99bc2b077f Added support for multiple --from-env flags 2021-07-27 20:50:34 -04:00
Kevin Delgado
4edb6e01be Add kube-openapi to client-go import restrictions 2021-07-28 00:41:30 +00:00
Sean Sullivan
df1d9380fb Fixes (temporarily) curl piped to shell security vulnerability 2021-07-27 16:31:11 -07:00
Kevin Delgado
3628065b45 fix boilerplate and staticcheck 2021-07-27 22:31:38 +00:00
Kevin Delgado
85bc3c4f85 fix vendor 2021-07-27 21:23:49 +00:00
Kevin Delgado
49c86bde55 fix extract_test 2021-07-27 20:54:09 +00:00
Kevin Delgado
af11c4ac9b remove apiserver impor from client-go 2021-07-27 20:46:40 +00:00
Sudeep Modi
a4dfe40650 Start the informerFactory in the ControllerContext 2021-07-27 09:37:34 -07:00
Jordan Liggitt
db48793269 Set idle and readheader timeouts 2021-07-27 11:58:45 -04:00
Kubernetes Prow Robot
d92b788faa
Merge pull request #103937 from jingxu97/july/grace
Fix disruptive subPath test failures
2021-07-27 08:22:45 -07:00
Kubernetes Prow Robot
d9d4f0c69c
Merge pull request #103935 from nikhita/publishing-bot-rules-fix
staging/publishing: fix rules for legacy-cloud-providers for 1.22
2021-07-27 02:54:46 -07:00
Jing Xu
f1e1f3a416 Fix disruptive subPath test failures
This PR fixes two distruptive subpath test failures.

1. disable --check-volume-lifecycle check
2. skip hostpath driver tests on graceful pod deletion test too.

See details in
https://github.com/kubernetes/kubernetes/issues/103651#issuecomment-887227562

Change-Id: Ibecd051be865feea5f2a92d22ade848367400939
2021-07-27 02:17:31 -07:00
Nikhita Raghunath
363d47c08c staging/publishing: fix rules for legacy-cloud-providers for 1.22
The mount-utils repo is a dependency but got missed from the rules.

This commit fixes the currently broken publishing bot.
2021-07-27 13:50:34 +05:30
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
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