New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container Manager Wait Until Ready #417
Conversation
Test FAILed. |
e6c3aaa
to
f716127
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why that test is failing, but other than that this looks good. Just some minor comments.
.gitignore
Outdated
@@ -18,4 +18,6 @@ _build/ | |||
dependency-reduced-pom.xml | |||
*.iml | |||
|
|||
k8s_starter.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look like this was removed?
for _ in range(num_missing): | ||
self._add_replica(name, version, input_type, image) | ||
name = self._add_replica(name, version, input_type, image) | ||
model_container_names += [name] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change this to model_container_names.append(name)
. The way you're doing it right now constructs a new list in each iteration.
Test FAILed. |
Test FAILed. |
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good to go once you remove the changes to .gitignore
.gitignore
Outdated
@@ -18,4 +18,6 @@ _build/ | |||
dependency-reduced-pom.xml | |||
*.iml | |||
|
|||
k8s_starter.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look like this was removed?
.gitignore
Outdated
@@ -18,4 +18,6 @@ _build/ | |||
dependency-reduced-pom.xml | |||
*.iml | |||
|
|||
k8s_starter.py | |||
integration-tests/replica_test.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops. Must have forgotten to save. Sorry about that.
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Test PASSed. |
The changes force the
DockerContainerManager
and theKubernetesContainerManager
to sleep until the container/deployment is ready.