Loading 03-installing-osm.md +24 −11 Original line number Diff line number Diff line Loading @@ -506,7 +506,7 @@ For additional options, see `osm --help` for more info, and check our OSM client ## Reference. Helm-based OSM installation With Release FOURTEEN, the deployment of OSM services (LCM, RO, NBI, NG-UI, etc.) in the community installer is done with a Helm chart. Since Release FOURTEEN, the deployment of OSM services (LCM, RO, NBI, NG-UI, etc.) in the community installer is done with a Helm chart. When OSM is installed, behind the scenes the following steps are done: Loading Loading @@ -576,14 +576,24 @@ zookeeper-0 1/1 Running 1 (2d20h Assuming that you have a Kubernetes cluster, and you have bootstrapped a Juju controller there, it is possible to deploy OSM on top of that cluster. ### Deploy MongoDB charm ### Deploy MongoDB using helm chart ``` # The following instructions assume that juju client is installed, # the cloud "k8scloud" pointing to the K8s cluster has been added to juju, # and a Juju controller "osm" has been bootstrapped there juju add-model osm k8scloud juju deploy ch:mongodb-k8s -m osm The following instructions assume that helm is installed and default storage class is available in kubernetes cluster. ```bash git clone "https://osm.etsi.org/gerrit/osm/devops" cd devops # Optionally check out a specific version # DESIRED_OSM_VERSION="15.0.0" # git checkout $DESIRED_OSM_VERSION MONGODB_HELM_VERSION="13.9.4" helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update # Check that there are no errors and deploy helm template mongodb-k8s bitnami/mongodb -n osm -f installers/helm/values/mongodb-values.yaml --version ${MONGODB_HELM_VERSION} # install mongodb helm install mongodb-k8s bitnami/mongodb -n osm --create-namespace -f installers/helm/values/mongodb-values.yaml --version ${MONGODB_HELM_VERSION} ``` ### Deploy Cert-manager Loading Loading @@ -633,10 +643,10 @@ OSM_VCA_PUBKEY=$(cat $HOME/.local/share/juju/ssh/juju_id_rsa.pub) Deploy OSM Helm chart: ```bash git clone "https://osm.etsi.org/gerrit/osm/devops" # Make sure you are in devops directory cd devops # Optionally check out a specific version # DESIRED_OSM_VERSION="14.0.0" # DESIRED_OSM_VERSION="15.0.0" # git checkout $DESIRED_OSM_VERSION # Check default values Loading @@ -656,6 +666,9 @@ OSM_HELM_OPTS="${OSM_HELM_OPTS} --set vca.cacert=${OSM_VCA_CACERT}" # OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.image.repositoryBase=opensourcemano" # OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.image.tag=14" # Build the helm chart dependencies helm dependency build installers/helm/osm # Check that there are no errors helm -n osm template osm installers/helm/osm -f osm-values.yaml ${OSM_HELM_OPTS} Loading Loading
03-installing-osm.md +24 −11 Original line number Diff line number Diff line Loading @@ -506,7 +506,7 @@ For additional options, see `osm --help` for more info, and check our OSM client ## Reference. Helm-based OSM installation With Release FOURTEEN, the deployment of OSM services (LCM, RO, NBI, NG-UI, etc.) in the community installer is done with a Helm chart. Since Release FOURTEEN, the deployment of OSM services (LCM, RO, NBI, NG-UI, etc.) in the community installer is done with a Helm chart. When OSM is installed, behind the scenes the following steps are done: Loading Loading @@ -576,14 +576,24 @@ zookeeper-0 1/1 Running 1 (2d20h Assuming that you have a Kubernetes cluster, and you have bootstrapped a Juju controller there, it is possible to deploy OSM on top of that cluster. ### Deploy MongoDB charm ### Deploy MongoDB using helm chart ``` # The following instructions assume that juju client is installed, # the cloud "k8scloud" pointing to the K8s cluster has been added to juju, # and a Juju controller "osm" has been bootstrapped there juju add-model osm k8scloud juju deploy ch:mongodb-k8s -m osm The following instructions assume that helm is installed and default storage class is available in kubernetes cluster. ```bash git clone "https://osm.etsi.org/gerrit/osm/devops" cd devops # Optionally check out a specific version # DESIRED_OSM_VERSION="15.0.0" # git checkout $DESIRED_OSM_VERSION MONGODB_HELM_VERSION="13.9.4" helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update # Check that there are no errors and deploy helm template mongodb-k8s bitnami/mongodb -n osm -f installers/helm/values/mongodb-values.yaml --version ${MONGODB_HELM_VERSION} # install mongodb helm install mongodb-k8s bitnami/mongodb -n osm --create-namespace -f installers/helm/values/mongodb-values.yaml --version ${MONGODB_HELM_VERSION} ``` ### Deploy Cert-manager Loading Loading @@ -633,10 +643,10 @@ OSM_VCA_PUBKEY=$(cat $HOME/.local/share/juju/ssh/juju_id_rsa.pub) Deploy OSM Helm chart: ```bash git clone "https://osm.etsi.org/gerrit/osm/devops" # Make sure you are in devops directory cd devops # Optionally check out a specific version # DESIRED_OSM_VERSION="14.0.0" # DESIRED_OSM_VERSION="15.0.0" # git checkout $DESIRED_OSM_VERSION # Check default values Loading @@ -656,6 +666,9 @@ OSM_HELM_OPTS="${OSM_HELM_OPTS} --set vca.cacert=${OSM_VCA_CACERT}" # OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.image.repositoryBase=opensourcemano" # OSM_HELM_OPTS="${OSM_HELM_OPTS} --set global.image.tag=14" # Build the helm chart dependencies helm dependency build installers/helm/osm # Check that there are no errors helm -n osm template osm installers/helm/osm -f osm-values.yaml ${OSM_HELM_OPTS} Loading