Kubernetes cluster resolver fails when running from within a K8S cluster. #70581
Labels
comp:dist-strat
Distribution Strategy related issues
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF 2.16
type:bug
Bug
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
2.16.1
Custom code
Yes
OS platform and distribution
linux
Mobile device
No response
Python version
3.11
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
If trying to create a cluster spec from a pod running within a K8s cluster, this try block fails because it can't find the kubectl config file.
The quick is rather straightforward:
Happy to open a MR for this.
Standalone code to reproduce the issue
main.py
job.yaml
The text was updated successfully, but these errors were encountered: