-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from projectsyn/feat/hubble-metrics
Enable some hubble metrics by default
- Loading branch information
Showing
22 changed files
with
279 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...trol-plane/cilium/cilium/01_cilium_helmchart/cilium/templates/hubble/metrics-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: null | ||
labels: | ||
app.kubernetes.io/name: hubble | ||
app.kubernetes.io/part-of: cilium | ||
k8s-app: hubble | ||
name: hubble-metrics | ||
namespace: cilium | ||
spec: | ||
clusterIP: None | ||
ports: | ||
- name: hubble-metrics | ||
port: 9965 | ||
protocol: TCP | ||
targetPort: hubble-metrics | ||
selector: | ||
k8s-app: cilium | ||
type: ClusterIP |
24 changes: 24 additions & 0 deletions
24
...ntrol-plane/cilium/cilium/01_cilium_helmchart/cilium/templates/hubble/servicemonitor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
labels: | ||
app.kubernetes.io/part-of: cilium | ||
name: hubble | ||
namespace: cilium | ||
spec: | ||
endpoints: | ||
- honorLabels: true | ||
interval: 10s | ||
path: /metrics | ||
port: hubble-metrics | ||
relabelings: | ||
- replacement: ${1} | ||
sourceLabels: | ||
- __meta_kubernetes_pod_node_name | ||
targetLabel: node | ||
namespaceSelector: | ||
matchNames: | ||
- cilium | ||
selector: | ||
matchLabels: | ||
k8s-app: hubble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...n/defaults/cilium/cilium/01_cilium_helmchart/cilium/templates/hubble/metrics-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: null | ||
labels: | ||
app.kubernetes.io/name: hubble | ||
app.kubernetes.io/part-of: cilium | ||
k8s-app: hubble | ||
name: hubble-metrics | ||
namespace: cilium | ||
spec: | ||
clusterIP: None | ||
ports: | ||
- name: hubble-metrics | ||
port: 9965 | ||
protocol: TCP | ||
targetPort: hubble-metrics | ||
selector: | ||
k8s-app: cilium | ||
type: ClusterIP |
24 changes: 24 additions & 0 deletions
24
...en/defaults/cilium/cilium/01_cilium_helmchart/cilium/templates/hubble/servicemonitor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
labels: | ||
app.kubernetes.io/part-of: cilium | ||
name: hubble | ||
namespace: cilium | ||
spec: | ||
endpoints: | ||
- honorLabels: true | ||
interval: 10s | ||
path: /metrics | ||
port: hubble-metrics | ||
relabelings: | ||
- replacement: ${1} | ||
sourceLabels: | ||
- __meta_kubernetes_pod_node_name | ||
targetLabel: node | ||
namespaceSelector: | ||
matchNames: | ||
- cilium | ||
selector: | ||
matchLabels: | ||
k8s-app: hubble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...ss-gateway/cilium/cilium/01_cilium_helmchart/cilium/templates/hubble/metrics-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: null | ||
labels: | ||
app.kubernetes.io/name: hubble | ||
app.kubernetes.io/part-of: cilium | ||
k8s-app: hubble | ||
name: hubble-metrics | ||
namespace: cilium | ||
spec: | ||
clusterIP: None | ||
ports: | ||
- name: hubble-metrics | ||
port: 9965 | ||
protocol: TCP | ||
targetPort: hubble-metrics | ||
selector: | ||
k8s-app: cilium | ||
type: ClusterIP |
24 changes: 24 additions & 0 deletions
24
...ess-gateway/cilium/cilium/01_cilium_helmchart/cilium/templates/hubble/servicemonitor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
labels: | ||
app.kubernetes.io/part-of: cilium | ||
name: hubble | ||
namespace: cilium | ||
spec: | ||
endpoints: | ||
- honorLabels: true | ||
interval: 10s | ||
path: /metrics | ||
port: hubble-metrics | ||
relabelings: | ||
- replacement: ${1} | ||
sourceLabels: | ||
- __meta_kubernetes_pod_node_name | ||
targetLabel: node | ||
namespaceSelector: | ||
matchNames: | ||
- cilium | ||
selector: | ||
matchLabels: | ||
k8s-app: hubble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...opensource/cilium/cilium/01_cilium_helmchart/cilium/templates/hubble/metrics-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: null | ||
labels: | ||
app.kubernetes.io/name: hubble | ||
app.kubernetes.io/part-of: cilium | ||
k8s-app: hubble | ||
name: hubble-metrics | ||
namespace: cilium | ||
spec: | ||
clusterIP: None | ||
ports: | ||
- name: hubble-metrics | ||
port: 9965 | ||
protocol: TCP | ||
targetPort: hubble-metrics | ||
selector: | ||
k8s-app: cilium | ||
type: ClusterIP |
24 changes: 24 additions & 0 deletions
24
...-opensource/cilium/cilium/01_cilium_helmchart/cilium/templates/hubble/servicemonitor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
labels: | ||
app.kubernetes.io/part-of: cilium | ||
name: hubble | ||
namespace: cilium | ||
spec: | ||
endpoints: | ||
- honorLabels: true | ||
interval: 10s | ||
path: /metrics | ||
port: hubble-metrics | ||
relabelings: | ||
- replacement: ${1} | ||
sourceLabels: | ||
- __meta_kubernetes_pod_node_name | ||
targetLabel: node | ||
namespaceSelector: | ||
matchNames: | ||
- cilium | ||
selector: | ||
matchLabels: | ||
k8s-app: hubble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
...ent-strict/cilium/cilium/01_cilium_helmchart/cilium/templates/hubble/metrics-service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
annotations: null | ||
labels: | ||
app.kubernetes.io/name: hubble | ||
app.kubernetes.io/part-of: cilium | ||
k8s-app: hubble | ||
name: hubble-metrics | ||
namespace: cilium | ||
spec: | ||
clusterIP: None | ||
ports: | ||
- name: hubble-metrics | ||
port: 9965 | ||
protocol: TCP | ||
targetPort: hubble-metrics | ||
selector: | ||
k8s-app: cilium | ||
type: ClusterIP |
24 changes: 24 additions & 0 deletions
24
...ment-strict/cilium/cilium/01_cilium_helmchart/cilium/templates/hubble/servicemonitor.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: ServiceMonitor | ||
metadata: | ||
labels: | ||
app.kubernetes.io/part-of: cilium | ||
name: hubble | ||
namespace: cilium | ||
spec: | ||
endpoints: | ||
- honorLabels: true | ||
interval: 10s | ||
path: /metrics | ||
port: hubble-metrics | ||
relabelings: | ||
- replacement: ${1} | ||
sourceLabels: | ||
- __meta_kubernetes_pod_node_name | ||
targetLabel: node | ||
namespaceSelector: | ||
matchNames: | ||
- cilium | ||
selector: | ||
matchLabels: | ||
k8s-app: hubble |
Oops, something went wrong.