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
kfctl apply fails to create k8s resources; tries to deploy to 127.0.0.1 #2791
Comments
@kkasravi Doesn't look like it. I'm using v0.4.0-rc.1-264-g20a80512 Which should include those fixes. @gabrielwen @kkasravi How does the ksonnet KfApp get the credentials and cluster info to talk to? My conjecture is that when we first call kfctl apply we initialize the ksonnet KfApp with a dummy address like 127.0.0.1 because the cluster doesn't exist yet; but on rerunning it the cluster exists and we now have the cluster configured correctly. Are we relying on the KUBECONFIG file and |
|
@jlewi what were your
Ksonnet shouldn't use KUBECONFIG (and use the config from the platform if the platform has set it - either by expanding the KfDefSpec to include credentials or a function pointer). This is the pattern in general - so that
I can pick this up |
/assign @kkasravi |
I looked at a recent successful postsubmit run. Logs are attached below. You can see in the logs that the error occurs. kubeflow-postsubmit-kfctl-go-cefb791-1294-5f69-1259696250.log.txt |
The error is due to the following:
|
When I first run
kfctl apply -v all
it fails with the following errorIf I rerun
kfctl apply -v all
it works.So it looks like there is a problem getting the cluster to talk when we first run kfctl apply and call ksonnet apply.
I'm using version:
v0.4.0-rc.1-264-g20a80512
/cc @gabrielwen @kkasravi
The text was updated successfully, but these errors were encountered: