Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osm-doc
OSM User Guide
Commits
927dcc0e
Commit
927dcc0e
authored
Dec 21, 2023
by
Rahul Zamre
Committed by
garciadeblas
Dec 21, 2023
Browse files
Updated installation instructions for helm installation
parent
c5222d9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
11 deletions
+24
-11
03-installing-osm.md
03-installing-osm.md
+24
-11
No files found.
03-installing-osm.md
View file @
927dcc0e
...
...
@@ -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:
...
...
@@ -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 char
m
### Deploy MongoDB
using helm
char
t
```
# 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
...
...
@@ -633,11 +643,11 @@ 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="1
4
.0.0"
#git checkout $DESIRED_OSM_VERSION
# DESIRED_OSM_VERSION="1
5
.0.0"
#
git checkout $DESIRED_OSM_VERSION
# Check default values
helm -n osm show values installers/helm/osm
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment