Jump to: navigation, search

StarlingX/StarlingX CI/CD

< StarlingX
Revision as of 12:52, 1 December 2019 by Bin.yang (talk | contribs)

The scalability of StarlingX is awesome, that it can be functional with only 3 nodes and scale to 100+ nodes in the future. This is perfect for devops use case. A new project might only have a few servers at the beginning and need to scale it in the future.

This wiki assumes that the user already deployed a StarlingX and wants to practice devops for their projects. It will share some BKMs and provide an example StarlingX App for such use case.

Install StarlingX

Refer to: StarlingX R2.0 Installation

CephFs Setup

DevOps App will use Cephfs for persistent volumes. It needs to setup CephFS on starlingx before install App.

  • Create Ceph user and key
ceph auth get-or-create client.stx-devops mon 'allow r' mds 'allow r, allow rw path=/stx-devops' osd 'allow rw'

Disable hugepage on non-openstack node

Extend ephemeral-storage

Install StarlingX CI/CD helm chart

Setup Jenkins job for StarlingX Build

Setup Jenkins job for StarlingX test