Commit Graph

95187 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e01e89b10d
Merge pull request #95557 from saschagrunert/chown-localtime
Make copied `localtime` file write-able
2020-10-22 22:16:29 -07:00
Kubernetes Prow Robot
82cc713b13
Merge pull request #95328 from aojea/conntrack_invalid
add ipv6 support to the image issue-74839
2020-10-22 22:16:16 -07:00
Kubernetes Prow Robot
766ae2b81b
Merge pull request #95252 from tssurya/shrink-input-chain
Kube-proxy: Perf-fix: Shrink INPUT chain
2020-10-22 22:16:02 -07:00
Kubernetes Prow Robot
e850fa6a6c
Merge pull request #95209 from benhxy/gke/kubeconfig
Use host IP instead of localhost for GKE control plane kubeconfig
2020-10-22 22:15:49 -07:00
Kubernetes Prow Robot
ad97d931d9
Merge pull request #94403 from bnrjee/myfeature
Always set relevant variables for cross compiling
2020-10-22 22:15:35 -07:00
Kubernetes Prow Robot
a4209939f8
Merge pull request #95602 from chenyw1990/master
write checkpoint only when allocated devices updated.
2020-10-22 20:35:36 -07:00
Jing Xu
e233a7220b Add jingxu97 to volume/util owners
Add myself to volume/util/operationexecutor owner

Change-Id: I85424e7ede4f6c136bed65c619aa48e856e8770f
2020-10-22 20:31:31 -07:00
Ali
bfdeda58b7 Delete framework/v1alpha1 folder and change remaining import paths 2020-10-23 13:16:13 +11:00
Wei Huang
f7a93ea915
Fix a bug that Pods with topologySpreadConstraints get scheduled to nodes without required labels 2020-10-22 15:56:16 -07:00
ruiwen-zhao
bdedc4ce34 Fix staticcheck failures on apiserver/plugin/pkg/{authenticator, authorizer} 2020-10-22 21:47:17 +00:00
shahra
bcff03f7d2 Alter wording to describe pods using a pvc 2020-10-22 14:07:42 -07:00
Wei Huang
6e7b20543c
Deflake PostFilter integration test 2020-10-22 13:48:50 -07:00
Haowei Cai
9861b9e3ea allow component-helpers to import util and klog 2020-10-22 13:30:12 -07:00
Haowei Cai
4af91987a9 generated 2020-10-22 12:00:51 -07:00
Haowei Cai
c9bbd8532f generalize lease controller 2020-10-22 11:58:59 -07:00
Haowei Cai
c70e3649e1 move node lease controller to component-helpers 2020-10-22 11:58:58 -07:00
Aldo Culquicondor
f6fb0bd308 Add integration test for Default PodTopologySpread
Simulating a cluster with 500 nodes in 3 zones, deploying 3, 12 and 27 Pods belonging to the same service.

Change-Id: I16425594012ea7bd24b888acedb12958360bff97
2020-10-22 13:42:50 -04:00
Jefftree
0e5d057755 Rename flags 2020-10-22 08:43:28 -07:00
Amim Knabben
8ed6ca58bc Replacing factory tests with scheduler.New and options 2020-10-22 11:43:28 -04:00
Jefftree
ed52ad3f25 Add SETUP_KONNECTIVITY_SERVICE flag 2020-10-22 08:43:28 -07:00
Jefftree
7820b05467 Separate network proxy flag for apiserver egress and starting pods 2020-10-22 08:43:27 -07:00
Antonio Ojea
4e14d1b9a3 kubeadm: validate node-cidr-mask are correct 2020-10-22 17:31:10 +02:00
Antonio Ojea
7fc6b4157b kubeadm validate maximum service subnet size
Validate that the maximum service subnet size doesn't exceed the
limits.

Co-authored-by: Arvinderpal Wander <awander@gmail.com>
2020-10-22 17:30:59 +02:00
chenyw1990
009d46f834 write checkpoint only when allocated devices updated. 2020-10-22 22:45:04 +08:00
Antonio Ojea
8b52995d32 kubeadm: validate podSubnet against node-cidr-mask
the controller manager should validate the podSubnet against the node-mask
because if they are incorrect can cause the controller-manager to fail.

