Jump to: navigation, search

Difference between revisions of "StarlingX/StarlingX CI/CD"

Line 3: Line 3:
 
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.
 
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:  [https://docs.starlingx.io/deploy_install_guides/r2_release/index.html StarlingX R2.0 Installation]
  
 +
===CephFs Setup===
 +
DevOps App will use Cephfs for persistent volumes. It needs to setup CephFS on starlingx before install App.
  
== Enable CephFs ==
+
* Create Ceph user and key
 +
<pre>
 +
ceph auth get-or-create client.stx-devops mon 'allow r' mds 'allow r, allow rw path=/stx-devops' osd 'allow rw'
 +
</pre>
  
 
== Disable hugepage on non-openstack node ==
 
== Disable hugepage on non-openstack node ==

Revision as of 12:52, 1 December 2019

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