-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md
- Loading branch information
Showing
8 changed files
with
3,553 additions
and
38 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## Kubernetes | ||
The following configuration files are used to deploy this stack in Kubernetes. | ||
You need to update them before running in your cluster. | ||
|
||
> ***NOTE***: The Kubernetes deployment is in *BETA* version. Don't worry if you see something wrong here. | ||
## Installing, the quick way: | ||
|
||
1) Apply the `ISP-Checker-deploy.yaml` | ||
```bash | ||
$: kubectl apply -f ISP-Checker-deploy.yaml | ||
``` | ||
|
||
### Configuration | ||
|
||
1) Edit `secrets.yaml` in order to initialize your InfluxDB database. | ||
2) Edit `configmap.yaml` to configure Telegraf. | ||
3) Apply the other `YAML` files. | ||
4) Expose your deployment or create a LoadBalancer/IngressRule to access Grafana. | ||
|
||
### Accesing | ||
#### LoadBalancer | ||
If you want to use a `LoadBalancer` to access Grafana, run: | ||
```bash | ||
$: kubectl expose deployments/grafana --type=LoadBalancer --name=grafana-svc | ||
``` | ||
#### port-foward | ||
If you can't use a LoadBalancer, you can use a `ClusterIP` service and forward to your local port. | ||
|
||
``` | ||
$: kubectl expose deployments/grafana --type=ClusterIP --name=grafana-svc | ||
``` | ||
|
||
And finally use your IngressController to access the service or a `port-forward`: | ||
|
||
``` | ||
$: kubectl port-forward svc/grafana-svc 3000:3000 -n monitoring | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
apiversion: v1 | ||
kind: service | ||
metadata: | ||
labels: | ||
app: influxdb | ||
name: influxdb-svc | ||
namespace: monitoring | ||
spec: | ||
ports: | ||
- port: 8086 | ||
protocol: tcp | ||
targetport: 8086 | ||
selector: | ||
app: influxdb | ||
sessionaffinity: none | ||
type: clusterip | ||
status: | ||
loadbalancer: {} | ||
|