Prerequisites:
-
Kind-Cluster with Ingress
copy of the values.yaml
File ->https://github.com/reportportal/kubernetes/blob/develop/reportportal/values.yaml
Original repo: https://github.com/reportportal/kubernetes/blob/develop/reportportal/README.md
kubectl create namespace report-portal
kubectl config set-context --current --namespace=report-portal
helm repo add reportportal https://reportportal.io/kubernetes && helm repo update reportportal
- Replace
yourdomain
with you own domain on next comandline helm install my-release --set uat.superadminInitPasswd.password="MyPassword" --set ingress.hosts\[0\]="report-portal.
yourdomain
.de" reportportal/reportportal(optional) helm install my-reportportal --values=values.yaml reportportal/reportportal (with changed value.yaml from above)
- Edit and adapt additional annotations settings and tls settings in deployed ingress.yaml like this:
- Replace
yourdomain
with you own domain on next config yaml!k get ingress -o yaml
apiVersion: v1
items:
- apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
kubernetes.io/ingress.class: nginx
meta.helm.sh/release-name: my-release
meta.helm.sh/release-namespace: report-portal
nginx.ingress.kubernetes.io/proxy-body-size: 128m
nginx.ingress.kubernetes.io/proxy-buffer-size: 512k
nginx.ingress.kubernetes.io/proxy-buffers-number: "4"
nginx.ingress.kubernetes.io/proxy-busy-buffers-size: 512k
nginx.ingress.kubernetes.io/proxy-connect-timeout: "8000"
nginx.ingress.kubernetes.io/proxy-read-timeout: "4000"
nginx.ingress.kubernetes.io/proxy-send-timeout: "4000"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
creationTimestamp: "2024-04-18T11:31:13Z"
generation: 2
labels:
app: reportportal
app.kubernetes.io/managed-by: Helm
chart: reportportal-24.1.0
heritage: Helm
release: my-release
name: my-release-reportportal-gateway-ingress
namespace: report-portal
resourceVersion: "694703"
uid: 7b096fdd-6e45-43b3-b36d-c150965656
spec:
ingressClassName: nginx
rules:
- host: report-portal.yourdomain.de
http:
paths:
- backend:
service:
name: my-release-reportportal-index
port:
name: headless
path: /
pathType: Prefix
- backend:
service:
name: my-release-reportportal-ui
port:
name: headless
path: /ui
pathType: Prefix
- backend:
service:
name: my-release-reportportal-uat
port:
name: headless
path: /uat
pathType: Prefix
- backend:
service:
name: my-release-reportportal-api
port:
name: headless
path: /api
pathType: Prefix
tls:
- hosts:
- report-portal.yourdomain.de
secretName: report-portal.yourdomain.de
status:
loadBalancer:
ingress:
- hostname: localhost
kind: List
metadata:
resourceVersion: ""