Commit Graph

86104 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
833f585104
Merge pull request #85760 from yutedz/chkpt-write-err
Log error when writing checkpoint fails
2019-12-02 10:27:06 -08:00
Kubernetes Prow Robot
ea385aa5e9
Merge pull request #85350 from liggitt/mutation-detection
Enable mutation detection in test-cmd/test-integration/test-e2e-node, improve memory impact
2019-12-02 07:39:04 -08:00
Kubernetes Prow Robot
e941b46b22
Merge pull request #85705 from ralfonso/iscsi_refcounter_block_fix
Fix iscsi refcounter in the case of no Block iscsi volumes
2019-12-02 06:03:05 -08:00
Kubernetes Prow Robot
bd77d5f441
Merge pull request #85717 from krzysied/kubemark_node_addon_labels
Setting kubemark node labels
2019-12-02 03:17:04 -08:00
Kubernetes Prow Robot
f6337c7624
Merge pull request #85629 from CriaHu/test_master6
fix broken link:https://kubernetes.io/docs/concepts/overview/object-m
2019-12-01 19:31:04 -08:00
Kubernetes Prow Robot
b920b388e9
Merge pull request #85675 from jsafrane/aws-attach-consistency
Fix AWS eventual consistency of AttachDisk
2019-12-01 07:07:03 -08:00
Kubernetes Prow Robot
650c797d3f
Merge pull request #85543 from SataQiu/fix-elasticsearch-20191122
Make elasticsearch discovery supports IPv6
2019-11-30 18:31:03 -08:00
Kubernetes Prow Robot
1ca289dfc1
Merge pull request #85763 from ereslibre/create-or-mutate-configmap-resiliency
kubeadm: Improve resiliency in CreateOrMutateConfigMap
2019-11-30 14:57:03 -08:00
Rafael Fernández López
14fe7225c1
kubeadm: Improve resiliency in CreateOrMutateConfigMap
CreateOrMutateConfigMap was not resilient when it was trying to Create
the ConfigMap. If this operation returned an unknown error the whole
operation would fail, because it was strict in what error it was
expecting right afterwards: if the error returned by the Create call
was a IsAlreadyExists error, it would work fine. However, if an
unexpected error (such as an EOF) happened, this call would fail.

We are seeing this error specially when running control plane node
joins in an automated fashion, where things happen at a relatively
high speed pace.

It was specially easy to reproduce with kind, with several control
plane instances. E.g.:

```
[upload-config] Storing the configuration used in ConfigMap "kubeadm-config" in the "kube-system" Namespace
I1130 11:43:42.788952     887 round_trippers.go:443] POST https://172.17.0.2:6443/api/v1/namespaces/kube-system/configmaps?timeout=10s  in 1013 milliseconds
Post https://172.17.0.2:6443/api/v1/namespaces/kube-system/configmaps?timeout=10s: unexpected EOF
unable to create ConfigMap
k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient.CreateOrMutateConfigMap
	/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient/idempotency.go:65
```

This change makes this logic more resilient to unknown errors. It will
retry on the light of unknown errors until some of the expected error
happens: either `IsAlreadyExists`, in which case we will mutate the
ConfigMap, or no error, in which case the ConfigMap has been created.
2019-11-30 22:48:16 +01:00
Kubernetes Prow Robot
82ee37f3e1
Merge pull request #85610 from losipiuk/lo/ca-1.17-beta.1-master
Bump Cluster Autoscaler version to 1.17.0
2019-11-30 08:01:03 -08:00
Ted Yu
84a9803741 Log error when writing checkpoint fails 2019-11-29 19:47:17 -08:00
Kubernetes Prow Robot
aa67744438
Merge pull request #85738 from ahg-g/ahg-15k
Optimize UpdateNodeInfoSnapshot
2019-11-29 13:15:03 -08:00
Abdullah Gharaibeh
5ea43f20cb optimize scheduler's UpdateNodeInfoSnapshot 2019-11-29 15:06:13 -05:00
Kubernetes Prow Robot
85f8005cf0
Merge pull request #85468 from neolit123/1.17-discovery-token-fix
kubeadm: simplify discover/token and add detailed unit tests
2019-11-29 09:35:03 -08:00
Mayank Kumar
fef9e413df Make cluster auto scaler use leases 2019-11-29 13:58:24 +01:00
Łukasz Osipiuk
b1b9e6254a Bump Cluster Autoscaler version to 1.17.0 2019-11-29 13:58:20 +01:00
Kubernetes Prow Robot
cf16e4988f
Merge pull request #85713 from saschagrunert/kind-deprecation
Add kind/deprecation to pull request template
2019-11-28 11:17:16 -08:00
Kubernetes Prow Robot
53740bbade
Merge pull request #85687 from dmage/decode_base64
fix: padded base64 encoded docker auth field
2019-11-28 11:17:03 -08:00
Kubernetes Prow Robot
050c9471c8
Merge pull request #85644 from liggitt/meta-v1-table
Switch TableGenerator/TableConvertor interfaces to metav1
2019-11-28 10:05:18 -08:00
Kubernetes Prow Robot
d6e42af0f0
Merge pull request #85473 from chendotjs/dp-fix
Fix device plugin generator script
2019-11-28 10:05:04 -08:00
Oleg Bulatov
5bec54ed5b
fix: padded base64 encoded docker auth field
base64 allows usage of new line characters and some tools use them.
As a result, the length of the encoded string cannot be used to
determine whether it's padded or not.

