skai-x / elastic-jupyter-operator

Cloud-native way to provide elastic Jupyter Notebooks on Kubernetes. Run remote kernels, natively.
Apache License 2.0
194 stars 28 forks source link

Jupyterkerneltemplate in quickstart can not deploy successfully #67

Closed Gamattention closed 4 days ago

Gamattention commented 6 days ago

When I tried to deploy a custom kernel according to the quickstart, kubectl apply -f ./examples/elastic-with-custom-kernels/kubeflow.tkestack.io_v1alpha1_jupyterkerneltemplate.yaml I encountered the following error: error when creating "./examples/elastic-with-custom-kernels/kubeflow.tkestack.io_v1alpha1_jupyterkerneltemplate.yaml": JupyterKernelTemplate in version "v1alpha1" cannot be handled as a JupyterKernelTemplate: strict decoding error: unknown field "spec.template.metadata.app", unknown field "spec.template.metadata.component"

Gamattention commented 5 days ago

When I tried to deploy a custom kernel according to the quickstart, kubectl apply -f ./examples/elastic-with-custom-kernels/kubeflow.tkestack.io_v1alpha1_jupyterkerneltemplate.yaml I encountered the following error: error when creating "./examples/elastic-with-custom-kernels/kubeflow.tkestack.io_v1alpha1_jupyterkerneltemplate.yaml": JupyterKernelTemplate in version "v1alpha1" cannot be handled as a JupyterKernelTemplate: strict decoding error: unknown field "spec.template.metadata.app", unknown field "spec.template.metadata.component"

I deleted these two fields and successfully deployed it, but when selecting a kernel, I get the error HTTP 500: Internal Server Error (Error attempting to connect to Gateway server URL ‘http://jupytergateway-elastic.default:8888’. Ensure the gateway URL is valid and the Gateway instance is running). d5f57934-a484-47c3-943c-a5ee0b0dda06