Commit Graph

91283 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e5ead81bb0
Merge pull request #91174 from jqmichael/updateHasSyncDoc
Polished up comments around HasSynced()
2020-05-19 15:22:48 -07:00
Kubernetes Prow Robot
6cf4ab3c8c
Merge pull request #91071 from alculquicondor/integration_new_node
Add test case for a pod becoming schedulable when a node is added
2020-05-19 15:22:33 -07:00
Kubernetes Prow Robot
0e8a2d2244
Merge pull request #90793 from pohly/flaky-mount-volume-calls
mock e2e test: reduce flakiness by not testing all calls
2020-05-19 15:22:19 -07:00
Davanum Srinivas
c1c2b663f0
Add cloudbuild.yaml for etcd
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 17:05:24 -04:00
Davanum Srinivas
c225d13abc
Switch to static bash for etcd
- use bash-static and avoid dragging in all of debian-base
- use distroless as the base image
- the shell script needs a `cp` utility, add a go based one for just
  files (no support for directories!)
- Rework the calls to `mv` and recursive `cp` in the code
- we don't need to support windows in this container image
- the test case was slightly off as it was assuming that the old
  directory was copied into the new directory, but the desired
  functionality is that all files in the old directory should be in the
  new directory.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 17:05:24 -04:00
Kubernetes Prow Robot
0f23eef0c8
Merge pull request #91257 from dims/use-staging-csi-to-work-around-quay-io
Use staging-csi to work around quay.io availability
2020-05-19 14:00:19 -07:00
Hemant Kumar
ed344e70b8 Overflow errors look weird in string format
before:
quantity {{0 0} {0xc000cf77d0}  DecimalSI} is too great, overflows int64

after:
quantity 73786976299133170k is too great, overflows int64
2020-05-19 15:36:33 -04:00
Davanum Srinivas
fb7cb4307e
Move nfs-provisioner from quay.io/kubernetes_incubator to staging-csi
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 14:46:33 -04:00
Hemant Kumar
155db11b73 Do not fail test if pod is not found 2020-05-19 14:16:25 -04:00
Davanum Srinivas
5c966e3beb
Use staging-csi to work around quay.io availability
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-19 12:51:54 -04:00
wojtekt
99dff90d61 Rely on default watch cache capacity and ignore its requested size 2020-05-19 18:13:28 +02:00
Aldo Culquicondor
9819b25a44 Set weight of PodTopologySpread Score to 2
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-19 12:08:38 -04:00
Antoni Zawodny
3c5585bfd9 Fix permissions in kube-addon-manager 2020-05-19 17:40:09 +02:00
Aldo Culquicondor
da6fcfaf74 Skip Pod Conditions from scheduling queue updates
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-05-19 10:59:10 -04:00
louisgong
cf154e9d1f implement openstack InstanceMetadataByProviderID function 2020-05-19 22:12:56 +08:00
louisgong
030c4e7845 implement gce InstanceMetadataByProviderID function 2020-05-19 22:12:55 +08:00
louisgong
6a7bb31251 implement azure InstanceMetadataByProviderID function 2020-05-19 22:12:55 +08:00
louisgong
da4b5e8dd9 implement aws InstanceMetadataByProviderID function 2020-05-19 22:12:55 +08:00
Anago GCB
6c9aab2b09 CHANGELOG: Update directory for v1.19.0-beta.0 release 2020-05-19 13:17:49 +00:00
Antonio Ojea
a0f0e58373 kubectl run test wait until pod terminates
the test "executing a command with run and attach without stdin"
is inherently flaky, there are several discussion but seems that
it requires changing the way the kubectl run and attach works.

The test fails if we are not able to attach before the container prints
"stdin closed", but hasn't exited yet.

Because the race seems difficult to solve, we can wait 5 seconds
 before printing to give time to kubectl to attach to the container.
2020-05-19 13:09:32 +02:00
Jakub Przychodzeń
ce1840d253 Revert "Update cri-tools to v1.18.0"
This reverts commit 4b3e023659.
2020-05-19 11:19:39 +02:00
Kubernetes Prow Robot
6a0e01880a
Merge pull request #91194 from wawa0210/update-envvarsource-doc
Update env varsource api documentation
2020-05-19 00:51:40 -07:00
RainbowMango
1d44f63b9d Update vendor by hack/update-vendor.sh. 2020-05-19 15:49:37 +08:00
RainbowMango
75a6d09348 Introduce promlint to guarantee metrics follow Prometheus best practices. 2020-05-19 15:45:11 +08:00
Kubernetes Prow Robot
78f2c8f70d
Merge pull request #90582 from RainbowMango/pr_bump_client_golang_1_6
bump client_golang to v1.6.0
2020-05-18 23:09:36 -07:00
iamchuckss
b5a02c4190 Fix log timestamps to be displayed in fixed width 2020-05-19 13:07:56 +08:00
Kubernetes Prow Robot
590365cb70
Merge pull request #90785 from zhouya0/fix_kubectl_run_ignore_namespace
Fix kubectl run  --dry-run client  ignore namespace
2020-05-18 20:03:50 -07:00
Kubernetes Prow Robot
2185064307
Merge pull request #90356 from Huang-Wei/prefactor-preemption-nompods-interface
Extract logic related with scheduler nominatedPods to an interface
2020-05-18 20:03:36 -07:00
Abdullah Gharaibeh
4ff554ba83 Eliminate locking in (anti)affinity calculations 2020-05-18 22:37:37 -04:00
zhouya0
2f117260fb Fix dry run client ignore namespace 2020-05-19 09:59:30 +08:00
RainbowMango
283d9f7483 Pin transitive dependencies:
pin dependency github.com/beorn7/perks from v1.0.0 to v1.0.1
pin dependency github.com/golang/protobuf from v1.3.3 to v1.4.2
pin denpendency github.com/json-iterator/go from v1.1.8 to v1.1.9
pin dependency github.com/prometheus/common from v0.4.1 to v0.9.1
pin dependency github.com/prometheus/procfs from v0.0.5 to v0.0.11
pin dependency github.com/alecthomas/template from v0.0.0-20160405071501-a0175ee3bccc to v0.0.0-20190718012654-fb15b899a751
pin dependency github.com/alecthomas/units from v0.0.0-20151022065526-2efee857e7cf to v0.0.0-20190717042225-c3de453c63f4
pin dependency github.com/go-kit/kit from v0.8.0 to v0.9.0
pin dependency github.com/go-logfmt/logfmt from v0.3.0 to v0.4.0

