-
Notifications
You must be signed in to change notification settings - Fork 147
Feature to add cluster-auth as an option (i.e. k8s service account support). #1172
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
Feature to add cluster-auth as an option (i.e. k8s service account support). #1172
Conversation
|
@johnwhumphreys has exported this pull request. If you are a Meta employee, you can view the originating Diff in D88568003. |
…pport). (meta-pytorch#1172) Summary: This diff adds cluster-auth as an option in the k8s scheduler by first checking if it works, and then falling back to the old auth scheme. So, if we are in pod in a k8s cluster and the pod has a k8s service-account, it will use that. If it does not, it will try to fallback to a kubeconfig. Differential Revision: D88568003
7c9336d to
7e61ec1
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1172 +/- ##
=======================================
Coverage 91.71% 91.72%
=======================================
Files 86 86
Lines 6665 6668 +3
=======================================
+ Hits 6113 6116 +3
Misses 552 552
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…pport). (meta-pytorch#1172) Summary: This diff adds cluster-auth as an option in the k8s scheduler by first checking if it works, and then falling back to the old auth scheme. So, if we are in pod in a k8s cluster and the pod has a k8s service-account, it will use that. If it does not, it will try to fallback to a kubeconfig. Differential Revision: D88568003
7e61ec1 to
bb16fae
Compare
…pport). (meta-pytorch#1172) Summary: This diff adds cluster-auth as an option in the k8s scheduler by first checking if it works, and then falling back to the old auth scheme. So, if we are in pod in a k8s cluster and the pod has a k8s service-account, it will use that. If it does not, it will try to fallback to a kubeconfig. Reviewed By: AbishekS Differential Revision: D88568003
bb16fae to
6cff436
Compare
…pport). (meta-pytorch#1172) Summary: This diff adds cluster-auth as an option in the k8s scheduler by first checking if it works, and then falling back to the old auth scheme. So, if we are in pod in a k8s cluster and the pod has a k8s service-account, it will use that. If it does not, it will try to fallback to a kubeconfig. Reviewed By: AbishekS Differential Revision: D88568003
6cff436 to
4a3b188
Compare
…pport). (meta-pytorch#1172) Summary: This diff adds cluster-auth as an option in the k8s scheduler by first checking if it works, and then falling back to the old auth scheme. So, if we are in pod in a k8s cluster and the pod has a k8s service-account, it will use that. If it does not, it will try to fallback to a kubeconfig. Reviewed By: AbishekS Differential Revision: D88568003
4a3b188 to
64cc770
Compare
…pport). (meta-pytorch#1172) Summary: This diff adds cluster-auth as an option in the k8s scheduler by first checking if it works, and then falling back to the old auth scheme. So, if we are in pod in a k8s cluster and the pod has a k8s service-account, it will use that. If it does not, it will try to fallback to a kubeconfig. Reviewed By: AbishekS Differential Revision: D88568003
64cc770 to
15f4a22
Compare
…pport). (meta-pytorch#1172) Summary: This diff adds cluster-auth as an option in the k8s scheduler by first checking if it works, and then falling back to the old auth scheme. So, if we are in pod in a k8s cluster and the pod has a k8s service-account, it will use that. If it does not, it will try to fallback to a kubeconfig. Reviewed By: AbishekS Differential Revision: D88568003
15f4a22 to
45502c5
Compare
Summary: This diff adds cluster-auth as an option in the k8s scheduler by first checking if it works, and then falling back to the old auth scheme. So, if we are in pod in a k8s cluster and the pod has a k8s service-account, it will use that. If it does not, it will try to fallback to a kubeconfig.
Differential Revision: D88568003