Commit Graph

92301 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
4de511a4cf
Merge pull request #92438 from liggitt/1.14
go1.14 fixup
2020-06-23 18:21:18 -07:00
Jordan Liggitt
d9bb0b8ee1 go1.14: run hack/update-vendor.sh 2020-06-23 19:04:43 -04:00
Jordan Liggitt
622092a9d3 go1.14: update golang.org/x/sys and golang.org/x/tools to go1.14 levels 2020-06-23 19:04:43 -04:00
Jordan Liggitt
660c290bbf go1.14: set -mod=mod while rebuilding/linting vendor and building licenses, preserve explicit imports in modules.txt 2020-06-23 19:04:43 -04:00
Jordan Liggitt
101653e5e8 go1.14: add new ciphers 2020-06-23 19:04:43 -04:00
Jordan Liggitt
a2dd5112c0 go1.14: fix test/cmd timeout message check 2020-06-23 19:04:43 -04:00
Jordan Liggitt
becd9f4a2e go1.14: update staticcheck for go 1.14, ignore new staticcheck warnings 2020-06-23 19:04:43 -04:00
Jordan Liggitt
c82fe149a6 go1.14: update minimum required go version 2020-06-23 16:40:22 -04:00
Jordan Liggitt
4bd558776e go1.14: fix govet errors 2020-06-23 16:40:15 -04:00
Jordan Liggitt
14845f0c2d go1.14: fix gofmt errors 2020-06-23 16:40:07 -04:00
Aldo Culquicondor
698eda3079 Add profile label to scheduler extension point metrics
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-06-23 15:30:22 -04:00
Jonathan Sun
2f7874bd4b Install firewall logging rules to log metadata server access for unauthorized components. 2020-06-23 11:22:05 -07:00
Brian Pursley
2afc8e0eab Add pod and container name in log message when container fails to start 2020-06-23 12:59:53 -04:00
Kubernetes Prow Robot
a463b25c9d
Merge pull request #91980 from rosti/kubeadm-cc-manual-upgrade
kubeadm upgrade: Allow supplying hand migrated component configs
2020-06-23 09:35:42 -07:00
Marek Siarkowicz
303e1c1922 Improve performance of http access logs
Fixes:
* Don't call LogArgs if log will not be written due low verbosity
* Create separate slice for hijacked to avoid append on main path
* Shorten log message as this log is to common to be verbose

name           old time/op    new time/op    delta
WithLogging-4    4.95µs ± 3%    3.52µs ± 1%  -28.80%  (p=0.000 n=10+8)

name           old alloc/op   new alloc/op   delta
WithLogging-4    2.93kB ± 0%    1.22kB ± 0%  -58.45%  (p=0.000 n=10+9)

name           old allocs/op  new allocs/op  delta
WithLogging-4      32.0 ± 0%      20.0 ± 0%  -37.50%  (p=0.000 n=10+10)
2020-06-23 16:20:55 +02:00
Yecheng Fu
22d874993c build files 2020-06-23 22:18:33 +08:00
Yecheng Fu
4627b419b4 tests only 2020-06-23 22:18:33 +08:00
Yecheng Fu
ee4d7410be Share pod volume binding cache via framework.CycleState 2020-06-23 22:18:33 +08:00
Kubernetes Prow Robot
0072d8ae23
Merge pull request #90797 from fedepaol/sctpconnectporter
Add SCTP support to agnhost connect / porter commands.
2020-06-23 07:05:41 -07:00
Joakim Roubert
db9d6d0bff util.sh: Replace wait-until-stable with wait-until --stable
This change follows the recommendation from the CI logs:

"WARNING: `gcloud compute instance-groups managed wait-until-stable` is
deprecated. Please use `gcloud compute instance-groups managed
wait-until --stable` instead."

Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-06-23 13:30:52 +02:00
Kubernetes Prow Robot
db8a88721e
Merge pull request #81742 from praseodym/fix-staticcheck-pkg/registry
Fix staticcheck failures for pkg/registry/...
2020-06-23 02:55:41 -07:00
Dave Chen
e1d61b621a Scheduler: remove the misleading comments in NodeResourcesBalancedAllocation
Signed-off-by: Dave Chen dave.chen@arm.com
2020-06-23 17:33:02 +08:00
Kubernetes Prow Robot
ad634590f8
Merge pull request #92082 from chelseychen/event-fallback2
Migrate kube-scheduler to fallback for events API built into the library
2020-06-23 01:23:40 -07:00
RainbowMango
168c695e1a Update two metrics name to make promlint happy. 2020-06-23 15:16:18 +08:00
Kubernetes Prow Robot
3a51aaf8b4
Merge pull request #92359 from RobertKielty/92319
renames CommmonImageWhiteList to PrePulledImages in e2e/common/util
2020-06-22 23:54:07 -07:00
Kubernetes Prow Robot
83a15867b1
Merge pull request #92049 from Huang-Wei/postfilter-impl-3
[postfilter-impl-3] Register and enable the defaultpreemption plugin
2020-06-22 23:53:54 -07:00
Kubernetes Prow Robot
00d6255f44
Merge pull request #91712 from KobayashiD27/structured-logging-in-event
Migrate log to klog.InfoS for staging/src/k8s.io/client-go
2020-06-22 23:53:40 -07:00
Kubernetes Prow Robot
981f6751f8
Merge pull request #92330 from andyzhangx/msi-cred-issue
fix: don't use docker config cache if it's empty
2020-06-22 22:00:19 -07:00
Kubernetes Prow Robot
79a7088340
Merge pull request #92202 from alculquicondor/profile-metrics
Add profile label to schedule_attempts_total metric and e2e_scheduling_duration_seconds
2020-06-22 22:00:10 -07:00
Kubernetes Prow Robot
a7e4973cb9
Merge pull request #91634 from jpbetz/latest-utils
Bump k8s.io/utils to 6e3d28 to pick up nested trace
2020-06-22 21:59:55 -07:00
Kubernetes Prow Robot
819ad44c90
Merge pull request #91603 from pancernik/v1beta1-requested-to-cap-ratio-encoding
Configure strict encoding for RequestedToCapacityRatioArgs
2020-06-22 21:59:41 -07:00
Kubernetes Prow Robot
f2534f2c20
Merge pull request #88638 from justaugustus/go1140
Update Golang to v1.14.4
2020-06-22 17:59:40 -07:00
Wei Huang
d99cc01646
Register and enable defaultpreemption plugin
- Enable defaultpreemption as a PostFilter plugin
- Remote legacy hard-coded preemption logic
2020-06-22 17:22:27 -07:00
Stephen Augustus
b0f17c2918 apiserver/pkg/apis/config/validation: Add invalidURLErrFmt
In go1.14, the following change to 'net/url' was made:
"When parsing of a URL fails (for example by Parse or ParseRequestURI),
the resulting Error message will now quote the unparsable URL. This
provides clearer structure and consistency with other parsing errors."

