immutablet
a151aa35dc
Add defaulting logic for EncryptionConfiguration.
2019-12-02 13:21:05 -08:00
Kubernetes Prow Robot
3e7c787d3a
Merge pull request #85574 from mgugino-upstream-stage/kubectl-drain-ctx
...
kubectl/drain: Add context support
2019-12-02 12:23:11 -08:00
Kubernetes Prow Robot
fe2ee4f09e
Merge pull request #85396 from Random-Liu/windows-containerd-on-gce
...
Add containerd windows support on GCE for test.
2019-12-02 12:22:57 -08:00
Abdullah Gharaibeh
f388534082
make scheduling queue start before the scheduler starts and stops after the scheduler stops
2019-12-02 14:35:09 -05:00
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
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
Hemant Kumar
0741f6fa29
Ensure that metadata directory is not created if secret is not found
...
To ensure that metadata directory is not created if secret is not
found, we will move fetching secrets bit more earlier in the code.
2019-12-02 12:09:38 -05:00
Hemant Kumar
309c6f863a
Handle the case of remounts correctly
2019-12-02 12:09:38 -05:00
Hemant Kumar
5feea93163
Rename MarkVolumeMountedOpts to MarkVolumeOpts
...
Also remove VolumeNotMounted state
2019-12-02 12:09:38 -05:00
Hemant Kumar
cdbd3ba5c2
Change interface of SetUp function
2019-12-02 12:09:38 -05:00
Hemant Kumar
db9ac38592
Change signature of MountDevice function and remove MountDeviceWithStatusTracking
2019-12-02 12:09:38 -05:00
Hemant Kumar
0c52b6606e
Refactor NodeStage function
...
Timeout operations should result in
Fix unit tests for uncertainDeviceGlobalMounts
2019-12-02 12:09:38 -05:00
Hemant Kumar
57019e0628
Add tests for verifying in-progress state
2019-12-02 12:09:38 -05:00
Hemant Kumar
27a70a9260
Update generated files
2019-12-02 12:09:38 -05:00
Hemant Kumar
321e99367a
Add code to handle Setup With Status tracking
2019-12-02 12:09:38 -05:00
Hemant Kumar
dc9e64c31e
Implement return status codes
2019-12-02 12:02:27 -05:00
Jordan Liggitt
d620493b74
Ensure webhook backend requests are not artificially rate-limited
2019-12-02 12:01:51 -05:00
Hemant Kumar
50dbcb3e00
Make sure PodExistsInVolume does not uses uncertain volumes
2019-12-02 12:01:40 -05:00
Hemant Kumar
34a6007dfe
Add code to mark volume as uncertain
...
Update bazel files
Add tests for volume mounts in uncertain state
2019-12-02 12:01:40 -05:00
Hemant Kumar
a795f3de88
Add code for introducing uncertain state of mounts
...
Add a comment about volumestate
2019-12-02 11:57:40 -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
Ahmad Nurus S
e911833814
Make APIService.spec.service optional in the openapi v2 spec
2019-12-02 17:49:05 +07: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
ZP-AlwaysWin
8c2aed4ff5
Optimize:remove unnecessary judgment
2019-12-02 14:17:48 +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
tanjunchen
c687521b44
fix staticcheck in test/e2e/cloud/
2019-12-02 11:29:49 +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
Ted Yu
6415fa765e
Remove nodes slice in loop of takeByTopology
2019-11-29 12:12:22 -08:00
Abdullah Gharaibeh
5ea43f20cb
optimize scheduler's UpdateNodeInfoSnapshot
2019-11-29 15:06:13 -05:00
Cong Liu
22d883d7f2
Nominate liu-cong to be sig-scheduling reviewer.
2019-11-29 13:22:06 -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
Alvaro Aleman
1d3b6ece63
Remove stale comment re making apiserver common names dynamic
2019-11-29 15:14:29 +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