Commit Graph

79422 Commits (54fe9e139da1756528d866da6546f5dce41145cf)

Author SHA1 Message Date
Kubernetes Prow Robot 54fe9e139d
Merge pull request #80989 from tallclair/automated-cherry-pick-of-#80276-upstream-release-1.15
Automated cherry pick of #80276: Don't expect pod to stay up during node upgrade
2019-08-06 22:47:25 -07:00
Kubernetes Prow Robot 93d6c59069
Merge pull request #80729 from neolit123/automated-cherry-pick-of-#80675-origin-release-1.15
Automated cherry pick of #80675: fix-file-discovery
2019-08-06 22:47:17 -07:00
Kubernetes Prow Robot 3fa2e74740
Merge pull request #80642 from humblec/automated-cherry-pick-of-#78222-upstream-release-1.15
Automated cherry pick of #78222: Fix nil pointer dereference in metrics value calculator.
2019-08-06 22:47:04 -07:00
Kubernetes Prow Robot a8951d5e39
Merge pull request #80345 from gaorong/automated-cherry-pick-of-#80173-upstream-release-1.15
Automated cherry pick of #80173: make node lease renew interval more heuristic
2019-08-06 22:46:52 -07:00
Kubernetes Prow Robot 6eb69c3f19
Merge pull request #80195 from cwdsuzhou/automated-cherry-pick-of-#79920-upstream-release-1.15
Automated cherry pick of #79920: Bugfix: csi raw block that does not need attach mounted failed
2019-08-06 19:24:50 -07:00
Kubernetes Prow Robot e8f84b28df
Merge pull request #80925 from davidz627/automated-cherry-pick-of-#80923-upstream-release-1.15
Automated cherry pick of #80923: Reduce GCE PD Attach Limits by 1 because Node Boot Disk
2019-08-06 17:20:58 -07:00
Kubernetes Prow Robot db5764d634
Merge pull request #80055 from sbangari/automated-cherry-pick-of-#78874-upstream-release-1.15
Automated cherry pick of #78874: Fix the creation of load balancer policy for the NodeIp when
2019-08-06 17:20:52 -07:00
Tim Allclair 14dda3f199 Don't expect pod to stay up during node upgrade 2019-08-05 12:38:24 -07:00
Anago GCB 37cd490ae7 Add/Update CHANGELOG-1.15.md for v1.15.2. 2019-08-05 10:31:07 +00:00
Anago GCB 7823476aaa Kubernetes version v1.15.3-beta.0 openapi-spec file updates 2019-08-05 09:14:29 +00:00
David Zhu bc6bacd366 Reduce GCE PD Attach Limits by 1 because Node Boot Disk counts as 1 attached disk 2019-08-02 13:52:53 -07:00
Kubernetes Prow Robot f6278300be
Merge pull request #80869 from tallclair/automated-cherry-pick-of-#80436-upstream-release-1.15
Automated cherry pick of #80436: refactors to kubernetes CP command
2019-08-01 16:53:52 -07:00
Tim Allclair 6f5e251f8f refactors to kubernetes cp command 2019-08-01 10:50:35 -07:00
M00nF1sh be929daa25 refactors to kubernetes CP command 2019-08-01 10:49:12 -07:00
Kubernetes Prow Robot f9a243ca99
Merge pull request #80850 from sttts/sttts-crd-scoping-1.15
1.15: apiextensions: check request scope against CRD scope correctly
2019-08-01 06:00:15 -07:00
Dr. Stefan Schimanski 9d3c8b36d9 apiextensions: 404 if request scope does not match crd scope 2019-08-01 08:37:26 +02:00
Dr. Stefan Schimanski f3fe447807 apiextensions: add scope tests 2019-08-01 08:29:15 +02:00
fabriziopandini 8e95f9fafd feedback 1 2019-07-30 01:52:55 +03:00
fabriziopandini a1ee8d63be fix-file-discovery 2019-07-30 01:52:55 +03:00
fabriziopandini d91d4c53e6 autogenerated 2019-07-30 01:52:55 +03:00
Humble Chirammal 388a9e1db3 Fix nil pointer dereference in metrics value calculator.
The metrics structure passed to volume stat calculator
can contain real stats on subset of metrics fields. For example,
the metrics structure filled by a CSI driver can have
either INODES or BYTES filled, IOW it a valid return.
In such cases the volume stat calculator panic with below
trace:

