-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1331 from millingw/20240723-zrq-add_worker_securi…
…ty_rule 20240723 zrq add worker security rule
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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= <path to config file> | ||
|
||
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 |