Commit Graph

79452 Commits

Author SHA1 Message Date
Arvinderpal Wander
7634cc01c5 Fix kubeadm service-cidr mapping to service-cluster-ip-rage for
kube-controller-manager.

If a service CIDR that overlaps with the cluster CIDR is
specified to kube-controller-manager then kube-controller-
manager will incorrectly allocate node CIDRs that overlap
with the service CIDR. The fix ensure that kubeadm
maps the --service-cidr to --service-cluster-ip-range for use
by kube-controller-manager.

As per docs, --allocate-node-cidrs must be true for
--service-cluster-ip-range to be considered. It does not make
sense for --cluster-cidr to be unspecified but for
--service-cluster-ip-range and --allocate-node-cidrs to be
set, since the purpose of these options is to have the
controller-manager do the per node CIDR allocation. Also
note that --service-cluster-ip-range is passed to the
api-server, so the presence of *just*
--service-cluster-ip-range should not imply that
--allocate-node-cidrs should be true.

Resolves: kubernetes/kubeadm/issues/1591
2019-06-05 06:53:32 -07:00
waynepeking348
b8b1720f12 Fix bug of ObjectPerPodMetricReplicas to initialize replicaCount with currentReplicas 2019-06-05 11:54:03 +00:00
Jordan Liggitt
07670b67d2 Add integration test for propagationPolicy=Orphan GC 2019-06-05 01:45:22 -04:00
Kubernetes Prow Robot
88f8c785b4
Merge pull request #78711 from MrHohn/lb-finalizer-patch-err
Don't mask k8s error returned from patch
2019-06-04 22:31:52 -07:00
Bin Lu
34f95a8985 Bug fix: remove etcd related issues in bazel-test-integration
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-06-04 22:09:48 -07:00
Kubernetes Prow Robot
714fcd910f
Merge pull request #78537 from liggitt/log-gc-test
Fix GC integration test
2019-06-04 20:35:53 -07:00
Kubernetes Prow Robot
0d1007f84b
Merge pull request #78708 from jpbetz/reinvocation-flake-fix
Flake fix: poll for webhook registration to complete in reinvocation integration tests
2019-06-04 18:45:52 -07:00
Kubernetes Prow Robot
b3b1c7c1e1
Merge pull request #78704 from dashpole/fix_windows_podresources
Disable kubelet local endpoints on windows
2019-06-04 16:47:52 -07:00
Zihong Zheng
89a7a35607 Don't mask k8s error returned from patch 2019-06-04 16:40:51 -07:00
Joe Betz
e51320f69d Flake fix: poll for webhook registration to complete in reinvocation integration tests 2019-06-04 15:52:55 -07:00
Kubernetes Prow Robot
3cd41a5a0b
Merge pull request #78668 from mtaufen/disable-kubeletpodresources
Disable KubeletPodResources on Windows
2019-06-04 14:34:03 -07:00
Kubernetes Prow Robot
304a2b191d
Merge pull request #78522 from croomes/bugfix-78517-storageos-mountref
StorageOS volume driver: Remove call to clear mount info if already set
2019-06-04 14:33:50 -07:00
Jordan Liggitt
6a7e7fc156 Fix TestStressingCascadingDeletion flake 2019-06-04 17:26:36 -04:00
David Ashpole
80ed28b15b disable kubelet local endpoints on windows 2019-06-04 14:07:10 -07:00
Kubernetes Prow Robot
85f2730d85
Merge pull request #78658 from jingxu97/June/window-test-fix
Fix volume mount tests issue for windows
2019-06-04 13:15:53 -07:00
Yu-Ju Hong
b300267a57 Add more approvers/reviewers to cluster/gce/windows 2019-06-04 11:42:55 -07:00
Lantao Liu
e27b263f37 Support image status by ID. 2019-06-04 11:34:38 -07:00
Kubernetes Prow Robot
8657b24d86
Merge pull request #78681 from yuxiangqian/e2efix
fix label mismatching which broke e2e serial test
2019-06-04 10:53:21 -07:00
andyzhangx
91f97d2edd fix: update vm if detach a non-existing disk
fix gofmt issue
2019-06-04 17:02:08 +00:00
Kubernetes Prow Robot
d1e828f8df
Merge pull request #78667 from dims/ensure-src-tar-has-kubernetes-prefix
Ensure kubernetes-src.tgz has kubernetes/ prefix
2019-06-04 09:04:06 -07:00
RaviSantosh Gudimetla
3c3baf2ce6
Revert "Promote resourcequota scope selectors to GA" 2019-06-04 11:19:03 -04:00
Vladimir Vivien
103c71a2b5 Create-update-delete-deployment example using dynamic package 2019-06-04 10:53:15 -04:00
Kubernetes Prow Robot
1409ff38e5
Merge pull request #78692 from fabriziopandini/fix-kubeadm-upgrade-node
fix-kubeadm-upgrade-node
2019-06-04 07:19:20 -07:00
fabriziopandini
dbb82ba99a fix-kubeadm-upgrade-node 2019-06-04 14:57:30 +02:00
Sandeep Rajan
bfb809f3c6 revert coredns to 1.3.1 2019-06-04 08:53:02 -04:00
Kubernetes Prow Robot
a04017a468
Merge pull request #78530 from liggitt/deflake-core-integration
Wait for pods to be garbage collected in integration test
2019-06-04 05:03:08 -07:00
caiweidong
0989bfee95 merge common funcs 2019-06-04 16:37:42 +08:00
xiangqian
d616c6fb5a fix label mismatching which broke e2e serial test 2019-06-03 23:33:37 -07:00
Kubernetes Prow Robot
9f85c5c4b5
Merge pull request #78503 from gjtempleton/Multiple-Metrics-HPA
Multiple metrics hpa
2019-06-03 19:34:59 -07:00
Ted Yu
f7d9e037d9 Remove inner loop for finding MinReclaim in ParseThresholdConfig 2019-06-03 19:20:19 -07:00
aaa
3025b3097a Fixed some minor errors in openapi
update pull request
2019-06-03 21:45:48 -04:00
Kubernetes Prow Robot
5f6cd471dc
Merge pull request #78661 from yujuhong/win-readme
Update README for GCE/Windows
2019-06-03 18:17:27 -07:00
Kubernetes Prow Robot
e0ae55059d
Merge pull request #78592 from tedyu/plugin-mgr
Use read lock for reconciler#getHandlers and clean up for the pluginmanager
2019-06-03 18:17:14 -07:00
Kubernetes Prow Robot
0466777d6b
Merge pull request #78450 from fejta/local
Create tars locally
2019-06-03 18:17:01 -07:00
Michelle Au
95ec53e40d Enable resize in default gce storageclass
Change-Id: I0eda852543264cc1fdecc113c12dd8e797e6d362
2019-06-03 18:06:51 -07:00
Michael Taufen
a66cb353d4 Disable KubeletPodResources on Windows
The feature caused tests to fail when it was enabled.

