Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Pre-requisite

...

This is the amsterdam branch supporting DCAEGEN2 which has diffrent different rancher/helm/kubernetes/docker version levels - for master use the latest defined in ONAP on Kubernetes#Registeryourhost

Install helm client https://github.com/kubernetes/helm/releases

There are two parts to Helm: The Helm client (helm) and the Helm server (Tiller)

Installation procedure at: https://github.com/kubernetes/helm/blob/master/docs/install.md

Quickstart Guide at: https://github.com/kubernetes/helm/blob/master/docs/quickstart.md

For the helm client and server versions shown below following are the download links:

Helm Client: https://storage.googleapis.com/kubernetes-helm/helm-v2.3.0-linux-amd64.tar.gz

Code Block
wget https://storage.googleapis.com/kubernetes-helm/helm-v2.3.0-linux-amd64.tar.gz
tar -zxvf helm-v2.3.0-linux-amd64.tar.gz
sudo mv linux-amd64/helm /usr/local/bin/helm

Verify helm is installed correctly by running

Code Block
helm version

You should see

Code Block
Client: &version.Version{SemVer:"v2.3.0", GitCommit:"5cbc48fb305ca4bf68c26eb8d2a7eb363227e973", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.3.0", GitCommit:"d83c245fc324117885ed83afc90ac74afed271b4", GitTreeState:"clean"}

Helm server (Tiller): TBD

levels 

Installing Docker/Rancher/Helm/Kubectl

Run the following script as root to install the appropriate versions of Docker and Rancher.  Rancher will install Kubernetes and helm, the script will install the helm and kubectl clients.

Adding hosts to the kubernetes cluster is done through the rancher UI.

Jira Legacy
serverSystem Jira
serverId4733707d-2057-3a0f-ae5e-4fd8aff50176
keyOOM-715

https://gerrit.onap.org/r/#/c/32019/2/install/rancher/oom_rancher_setup.sh


Overall required resources:

...

  1. Create a plain Ubuntu VM in your cloud infrastructure.

    The following specs are enough for Rancher

    VCPUs2
    RAM4Go
    Taille40Go
  2. Setup Rancher 1.6.10 (amsterdam branch only) by running this command:

    Code Block
    docker run -d -p 80808880:8080 rancher/server:v1.6.10
  3. Navigate to Rancher UI

    Code Block
    http://<rancher-vm-ip>:80808880
  4. Setup basic access control: Admin → Access Control
  5. Install Openstack as machine driver: Admin → Machine Drivers

...