Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gangams/multi tenancy private preview customer feedback implementation #1343

Merged
merged 12 commits into from
Jan 31, 2025

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,9 @@ data:
- source_labels: [__meta_kubernetes_pod_node_name]
action: replace
target_label: node
- job_name: ama-logs-multitenancy
kubernetes_sd_configs:
- role: pod
relabel_configs:
- source_labels: [__meta_kubernetes_pod_controller_kind]
action: keep
regex: 'ReplicaSet'
- source_labels: [__meta_kubernetes_pod_controller_name]
regex: '^ama-logs-multitenancy(-.*)?$'
action: keep
- source_labels: [__address__]
action: replace
target_label: __address__
regex: (.+?)(\:\d+)?
replacement: $1:9102
- source_labels: [__meta_kubernetes_pod_name]
action: replace
target_label: instance
- source_labels: [__meta_kubernetes_pod_node_name]
action: replace
target_label: node
action: keep
regex: $NODE_NAME
metadata:
name: ama-metrics-prometheus-config
name: ama-metrics-prometheus-config-node
namespace: kube-system
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
kind: ConfigMap
apiVersion: v1
data:
prometheus-config: |-
scrape_configs:
- job_name: ama-logs-multitenancy
kubernetes_sd_configs:
- role: pod
relabel_configs:
- source_labels: [__meta_kubernetes_pod_controller_kind]
action: keep
regex: 'ReplicaSet'
- source_labels: [__meta_kubernetes_pod_controller_name]
regex: '^ama-logs-multitenancy(-.*)?$'
action: keep
- source_labels: [__address__]
action: replace
target_label: __address__
regex: (.+?)(\:\d+)?
replacement: $1:9102
- source_labels: [__meta_kubernetes_pod_name]
action: replace
target_label: instance
- source_labels: [__meta_kubernetes_pod_node_name]
action: replace
target_label: node
metadata:
name: ama-metrics-prometheus-config
namespace: kube-system
Loading
Loading