Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Using Helm Charts to Provision All-in-One Contrail with OpenStack Ocata

This is the installation procedure for using Helm charts to provision an all-in-one Contrail system with OpenStack Ocata. This is not a high availability configuration.

Note:

All-in-one systems are only used for testing or for demonstration purposes.

System Specifications

This procedure uses Helm to provision an OpenStack Ocata Contrail all-in-one cluster without high availability.

This procedure is tested with:

  • Operating system: Ubuntu 16.04.3 LTS

  • Kernel: 4.4.0-87-generic

  • Docker: 1.13.1-cs9

  • Helm: v2.7.2

  • Kubernetes: v1.8.3

  • OpenStack: Ocata

This setup was tested on a system with the following specifications:

  • CPU: 8

  • RAM: 32 GB

  • HDD: 120 GB

Installation Steps

  1. Get the contrail-helm-deployer.

    From Juniper Networks, download contrail-helm-deployer-5.0.0-0.40.tgz onto your provisioning host.

    • Untar contrail-helm-deployer-5.0.0-0.40.tgz.

      tar -zxf contrail-helm-deployer-5.0.0-0.40.tgz -C /opt/

  2. Export required variables.

  3. Install necessary packages and deploy Kubernetes.

    Note:

    If you want to install a different version of Kubernetes, CNI, or Calico, edit ${OSH_INFRA_PATH}/tools/gate/devel/local-vars.yaml to override the default values in ${OSH_INFRA_PATH}/tools/gate/playbooks/vars.yaml.

  4. Install OpenStack and the Heat client.

  5. Deploy OpenStack Helm-related charts.

  6. Deploy Contrail Helm charts.

  7. Deploy Heat charts.

Accessing the Contrail OpenStack Helm Cluster

Use the following topic to access the OpenStack and Contrail Web UI and prepare the OpenStack client for command-line interface (CLI):

Accessing a Contrail OpenStack Helm Cluster