From 73a585fc0e1df54899cb46f14bc483977b8863a0 Mon Sep 17 00:00:00 2001 From: Adolfo Delorenzo Date: Thu, 4 Aug 2022 01:30:06 +0200 Subject: [PATCH] Upload files to '' --- grafana.yaml | 354 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 354 insertions(+) create mode 100644 grafana.yaml diff --git a/grafana.yaml b/grafana.yaml new file mode 100644 index 0000000..1ba867f --- /dev/null +++ b/grafana.yaml @@ -0,0 +1,354 @@ +apiVersion: v1 +items: +- apiVersion: v1 + kind: Service + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: grafana + name: grafana + spec: + ports: + - name: "3000" + port: 3000 + targetPort: 3000 + selector: + io.kompose.service: grafana + status: + loadBalancer: {} +- apiVersion: v1 + kind: Service + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: influxdb + name: influxdb + spec: + ports: + - name: "8086" + port: 8086 + targetPort: 8086 + selector: + io.kompose.service: influxdb + status: + loadBalancer: {} +- apiVersion: v1 + kind: Service + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: mosquitto + name: mosquitto + spec: + ports: + - name: "1883" + port: 1883 + targetPort: 1883 + - name: "9001" + port: 9001 + targetPort: 9001 + selector: + io.kompose.service: mosquitto + status: + loadBalancer: {} +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: grafana + name: grafana + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: grafana + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/iot: "true" + io.kompose.service: grafana + spec: + containers: + - image: grafana/grafana-oss + imagePullPolicy: "" + name: grafana + ports: + - containerPort: 3000 + resources: {} + volumeMounts: + - mountPath: /var/lib/grafana + name: grafana-data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: grafana-data + persistentVolumeClaim: + claimName: grafana-data + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: grafana-data + name: grafana-data + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: iot + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/iot: "true" + podSelector: + matchLabels: + io.kompose.network/iot: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: influxdb + name: influxdb + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: influxdb + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/iot: "true" + io.kompose.service: influxdb + spec: + containers: + - image: influxdb + imagePullPolicy: "" + name: influxdb + ports: + - containerPort: 8086 + resources: {} + volumeMounts: + - mountPath: /var/lib/influxdb + name: influxdb-data + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: influxdb-data + persistentVolumeClaim: + claimName: influxdb-data + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: influxdb-data + name: influxdb-data + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: iot + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/iot: "true" + podSelector: + matchLabels: + io.kompose.network/iot: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: mosquitto + name: mosquitto + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: mosquitto + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/iot: "true" + io.kompose.service: mosquitto + spec: + containers: + - image: eclipse-mosquitto:latest + imagePullPolicy: "" + name: mosquitto + ports: + - containerPort: 1883 + - containerPort: 9001 + resources: {} + volumeMounts: + - mountPath: /mosquitto/config/mosquitto.conf + name: mosquitto-claim0 + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: mosquitto-claim0 + persistentVolumeClaim: + claimName: mosquitto-claim0 + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: mosquitto-claim0 + name: mosquitto-claim0 + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: iot + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/iot: "true" + podSelector: + matchLabels: + io.kompose.network/iot: "true" +- apiVersion: apps/v1 + kind: Deployment + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.service: telegraf + name: telegraf + spec: + replicas: 1 + selector: + matchLabels: + io.kompose.service: telegraf + strategy: + type: Recreate + template: + metadata: + annotations: + kompose.cmd: /snap/kompose/19/kompose-linux-amd64 convert -o grafana.yaml + kompose.version: 1.21.0 (992df58d8) + creationTimestamp: null + labels: + io.kompose.network/iot: "true" + io.kompose.service: telegraf + spec: + containers: + - image: telegraf + imagePullPolicy: "" + name: telegraf + resources: {} + volumeMounts: + - mountPath: /etc/telegraf/telegraf.conf + name: telegraf-claim0 + readOnly: true + restartPolicy: Always + serviceAccountName: "" + volumes: + - name: telegraf-claim0 + persistentVolumeClaim: + claimName: telegraf-claim0 + readOnly: true + status: {} +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + creationTimestamp: null + labels: + io.kompose.service: telegraf-claim0 + name: telegraf-claim0 + spec: + accessModes: + - ReadOnlyMany + resources: + requests: + storage: 100Mi + status: {} +- apiVersion: extensions/v1beta1 + kind: NetworkPolicy + metadata: + creationTimestamp: null + name: iot + spec: + ingress: + - from: + - podSelector: + matchLabels: + io.kompose.network/iot: "true" + podSelector: + matchLabels: + io.kompose.network/iot: "true" +kind: List +metadata: {} +