streams-manifests/jupyter
Micke Nordin e59cf28112
bump
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-01-30 14:11:39 +01:00
..
base Add jupyterhub, similar to drive 2025-01-30 13:09:36 +01:00
overlays/test Change namespace 2025-01-30 14:11:10 +01:00
jupyter-application.yaml bump 2025-01-30 14:11:39 +01:00
readme.md Update docs 2025-01-29 11:49:31 +01:00

Kubernetes Commands for Jupyter Setup

Namespace Creation

Create a namespace for Jupyter:

kubectl create ns jupyter

Apply Configuration Files

Deploy persistent storage, deployment, services, and secrets:

kubectl -n jupyter apply -f jupyter-persistent-volume.yaml
kubectl -n jupyter apply -f jupyter-deployment.yaml
kubectl -n jupyter apply -f jupyter-service.yaml
kubectl -n jupyter apply -f s3-secrets-trino.yaml

Persistent Volume Claims (PVC)

Check the status of PVCs in the Jupyter namespace:

kubectl get pvc -n jupyter

Port Forwarding

kubectl -n jupyter port-forward svc/jupyter-notebook-service 8888:8888

Logs and Debugging

kubectl -n jupyter logs <pod-name>
kubectl -n jupyter describe <pod-name>

Replace <pod-name> with the name of your Jupyter pod (e.g., jupyter-notebook-676fb4f85b-sb2h8).

Node Details

Get detailed information about cluster nodes:

kubectl get no -o=wide

Apply Argo Application

Deploy Argo Application

Apply the ArgoCD application configuration:

kubectl -n argocd apply -f jupyter-application.yaml

Verify Deployment

Check the ArgoCD deployment details:

kubectl get deploy -n argocd -o=yaml