0516 21:36:19.013143   14452 runtime.go:69] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:76
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:65
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51
/usr/local/go/src/runtime/panic.go:522
/usr/local/go/src/runtime/panic.go:82
/usr/local/go/src/runtime/signal_unix.go:390
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go:697
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go:685
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go:144
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go:125
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/pkg/kubelet/server/stats/volume_stat_calculator.go:65
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:152
/home/hchiramm/gopath/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:153
/usr/local/go/src/runtime/asm_amd64.s:1337

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-07-26 20:27:30 +05:30
Rong Gao f3b9c919db make node lease renew interval more heuristic 2019-07-19 11:38:53 +08:00
Anago GCB 92b2e906d7 Add/Update CHANGELOG-1.15.md for v1.15.1. 2019-07-18 10:26:33 +00:00
Anago GCB ef06d27439 Kubernetes version v1.15.2-beta.0 openapi-spec file updates 2019-07-18 09:08:29 +00:00
caiweidong 0711f427f0 Bugfix: csi raw block that does not need attach mounted failed
Add unit test

fix verify-test-featurefates failed
2019-07-16 11:20:37 +08:00
Sravanth Bangari a3c8e37806 Fix the creation of load balancer policy for the NodeIp when NodePort specified is same as service Port 2019-07-11 19:40:26 +00:00
Kubernetes Prow Robot 4485c6f18c
Merge pull request #79802 from neolit123/automated-cherry-pick-of-#79677-origin-release-1.15
Automated cherry pick of #79677: kubeadm: run MemberAdd/Remove for etcd clients with
2019-07-09 20:26:38 -07:00
Kubernetes Prow Robot f44f1c0a69
Merge pull request #79638 from liggitt/automated-cherry-pick-of-#79636-upstream-release-1.15
Automated cherry pick of #79636: Fix publishing x-kubernetes-preserve-unknown-fields working
2019-07-09 20:26:25 -07:00
Kubernetes Prow Robot 7e199be93b
Merge pull request #79918 from yue9944882/automated-cherry-pick-of-#79895-upstream-release-1.15
Automated cherry pick of #79895: apiaggregation available controller should only hit required
2019-07-08 22:10:01 -07:00
David Eads 76a4490639 apiaggregation available controller should only hit required endpoint 2019-07-09 11:44:13 +08:00
Kubernetes Prow Robot e49830053f
Merge pull request #79778 from cpanato/GH-79740
[Failing tests] skip test if the server does not serve extensions/v1beta1 since this is deprecated
2019-07-05 09:08:47 -07:00
Kubernetes Prow Robot 938fc19521
Merge pull request #79747 from cpanato/GH-79533
[Failing Tests - GH-79533] use apps/v1 instead apps/v1beta1 since that is deprecated
2019-07-05 09:08:35 -07:00
Lubomir I. Ivanov bc74ac3eaa kubeadm: run MemberAdd/Remove for etcd clients with exp-backoff retry
When adding a new etcd member the etcd cluster can enter a state
of vote, where any new members added at the exact same time will
fail with an error right away.

Implement exponential backoff retry around the MemberAdd call.

This solves a kubeadm problem when concurrently joining
control-plane nodes with stacked etcd members.

From experiment, a few retries with milliseconds apart are
sufficient to achieve the concurrent join of a 3xCP cluster.

