Skip to content
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

Revert "Don't modify resource names when generating sidecar pod spec" #90

Merged
merged 2 commits into from
Mar 7, 2020

Conversation

katrogan
Copy link
Contributor

@katrogan katrogan commented Mar 7, 2020

Reverts #88

Originally this was a misguided fix for flyteorg/flyte#180, because flyteplugins updates all "GPU" resources with the appropriate nvdia full resource name.

However, https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/api/core/v1/types.go#L4623 uses the lower case name for referencing cpu.

Furthermore, when we build Flyte container tasks we never even use "GPU", but rather the full nvidia name anyways (https://github.com/lyft/flytepropeller/blob/f487cfe6e4d35b52f6f9cb399cceb5abf4a0595a/pkg/utils/k8s.go#L58)

Copy link
Contributor

@wild-endeavor wild-endeavor left a comment

Choose a reason for hiding this comment

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

mind explaining why?

@kumare3
Copy link
Contributor

kumare3 commented Mar 7, 2020

Lets add some description please. I am working on creating PR templates.

@katrogan
Copy link
Contributor Author

katrogan commented Mar 7, 2020

oops, yes - updated the PR description

@katrogan katrogan merged commit 5cc1532 into master Mar 7, 2020
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.

3 participants