diff --git a/notes/millingw/20240806-deploy-magnum-jhub.txt b/notes/millingw/20240806-deploy-magnum-jhub.txt new file mode 100644 index 00000000..cfe5d43b --- /dev/null +++ b/notes/millingw/20240806-deploy-magnum-jhub.txt @@ -0,0 +1,29 @@ +OpenStack Magnum Invocation +=========================== + +Need unrestricted credential configured in clouds.yaml +Install openstack client and magnum client +Need to be on vpn or uni network to contact OpenStack API + +Create instance as +openstack coe cluster create malcolm_k8s --cluster-template kubernetes-1-29-jammy --node-count 2 --master-count 1 --keypair gaia_jade_test_malcolm --os-cloud somerville-unrestricted --flavor medium --master-flavor medium --master-lb-enabled + +Get kubeconfig file as + +openstack coe cluster config \ +--dir k8sdir \ +--force \ +--output-certs \ +k8s-cluster + +set KUBECONFIG= + +install helm + +create jupyterhub instance as: + +helm upgrade --install jhub jupyterhub/jupyterhub --version=3.3.8 + +port forward to browse to hub locally + +kubectl --namespace=default port-forward service/proxy-public 8080:http