This patch fixes the regression after #82148.
2019-11-28 17:12:03 +01:00
Kubernetes Prow Robot
f9e51ccda4
Merge pull request #85274 from chendave/kube-up
fix the defect in the shell scripts
2019-11-28 08:07:03 -08:00
Jan Safranek
044b315d61 All check for instanceID
In case DescribeVolumes returns stale attachment and the volume was
previously attached to a different node.
2019-11-28 15:58:05 +01:00
Kubernetes Prow Robot
1d343c8a0c
Merge pull request #85722 from sttts/sttts-apiextensions-nullable-required
apiextensions: filter required nullable to workaround kubectl validation
2019-11-28 06:09:27 -08:00
Kubernetes Prow Robot
d9c1203308
Merge pull request #85716 from krzysied/kubemark_node_labels_fix
Fxing kubemark node labels
2019-11-28 06:09:16 -08:00
Kubernetes Prow Robot
83a8e8c9fb
Merge pull request #85711 from tanjunchen/use-ExpectEqual-test-e2e-auto
use ExpectEqual of framework in test/e2e/autoscaling/
2019-11-28 06:09:03 -08:00
Kubernetes Prow Robot
8be1202f08
Merge pull request #85671 from tanjunchen/update-test/e2e/common-to-use-framework
use framework  refactor code in test/e2e/common
2019-11-28 04:53:03 -08:00
Dr. Stefan Schimanski
ae72e19ab6 apiextensions: filter required nullable to workaround kubectl validation 2019-11-28 12:23:55 +01:00
Kubernetes Prow Robot
dcb7daa885
Merge pull request #85666 from SataQiu/e2e-clean-e2elog-20191127
e2e: use log functions of core framework on pv, testfiles and volume sub packages
2019-11-28 03:03:03 -08:00
tanjunchen
52ac2783bc use framework refactor code in test/e2e/common 2019-11-28 18:03:01 +08:00
Kubernetes Prow Robot
1934ad6a9c
Merge pull request #85664 from tanjunchen/use-framework-autoscaling-cloud
use framework in  test/e2e/cloud/
2019-11-28 01:49:17 -08:00
Kubernetes Prow Robot
d356fcfce5
Merge pull request #84921 from clarklee92/FixCollidesWithImportedPackageName
Variables collide with imported package name
2019-11-28 01:49:03 -08:00
Krzysztof Siedlecki
aacd79cc36 setting kubemark node labels 2019-11-28 10:36:56 +01:00
Krzysztof Siedlecki
5cf06bfa80 fxing kubemark node labels 2019-11-28 10:23:48 +01:00
Sascha Grunert
6323dc789a
Add kind/deprecation to pull request template
With the merge of https://github.com/kubernetes/test-infra/pull/15040,
we're now able to use the kind/deprecation label for PRs as well. This
label will be consumed by the release notes generation tool.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-11-28 09:24:31 +01:00
Jordan Liggitt
81d05e91b5 Retain objects for a limited lifetime in the mutation cache detector by default 2019-11-28 02:26:38 -05:00
Jordan Liggitt
9a868766ee Enable mutation detection 2019-11-28 02:26:38 -05:00
tanjunchen
4d9c2a4ef8 use ExpectEqual of framework in test/e2e/autoscaling/ 2019-11-28 13:53:52 +08:00
Kubernetes Prow Robot
711790af23
Merge pull request #85704 from yliaog/windep
catch the exception raised in Remove-HnsPolicyList
2019-11-27 21:03:10 -08:00
Kubernetes Prow Robot
2eda47221a
Merge pull request #83604 from k-toyoda-pi/fix_shellcheck_log-dump
Fix shellcheck failure in cluster/log-dump/log-dump.sh
2019-11-27 21:03:03 -08:00
Kubernetes Prow Robot
3dcc1a14df
Merge pull request #85628 from lubinsz/pr_kubeadm_proxy
Adding KubeProxyConfigMap19 checking in test-e2e-kubeadm
2019-11-27 19:49:13 -08:00
Kubernetes Prow Robot
9474154012
Merge pull request #85698 from dashpole/cadvisor_v0_35
Update cadvisor dependency to v0.35.0
2019-11-27 17:51:16 -08:00
Kubernetes Prow Robot
247c12d618
Merge pull request #85695 from ahg-g/ahg-provider
remove redundant definition of the defaultProvider in the scheduler
2019-11-27 17:51:03 -08:00
Kubernetes Prow Robot
5bd993b19d
Merge pull request #85700 from deads2k/suppress-stringer-obj
stop spamming the log on failures with full objects
2019-11-27 16:41:16 -08:00
Kubernetes Prow Robot
0efe584db6
Merge pull request #85513 from liu-cong/benchmark-fix
Fix benchmark artifact parsing.
2019-11-27 16:41:03 -08:00
Ryan Roemmich
d44583d28a
Fix iscsi refcounter in the case of no Block iscsi volumes 2019-11-27 15:50:40 -08:00
Yu Liao
bbc49d6b1f catch the exception raised in Remove-HnsPolicyList 2019-11-27 15:43:39 -08:00
Kubernetes Prow Robot
45f6270283
Merge pull request #85689 from ahg-g/ahg-export-snapshot
Export scheduler.Snapshot function
2019-11-27 14:23:03 -08:00
David Ashpole
a445c97a0e update cadvisor dependency to v0.35.0 2019-11-27 14:22:51 -08:00
David Eads
1ad7858792 stop spamming the log on failures with full objects 2019-11-27 17:14:55 -05:00