Skip to content

Kubernetes/Helm configs for deploy ReportPortal on AWS Kubernetes Production Cluster

License

Notifications You must be signed in to change notification settings

richardsonlima/reportportal-k8s-aws-helm-chart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8s

Kubernetes/Helm configs for ReportPortal

Do note that this is a Beta version

This Helm project is created to setup ReportPortal with only one commando.
The help chart is tested on AWS Kubernetes Production Cluster and creates a fully working ReportPortal project

The chart installs all mandatory services to run ReportPortal

The Helm chart installation consist of the following .yaml files:

  • Statefulset and Service files of: Analyzer, Api, Elasticsearch, Gateway, Index, Mongodb, Registry, UAT, UI that are used for deployment and communication between services.
  • PersistentVolume files: Elasticsearch, Mongodb, Registry
  • A Ingress to access the UI
  • A values.yaml which exposes a few of the configuration options in the charts.
  • A templates/_helpers.tpl file which contains helper templates.

Instaling Helm on your k8s cluster manager

$ curl -fsSL https://raw.githubusercontent.com/fishworks/gofish/master/scripts/install.sh | bash
$ gofish init
$ gofish install helm
$ helm init

Create a namespace

$ kubectl create ns reportportal

Creating an EBS volume on AWS using cli

It's for elasticsearch PV

aws ec2 --profile ti create-volume --size 80 --region us-east-1 --availability-zone us-east-1a

It's for elasticsearch PV

aws ec2 --profile ti create-volume --size 75 --region us-east-1 --availability-zone us-east-1a

It's for elasticsearch PV

aws ec2 --profile ti create-volume --size 50 --region us-east-1 --availability-zone us-east-1a

Clone and deploy ReportPortal Project

$ git clone https://github.com/richardsonlima/k8s.git
$ cd k8s 
$ helm install . 

Tip: View all

Take a look on it and access reportportal using Ingress (AWS ELB) Adress over port 9999 on your browser

$ kubectl --namespace=reportportal describe svc/gateway|grep 'LoadBalancer Ingress'

About

Kubernetes/Helm configs for deploy ReportPortal on AWS Kubernetes Production Cluster

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Smarty 100.0%