Skip to content

Commit 67cd8b6

Browse files
committed
chore(k8s/magiclove/immich): monitor cnpg
1 parent 856352c commit 67cd8b6

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

k8s/magiclove/cnpg_system/deployment_list.cue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,11 @@ import (
4848
"--webhook-port=9443",
4949
]
5050
ports: [{
51-
containerPort: 8080
5251
name: "metrics"
53-
protocol: "TCP"
52+
containerPort: 8080
5453
}, {
55-
containerPort: 9443
5654
name: "webhook-server"
57-
protocol: "TCP"
55+
containerPort: 9443
5856
}]
5957
env: [{
6058
name: "OPERATOR_IMAGE_NAME"

k8s/magiclove/grafana/grafana_dashboard_list.cue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ let dashboards = {
2121
// Node Exporter Full
2222
// https://grafana.com/grafana/dashboards/1860
2323
1860,
24+
// CloudNativePG
25+
// https://grafana.com/grafana/dashboards/20417-cloudnativepg/
26+
20417,
2427
]
2528
Ceph: [
2629
"https://raw.githubusercontent.com/ceph/ceph/278d89538d248b92584c49442aef613cf0540c8a/monitoring/ceph-mixin/dashboards_out/ceph-cluster-advanced.json",

k8s/magiclove/immich/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ cue_library(
77
"external_secret_list.cue",
88
"list.cue",
99
"namespace_list.cue",
10+
"vm_pod_scrape_list.cue",
1011
],
1112
importpath = "github.com/uhthomas/automata/k8s/magiclove/immich",
1213
visibility = ["//visibility:public"],
1314
deps = [
15+
"//cue.mod/gen/github.com/VictoriaMetrics/operator/api/operator/v1beta1:cue_v1beta1_library",
1416
"//cue.mod/gen/github.com/cloudnative-pg/cloudnative-pg/api/v1:cue_v1_library",
1517
"//cue.mod/gen/github.com/external-secrets/external-secrets/apis/externalsecrets/v1beta1:cue_v1beta1_library",
1618
"//cue.mod/gen/k8s.io/api/core/v1:cue_v1_library",

k8s/magiclove/immich/cluster_list.cue

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,5 @@ import (
3030
(v1.#ResourceCPU): "1"
3131
(v1.#ResourceMemory): "1Gi"
3232
}
33-
// bootstrap: initdb: postInitSQL: [
34-
// "ALTER SYSTEM SET search_path TO \"$user\", public, vectors;",
35-
// "CREATE EXTENSION IF NOT EXISTS \"vectors\";",
36-
// ]
37-
// postgresql: shared_preload_libraries: [
38-
// "vectors.so",
39-
// ]
4033
}
4134
}]

k8s/magiclove/immich/list.cue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ _items: [
3131
#GatewayList.items,
3232
#HTTPRouteList.items,
3333
#NamespaceList.items,
34+
#VMPodScrapeList.items,
3435
]

0 commit comments

Comments
 (0)