Here we add a new const, 'invalidURLErrFmt' to properly handle the now
quoted string in validation_test.go.

ref: https://golang.org/doc/go1.14#net/url

Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-06-22 18:46:51 -04:00
Stephen Augustus
236ef23f46 deps: Update Golang to v1.14.4
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-06-22 18:46:51 -04:00
Stephen Augustus
f7dce58176 Update repo-infra to 0.0.6 to support go1.14.4 and go1.13.12
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-06-22 18:46:50 -04:00
Kubernetes Prow Robot
f38ce5725a
Merge pull request #92375 from wojtek-t/deflake_conntract_tests_2
Attempt to delfake further conntract e2e flakes
2020-06-22 15:02:53 -07:00
Kubernetes Prow Robot
f6eeab819c
Merge pull request #92350 from justaugustus/bbolt
Update go.etcd.io/bbolt to v1.3.5
2020-06-22 15:02:43 -07:00
Kubernetes Prow Robot
6316f4f582
Merge pull request #92339 from fatkun/fixed_on_endpointslice_update
Fix bug that use obj as prev obj in endpoint slice update
2020-06-22 15:02:34 -07:00
Kubernetes Prow Robot
c232e4fae9
Merge pull request #92227 from M00nF1sh/nlb_vpc_cidr
fix aws loadbalancer vpc cidr calculation
2020-06-22 15:02:25 -07:00
Kubernetes Prow Robot
c2c6e752f7
Merge pull request #92224 from M00nF1sh/sg_order
refine aws loadbalancer worker node SG rule logic
2020-06-22 15:02:09 -07:00
Kubernetes Prow Robot
e24cbc9263
Merge pull request #92178 from zhouya0/remove_kubectl_run_replicas_flag
Remove kubectl run validate replicas logic
2020-06-22 15:01:54 -07:00
Kubernetes Prow Robot
db194acd69
Merge pull request #91833 from AkashSarda/structured_logging
Structured logging for Apiserver [Issue #1602 Structured logging]
2020-06-22 15:01:40 -07:00
Samuel Davidson
31ae200ebf fix for missing kube-env var in SNI config 2020-06-22 13:33:42 -07:00
Aldo Culquicondor
eb9711dc1f Add profile label to schedule_attempts_total metric
and e2e_scheduling_duration_seconds

Also adding result label to e2e_scheduling_duration_seconds. Previously, the metric was only updated for successful attempts

Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-06-22 15:19:57 -04:00
Lubomir I. Ivanov
bcc16b9c1e kubeadm: remove negative test cases from TestUploadConfiguration
UploadConfiguration() now always retries the underling API calls,
which can make TestUploadConfiguration run for a long time.

Remove the negative test cases, where errors are expected.
Negative test cases should be tested in app/util/apiclient,
where a short timeout / retry count should be possible for unit tests.
2020-06-22 22:14:11 +03:00
wojtekt
2a7978e2be Merge migrate-if-needed etcd bash script 2020-06-22 20:45:58 +02:00
Jing Xu
7012994a61 Fix issue in kubelet getMountedVolumePathListFromDisk
This PR fixes issue #74650. It adds the extra check for /mount dir under
pod volume dir. It also adds the unit test for this function
2020-06-22 10:00:43 -07:00
Kubernetes Prow Robot
9cd906e932
Merge pull request #91996 from cmluciano/cml/promotedingv1crud
ingress: promote CRUD API tests for v1 to conformance
2020-06-22 09:24:40 -07:00
Joe Betz
52838be7b2 Bump k8s.io/utils to 6e3d28 to pick up nested trace 2020-06-22 08:52:05 -07:00