fix homebrew
This commit is contained in:
parent
c3c9455458
commit
33dfe3e204
|
|
@ -7,8 +7,14 @@ the format. A JSON file should end with `.json`, and
|
|||
YAML with `.yaml`. The default format is always TOML and
|
||||
may have any _other_ suffix.
|
||||
|
||||
#### Dashboards
|
||||
# Kubernetes
|
||||
|
||||
- This folder used to contain Grafana Dashboards.
|
||||
- **They are now located at [Grafana.com](https://grafana.com/dashboards?search=unifi-poller).**
|
||||
- [Grafana Dashboards Wiki](https://github.com/unifi-poller/unifi-poller/wiki/Grafana-Dashboards)
|
||||
There are two files for Kubernetes deployment examples.
|
||||
Feel free to use them as you see fit.
|
||||
Please make sure to the delete all comments before
|
||||
deploying and make sure to fill in with correct values.
|
||||
|
||||
# Notes
|
||||
|
||||
When adding new content to this folder, **DO NOT MAKE NEW FOLDERS**,
|
||||
it will break `make install` on macOS (used for homebrew).
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
# Kubernetes Template
|
||||
The following files are Kubernetes deployment examples. Feel free to use them as you see fit.
|
||||
|
||||
# Comments
|
||||
Please make sure to the delete all comments before deploying and make sure to fill in with your according values.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#Create InfluxDB
|
||||
# Create InfluxDB
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
|
|
@ -38,7 +38,7 @@ spec:
|
|||
volumeMounts:
|
||||
- name: influx-volume
|
||||
mountPath: /var/lib/influxdb
|
||||
volumes:
|
||||
volumes:
|
||||
- name: influx-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: influx-volume-claim
|
||||
|
|
@ -52,13 +52,13 @@ kind: PersistentVolumeClaim
|
|||
metadata:
|
||||
name: influx-volume-claim
|
||||
namespace: monitoring
|
||||
spec:
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
---
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
|
|
@ -75,7 +75,7 @@ spec:
|
|||
|
||||
---
|
||||
#Create Chronograf
|
||||
---
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
|
@ -112,7 +112,7 @@ spec:
|
|||
# volumeMounts:
|
||||
# - name: chronograf-volume
|
||||
# mountPath: /var/lib/chronograf
|
||||
# volumes:
|
||||
# volumes:
|
||||
# - name: chronograf-volume
|
||||
# persistentVolumeClaim:
|
||||
# claimName: chronograf-volume-claim
|
||||
|
|
@ -122,13 +122,13 @@ kind: PersistentVolumeClaim
|
|||
metadata:
|
||||
name: chronograf-volume-claim
|
||||
namespace: monitoring
|
||||
spec:
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
---
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
|
|
@ -142,4 +142,4 @@ spec:
|
|||
- protocol: TCP
|
||||
port: 8888
|
||||
targetPort: 8888
|
||||
---
|
||||
---
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#Create Unifi Poller
|
||||
---
|
||||
# Create UniFi Poller
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
|
@ -68,7 +68,7 @@ data:
|
|||
dynamic = false
|
||||
[loki]
|
||||
#Point to your own Loki service
|
||||
url = "http://loki.monitoring.svc.cluster.local:3100"
|
||||
url = "http://loki.monitoring.svc.cluster.local:3100"
|
||||
[[unifi.controller]]
|
||||
#Change to your own URL
|
||||
url = "https://xx.xx.xx.xx"
|
||||
Loading…
Reference in New Issue