Commit Graph

76791 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
1ac4cc7980
Merge pull request #75703 from tedyu/master
Simplify the loop for latest start time in pickOneNodeForPreemption
2019-04-01 13:18:58 -07:00
Kubernetes Prow Robot
c8d6d7c0d0
Merge pull request #74757 from tallclair/runtimehandler-e2e
Add custom runtime handler e2e test
2019-04-01 13:18:47 -07:00
Kubernetes Prow Robot
76b1d83517
Merge pull request #73863 from gnufied/fix-attach-limit-delayed
Fix code to handle delayed binding volumes
2019-04-01 13:18:35 -07:00
juanvallejo
ac4eebeeb5 allow for non-fatal errors when requesting and following multiple log streams 2019-04-01 13:05:59 -07:00
Sandeep Rajan
deadefd385 Fix translation to skip invalid values 2019-04-01 15:15:39 -04:00
wojtekt
d5c9ad8049 Expose etcd client latency metrics 2019-04-01 20:46:18 +02:00
Cheng Xing
d20845f635 Fixed storage class nilpointer in RePD failover test 2019-04-01 11:35:02 -07:00
Benjamin Elder
2b7cc095cc enable external sources in verify-shellcheck 2019-04-01 11:03:37 -07:00
Kubernetes Prow Robot
255a73ffc6
Merge pull request #75939 from xichengliudui/conversion-constants
Define common sentences as constants
2019-04-01 10:03:25 -07:00
Kubernetes Prow Robot
a0e71b49b6
Merge pull request #75781 from roycaihw/fix/openapi-aggregator-log
kube-aggregator: bump openapi aggregation log level for delegation targets
2019-04-01 10:03:13 -07:00
Kubernetes Prow Robot
e1f3819564
Merge pull request #75772 from tomwans/cronjob-sorting
Avoid panic in cronjob sorting
2019-04-01 10:03:00 -07:00
Kubernetes Prow Robot
1e7ed38326
Merge pull request #75759 from WanLinghao/api_meta_test_fix
Fix a test build failed error
2019-04-01 10:02:47 -07:00
Kubernetes Prow Robot
46ae77421c
Merge pull request #73041 from giuseppe/fix-logs
kubelet: fix some race conditions with logs -f
2019-04-01 10:02:34 -07:00
Jordan Liggitt
1b0cc829f3 Update sample aggregated server yaml to work with e2e test image 2019-04-01 12:16:51 -04:00
Clayton Coleman
6801ce990a
Set list meta on PartialObjectMetadataList during transform 2019-04-01 11:59:18 -04:00
Rohit Ramkumar
b2a3f72a1c Remove Ingress-GCE test which checks that sync error on one Ingress does not block other syncs 2019-04-01 11:42:45 -04:00
ialidzhikov
ebfb92bdce Update fluentd 1.4.1
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2019-04-01 18:24:47 +03:00
Clayton Coleman
a63fef26ca
Garbage collector should use a merge patch instead of Update
Fix a TODO in GC controller that blocks using the new
PartialObjectMetadata flow (because we don't support PUT of
PartialObjectMetadata). This patch is equivalent to the previous
mutation.
2019-04-01 11:02:03 -04:00
Clayton Coleman
efde94a0bc Add ListMeta to PartialObjectMetadataList
Unfortunately the proto id is now inconsistent with other "correct" objects,
but to change it will require a breaking serialization change. Worth considering.
2019-04-01 10:48:39 -04:00
Kubernetes Prow Robot
13cde9e181
Merge pull request #75950 from qingsenLi/k8s190401-fix-Certifcate
spelling error 'Certifcate'
2019-04-01 06:38:58 -07:00
qingsenLi
703a397ee3 spelling error 'Certifcate' 2019-04-02 01:14:56 +08:00
Kubernetes Prow Robot
e9f0d5d546
Merge pull request #75940 from SataQiu/fix-e2e-framework-20190401
Fix golint failures of e2e/framework/pods.go, provider.go, upgrade_util.go
2019-04-01 06:38:46 -07:00
Kubernetes Prow Robot
782ed5ce13
Merge pull request #75835 from hormes/add_timeout_to_watch
add timeout support  for Watch()
2019-04-01 06:38:33 -07:00
Dr. Stefan Schimanski
7db60f678f staging/publishing: split rules for godeps and go.mod bot 2019-04-01 14:55:09 +02:00
Kubernetes Prow Robot
fd98e7abf0
Merge pull request #75933 from SataQiu/fix-kubeadm-20190401
Update kubeadm/kubeconfig to use constant instead of hard coding
2019-04-01 04:54:45 -07:00
Kubernetes Prow Robot
483cd0db09
Merge pull request #75483 from gsadhani/describe-output-fix
Skip smart label in kubectl describe if field has special chars
2019-04-01 04:54:33 -07:00
Kubernetes Prow Robot
b75e28fe73
Merge pull request #75595 from liggitt/client-go-instructions
Add preliminary go module instructions to client-go
2019-04-01 02:24:34 -07:00
SataQiu
e8a72dea37 fix golint failures of e2e/framework/pods.go, provider.go, upgrade_util.go 2019-04-01 16:04:29 +08:00
SataQiu
694a5f1cdf use constant instead of hard coding 2019-04-01 13:29:47 +08:00
Humble Chirammal
ee9079f8ec Use better variable names in validation.go
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-01 09:43:36 +05:30
Kubernetes Prow Robot
997d5182d0
Merge pull request #75662 from s-ito-ts/shellcheck_local-up-cluster.sh
fix shellcheck failures in hack/local-up-cluster.sh
2019-03-31 18:24:32 -07:00
Kubernetes Prow Robot
2792f1a24e
Merge pull request #75857 from danielqsj/sc1
support both JSON and YAML for scheduler configuration
2019-03-31 12:36:31 -07:00
danielqsj
412adb8ca9 add unit test for initPolicyFromFile 2019-03-31 21:23:24 +08:00
Kubernetes Prow Robot
d0c0883a9a
Merge pull request #75923 from SataQiu/fix-golint-ssh-size-20190331
Fix golint failures of e2e/framework/ssh.go, e2e/framework/size.go
2019-03-31 05:44:32 -07:00
Giuseppe Scrivano
31397083b2
test, e2e: add tests for logs -f
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-31 12:15:36 +02:00
SataQiu
610a1d1b96 fix golint failures of e2e/framework/ssh.go, e2e/framework/size.go 2019-03-31 16:32:22 +08:00
fansong.cfs
c676e234cc add timeout suuport for watch 2019-03-31 15:57:09 +08:00
Kubernetes Prow Robot
1b711267b4
Merge pull request #75904 from ixdy/update-repo-infra-bazel-0.23
bazel: update repo-infra dependency to fix bazel 0.24+ (requires 0.23+)
2019-03-31 00:36:32 -07:00
Kubernetes Prow Robot
afefc0b2c5
Merge pull request #73737 from odino/owner-references-in-create-job
Attaching owner references to jobs create via "--from=cronjob/xyz"
2019-03-30 18:22:45 -07:00
Kubernetes Prow Robot
e9c42a15f7
Merge pull request #73672 from WanLinghao/failure_domain_remove
Remove dead code about failure-domains option in kube-scheduler
2019-03-30 18:22:33 -07:00
Kubernetes Prow Robot
b0aee7fa3c
Merge pull request #75897 from oomichi/golint-e2e-framework-p
Fix golint failures of e2e/framework/p*.go
2019-03-30 15:57:20 -07:00
Kubernetes Prow Robot
72418519ff
Merge pull request #75865 from xichengliudui/fixshellcheckfailure-03
Fix shellcheck failures in godep-save.sh and godep-restore.sh
2019-03-30 15:57:08 -07:00
Kubernetes Prow Robot
8f304510c5
Merge pull request #75900 from neolit123/fix-upgrade-plan
kubeadm: fix "upgrade plan" not defaulting to a "stable" version
2019-03-30 12:47:08 -07:00
Tom Wanielista
d0cfc49704 Avoid panic in cronjob sorting
This change handles the case where the ith cronjob may have its start
time set to nil.