Co-Authored-By: Jordan Liggitt <jordan@liggitt.net>
2020-05-19 09:38:29 +08:00
RainbowMango
d8062e076e bump github.com/prometheus/client_golang to v1.6.0 2020-05-19 09:37:10 +08:00
Kobayashi Daisuke
673a22eae8 Add test case in scheduler/profile/profile_test.go
to improve the test coverage: check invalid configs
2020-05-19 10:27:37 +09:00
Kubernetes Prow Robot
1e2ddd1261
Merge pull request #89461 from wawa0210/change-ip-masq-os-label
[Trival] beta.kubernetes.io/os deprecated since v1.14, are targeted for removal in v1.18
2020-05-18 17:43:49 -07:00
Kubernetes Prow Robot
036fcda230
Merge pull request #89412 from coderanger/fix-kubelet-method-metrics
Apply the same style of fix as #87913 but for HTTP methods too.
2020-05-18 17:43:36 -07:00
Kubernetes Prow Robot
9eb097c4b0
Merge pull request #91168 from ahg-g/ahg-affinity5
First pod with affinity can schedule only on nodes with matching topology keys
2020-05-18 16:29:51 -07:00
Kubernetes Prow Robot
f4112710f5
Merge pull request #90061 from marosset/runtimehandler-image-spec-annotations
Add annotations to CRI ImageSpec objects
2020-05-18 16:29:36 -07:00
Kubernetes Prow Robot
ba2855eaa5
Merge pull request #91213 from dims/support-for-banning-incompatible-deps-klog-v1
Support for banning incompatible dependencies - start with klog v1
2020-05-18 13:34:17 -07:00
Kubernetes Prow Robot
e215a8772c
Merge pull request #91210 from tosi3k/dont-log-node-ip-range-to-stdout
Log user provided NODE_IP_RANGE to stdout instead of stderr
2020-05-18 13:34:08 -07:00
Kubernetes Prow Robot
c8ecfc328d
Merge pull request #91158 from prasadkatti/master
[kubeadm] add tests for package `patchnode`
2020-05-18 13:33:58 -07:00
Kubernetes Prow Robot
0d4464d014
Merge pull request #91150 from brianpursley/e2e-delete-pods
Add code to delete pods at the end of e2e tests to free up capacity
2020-05-18 13:33:48 -07:00
Kubernetes Prow Robot
ee8731a385
Merge pull request #91012 from justaugustus/verify-external
verify: Exclude verify-external-dependencies from make verify
2020-05-18 13:33:37 -07:00
Abdullah Gharaibeh
5d2c05408d First pod with affinity can schedule only on nodes with matching topology keys 2020-05-18 15:15:09 -04:00
Kubernetes Prow Robot
04deee94a8
Merge pull request #91205 from tosi3k/remove-unnecessary-kubemark-logs
Remove unnecessary logging info from kubemark nodes annotation
2020-05-18 11:05:51 -07:00
Kubernetes Prow Robot
7dafbe3ff3
Merge pull request #90391 from johscheuer/improve-error-message-svc-cidr
Improve the error message for the service cidr check
2020-05-18 11:05:37 -07:00
Wei Huang
bd184035c4
Extract logic related with scheduler nominatedPods to an interface
- rename `UpdateNominatedPodForNode` to `AddNominatedPod`
- promote `update` to `UpdateNominatedPod`
- anonymous lock in nominatedMap
- pass PodNominator as an option to NewFramework
2020-05-18 10:29:08 -07:00
Prasad Katti
21a1d1d179 [kubeadm] add tests for patchnode 2020-05-18 10:06:06 -07:00
Kubernetes Prow Robot
a3d532a3f7
Merge pull request #90848 from pjbgf/accept-only-recommended-ciphers
Log a warning when cluster admins enable Insecure TLS Ciphers for kubelet or apiserver
2020-05-18 08:55:36 -07:00
Davanum Srinivas
8fd27f62ca
Support for banning incompatible dependencies - start with klog v1
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-18 11:55:01 -04:00
wawa0210
097c22638b update EnvVarSource doc 2020-05-18 23:37:30 +08:00