Commit Graph

86185 Commits

Author SHA1 Message Date
Abdullah Gharaibeh
e9c400aabc update scheduler benchmarks to be more representative 2019-12-02 13:19:14 -05:00
Rafael Fernández López
f0ea7bcf9e
kubeadm: set cluster name on the controller manager
On kubeadm's configuration it's possible to set up the cluster
name. Forward this information to the controller manager's
`--cluster-name` argument.
2019-12-02 18:32:50 +01:00
Jordan Liggitt
d620493b74 Ensure webhook backend requests are not artificially rate-limited 2019-12-02 12:01:51 -05: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
Guangming Wang
51b7ef2c87 fix: replace TrimLeft with TrimPrefix and TrimRight with TrimSuffix 2019-12-02 21:27:15 +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
wojtekt
2df8ad1b1c Cleanup default conversions 2019-12-02 10:39:03 +01:00
wojtekt
d6969d2c55 Cleanup metav1 conversions 2019-12-02 10:39:03 +01:00
wojtekt
12ee83ed94 Use new-style conversions in default conversions 2019-12-02 10:39:03 +01: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
tanjunchen
0c36299c21 Use expect equal test/e2e/upgrades 2019-12-02 11:20:42 +08:00
Babatunde Olu-Isa
af231b09e4 remove Kubeadm-env file overwrite from apply and node command 2019-12-01 15:28:59 -06: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
Antonio Ojea
335a3e9efb kubeadm: use correct IP family for etcd localhost
kubeadm always use the IPv4 localhost address by defaultA for etcd

The probe hostname is obtained before the generation of the etcd
parameters, so it can't detect the right IP familiy for the
host of the probe.
This causes that with IPv6 clusters doesn't work because the probe
uses the IPv4 localhost address.

This patchs configures the right localhost address based on the used
AdvertiseAddress IP family.
2019-11-30 17:25:30 +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
Beata Skiba
366e053e28 Switch addon resizer to 1.8.7 2019-11-29 16:50:51 +01: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
Antonio Ojea
798d2fb75a
Fix comment typo 2019-11-29 13:38:47 +01:00
SataQiu
69aae3aa5a fix golint failures of test/e2e_node/remote 2019-11-29 18:11:55 +08:00
yue9944882
be0750f6d6 rm -rf staging/src/k8s.io/apiextensions-apiserver/pkg/client 2019-11-29 17:37:22 +08: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
RainbowMango
9ca21e3722 Deal with auto-generated files:
- Update bazel by hack/update-bazel.sh
2019-11-28 17:10:48 +08:00
RainbowMango
2187fe2699 Add ClearState() API to Desc.
Add create() API for Desc
Add annotatedHelp fields to Desc.
2019-11-28 17:07:57 +08: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