Previously, the Less method could cause a panic in case the ith
cronjob had its start time set to nil, but the jth cronjob did not. It
would panic when calling Before on a nil StartTime.
2019-03-30 12:43:14 -04:00
Giuseppe Scrivano
a561196bfe
logs: consume all file until EOF on exited container
If the container is not found, do not stop reading the log file
immediately but wait until we reach again EOF.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:21 +01:00
Giuseppe Scrivano
8f68b281e4
kubelet: force checking the log file every second
it seems fsnotify can miss some read events, blocking the kubelet to
receive more data from the log file.

If we end up waiting for events with fsnotify, force a read from the
log file every second so that are sure to not miss new data for longer
than that.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:20 +01:00
Giuseppe Scrivano
341c2c0d1f
kubelet: handle recreated log files
if the runtime is configured to rotate the log file, we might end up
watching the old fd where there are no more writes.

When a fsnotify event other than Write is received, reopen the log
file and recreate the watcher.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:20 +01:00
Giuseppe Scrivano
2c30eee92f
kubelet: read immediately after creating the watcher
if some events happen between the Read and while we set the watcher,
we might miss them.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2019-03-30 17:42:11 +01:00
Kubernetes Prow Robot
615c491040
Merge pull request #75858 from danielqsj/crdct
add possible values to CustomResourceDefinitionConditionType
2019-03-30 09:41:08 -07:00
Claudiu Belu
625a9d98a8 tests: Adds agnhost image
The new image is meant to be used for testing purposes, whenever there
are significant differences between Linux and Windows in the way
something is obtained or tested. For example, the DNS suffix list can
be found in ``/etc/resolv.conf`` on Linux, but on Windows, such file
does not exist, and one way to obtain the mentioned list would be
through some powershell commands.

The image contains an extendable CLI as the entrypoint, the tests
only having to add the necessary arguments. For the previous example,
passing the ``dns-suffix`` argument will print out the comma separated
DNS suffix list, on both Linux and Windows.

The image name means that it should behave the same way on any host,
no matter the host OS.
2019-03-30 06:04:56 -07:00