diff options
author | makefunstuff <[email protected]> | 2024-06-28 21:08:09 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-28 21:08:09 +0200 |
commit | a031a6f4745b69657fdc3d3ef3d3efa819667071 (patch) | |
tree | 03364cabf644434b788cf4b5f09645c175dcbc9e | |
parent | f9942197ce51135e23ab6fe32fedb2eefa47acc7 (diff) | |
download | k3s-lab-a031a6f4745b69657fdc3d3ef3d3efa819667071.tar.gz |
network
-rw-r--r-- | tools/monitoring/templates/network-policies.yaml | 119 |
1 files changed, 0 insertions, 119 deletions
diff --git a/tools/monitoring/templates/network-policies.yaml b/tools/monitoring/templates/network-policies.yaml deleted file mode 100644 index ec76582..0000000 --- a/tools/monitoring/templates/network-policies.yaml +++ /dev/null @@ -1,119 +0,0 @@ -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: allow-grafana-to-prometheus - namespace: monitoring -spec: - podSelector: - matchLabels: - app.kubernetes.io/name: grafana - policyTypes: - - Ingress - ingress: - - from: - - namespaceSelector: - matchLabels: - name: monitoring - - podSelector: - matchLabels: - app.kubernetes.io/name: prometheus-server - ports: - - protocol: TCP - port: 9090 - ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: allow-grafana-to-elasticsearch - namespace: monitoring -spec: - podSelector: - matchLabels: - app.kubernetes.io/name: grafana - policyTypes: - - Ingress - ingress: - - from: - - namespaceSelector: - matchLabels: - name: monitoring - - podSelector: - matchLabels: - app.kubernetes.io/name: elasticsearch-master - ports: - - protocol: TCP - port: 9200 - ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: allow-grafana-to-logstash - namespace: monitoring -spec: - podSelector: - matchLabels: - app.kubernetes.io/name: grafana - policyTypes: - - Ingress - ingress: - - from: - - namespaceSelector: - matchLabels: - name: monitoring - - podSelector: - matchLabels: - app.kubernetes.io/name: logstash - ports: - - protocol: TCP - port: 5044 - ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: allow-otel-collector-to-logstash - namespace: monitoring -spec: - podSelector: - matchLabels: - app.kubernetes.io/name: opentelemetry-collector - policyTypes: - - Ingress - ingress: - - from: - - namespaceSelector: - matchLabels: - name: monitoring - - podSelector: - matchLabels: - app.kubernetes.io/name: logstash - ports: - - protocol: TCP - port: 5044 - ---- -apiVersion: networking.k8s.io/v1 -kind: NetworkPolicy -metadata: - name: allow-otel-collector-to-prometheus - namespace: monitoring -spec: - podSelector: - matchLabels: - app.kubernetes.io/name: opentelemetry-collector - policyTypes: - - Ingress - ingress: - - from: - - namespaceSelector: - matchLabels: - name: monitoring - - podSelector: - matchLabels: - app.kubernetes.io/name: prometheus-server - ports: - - protocol: TCP - port: 9090 - |