Apply the same backoff to MemberRemove in case the concurrent
removal of members fails for similar reasons.
2019-07-04 18:14:20 +03:00
Kubernetes Prow Robot 2be156dadc
Merge pull request #79727 from josephburnett/automated-cherry-pick-of-#79035-upstream-release-1.15
Automated cherry pick of #79035: There are various reasons that the HPA will decide not the
2019-07-04 08:00:38 -07:00
Kubernetes Prow Robot 7795e24751
Merge pull request #79759 from andyzhangx/automated-cherry-pick-of-#79529-upstream-release-1.15
Automated cherry pick of #79529: fix: change timeout value in csi plugin
2019-07-04 06:02:13 -07:00
Kubernetes Prow Robot 8e12d159bd
Merge pull request #79745 from BenTheElder/automated-cherry-pick-of-#79731-upstream-release-1.15
Automated cherry pick of #79731: edit google dns hostname
2019-07-04 06:01:42 -07:00
Kubernetes Prow Robot 8d506eacb6
Merge pull request #79605 from SataQiu/automated-cherry-pick-of-#79498-up-release-1.15
Automated cherry pick of #79498: kubeadm: fix bug for --cri-socket flag processing logic
2019-07-04 06:00:30 -07:00
Kubernetes Prow Robot a29b88ba37
Merge pull request #79570 from SataQiu/automated-cherry-pick-of-#79094-up-release-1.15
Automated cherry pick of #79094: fix kubelet can not delete orphaned pod directory when "/var/lib/kubelet/pods" directory symbolically links to another device's directory
2019-07-04 06:00:22 -07:00
Kubernetes Prow Robot bf47e665f4
Merge pull request #79542 from ialidzhikov/automated-cherry-pick-of-#79302-upstream-release-1.15
Automated cherry pick of #79302: Update CHANGELOG-1.15.md
2019-07-04 06:00:14 -07:00
Kubernetes Prow Robot c0f1f9f052
Merge pull request #79663 from odinuge/automated-cherry-pick-of-#79534-upstream-release-1.15
Automated cherry pick of #79534: Fix closing of dirs in doSafeMakeDir
2019-07-04 04:44:25 -07:00
Kubernetes Prow Robot ec7186416e
Merge pull request #79617 from wongma7/automated-cherry-pick-of-#79446-upstream-release-1.15
Automated cherry pick of #79446: Fix AWS DHCP option set domain names causing garbled
2019-07-04 04:44:17 -07:00
Carlos Panato 0fd563214e
skip test if the server does not serve extensions/v1beta1 since this is deprecated
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2019-07-04 10:42:33 +02:00
Carlos Panato d677ce2d52
use apps/v1 instead apps/v1beta1 since that is deprecated - issue 79533 2019-07-04 10:26:27 +02:00
andyzhangx 704048cee9 fix: change timeout value in csi plugin 2019-07-04 03:40:19 +00:00
Sandeep Rajan 7c8370163b edit google dns hostname 2019-07-03 14:13:55 -07:00
Kubernetes Prow Robot 0b72ca4f24
Merge pull request #79369 from SataQiu/fix-kubeadm-1.15-20190625
kubeadm: improve kubeadm command output
2019-07-03 11:51:42 -07:00
Kubernetes Prow Robot 93c5b9473c
Merge pull request #79521 from feiskyer/automated-cherry-pick-of-#79514-upstream-release-1.15
Automated cherry pick of #79514: Default resourceGroup should be used when value of annotation
2019-07-03 10:22:33 -07:00
Jordan Liggitt 33f7311b5c Test kubectl with x-kubernetes-preserve-unknown-fields 2019-07-03 12:25:04 -04:00
Joseph Burnett dc4003cb70 There are various reasons that the HPA will decide not the change the current scale. Two important ones are when missing metrics might change the direction of scaling, and when the recommended scale is within tolerance of the current scale.
The way that ReplicaCalculator signals it's desire to not change the
current scale is by returning the current scale. However the current
scale is from scale.Status.Replicas and can be larger than
scale.Spec.Replicas (e.g. during Deployment rollout with configured
surge). This causes a positive feedback loop because
scale.Status.Replicas is written back into scale.Spec.Replicas,
further increasing the current scale.

This PR fixes the feedback loop by plumbing the replica count from
spec through horizontal.go and replica_calculator.go so the calculator
can punt with the right value.
2019-07-03 15:42:14 +02:00
Odin Ugedal d17965006e
Fix closing of dirs in doSafeMakeDir
This fixes the issue where "childFD" from syscall.Openat is assigned to
a local variable inside the for loop, instead of the correct one in the
function scope. This results in that when trying to close the "childFD"
in the function scope, it will be equal to "-1", instead of the correct
value.
2019-07-02 18:23:02 +02:00