update infra and portfolio deployment
All checks were successful
ci/woodpecker/push/demo-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/demo-workflow Pipeline was successful
This commit is contained in:
@ -960,6 +960,12 @@ This stack includes Prometheus Node Exporter, kube-state-metrics, Alertmanager,
|
||||
and Grafana. It provides a comprehensive set of default Grafana dashboards for
|
||||
tracking key system metrics such as CPU, memory, I/O, and network usage.
|
||||
|
||||
The dashbaords are loaded as kubernetes configMaps. To create a persistant
|
||||
custom dashboard, one can create a configmap within the monitoring namespace
|
||||
following the example of existing dashboards. One way to generate dashboard,
|
||||
is to create the dashboard from the Grafana UI and then export the JSON file
|
||||
and embed it to the configmap.
|
||||
|
||||
```bash
|
||||
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
|
||||
helm repo update
|
||||
|
||||
@ -1257,11 +1257,12 @@ grafana:
|
||||
operator:
|
||||
## Enable references to ConfigMaps containing dashboards in GrafanaDashboard CRs
|
||||
## Set to true to allow dashboards to be loaded from ConfigMap references
|
||||
dashboardsConfigMapRefEnabled: false
|
||||
dashboardsConfigMapRefEnabled: true
|
||||
|
||||
## Annotations for GrafanaDashboard Cr
|
||||
##
|
||||
annotations: {}
|
||||
annotations:
|
||||
catagory: dashboard
|
||||
## Labels that should be matched kind: Grafana instance
|
||||
## Example: { app: grafana, category: dashboard }
|
||||
##
|
||||
|
||||
@ -19,7 +19,7 @@ spec:
|
||||
- name: docker-registry-credentials
|
||||
containers:
|
||||
- name: portfolio-app
|
||||
image: "${DOCKER_REGISTRY_HOST}/taqi/portfolio/my-portfolio-app:latest"
|
||||
image: "${DOCKER_REGISTRY_HOST}/taqi/portfolio:latest"
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 80
|
||||
|
||||
@ -190,6 +190,7 @@ server:
|
||||
WOODPECKER_ADMIN: "taqi"
|
||||
WOODPECKER_HOST: "woodpecker-server.woodpecker.svc.cluster.local:9000"
|
||||
WOODPECKER_GITEA: "true"
|
||||
WOODPECKER_PLUGINS_PRIVILEGED: woodpeckerci/plugin-docker-buildx
|
||||
|
||||
# -- Add extra environment variables from the secrets list
|
||||
extraSecretNamesForEnvFrom:
|
||||
|
||||
Reference in New Issue
Block a user