Skip to main content

Ξ 🥷 Datalayer Operator

KubernetesService

Datalayer Operator ensures that the requested services and resources are available. Datalayer Operator is a Kubernetes operator that constantly monitors the system and takes action so that the desired state is met on the Kubernetes cluster. It is responsible for managing the state of the Datalayer services.

  • Manage the defined 🛣️ Routes to secure and direct the incoming request to the correct service or pod.
  • Manage the defined 🐋 Docker Images building and publication in the Docker registry.
  • Manage the defined 💼 Jupyter Contents, 🌳 Jupyter Environments and 🎱 Jupyterpools.

Please note that the Jupyter Service is responsible to deliver the ⚪ Kernels to the user, so it is not the duty of the Datalayer Operator to serve Kernels.

A subset of the Operator methods is exposed via REST endpoints for internal consumption (not visible from the externals).

Deploy Datalayer Operator

plane up datalayer-operator
plane ls

Check the availability of the Datalayer CRDs.

kubectl get crd jupyter-contents.datalayer.io
kubectl explain jupyter-contents.spec
kubectl get crd jupyter-environments.datalayer.io
kubectl explain jupyter-environments.spec
kubectl get crd jupyterpools.datalayer.io
kubectl explain jupyterpools.spec

Check the availability of the Datalayer Operator Pods.

kubectl get pods -n datalayer-api -l app=operator

Check the logs of the Datalayer Operator Pods.

kubectl logs -n datalayer-api -l app=operator -f

Tear Down Datalayer Operator

If needed, tear down.

plane down datalayer-operator