Skip to content

Conversation

@Yancey0623
Copy link
Collaborator

@Yancey0623 Yancey0623 commented May 23, 2017

Fixed #63

@Yancey0623 Yancey0623 requested a review from typhoonzero May 23, 2017 10:00
gpu = obj.get("gpu", 0),
image = obj.get("image", "yancey1989/paddlecloud-job"),
image = obj.get("image", settings.JOB_DOCKER_IMAGE["image"]),
registry_secret = registry_secret,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check if we configured registry secrets, if not no need to provide this, using a public image.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, if there is no registry_secret be configured: L46, and the Kubernetes job won't use registry secret.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool.

Copy link
Collaborator

@typhoonzero typhoonzero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Yancey0623 Yancey0623 merged commit 8609fc7 into PaddlePaddle:develop May 23, 2017
@Yancey0623 Yancey0623 deleted the secret-registry branch May 23, 2017 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants