Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rootfs/scheduler/resources/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def wait_until_ready(self, namespace, name, **kwargs):
if additional_timeout:
timeout += additional_timeout
# add 10 minutes to timeout to allow a pull image operation to finish
self.log(namespace, 'Kubernetes has been pulling the image for {}s'.format(seconds)) # noqa
self.log(namespace, 'Kubernetes has been pulling the image for {}s'.format(waited)) # noqa
self.log(namespace, 'Increasing timeout by {}s to allow a pull image operation to finish for pods'.format(additional_timeout)) # noqa

self.log(namespace, "waited {}s and {} pods are in service".format(waited, availablePods)) # noqa
Expand Down
2 changes: 1 addition & 1 deletion rootfs/scheduler/resources/pod.py
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ def wait_until_ready(self, namespace, containers, labels, desired, timeout): #
if additional_timeout:
timeout += additional_timeout
# add 10 minutes to timeout to allow a pull image operation to finish
self.log(namespace, 'Kubernetes has been pulling the image for {}s'.format(seconds)) # noqa
self.log(namespace, 'Kubernetes has been pulling the image for {}s'.format(waited)) # noqa
self.log(namespace, 'Increasing timeout by {}s to allow a pull image operation to finish for pods'.format(additional_timeout)) # noqa

count = 0 # ready pods
Expand Down