Commit Graph

92175 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
andyzhangx
fe873af660 fix: don't use docker config cache if it's empty
add one comment

test: add unit test

fix comments

fix comments

revert test change

fix comments
2020-06-22 15:10:47 +00:00
Chelsey Chen
3f95ddb714 Migrate kube-scheduler to use common fallback 2020-06-22 10:02:54 -04:00
Rostislav M. Georgiev
1d2d15ee03 kubeadm upgrade: Allow supplying hand migrated component configs
Currently, kubeadm would refuse to perfom an upgrade (or even planing for one)
if it detects a user supplied unsupported component config version. Hence,
users are required to manually upgrade their component configs and store them
in the config maps prior to executing `kubeadm upgrade plan` or
`kubeadm upgrade apply`.

This change introduces the ability to use the `--config` option of the
`kubeadm upgrade plan` and `kubeadm upgrade apply` commands to supply a YAML
file containing component configs to be used in place of the existing ones in
the cluster upon upgrade.

The old behavior where `--config` is used to reconfigure a cluster is still
supported. kubeadm automatically detects which behavior to use based on the
presence (or absense) of kubeadm config types (API group
`kubeadm.kubernetes.io`).

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2020-06-22 16:29:51 +03:00
Kubernetes Prow Robot
8815a1da59
Merge pull request #91776 from farah/master
Split scheduler framework implementation into new runtime package
2020-06-22 06:16:39 -07:00
wojtekt
8816b8fce4 Attempt to delfake further conntract e2e flakes 2020-06-22 13:43:58 +02:00
Kubernetes Prow Robot
27687161d9
Merge pull request #92356 from andyzhangx/azuredisk-tags
add tags support for azure disk driver
2020-06-22 04:26:39 -07:00
Kubernetes Prow Robot
0c571629ab
Merge pull request #92336 from andyzhangx/azurefile-protocol
add azurefile protocol  parameter in azure cloud provider lib
2020-06-21 22:22:39 -07:00
Kobayashi Daisuke
4ecbec75a6 Run update-bazel.sh 2020-06-22 10:49:15 +09:00
Kubernetes Prow Robot
d140769e4d
Merge pull request #92344 from jherrera123/restore-docker-focal-version
Restore docker focal version in gci nodes
2020-06-21 15:28:39 -07:00
Kubernetes Prow Robot
656a01fb04
Merge pull request #90592 from bart0sh/PR0089-promote-HugePageStorageMediumSize-to-Beta
Promote HugePageStorageMediumSize feature to Beta
2020-06-21 11:00:38 -07:00
RobertKielty
5c27c7e304 renames CommmonImageWhiteList to PrePulledImages in e2e/common/util
Part of work to remove racist language, this name change also improves on the
  semantics of this variable name as it was not actually a list of permissible
  images but rather a list of images that are required for e2e_node tests that
  are to be pre-pulled so that they are available prior to running e2e tests.

  Worth noting that this list of images is "union merged" with another list when
  setting up e2e_node tests and as such there is the possibilty for overlap.

 # Please enter the commit message for your changes. Lines starting
2020-06-21 18:46:06 +01:00
Mark Janssen
e3a0ca2731 Fix staticcheck failures for pkg/registry/...
Errors from staticcheck:
pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage_test.go:207:7: this value of err is never used (SA4006)
pkg/registry/core/namespace/storage/storage.go:256:5: options.OrphanDependents is deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional  (SA1019)
pkg/registry/core/namespace/storage/storage.go:257:11: options.OrphanDependents is deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional  (SA1019)
pkg/registry/core/namespace/storage/storage.go:266:5: options.OrphanDependents is deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional  (SA1019)
pkg/registry/core/namespace/storage/storage.go:267:11: options.OrphanDependents is deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. +optional  (SA1019)
pkg/registry/core/persistentvolumeclaim/storage/storage_test.go:165:2: this value of err is never used (SA4006)
pkg/registry/core/resourcequota/storage/storage_test.go:202:7: this value of err is never used (SA4006)
pkg/registry/core/service/ipallocator/allocator_test.go:338:2: this value of other is never used (SA4006)
pkg/registry/core/service/portallocator/allocator_test.go:199:2: this value of other is never used (SA4006)
pkg/registry/core/service/storage/rest_test.go:1843:2: this value of location is never used (SA4006)
pkg/registry/core/service/storage/rest_test.go:1849:2: this value of location is never used (SA4006)
pkg/registry/core/service/storage/rest_test.go:3174:20: use net.IP.Equal to compare net.IPs, not bytes.Equal (SA1021)
pkg/registry/core/service/storage/rest_test.go:3178:20: use net.IP.Equal to compare net.IPs, not bytes.Equal (SA1021)
pkg/registry/core/service/storage/rest_test.go:3185:20: use net.IP.Equal to compare net.IPs, not bytes.Equal (SA1021)
pkg/registry/core/service/storage/rest_test.go:3189:20: use net.IP.Equal to compare net.IPs, not bytes.Equal (SA1021)
2020-06-21 17:23:42 +02:00
Ali Farah
a22e115a0e Split scheduler framework implementation into new runtime package 2020-06-22 00:23:43 +10:00
andyzhangx
9973b1cb5e feat: add tags support for azure disk driver
merge tags map
2020-06-21 13:04:06 +00:00
Kubernetes Prow Robot
4c8207dc1e
Merge pull request #92314 from dims/set-better-default-for-loading-images-2
Set better default commands for loading images - take 2
2020-06-21 05:12:39 -07:00
fatkun
eb9bca5f06 Fixed a bug that mistake use newObj as oldObj in endpoint slice update 2020-06-21 16:43:12 +08:00
Kubernetes Prow Robot
c6011f2d54
Merge pull request #91390 from vinayakankugoyal/nonroot
Updating kube-controller-manager to run as non-root.
2020-06-21 00:56:38 -07:00
andyzhangx
42e378f86f chore: add azure file protocol parameter
fix typo

fix e2e test failure

fix comments
2020-06-21 03:36:01 +00:00