Commit Graph

80452 Commits

Author SHA1 Message Date
danielqsj
d4ea78ea39 call unreserve plugin before record event 2019-07-03 11:34:52 +08:00
Kubernetes Prow Robot
5f83eb721b
Merge pull request #79675 from mikedanese/safix
Create a service account Getter when TokenRequest is enabled
2019-07-02 19:58:42 -07:00
Kubernetes Prow Robot
090e5233f2
Merge pull request #72974 from sjenning/sysctl-kubeconfig
kubelet: add allowed sysctl to KubeletConfiguration
2019-07-02 19:58:29 -07:00
Kenichi Omichi
66b1dc230e Use ExpectEqual under e2e/apimachinery
Since https://github.com/kubernetes/kubernetes/pull/78922 ExpectEqual()
is implemented as test framework. This makes e2e tests use the function
under test/e2e/apimachinery.
2019-07-03 02:49:35 +00:00
liushi
094fed6598 Update gophercloud vendor dependency to v0.1.0 2019-07-02 18:53:27 -07:00
Kubernetes Prow Robot
a33840e023
Merge pull request #73977 from khenidak/ipv6dualstack
ipv6 dual stack (Phase 1 - ALPHA)
2019-07-02 18:07:12 -07:00
Lubomir I. Ivanov
25668531f7 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-03 03:26:30 +03:00
Kubernetes Prow Robot
4b3987d0c3
Merge pull request #79480 from wojtek-t/fix_clientgo_benchmark
Fix client-go request benchmark
2019-07-02 16:57:11 -07:00
Mike Danese
bc59028b09 Create a service account Getter when TokenRequest is enabled
Fixes a nil panic when --service-account-lookup=false and TokenRequest
is enabled.
2019-07-02 16:56:31 -07:00
Dan Winship
05a9634fb3 Hack PatchNodeStatus() to override the patch type on Status.Addresses 2019-07-02 19:16:30 -04:00
Dan Winship
e6ca651bed Document the problem with Node.Status.Addresses and strategic merge patch 2019-07-02 19:16:29 -04:00
Kubernetes Prow Robot
e79dcc2174
Merge pull request #79284 from johnSchnake/conformanceGoRunner
Adds an optional golang runner to the conformance test image
2019-07-02 15:41:11 -07:00
Khaled Henidak(Kal)
af552ab469 generated items 2019-07-02 22:26:26 +00:00
Khaled Henidak(Kal)
2b77667718 vendor updates 2019-07-02 22:26:26 +00:00
Khaled Henidak(Kal)
18bc9a9ac1 updated publishing rules 2019-07-02 22:26:26 +00:00
Khaled Henidak(Kal)
dba434c4ba kubenet for ipv6 dualstack 2019-07-02 22:26:25 +00:00
Kubernetes Prow Robot
a57af6dadd
Merge pull request #79646 from tedyu/backoff-rw
Utilize RWMutex for efficient backoff operations
2019-07-02 14:27:37 -07:00
Kubernetes Prow Robot
2933d0ab6c
Merge pull request #79497 from javier-b-perez/release-lib
Save docker tag for releases in tarfile archive
2019-07-02 14:27:25 -07:00
Kubernetes Prow Robot
57416ef5ec
Merge pull request #78177 from MaysaMacedo/add-more-e2e-np-tests
Increase Network Policy tests coverage
2019-07-02 14:27:12 -07:00
Clayton Coleman
21f5e643d9
Add a metadata client to client-go that can read PartialObjectMetadata
This client exposes operations on generic metadata (get, list, watch, delete)
and allows patch operations. The client always uses protobuf and requests
the server transform the response into the appropriate object. Using this
client simplifies the work of generic controllers by allowing them to treat
all objects the same, and also improves performance both in the amount of
data sent as well as allowing protobuf on CRD resources.
2019-07-02 16:42:41 -04:00
Kubernetes Prow Robot
03291ca467
Merge pull request #79650 from qingsenLi/k8s-190702-fix-1.15
correct the CHANGELOG-1.15.md
2019-07-02 13:08:41 -07:00
Kubernetes Prow Robot
8626ceb221
Merge pull request #79642 from tedyu/new-node-tree
Omit obtaining the lock when adding Nodes in newNodeTree
2019-07-02 13:08:29 -07:00
Kubernetes Prow Robot
4a1f71076b
Merge pull request #78627 from tedyu/resource-req
Check the correct value of Quantity for non-v1.ResourceCPU resource in GetResourceRequest
2019-07-02 11:11:12 -07:00
Javier Pérez Hernández
5e93584633 release lib: save release docker tag in tarfile 2019-07-02 10:58:15 -07:00
Seth Jennings
0c7ce5a7d7 kubelet: add allowed sysctl to KubeletConfiguration 2019-07-02 12:19:47 -05:00
qingsenLi
cff41d5829 correct the CHANGELOG-1.15.md 2019-07-03 01:12:11 +08:00
Kubernetes Prow Robot
cf7662d3a1
Merge pull request #79035 from josephburnett/hparunaway
Fix HPA feedback from writing status.replicas to spec.replicas.
2019-07-02 09:31:08 -07:00
Khaled Henidak(Kal)
404dbbcfe0 cri types changes 2019-07-02 15:39:06 +00:00
Khaled Henidak(Kal)
a51b8ce456 route controller + azure v6 routes 2019-07-02 15:39:06 +00:00
Khaled Henidak(Kal)
584d7103e2 node ipam controller for ipv6 dualstack 2019-07-02 15:39:06 +00:00
Khaled Henidak(Kal)
81468e2696 api: dropDisabledFields 2019-07-02 15:39:06 +00:00
Khaled Henidak(Kal)
54d42e6a65 types modifications + conversion + conversion testing 2019-07-02 15:39:05 +00:00
Khaled Henidak(Kal)
72719d5875 IPv6DualStack ALPHA feature 2019-07-02 15:39:05 +00:00
Ted Yu
acdc4d2001 Omit obtaining the lock when adding Nodes in newNodeTree 2019-07-02 23:16:08 +08:00
Kubernetes Prow Robot
6b5f5514a8
Merge pull request #79647 from jsafrane/public-external-csi
Add public functions to define CSI external tests
2019-07-02 07:01:09 -07:00
Kubernetes Prow Robot
5ee329c799
Merge pull request #77271 from krzysied/gce_instance_parallel
Creating instance groups in parallel
2019-07-02 05:45:08 -07:00
Joseph Burnett
39c4875321 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-02 14:21:32 +02:00
Kubernetes Prow Robot
003c4e5155
Merge pull request #77792 from neolit123/kubeadm-psp-upgrade-fix
kubeadm: prevent PSP blocking of upgrade image prepull
2019-07-02 04:01:08 -07:00
Ilche Bedelovski
3b81d4e1b4 Removed diplicated info row in v1.12.7 2019-07-02 12:04:02 +02:00
Jan Safranek
2a08bd64af Add public functions to define CSI external tests
3rd party test suites that want to include external CSI tests may not use
"flags" for cmdline parsing.
2019-07-02 12:01:55 +02:00
Kubernetes Prow Robot
a807cb625b
Merge pull request #79153 from MikeSpreitzer/fix73409
Make AuthorizeClientBearerToken actually return if authn or authz is nil
2019-07-02 02:15:11 -07:00
Ted Yu
9e73e69f49 Utilize RWMutex for efficient backoff operations 2019-07-02 16:12:46 +08:00
Kubernetes Prow Robot
b3c6e21895
Merge pull request #79471 from warmchang/KEP-kube-scheduler-link
🔗 fix the KEP-kube-scheduler link
2019-07-02 00:57:21 -07:00
Kubernetes Prow Robot
b959e9a25a
Merge pull request #79322 from s-ito-ts/e2e_ephemeral_storage
e2e test: change from milli bytes to bytes in ephemeral-storage resource limits
2019-07-02 00:57:08 -07:00
nolancon
705f97e171 Enable feature gate and kubelet flags for Topology Manager
Nit: remove capitalization of preferred
Remove line from kubelet and add to separate PR for easier merge

nit: dependency added to separate PR

Add check to ensure strict policy cannot be set without feature gate enabled

Topology Manager runs "none" policy by default.

Added constants for policies and updated documentation.
2019-07-02 06:50:17 +01:00
Mike Spreitzer
7056e216ad Make AuthorizeClientBearerToken actually return if authn or authz is nil
There was a typo, the test was there but the return was not.

Added test that exposes the difference.
2019-07-02 01:45:34 -04:00
Kubernetes Prow Robot
6d8dd21111
Merge pull request #79594 from wojtek-t/cleanup_etcd_dir_2
Cleanup etcd directory - part 2
2019-07-01 21:33:34 -07:00
Kubernetes Prow Robot
6f73ab2219
Merge pull request #78908 from dcbw/cni-0.7.1-snapshot
vendor: bump CNI to v0.7.1 snapshot
2019-07-01 21:33:21 -07:00
Kubernetes Prow Robot
cdddcf9b48
Merge pull request #71170 from atlassian/rand-cleanup2
Cleanup math/rand package usage
2019-07-01 21:33:08 -07:00
Jordan Liggitt
66453d9372 Fix publishing x-kubernetes-preserve-unknown-fields working with kubectl 2019-07-01 23:19:23 -04:00