We don't need to calculate the node-cidr-masks, because those should
be provided by the user, if they are wrong we fail in validation.
2020-10-22 16:24:13 +02:00
Jakub Tużnik
236ade027b Properly quote flags passed to Cluster Autoscaler
In the current implementation, the flags are not put between quotes,
and so the Cluster Autoscaler manifest doesn't parse as valid JSON.
2020-10-22 15:10:39 +02:00
qingsenLi
30bfa7d078 remove unused const failedExpiration 2020-10-22 18:57:36 +08:00
weiwei
b19a115f42 If we set SelectPolicy MinPolicySelect on scaleUp behavior or scaleDown behavior,Horizontal Pod Autoscaler doesn`t automatically scale the number of pods correctly
Signed-off-by: weiwei <weiwei@tenxcloud.com>
2020-10-22 18:00:49 +08:00
Patrik Cyvoct
5fc4b4ea8f
fix: add missing patch flag for kubeadm init phase control-plane
Signed-off-by: Patrik Cyvoct <patrik@ptrk.io>
2020-10-22 10:46:50 +02:00
Masashi Honma
b7630e4168 test: Add service cluster IP range unit test
This PR adds trailing unit tests to check the service cluster IP range and
improves the code coverage of k8s.io/kubernetes/cmd/kube-apiserver/app from
5.7% to 6.2%.

1) Dual stack IPv4/IPv6
2) Invalid IPv4, IPv6 mask
3) missing IPv4, IPv6 mask
4) invalid IP address format

The tests 2, 3, 4 are suggsted by Antonio Ojea.
2020-10-22 11:42:21 +09:00
Morgan Bauer
9eb0d76f5b prepare node performance tests to move to separate job 2020-10-21 16:55:49 -07:00
Kubernetes Prow Robot
ededd08ba1
Merge pull request #95676 from jdef/patch-1
fix "forbidden" test flakes
2020-10-21 13:09:03 -07:00
Kubernetes Prow Robot
ffb233ff2d
Merge pull request #95155 from cmluciano/cml/netpolapie2e
netpol: Add CRUD tests for NetworkPolicy API
2020-10-21 13:08:50 -07:00
Aldo Culquicondor
15d2ab1615 Fix labels for spreading benchmark
Nodes where being created with beta zone label, whereas the service was using stable.

Change-Id: I08ba1b6c083217759524236bde3888e527b4a44f
2020-10-21 15:51:44 -04:00
Arjun Naik
0fec7b0f7e Added functionality and API for pod autoscaling based on container resources
Signed-off-by: Arjun Naik <anaik@redhat.com>
2020-10-21 21:10:05 +02:00
Aldo Culquicondor
1840fcd4bb Add more Pods and relax skew in E2E spread test
A spreading test is more meaningful with a greater number of Pods. However, we cannot always expect perfect spreading. We accept a skew of 2 for 5*z Pods, where z is the number of zones.

Change-Id: Iab0de06a95974fbfec604f003b550f15db618ebd
2020-10-21 14:10:43 -04:00
Kubernetes Prow Robot
161df49979
Merge pull request #95594 from soltysh/fix_e2e
Fix --dry-run invocation in kubectl e2e
2020-10-21 10:28:20 -07:00
Antoni Zawodny
e42a8dbe38 Return non-zero code on logexporter failures 2020-10-21 17:38:43 +02:00
Kubernetes Prow Robot
e39bdd4ac1
Merge pull request #95753 from kisieland/logrotate-fix
Fix default values for logrotate in /var/log/
2020-10-21 06:16:20 -07:00
Kubernetes Prow Robot
5a4c9af290
Merge pull request #95716 from nilo19/cleanup/add-error-log
Azure: Add error detail in log
2020-10-21 03:20:20 -07:00
Kubernetes Prow Robot
7509c4eb47
Merge pull request #94381 from mgugino-upstream-stage/eviction-disrupted-pods
Allow deletion of unhealthy pods if enough healthy
2020-10-21 02:24:20 -07:00
Daniel Gutowski
6c8b1ab266 Fix default values for logrotate in /var/log/ 2020-10-21 09:18:32 +00:00
Lee Verberne
d0503b228f Add integration test for kubectl debug 2020-10-21 11:13:46 +02:00
Kubernetes Prow Robot
9a6e35a16a
Merge pull request #95748 from nilo19/bug/fix-lb-update-failed-pip
Update the PIP when it is not in the Succeeded provisioning state during the LB update.
2020-10-21 01:34:19 -07:00
Qi Ni
46593daf22 Update the PIP when it is not in the Succeeded provisioning state during the LB update. 2020-10-21 15:40:18 +08:00
Kubernetes Prow Robot
5d49a6253c
Merge pull request #95035 from harche/selinux_kubelet
Add SELinux labels for kubelet on Fedora CoreOS
2020-10-20 21:06:19 -07:00
Abhisek Banerjee
462326afba Support cross compilation only on amd64.
Based on a patch to Bottlerocket by Ben Cressey <bcressey@amazon.com>
41a72fe214/packages/kubernetes-1.17/0001-always-set-relevant-variables-for-cross-compiling.patch
2020-10-21 00:13:01 +00:00
bnrjee
6b672863c7 Always set relevant variables for cross compiling
Based on a patch to Bottlerocket by Ben Cressey <bcressey@amazon.com>
41a72fe214/packages/kubernetes-1.17/0001-always-set-relevant-variables-for-cross-compiling.patch
2020-10-21 00:13:01 +00:00
Ben Hu
49afcfa5f2 Use host IP instead of localhost for control plane component kubeconfig files.
This is a part of work to allow control plane components to be moved off hostNetwork.
2020-10-20 22:47:33 +00:00
Kubernetes Prow Robot
4b59044b8d
Merge pull request #95499 from nicolehanjing/nicoleh-fix-fake
cloud provider: fix the fake cloud provider
2020-10-20 14:32:23 -07:00