Commit Graph

102871 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
d61cfe1dba
Merge pull request #103458 from novahe/fix/redundant-printing
remove stack trace log when sorting with a bad unsortable field
2021-08-04 19:00:48 -07:00
Kubernetes Prow Robot
f886190b48
Merge pull request #103436 from loburm/config_kube_proxy
Make cpu request of kube proxy configurable by env variable.
2021-08-04 19:00:40 -07:00
Kubernetes Prow Robot
ce5dbd2095
Merge pull request #103376 from mattcary/sunrpc
Drop end of sunrpc port range to avoid port conflicts.
2021-08-04 19:00:32 -07:00
Kubernetes Prow Robot
fa1d682bd7
Merge pull request #103353 from njuptlzf/fix_datarace
fix data race for Test_Run_Positive_VolumeMountControllerAttachEnabledRace
2021-08-04 19:00:23 -07:00
Kubernetes Prow Robot
a674fb496c
Merge pull request #103261 from markusthoemmes/kubelet-volume-logs
Add pod context to volume lifecycle logs
2021-08-04 19:00:15 -07:00
Kubernetes Prow Robot
06ae9a2ad7
Merge pull request #103259 from mamil/fix-typo
fix typo for daemon_controller_test.go
2021-08-04 19:00:07 -07:00
Kubernetes Prow Robot
d1479ea431
Merge pull request #103231 from n4j/bug/CredentialProviderFailsOnECR
Appended OS's environment variables to the ones configured in Credent…
2021-08-04 18:59:59 -07:00
Kubernetes Prow Robot
fad57be4c6
Merge pull request #102927 from kishorj/ec2-instance-cache-maxage
Set EC2 instance cache max age to 10 mins
2021-08-04 18:59:51 -07:00
Kubernetes Prow Robot
4b2f2a0cd8
Merge pull request #102789 from haircommander/add-summary-stats-to-cri
CRI: add fields for pod level stats to satisfy the /stats/summary API
2021-08-04 18:59:43 -07:00
Wesley Williams
ff165c8823
Replace usage of Whitelist with Allowlist within Kubelet's sysctl package (#102298)
* Change uses of whitelist to allowlist in kubelet sysctl

* Rename whitelist files to allowlist in Kubelet sysctl

* Further renames of whitelist to allowlist in Kubelet

* Rename podsecuritypolicy uses of whitelist to allowlist

* Update pkg/kubelet/kubelet.go

Co-authored-by: Danielle <dani@builds.terrible.systems>

Co-authored-by: Danielle <dani@builds.terrible.systems>
2021-08-04 18:59:35 -07:00
Kubernetes Prow Robot
9c5cefb230
Merge pull request #101781 from ptabor/20210506-retry-dns-resolve
Retry hostname->IP: [Errno -2] Name or service not known
2021-08-04 18:59:27 -07:00
Kubernetes Prow Robot
0d997019e9
Merge pull request #101646 from lauchokyip/fixConfigMap
Added support for multiple --from-env flags
2021-08-04 18:59:15 -07:00
Kubernetes Prow Robot
41fdc193ff
Merge pull request #101370 from RyanAoh/master
Set out.TargetCPUUtilizationPercentage correctly when converting autscaling_HorizontalPodAutoscalerSpec to v1_HorizontalPodAutoscalerSpec
2021-08-04 18:59:02 -07:00
Kubernetes Prow Robot
bf22025950
Merge pull request #100406 from tomkukral/retry-doc
fix typo in retry doc
2021-08-04 18:58:50 -07:00
Kubernetes Prow Robot
f136e80269
Merge pull request #100226 from houjun41544/20210315-nodeaffinity
Fix wrong log
2021-08-04 18:58:38 -07:00
ravisantoshgudimetla
3e44139ae4 [jobs][registry]: Warn if no propagationpolicy set
If no propagation policy has been set, the pods associated
with the jobs are going to linger because of OrphanDependents
policy set currently. This patch ensures that a warning
will be thrown when the user explicitly doesn't set deletionPolicy.

