Merge branch 'o12yclient'
This commit is contained in:
commit
c1c2d4f1ea
9 changed files with 1366 additions and 8 deletions
24
template/registry/observability-client.yaml
Normal file
24
template/registry/observability-client.yaml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: observability-client
|
||||||
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: dev
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
destination:
|
||||||
|
name: in-cluster
|
||||||
|
namespace: argocd
|
||||||
|
source:
|
||||||
|
path: "{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/observability-client"
|
||||||
|
repoURL: "https://{{{ .Env.CLIENT_REPO_DOMAIN }}}/{{{ .Env.CLIENT_REPO_ORG_NAME }}}"
|
||||||
|
targetRevision: HEAD
|
||||||
|
project: default
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
|
@ -23,7 +23,7 @@ spec:
|
||||||
targetRevision: 0.43.0
|
targetRevision: 0.43.0
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/core/vector/values.yaml
|
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/observability-client/vector/values.yaml
|
||||||
- repoURL: https://{{{ .Env.CLIENT_REPO_DOMAIN }}}/{{{ .Env.CLIENT_REPO_ORG_NAME }}}
|
- repoURL: https://{{{ .Env.CLIENT_REPO_DOMAIN }}}/{{{ .Env.CLIENT_REPO_ORG_NAME }}}
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
ref: values
|
ref: values
|
31
template/stacks/observability-client/vm-client-stack.yaml
Normal file
31
template/stacks/observability-client/vm-client-stack.yaml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: vm-client-stack
|
||||||
|
namespace: argocd
|
||||||
|
labels:
|
||||||
|
env: dev
|
||||||
|
spec:
|
||||||
|
project: default
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
destination:
|
||||||
|
name: in-cluster
|
||||||
|
namespace: observability
|
||||||
|
sources:
|
||||||
|
- chart: victoria-metrics-k8s-stack
|
||||||
|
repoURL: https://victoriametrics.github.io/helm-charts/
|
||||||
|
targetRevision: 0.48.1
|
||||||
|
releaseName: vm
|
||||||
|
helm:
|
||||||
|
valueFiles:
|
||||||
|
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/observability-client/vm-client-stack/values.yaml
|
||||||
|
- repoURL: https://{{{ .Env.CLIENT_REPO_DOMAIN }}}/{{{ .Env.CLIENT_REPO_ORG_NAME }}}
|
||||||
|
targetRevision: HEAD
|
||||||
|
ref: values
|
||||||
|
- repoURL: https://{{{ .Env.CLIENT_REPO_DOMAIN }}}/{{{ .Env.CLIENT_REPO_ORG_NAME }}}
|
||||||
|
targetRevision: HEAD
|
||||||
|
path: "{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/observability-client/vm-client-stack/manifests"
|
|
@ -0,0 +1,9 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: simple-user-secret
|
||||||
|
namespace: observability
|
||||||
|
type: Opaque
|
||||||
|
stringData:
|
||||||
|
username: simple-user
|
||||||
|
password: simple-password
|
1287
template/stacks/observability-client/vm-client-stack/values.yaml
Normal file
1287
template/stacks/observability-client/vm-client-stack/values.yaml
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,7 +1,7 @@
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: argoproj.io/v1alpha1
|
||||||
kind: Application
|
kind: Application
|
||||||
metadata:
|
metadata:
|
||||||
name: victoria-k8s-stack
|
name: o12y
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
labels:
|
labels:
|
||||||
env: dev
|
env: dev
|
||||||
|
@ -12,6 +12,7 @@ spec:
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
- ServerSideApply=true
|
||||||
destination:
|
destination:
|
||||||
name: in-cluster
|
name: in-cluster
|
||||||
namespace: observability
|
namespace: observability
|
||||||
|
@ -19,7 +20,7 @@ spec:
|
||||||
- chart: victoria-metrics-k8s-stack
|
- chart: victoria-metrics-k8s-stack
|
||||||
repoURL: https://victoriametrics.github.io/helm-charts/
|
repoURL: https://victoriametrics.github.io/helm-charts/
|
||||||
targetRevision: 0.48.1
|
targetRevision: 0.48.1
|
||||||
releaseName: vm
|
releaseName: o12y
|
||||||
helm:
|
helm:
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/observability/victoria-k8s-stack/values.yaml
|
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/observability/victoria-k8s-stack/values.yaml
|
||||||
|
|
|
@ -8,8 +8,8 @@ spec:
|
||||||
password: simple-password
|
password: simple-password
|
||||||
targetRefs:
|
targetRefs:
|
||||||
- static:
|
- static:
|
||||||
url: http://vmsingle-victoria-k8s-stack-victoria-metrics-k8s-stack:8429
|
url: http://vmsingle-o12y:8429
|
||||||
paths: ["/api/v1/write/.*"]
|
paths: ["/api/v1/write"]
|
||||||
- static:
|
- static:
|
||||||
url: http://vlogs-victorialogs:9428
|
url: http://vlogs-victorialogs:9428
|
||||||
paths: ["/insert/elasticsearch/.*"]
|
paths: ["/insert/elasticsearch/.*"]
|
||||||
|
|
|
@ -14,13 +14,13 @@ global:
|
||||||
# -- Override chart name
|
# -- Override chart name
|
||||||
nameOverride: ""
|
nameOverride: ""
|
||||||
# -- Resource full name override
|
# -- Resource full name override
|
||||||
fullnameOverride: ""
|
fullnameOverride: "o12y"
|
||||||
# -- Tenant to use for Grafana datasources and remote write
|
# -- Tenant to use for Grafana datasources and remote write
|
||||||
tenant: "0"
|
tenant: "0"
|
||||||
# -- If this chart is used in "Argocd" with "releaseName" field then
|
# -- If this chart is used in "Argocd" with "releaseName" field then
|
||||||
# VMServiceScrapes couldn't select the proper services.
|
# VMServiceScrapes couldn't select the proper services.
|
||||||
# For correct working need set value 'argocdReleaseOverride=$ARGOCD_APP_NAME'
|
# For correct working need set value 'argocdReleaseOverride=$ARGOCD_APP_NAME'
|
||||||
argocdReleaseOverride: ""
|
argocdReleaseOverride: "o12y"
|
||||||
|
|
||||||
# -- VictoriaMetrics Operator dependency chart configuration. More values can be found [here](https://docs.victoriametrics.com/helm/victoriametrics-operator#parameters). Also checkout [here](https://docs.victoriametrics.com/operator/vars) possible ENV variables to configure operator behaviour
|
# -- VictoriaMetrics Operator dependency chart configuration. More values can be found [here](https://docs.victoriametrics.com/helm/victoriametrics-operator#parameters). Also checkout [here](https://docs.victoriametrics.com/operator/vars) possible ENV variables to configure operator behaviour
|
||||||
victoria-metrics-operator:
|
victoria-metrics-operator:
|
||||||
|
@ -772,7 +772,7 @@ vmauth:
|
||||||
|
|
||||||
vmagent:
|
vmagent:
|
||||||
# -- Create VMAgent CR
|
# -- Create VMAgent CR
|
||||||
enabled: true
|
enabled: false
|
||||||
# -- VMAgent annotations
|
# -- VMAgent annotations
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# -- Remote write configuration of VMAgent, allowed parameters defined in a [spec](https://docs.victoriametrics.com/operator/api#vmagentremotewritespec)
|
# -- Remote write configuration of VMAgent, allowed parameters defined in a [spec](https://docs.victoriametrics.com/operator/api#vmagentremotewritespec)
|
||||||
|
@ -875,6 +875,12 @@ grafana:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: pvc
|
type: pvc
|
||||||
storageClassName: "default"
|
storageClassName: "default"
|
||||||
|
grafana.ini:
|
||||||
|
# auth:
|
||||||
|
# login_maximum_inactive_lifetime_duration: 0
|
||||||
|
# login_maximum_lifetime_duration: 0
|
||||||
|
security:
|
||||||
|
disable_brute_force_login_protection: true
|
||||||
sidecar:
|
sidecar:
|
||||||
datasources:
|
datasources:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
Loading…
Reference in a new issue