edge_stack/grafana.yaml

355 lines
8.4 KiB
YAML

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: {}