More context: https://github.com/kubernetes/kubernetes/pull/103449#discussion_r675820335
2021-08-04 21:10:04 -04:00
Kubernetes Prow Robot
df69d09c78
Merge pull request #104055 from thinpark/drain
[k8s.io/kubectl/pkg/drain/drain]: minor typo fixup
2021-08-04 17:46:37 -07:00
Kubernetes Prow Robot
afb8d236f9
Merge pull request #104135 from vteratipally/master
Update configure-helper.sh
2021-08-04 16:13:11 -07:00
Michelle Tandya
9cffbab037 Log kube-env variables from startup script 2021-08-04 22:53:52 +00:00
Billie Cleek
a7834389b4 check APIStatus.Code in Is* family of functions
Check the Code in the Is family of functions where it makes sense. This
was already done in a couple of functions, but there were many others
where checking the code makes sense.

Consider known reasons in the Is* family of functions for checking
errors based on StatusReason and code.

Maintain backward compatibility by not checkng APIStatus for an unknown
reason in either IsTooManyRequests or IsRequestEntityToLargeError

Add tests for error types by code

Add tests to exercise error checks using both reasons and codes.
2021-08-04 15:28:08 -07:00
vteratipally
5d84ffa6c2
Update configure-helper.sh 2021-08-04 14:36:16 -07:00
vteratipally
b0039559dd
Update configure-helper.sh 2021-08-04 13:19:00 -07:00
Chao Xu
572a24d854 add a keepalive time to the konnectivity server 2021-08-04 12:48:32 -07:00
vteratipally
0376c58c44
Update configure-helper.sh
add live-restore true by default.
2021-08-04 12:09:10 -07:00
Anago GCB
ab595f37d2 CHANGELOG: Update directory for v1.22.0 release 2021-08-04 18:50:53 +00:00
kerthcet
8cf10d9a20 set showHiddenMetricsForVersion=1.22 in dynamicKubeletConfiguration test
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-08-05 01:04:54 +08:00
Antonio Ojea
9d30eb88df retry apiserver errors on e2e service tests 2021-08-04 15:30:47 +02:00
Sascha Grunert
ea1bc18bc1
Use docker buildx for etcd image
This allows to choose the correct architecture in the image manifest,
which defaulted to the host system before applying this patch.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-08-04 14:49:45 +02:00
Paco Xu
94a58a3b14 remove GAed feature gates sysctls 2021-08-04 11:39:54 +08:00
Elana Hashman
ac076838c8
Add ehashman to node e2e test approvers
List of files raised by matthyx in SIG Node during the 2021-08-03
meeting.
2021-08-03 10:48:06 -07:00
Davanum Srinivas
3463c2dfa9
Skip NVidia GPU test in node e2e CI jobs for containerd and other runtimes
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-03 08:48:44 -04:00
Markus Thömmes
c820824711 Add pod context to volume lifecycle logs 2021-08-03 13:12:22 +02:00
Kubernetes Prow Robot
9ff3b7e744
Merge pull request #104047 from ehashman/fix-node-e2e-logs
Log e2e-node kubelet output directly to file
2021-08-02 12:30:19 -07:00
Julie Qi
c35502ad4b Remove AUFSUmountHung from NPD test 2021-08-02 11:37:30 -07:00
Kubernetes Prow Robot
360ab1083a
Merge pull request #104076 from dims/explicitly-restart-kubelet-to-stabilize-serial-containerd-job
Explicitly restart kubelet to stabilize serial-containerd job
2021-08-02 10:21:22 -07:00
Davanum Srinivas
dab19517e5
Explicitly restart kubelet to stabilize serial-containerd job
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-02 11:24:11 -04:00
kerthcet
980cf85439 revert Bump DynamicKubeConfig metric deprecation to 1.23 by delta update
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-08-02 23:15:10 +08:00
Dan Winship
72223406ac Remove stray DNS port references in NetPol tests
The tests no longer use DNS, so we shouldn't be adding DNS-related
exceptions to the policies that are being tested.
2021-08-02 10:31:59 -04:00
Antonio Ojea
34f4959633 replace e2e WaitForPodsReady by WaitTimeoutForPodReadyInNamespace 2021-08-01 19:24:52 +02:00
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