cw-infra-apps/argo-infra-apps/grafana.yaml
2025-05-28 10:01:42 +03:00

234 lines
8.0 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
creationTimestamp: "2025-04-29T20:35:02Z"
generation: 18
name: grafana
namespace: argocd
resourceVersion: "12377177"
uid: 5f1ac9c2-48c5-4778-afc3-6a9a2c525a4f
spec:
destination:
namespace: grafana
server: https://kubernetes.default.svc
project: default
source:
path: grafana
repoURL: https://gitlab.ii-p001.local/cw-devops/cw-infra-apps.git
targetRevision: main
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
status:
controllerNamespace: argocd
health:
status: Healthy
history:
- deployStartedAt: "2025-04-29T20:35:04Z"
deployedAt: "2025-04-29T20:35:06Z"
id: 0
initiatedBy:
automated: true
revision: 0144665f14c7e31020dbfa8c9c2746a290caec74
source:
path: grafana
repoURL: https://gitlab.ii-p001.local/cw-devops/cw-infra-apps.git
targetRevision: main
operationState:
finishedAt: "2025-04-29T20:35:07Z"
message: successfully synced (all tasks run)
operation:
initiatedBy:
automated: true
retry:
limit: 5
sync:
revision: 0144665f14c7e31020dbfa8c9c2746a290caec74
syncOptions:
- CreateNamespace=true
phase: Succeeded
startedAt: "2025-04-29T20:35:04Z"
syncResult:
resources:
- group: ""
hookPhase: Running
kind: Namespace
message: namespace/grafana created
name: grafana
namespace: ""
status: Synced
syncPhase: PreSync
version: v1
- group: ""
hookPhase: Running
kind: ServiceAccount
message: serviceaccount/grafana-alloy-metrics created
name: grafana-alloy-metrics
namespace: grafana
status: Synced
syncPhase: Sync
version: v1
- group: ""
hookPhase: Running
kind: Secret
message: secret/metrics-grafana-k8s-monitoring created
name: metrics-grafana-k8s-monitoring
namespace: grafana
status: Synced
syncPhase: Sync
version: v1
- group: ""
hookPhase: Running
kind: ConfigMap
message: configmap/grafana-alloy-metrics created
name: grafana-alloy-metrics
namespace: grafana
status: Synced
syncPhase: Sync
version: v1
- group: rbac.authorization.k8s.io
hookPhase: Running
kind: ClusterRole
message: "clusterrole.rbac.authorization.k8s.io/grafana-alloy-metrics reconciled.
reconciliation required create\n\tmissing rules added:\n\t\t{Verbs:[get
list watch] APIGroups:[ discovery.k8s.io networking.k8s.io] Resources:[endpoints
endpointslices ingresses nodes nodes/proxy nodes/metrics pods services]
ResourceNames:[] NonResourceURLs:[]}\n\t\t{Verbs:[get list watch] APIGroups:[]
Resources:[pods pods/log namespaces] ResourceNames:[] NonResourceURLs:[]}\n\t\t{Verbs:[get
list watch] APIGroups:[monitoring.grafana.com] Resources:[podlogs] ResourceNames:[]
NonResourceURLs:[]}\n\t\t{Verbs:[get list watch] APIGroups:[monitoring.coreos.com]
Resources:[prometheusrules] ResourceNames:[] NonResourceURLs:[]}\n\t\t{Verbs:[get]
APIGroups:[] Resources:[] ResourceNames:[] NonResourceURLs:[/metrics]}\n\t\t{Verbs:[get
list watch] APIGroups:[monitoring.coreos.com] Resources:[podmonitors servicemonitors
probes scrapeconfigs] ResourceNames:[] NonResourceURLs:[]}\n\t\t{Verbs:[get
list watch] APIGroups:[] Resources:[events] ResourceNames:[] NonResourceURLs:[]}\n\t\t{Verbs:[get
list watch] APIGroups:[] Resources:[configmaps secrets] ResourceNames:[]
NonResourceURLs:[]}\n\t\t{Verbs:[get list watch] APIGroups:[apps] Resources:[replicasets]
ResourceNames:[] NonResourceURLs:[]}\n\t\t{Verbs:[get list watch] APIGroups:[extensions]
Resources:[replicasets] ResourceNames:[] NonResourceURLs:[]}. clusterrole.rbac.authorization.k8s.io/grafana-alloy-metrics
configured. Warning: resource clusterroles/grafana-alloy-metrics is missing
the kubectl.kubernetes.io/last-applied-configuration annotation which is
required by apply. apply should only be used on resources created declaratively
by either create --save-config or apply. The missing annotation will be
patched automatically."
name: grafana-alloy-metrics
namespace: grafana
status: Synced
syncPhase: Sync
version: v1
- group: rbac.authorization.k8s.io
hookPhase: Running
kind: ClusterRoleBinding
message: "clusterrolebinding.rbac.authorization.k8s.io/grafana-alloy-metrics
reconciled. reconciliation required create\n\tmissing subjects added:\n\t\t{Kind:ServiceAccount
APIGroup: Name:grafana-alloy-metrics Namespace:grafana}. clusterrolebinding.rbac.authorization.k8s.io/grafana-alloy-metrics
configured. Warning: resource clusterrolebindings/grafana-alloy-metrics
is missing the kubectl.kubernetes.io/last-applied-configuration annotation
which is required by apply. apply should only be used on resources created
declaratively by either create --save-config or apply. The missing annotation
will be patched automatically."
name: grafana-alloy-metrics
namespace: grafana
status: Synced
syncPhase: Sync
version: v1
- group: ""
hookPhase: Running
kind: Service
message: service/grafana-alloy-metrics-cluster created
name: grafana-alloy-metrics-cluster
namespace: grafana
status: Synced
syncPhase: Sync
version: v1
- group: ""
hookPhase: Running
kind: Service
message: service/grafana-alloy-metrics created
name: grafana-alloy-metrics
namespace: grafana
status: Synced
syncPhase: Sync
version: v1
- group: apps
hookPhase: Running
kind: StatefulSet
message: statefulset.apps/grafana-alloy-metrics created
name: grafana-alloy-metrics
namespace: grafana
status: Synced
syncPhase: Sync
version: v1
revision: 0144665f14c7e31020dbfa8c9c2746a290caec74
source:
path: grafana
repoURL: https://gitlab.ii-p001.local/cw-devops/cw-infra-apps.git
targetRevision: main
reconciledAt: "2025-04-29T20:48:00Z"
resources:
- kind: ConfigMap
name: grafana-alloy-metrics
namespace: grafana
status: Synced
version: v1
- kind: Secret
name: metrics-grafana-k8s-monitoring
namespace: grafana
status: Synced
version: v1
- health:
status: Healthy
kind: Service
name: grafana-alloy-metrics
namespace: grafana
status: Synced
version: v1
- health:
status: Healthy
kind: Service
name: grafana-alloy-metrics-cluster
namespace: grafana
status: Synced
version: v1
- kind: ServiceAccount
name: grafana-alloy-metrics
namespace: grafana
status: Synced
version: v1
- group: apps
health:
message: 'partitioned roll out complete: 1 new pods have been updated...'
status: Healthy
kind: StatefulSet
name: grafana-alloy-metrics
namespace: grafana
status: Synced
version: v1
- group: rbac.authorization.k8s.io
kind: ClusterRole
name: grafana-alloy-metrics
status: Synced
version: v1
- group: rbac.authorization.k8s.io
kind: ClusterRoleBinding
name: grafana-alloy-metrics
status: Synced
version: v1
sourceType: Helm
summary:
images:
- docker.io/grafana/alloy:v1.8.2
- quay.io/prometheus-operator/prometheus-config-reloader:v0.81.0
sync:
comparedTo:
destination:
namespace: grafana
server: https://kubernetes.default.svc
source:
path: grafana
repoURL: https://gitlab.ii-p001.local/cw-devops/cw-infra-apps.git
targetRevision: main
revision: 0144665f14c7e31020dbfa8c9c2746a290caec74
status: Synced