ce7cb702218693d08ea6d83464d2457c9250027c

This commit is contained in:
ms2k 2026-11-12 20:46:28 +09:00
commit 34c5f8963c

36
vendor/platform/dragonfly/metrics.yaml vendored Normal file
View file

@ -0,0 +1,36 @@
apiVersion: v1
kind: Service
metadata:
name: dragonfly-metrics
namespace: dragonfly
labels:
app.kubernetes.io/name: dragonfly
app.kubernetes.io/component: metrics
spec:
selector:
app.kubernetes.io/name: dragonfly
ports:
- name: metrics
port: 9999
targetPort: admin
protocol: TCP
---
apiVersion: cilium.io/v2
kind: CiliumNetworkPolicy
metadata:
name: dragonfly-metrics
namespace: dragonfly
spec:
endpointSelector:
matchLabels:
app.kubernetes.io/name: dragonfly
ingress:
- fromEndpoints:
- matchLabels:
k8s:io.kubernetes.pod.namespace: victoriametrics
app.kubernetes.io/name: vmagent
app.kubernetes.io/instance: main
toPorts:
- ports:
- port: "9999"
protocol: TCP