add glitchtip + openobserve
This commit is contained in:
parent
26639b6208
commit
db766445dd
@ -72,6 +72,20 @@ patches:
|
|||||||
kind: HelmRelease
|
kind: HelmRelease
|
||||||
name: minio
|
name: minio
|
||||||
namespace: minio
|
namespace: minio
|
||||||
|
- path: ./patches/glitchtip.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: glitchtip
|
||||||
|
namespace: glitchtip
|
||||||
|
- path: ./patches/openobserve.yaml
|
||||||
|
target:
|
||||||
|
group: helm.toolkit.fluxcd.io
|
||||||
|
version: v2
|
||||||
|
kind: HelmRelease
|
||||||
|
name: openobserve
|
||||||
|
namespace: openobserve
|
||||||
- path: ./patches/rabbitmq.yaml
|
- path: ./patches/rabbitmq.yaml
|
||||||
target:
|
target:
|
||||||
group: helm.toolkit.fluxcd.io
|
group: helm.toolkit.fluxcd.io
|
||||||
|
|||||||
38
clusters/yc-k8s-test/infrastructure/patches/glitchtip.yaml
Normal file
38
clusters/yc-k8s-test/infrastructure/patches/glitchtip.yaml
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: glitchtip
|
||||||
|
namespace: glitchtip
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
|
values:
|
||||||
|
universal-chart:
|
||||||
|
services:
|
||||||
|
web:
|
||||||
|
deployment:
|
||||||
|
replicaCount:
|
||||||
|
_default: 1
|
||||||
|
serviceAccount:
|
||||||
|
enabled: true
|
||||||
|
name:
|
||||||
|
_default: glitchtip-vault
|
||||||
|
worker:
|
||||||
|
deployment:
|
||||||
|
replicaCount:
|
||||||
|
_default: 1
|
||||||
|
serviceAccount:
|
||||||
|
enabled: false
|
||||||
|
name:
|
||||||
|
_default: glitchtip-vault
|
||||||
|
glitchtip:
|
||||||
|
secret:
|
||||||
|
create: false
|
||||||
|
name: glitchtip-secret
|
||||||
|
migrate:
|
||||||
|
enabled: true
|
||||||
|
vault:
|
||||||
|
enabled: true
|
||||||
|
role: glitchtip
|
||||||
|
authPath: auth/kubernetes
|
||||||
|
secretPath: secrets/data/vault/apps/glitchtip
|
||||||
@ -49,6 +49,18 @@ spec:
|
|||||||
issuerRef:
|
issuerRef:
|
||||||
name: letsencrypt-issuer-istio
|
name: letsencrypt-issuer-istio
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
|
glitchtip-tls:
|
||||||
|
dnsNames:
|
||||||
|
- glitchtip.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
|
openobserve-tls:
|
||||||
|
dnsNames:
|
||||||
|
- openobserve.contour.infra.sarex.tech
|
||||||
|
issuerRef:
|
||||||
|
name: letsencrypt-issuer-istio
|
||||||
|
kind: ClusterIssuer
|
||||||
camunda-keycloak-tls:
|
camunda-keycloak-tls:
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- camunda-keycloak.contour.infra.sarex.tech
|
- camunda-keycloak.contour.infra.sarex.tech
|
||||||
@ -135,6 +147,22 @@ spec:
|
|||||||
- keycloak.contour.infra.sarex.tech
|
- keycloak.contour.infra.sarex.tech
|
||||||
tls:
|
tls:
|
||||||
credentialName: keycloak-tls
|
credentialName: keycloak-tls
|
||||||
|
glitchtip:
|
||||||
|
name: glitchtip-gateway
|
||||||
|
namespace: gateway
|
||||||
|
servers:
|
||||||
|
- hosts:
|
||||||
|
- glitchtip.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: glitchtip-tls
|
||||||
|
openobserve:
|
||||||
|
name: openobserve-gateway
|
||||||
|
namespace: gateway
|
||||||
|
servers:
|
||||||
|
- hosts:
|
||||||
|
- openobserve.contour.infra.sarex.tech
|
||||||
|
tls:
|
||||||
|
credentialName: openobserve-tls
|
||||||
vault:
|
vault:
|
||||||
name: vault-gateway
|
name: vault-gateway
|
||||||
namespace: gateway
|
namespace: gateway
|
||||||
@ -526,6 +554,30 @@ spec:
|
|||||||
prefix: /
|
prefix: /
|
||||||
service: keycloak-keycloak-contour.keycloak.svc.cluster.local
|
service: keycloak-keycloak-contour.keycloak.svc.cluster.local
|
||||||
port: 80
|
port: 80
|
||||||
|
glitchtip:
|
||||||
|
name: glitchtip-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- glitchtip.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/glitchtip-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: glitchtip-web.glitchtip.svc.cluster.local
|
||||||
|
port: 8000
|
||||||
|
openobserve:
|
||||||
|
name: openobserve-virt-service
|
||||||
|
namespace: gateway
|
||||||
|
hosts:
|
||||||
|
- openobserve.contour.infra.sarex.tech
|
||||||
|
gateways:
|
||||||
|
- gateway/openobserve-gateway
|
||||||
|
routes:
|
||||||
|
- path:
|
||||||
|
prefix: /
|
||||||
|
service: openobserve-web.openobserve.svc.cluster.local
|
||||||
|
port: 5080
|
||||||
camunda-keycloak:
|
camunda-keycloak:
|
||||||
name: camunda-keycloak-virt-service
|
name: camunda-keycloak-virt-service
|
||||||
namespace: gateway
|
namespace: gateway
|
||||||
|
|||||||
68
clusters/yc-k8s-test/infrastructure/patches/openobserve.yaml
Normal file
68
clusters/yc-k8s-test/infrastructure/patches/openobserve.yaml
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: openobserve
|
||||||
|
namespace: openobserve
|
||||||
|
spec:
|
||||||
|
interval: 5m
|
||||||
|
timeout: 10m
|
||||||
|
values:
|
||||||
|
universal-chart:
|
||||||
|
services:
|
||||||
|
openobserve:
|
||||||
|
deployment:
|
||||||
|
replicaCount:
|
||||||
|
_default: 1
|
||||||
|
envs:
|
||||||
|
- name: ZO_HTTP_PORT
|
||||||
|
value:
|
||||||
|
_default: "5080"
|
||||||
|
- name: ZO_LOCAL_MODE
|
||||||
|
value:
|
||||||
|
_default: "false"
|
||||||
|
- name: ZO_META_STORE
|
||||||
|
value:
|
||||||
|
_default: postgres
|
||||||
|
- name: ZO_CLUSTER_COORDINATOR
|
||||||
|
value:
|
||||||
|
_default: nats
|
||||||
|
- name: ZO_NATS_REPLICAS
|
||||||
|
value:
|
||||||
|
_default: "1"
|
||||||
|
- name: ZO_S3_PROVIDER
|
||||||
|
value:
|
||||||
|
_default: s3
|
||||||
|
- name: ZO_S3_SERVER_URL
|
||||||
|
value:
|
||||||
|
_default: http://minio.minio.svc.cluster.local:9000
|
||||||
|
- name: ZO_S3_BUCKET_NAME
|
||||||
|
value:
|
||||||
|
_default: open-observe
|
||||||
|
- name: ZO_S3_REGION_NAME
|
||||||
|
value:
|
||||||
|
_default: ru-central1
|
||||||
|
- name: ZO_TELEMETRY
|
||||||
|
value:
|
||||||
|
_default: "false"
|
||||||
|
serviceAccount:
|
||||||
|
enabled: true
|
||||||
|
name:
|
||||||
|
_default: openobserve-vault
|
||||||
|
openobserve:
|
||||||
|
secret:
|
||||||
|
create: false
|
||||||
|
name: openobserve-secret
|
||||||
|
nats:
|
||||||
|
enabled: true
|
||||||
|
replicaCount: 1
|
||||||
|
persistence:
|
||||||
|
enabled: true
|
||||||
|
size: 10Gi
|
||||||
|
storageClassName: local-path
|
||||||
|
otelCollector:
|
||||||
|
enabled: false
|
||||||
|
vault:
|
||||||
|
enabled: true
|
||||||
|
role: openobserve
|
||||||
|
authPath: auth/kubernetes
|
||||||
|
secretPath: secrets/data/vault/apps/openobserve
|
||||||
@ -136,6 +136,16 @@ spec:
|
|||||||
- pg_stat_statements
|
- pg_stat_statements
|
||||||
- uuid-ossp
|
- uuid-ossp
|
||||||
restoreFromDump: false
|
restoreFromDump: false
|
||||||
|
- name: glitchtip
|
||||||
|
user: glitchtip
|
||||||
|
passwordKey: glitchtip
|
||||||
|
extensions: []
|
||||||
|
restoreFromDump: false
|
||||||
|
- name: openobserve
|
||||||
|
user: openobserve
|
||||||
|
passwordKey: openobserve
|
||||||
|
extensions: []
|
||||||
|
restoreFromDump: false
|
||||||
|
|
||||||
# - name: camunda_db
|
# - name: camunda_db
|
||||||
# user: camunda
|
# user: camunda
|
||||||
|
|||||||
22
infrastructure/glitchtip/base/helmrelease.yaml
Normal file
22
infrastructure/glitchtip/base/helmrelease.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: glitchtip
|
||||||
|
namespace: glitchtip
|
||||||
|
spec:
|
||||||
|
interval: 10m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: glitchtip-contour
|
||||||
|
version: "0.1.7"
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: yc-oci-charts
|
||||||
|
namespace: flux-system
|
||||||
|
interval: 10m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
upgrade:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
6
infrastructure/glitchtip/base/kustomization.yaml
Normal file
6
infrastructure/glitchtip/base/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: glitchtip
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- helmrelease.yaml
|
||||||
6
infrastructure/glitchtip/base/namespace.yaml
Normal file
6
infrastructure/glitchtip/base/namespace.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: glitchtip
|
||||||
|
labels:
|
||||||
|
istio-injection: enabled
|
||||||
4
infrastructure/glitchtip/kustomization.yaml
Normal file
4
infrastructure/glitchtip/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./base
|
||||||
@ -9,6 +9,8 @@ resources:
|
|||||||
- keycloak
|
- keycloak
|
||||||
- local-path-provisioner
|
- local-path-provisioner
|
||||||
- minio
|
- minio
|
||||||
|
- glitchtip
|
||||||
|
- openobserve
|
||||||
- openldap
|
- openldap
|
||||||
- postgresql
|
- postgresql
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|||||||
22
infrastructure/openobserve/base/helmrelease.yaml
Normal file
22
infrastructure/openobserve/base/helmrelease.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
|
kind: HelmRelease
|
||||||
|
metadata:
|
||||||
|
name: openobserve
|
||||||
|
namespace: openobserve
|
||||||
|
spec:
|
||||||
|
interval: 10m
|
||||||
|
chart:
|
||||||
|
spec:
|
||||||
|
chart: openobserve-contour
|
||||||
|
version: "0.1.7"
|
||||||
|
sourceRef:
|
||||||
|
kind: HelmRepository
|
||||||
|
name: yc-oci-charts
|
||||||
|
namespace: flux-system
|
||||||
|
interval: 10m
|
||||||
|
install:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
|
upgrade:
|
||||||
|
remediation:
|
||||||
|
retries: 3
|
||||||
6
infrastructure/openobserve/base/kustomization.yaml
Normal file
6
infrastructure/openobserve/base/kustomization.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
namespace: openobserve
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- helmrelease.yaml
|
||||||
6
infrastructure/openobserve/base/namespace.yaml
Normal file
6
infrastructure/openobserve/base/namespace.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: openobserve
|
||||||
|
labels:
|
||||||
|
istio-injection: enabled
|
||||||
4
infrastructure/openobserve/kustomization.yaml
Normal file
4
infrastructure/openobserve/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- ./base
|
||||||
Loading…
Reference in New Issue
Block a user