- https://github.com/kubernetes/kubernetes/issues/78628

Work is in progress to fix the feature, but until that work is complete,
we will disable it in the GCE scripts.
2019-06-03 15:39:55 -07:00
Davanum Srinivas
263dda1f08
Ensure kubernetes-src.tgz has kubernetes/ prefix
There's a difference between the kubernetes-src.tgz build from
`make bazel-release` and `make quick-release`. The quick-release does
not have a `kubernetes/` prefix and hence essentiall tarbomb(s) the
directory when someone tries to untar it.

Change-Id: I8e87639d85dd01aec534b58f1d5740bd48ac922f
2019-06-03 18:11:08 -04:00
Antonio Ojea
bd65a9ca26
Fix verify-shellcheck comments
Replace  "files" instead of packages in the script
hack/verify-shellcheck.sh
2019-06-03 23:58:52 +02:00
Kubernetes Prow Robot
16aeec2485
Merge pull request #78545 from neolit123/kubeadm-revert-coredns-1.3.1
kubeadm: revert CoreDNS to 1.3.1
2019-06-03 14:51:29 -07:00
Kenichi Omichi
bb95ec0f68 Enable API operation log on conformance job
To verify all conformance tests call GA APIs only without alpha,
beta APIs, this enables API operation log on the conformance job.
One concern is this makes e2e.log huge. So to consider it, the
original size of e2e.log is 112,909[1] before applying this.

[1]: https://gcsweb.k8s.io/gcs/kubernetes-jenkins/pr-logs/pull/70639/pull-kubernetes-conformance-image-test/1116565046130905089/artifacts/
2019-06-03 20:47:15 +00:00
Ted Yu
19c91a59ab Iterate through thresholds in managerImpl#synchronize 2019-06-03 13:16:09 -07:00
Kubernetes Prow Robot
99f2e78c9a
Merge pull request #77755 from gnufied/onlineresize-beta
Move online volume expansion to Beta
2019-06-03 11:51:32 -07:00
Jordan Liggitt
8229af31d2 Move test/e2e use to v1 APIs 2019-06-03 14:46:08 -04:00
Yu-Ju Hong
4a7be385a1 Update README for GCE/Windows
Add instructions to create e2e clusters without building binaries
locally. Also update the instructions to build the binaries locally.
2019-06-03 11:17:50 -07:00
Chao Xu
a64b3890e7 generated 2019-06-03 10:34:44 -07:00
Chao Xu
1ad5cb5bb1 Protect remainingItemCount behind a feature flag. Also updating the API doc 2019-06-03 10:34:44 -07:00
Jing Xu
8aacb8003f Fix volume mount tests issue for windows
For windows node, security context is disabled. This PR fixes a bug so
that fsGroup will not be applied to pods that run on windows node.

Change-Id: Id9870416d2ad8ef791b3b4896d6747a2adbada2f
2019-06-03 10:12:27 -07:00
Hemant Kumar
0f62e3fbe8 Make language of error msgs and func names consistent: ExpandVolumeInUse
change feature flag
Fix the e2e test for online and offline expansion
2019-06-03 12:26:56 -04:00
Jordan Liggitt
191b87c629 Add readme for API compatibility data 2019-06-03 12:04:12 -04:00
Jordan Liggitt
7a96057755 Add helper script to regenerate API compatibility data 2019-06-03 10:18:08 -04:00