Commit Graph

91532 Commits

Author SHA1 Message Date
Christian Huffman
7a55d3978c Adjust Azure e2e binding mode 2020-06-01 14:55:46 -04:00
Kubernetes Prow Robot
5b3fe0564d
Merge pull request #88695 from gavinfish/unsafe-json
Fix unsafe json construction for scale.go and codec_check.go
2020-06-01 10:27:56 -07:00
Qing Ju
c71272b0c7 Added clarification to delta FIFO doc 2020-06-01 10:19:31 -07:00
Carlos Panato
715aa8b733
get-kube.sh: fix order to get the binaries from the right bucket 2020-06-01 17:59:33 +02:00
Kubernetes Prow Robot
3fc7831cd8
Merge pull request #90896 from andyzhangx/azure-migration
feat: azure disk migration go beta in 1.19
2020-06-01 08:39:56 -07:00
Jordan Liggitt
c9638d54d0 Defer ginkgo recovers 2020-06-01 11:02:41 -04:00
Rostislav M. Georgiev
5d6cf8ecd4 kubeadm: Distinguish between user supplied and generated component configs
Until now, users were always asked to manually convert a component config to a
version supported by kubeadm, if kubeadm is not supporting its version.
This is true even for configs generated with older kubeadm versions, hence
getting users to make manual conversions on kubeadm generated configs.
This is not appropriate and user friendly, although, it tends to be the most
common case. Hence, we sign kubeadm generated component configs stored in
config maps with a SHA256 checksum. If a configs is loaded by kubeadm from a
config map and has a valid signature it's considered "kubeadm generated" and if
a version migration is required, this config is automatically discarded and a
new one is generated.
If there is no checksum or the checksum is not matching, the config is
considered as "user supplied" and, if a version migration is required, kubeadm
will bail out with an error, requiring manual config migration (as it's today).
The behavior when supplying component configs on the kubeadm command line
does not change. Kubeadm would still bail out with an error requiring migration
if it can recognize their groups but not versions.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2020-06-01 17:57:53 +03:00
Kubernetes Prow Robot
b618411f1e
Merge pull request #91594 from neolit123/1.19-update-owners-test-lifecycle
test/e2e/lifecycle: update OWNERS
2020-05-31 23:57:55 -07:00
Kubernetes Prow Robot
413bc1a1d2
Merge pull request #91138 from chendave/imagelocality
Define the thresholds per the size of container images
2020-05-31 16:17:53 -07:00
Kubernetes Prow Robot
46d08c89ab
Merge pull request #91363 from alejandrox1/tune-node-perf-workloads
Tuned npb is workload resources
2020-05-30 23:25:53 -07:00
Kubernetes Prow Robot
46020220ad
Merge pull request #90386 from gaurav1086/azure_remove_extra_sprintf
[Provider/Azure] remove extra Sprintf()
2020-05-30 16:33:53 -07:00
Kubernetes Prow Robot
a017253ace
Merge pull request #88196 from janosi/sctp-e2e
e2e test cases for basic SCTP testing
2020-05-30 09:41:53 -07:00
Zhou Peng
bc9bff0d9e [pkg/controller/job]: fix comment typo
Signed-off-by: Zhou Peng <p@ctriple.cn>
2020-05-30 23:09:10 +08:00
Dave Chen
42fbb1d72f Define the thresholds per the size of container images
Given the assumption that 90% of images on dockerhub drops into this range (23~1000)MB,
this assumption is based on the container images instead of the pod.

pod might hold multiple container images, it's better to multiply the assumption by the size
of container images.

Signed-off-by: Dave Chen <dave.chen@arm.com>
2020-05-30 20:57:50 +08:00
Kubernetes Prow Robot
6468bfa770
Merge pull request #91585 from liggitt/pending-pod-timeout
Add debugging and timeouts to pending pod e2e
2020-05-30 02:58:08 -07:00
Kubernetes Prow Robot
acaa9eaca1
Merge pull request #91520 from weijiehu/azureconfig
Improves unittest CC for azure_config
2020-05-30 02:57:52 -07:00
Kubernetes Prow Robot
774c9a6db6
Merge pull request #91349 from neolit123/1.19-fail-on-unrecognized-args
cmd/*: fail on unrecognized flags/arguments for component CLI
2020-05-30 00:27:53 -07:00
Kubernetes Prow Robot
6a526e8633
Merge pull request #91547 from Huang-Wei/postfilter-api
Scheduler PostFilter API
2020-05-29 20:45:53 -07:00
Wei Huang
8478c19a7f
autogen: PostFilter 2020-05-29 18:18:00 -07:00
Wei Huang
1837b49554
Scheduler PostFilter API 2020-05-29 18:18:00 -07:00
Kubernetes Prow Robot
99df02cd4a
Merge pull request #91561 from RainbowMango/pr_fix_invalid_recover
fix a client-go crash handler not working issue.
2020-05-29 18:17:53 -07:00
Kubernetes Prow Robot
1d566466cf
Merge pull request #91500 from deads2k/guarantee-service
reduce race risk in kubelet for missing KUBERNETES_SERVICE_HOST
2020-05-29 15:21:33 -07:00
Michael McCune
0a9c3e9684 remove unused variable from autoscaling e2e
This change removes the `coreCount` variable and associated counting
logic from the cluster size autoscaling test. This variable was used
during the 1.9 release era, but the tests that used it were removed
before the 1.10 release. Please see the referenced commits[0][1] for
more information.

[0]
c8b807837a
[1]
fd738945b1
2020-05-29 17:33:45 -04:00
David Eads
4da0e64bc1 reduce race risk in kubelet for missing KUBERNETES_SERVICE_HOST 2020-05-29 17:11:19 -04:00
Lubomir I. Ivanov
93549d5037 test/e2e/lifecycle: update OWNERS
The e2e/lifecycle package is owned by SIG CL, although maybe this
should be moved to e2e/auth at some point.

- copy the OWNERS from /cmd/kubeadm (minus the area/kueadm label)
- remove the OWNERS file in /bootstrap letting the parent OWNERS file
manage this sub-package.
2020-05-29 23:12:44 +03:00
Kubernetes Prow Robot
ae1103726f
Merge pull request #91566 from RainbowMango/pr_fix_invalid_recover_in_apiserver
Fix a wrong usage of recover in apiserver
2020-05-29 11:56:39 -07:00
Kubernetes Prow Robot
106c3eff51
Merge pull request #91544 from brianpursley/DeleteCollectionWorkers
Avoid creating more delete collection workers than items to delete
2020-05-29 11:56:29 -07:00
Kubernetes Prow Robot
d1586ea3f9
Merge pull request #91502 from deads2k/dyn-audit-removal-00
remove --feature-gates=DynamicAuditing
2020-05-29 11:56:20 -07:00
Kubernetes Prow Robot
5b1d78599f
Merge pull request #91460 from wojtek-t/addon_resizer_1_8_9
GCE: Bump addon resizer to 1.8.9 version and use metrics to get cluster size there
2020-05-29 11:56:09 -07:00
Kubernetes Prow Robot
39d0f7ba59
Merge pull request #91354 from cheftako/controller-manager
Adds staging directory for controller-manager code
2020-05-29 11:55:56 -07:00
Kubernetes Prow Robot
b69c8392b5
Merge pull request #84596 from akhinos/fix-statefulset-defaulting
UpdateStrategy.RollingUpdate.Partition is lost when UpdateStrategy.Type is not set
2020-05-29 11:55:49 -07:00
Kubernetes Prow Robot
825eb77c88
Merge pull request #83906 from mgugino-upstream-stage/pdb-exclude-pending
Allow deletion of pending pods when using PDBS
2020-05-29 11:55:34 -07:00
Jordan Liggitt
ee193bcd40 Add debugging and timeouts to pending pod e2e 2020-05-29 11:54:16 -04:00
Jordan Liggitt
e11404ac1f Add patch support for certificatesigningrequests/approval 2020-05-29 11:50:44 -04:00
Jordan Liggitt
0e2b13aed2 Add CertificateSigningRequest API coverage tests 2020-05-29 11:50:44 -04:00
Casey Callendrello
8bed088224 kubelet: block non-forwarded packets from crossing the localhost boundary
We set route_localnet so that host-network processes can connect to
<127.0.0.1:NodePort> and it still works. This, however, is too
permissive.

So, block martians that are not already in conntrack.

See: #90259
Signed-off-by: Casey Callendrello <cdc@redhat.com>
2020-05-29 17:35:50 +02:00
Kubernetes Prow Robot
081f97aa2b
Merge pull request #91535 from ahg-g/ahg-merge-updates
Merge pod condition update with setting nominated node name
2020-05-29 08:05:16 -07:00
Brian Pursley
88885b6776 Avoid creating more delete collection workers than items to delete 2020-05-29 08:57:03 -04:00
Kubernetes Prow Robot
b0c1fd19fc
Merge pull request #91524 from dims/add-dims-as-feature-approver
Add dims as feature approver
2020-05-29 05:19:15 -07:00
Yecheng Fu
32df4300ef emit correct event when unbound delay binding claim is used by pod 2020-05-29 19:36:13 +08:00
RainbowMango
d1a8832939 Fix a wrong usage of recover in apiserver. 2020-05-29 17:03:43 +08:00
Sascha Grunert
d2fc2d282d
Update cri-tools to v1.18.0
This updates cri-tools to the latest release as well as pointing the
artifacts to the new Google Cloud Bucket `k8s-artifacts-cri-tools`.

This reverts commit ce1840d253.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-05-29 10:56:02 +02:00
RainbowMango
4a4d1947b0 fix a client-go crash handler not working issue. 2020-05-29 16:55:12 +08:00
Kubernetes Prow Robot
83f343011f
Merge pull request #91308 from julianvmodesto/remove-deprecated-server-dry-run-flag
Remove deprecated --server-dry-run from kubectl apply
2020-05-29 01:05:35 -07:00
Han Kang
6c588c3f44
fix a number of unbounded dimensions in request metrics (#89451)
* fix a number of unbounded dimensions in request metrics

* add test suite for cleanVerb and cleanContentType

* Properly validate that the content-type and charset (if applicable) are RFC compliant

* add additional test case

* truncate list of content-types

Change-Id: Ia5fe0d2e2c602e4def4b8e0849cc19f3f9251818
2020-05-29 01:05:15 -07:00
Kubernetes Prow Robot
c8ceeed698
Merge pull request #91191 from denkensk/add-integration-test-nonpreempt
Add integration test for NonPreemption
2020-05-28 22:07:15 -07:00
Alex Wang
505ae6930f add integration-test for NonPreemption 2020-05-29 11:54:03 +08:00
Abdullah Gharaibeh
27caa6e727 merge pod condition update with setting nominated node name in the scheduler 2020-05-28 20:11:16 -04:00
Kubernetes Prow Robot
0891f69f5e
Merge pull request #91510 from ahg-g/ahg-preempt
Add Preemption benchmark
2020-05-28 16:38:12 -07:00
Kubernetes Prow Robot
472a4e9ce2
Merge pull request #91448 from RainbowMango/pr_fix_metric_naming
update metrics to conform promlint
2020-05-28 16:38:02 -07:00