-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from djjudas21/smokeping
Smokeping
- Loading branch information
Showing
22 changed files
with
793 additions
and
11 deletions.
There are no files selected for viewing
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
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,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
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,17 @@ | ||
--- | ||
apiVersion: v2 | ||
name: smokeping | ||
description: SmokePing is a latency logging and graphing and alerting system | ||
type: application | ||
version: 0.1.0 | ||
appVersion: "2.8.2" | ||
keywords: | ||
- smokeping | ||
home: https://oss.oetiker.ch/smokeping/ | ||
icon: https://raw.githubusercontent.com/RubxKube/charts/main/img/smokeping-logo.png | ||
maintainers: | ||
- name: djjudas21 | ||
email: [email protected] | ||
url: https://github.com/djjudas21 | ||
sources: | ||
- https://github.com/oetiker/SmokePing |
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,105 @@ | ||
# smokeping | ||
|
||
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.8.2](https://img.shields.io/badge/AppVersion-2.8.2-informational?style=flat-square) | ||
|
||
SmokePing is a latency logging and graphing and alerting system | ||
|
||
**Homepage:** <https://oss.oetiker.ch/smokeping/> | ||
|
||
## Maintainers | ||
|
||
| Name | Email | Url | | ||
| ---- | ------ | --- | | ||
| djjudas21 | <[email protected]> | <https://github.com/djjudas21> | | ||
|
||
## Source Code | ||
|
||
* <https://github.com/oetiker/SmokePing> | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| affinity | object | `{}` | | | ||
| fullnameOverride | string | `""` | | | ||
| image.pullPolicy | string | `"IfNotPresent"` | | | ||
| image.repository | string | `"linuxserver/smokeping"` | | | ||
| image.tag | string | `""` | | | ||
| imagePullSecrets | list | `[]` | | | ||
| ingress.annotations | object | `{}` | | | ||
| ingress.className | string | `""` | | | ||
| ingress.enabled | bool | `false` | | | ||
| ingress.hosts[0].host | string | `"chart-example.local"` | | | ||
| ingress.hosts[0].paths[0].path | string | `"/"` | | | ||
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | | | ||
| ingress.tls | list | `[]` | | | ||
| nameOverride | string | `""` | | | ||
| nodeSelector | object | `{}` | | | ||
| persistence.accessMode | string | `"ReadWriteOnce"` | | | ||
| persistence.enabled | bool | `true` | | | ||
| persistence.mountPath | string | `"/data/"` | | | ||
| persistence.size | string | `"5Gi"` | | | ||
| persistence.storageClass | string | `""` | | | ||
| podAnnotations | object | `{}` | | | ||
| podLabels | object | `{}` | | | ||
| podSecurityContext | object | `{}` | | | ||
| probes | object | `{"liveness":{"enabled":true,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"timeoutSeconds":1},"readiness":{"enabled":true,"failureThreshold":3,"initialDelaySeconds":0,"periodSeconds":10,"timeoutSeconds":1}}` | configure probes | | ||
| resources | object | `{}` | | | ||
| securityContext | object | `{}` | | | ||
| service.port | int | `80` | | | ||
| service.type | string | `"ClusterIP"` | | | ||
| serviceAccount.annotations | object | `{}` | Annotations to add to the service account | | ||
| serviceAccount.automount | bool | `false` | Automatically mount a ServiceAccount's API credentials? | | ||
| serviceAccount.create | bool | `true` | Specifies whether a service account should be created | | ||
| serviceAccount.name | string | `""` | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | | ||
| smokeping.contact | string | `"[email protected]"` | | | ||
| smokeping.database.pings | int | `20` | How many pings to send for each test | | ||
| smokeping.database.step | int | `300` | How many seconds between tests | | ||
| smokeping.email.AuthPass | string | `nil` | | | ||
| smokeping.email.AuthUser | string | `nil` | | | ||
| smokeping.email.UseSTARTTLS | string | `"yes"` | | | ||
| smokeping.email.from | string | `"[email protected]"` | | | ||
| smokeping.email.hostname | string | `nil` | The full hostname | | ||
| smokeping.email.mailhub | string | `"smtp.gmail.com:587"` | The place where the mail goes. The actual machine name is required - no MX records are consulted. Commonly mailhosts are named mail.domain.com | | ||
| smokeping.email.rewriteDomain | string | `nil` | Where will the mail seem to come from? | | ||
| smokeping.email.root | string | `nil` | The person who gets all mail for userids < 1000. Make this empty to disable rewriting. | | ||
| smokeping.email.to | string | `"[email protected]"` | | | ||
| smokeping.owner | string | `"LinuxServer.io"` | | | ||
| smokeping.targets[0].hosts[0].host | string | `"192.168.0.1"` | | | ||
| smokeping.targets[0].hosts[0].menu | string | `"Router"` | | | ||
| smokeping.targets[0].hosts[0].name | string | `"Router"` | | | ||
| smokeping.targets[0].hosts[0].title | string | `"Router"` | | | ||
| smokeping.targets[0].menu | string | `"Internal Devices"` | | | ||
| smokeping.targets[0].name | string | `"Internet"` | | | ||
| smokeping.targets[0].title | string | `"Internal Devices"` | | | ||
| smokeping.targets[1].hosts[0].host | string | `"google.com"` | | | ||
| smokeping.targets[1].hosts[0].menu | string | `"Google"` | | | ||
| smokeping.targets[1].hosts[0].name | string | `"GoogleSearch"` | | | ||
| smokeping.targets[1].hosts[0].title | string | `"google.com"` | | | ||
| smokeping.targets[1].menu | string | `"Internet Sites"` | | | ||
| smokeping.targets[1].name | string | `"InternetSites"` | | | ||
| smokeping.targets[1].title | string | `"Internet Sites"` | | | ||
| smokeping.targets[2].hosts[0].host | string | `"8.8.8.8"` | | | ||
| smokeping.targets[2].hosts[0].menu | string | `"Google DNS 1"` | | | ||
| smokeping.targets[2].hosts[0].name | string | `"GoogleDNS1"` | | | ||
| smokeping.targets[2].hosts[0].title | string | `"Google DNS 8.8.8.8"` | | | ||
| smokeping.targets[2].hosts[1].host | string | `"8.8.4.4"` | | | ||
| smokeping.targets[2].hosts[1].menu | string | `"Google DNS 2"` | | | ||
| smokeping.targets[2].hosts[1].name | string | `"GoogleDNS2"` | | | ||
| smokeping.targets[2].hosts[1].title | string | `"Google DNS 8.8.4.4"` | | | ||
| smokeping.targets[2].hosts[2].host | string | `"1.1.1.1"` | | | ||
| smokeping.targets[2].hosts[2].menu | string | `"Cloudflare DNS 1"` | | | ||
| smokeping.targets[2].hosts[2].name | string | `"CloudflareDNS1"` | | | ||
| smokeping.targets[2].hosts[2].title | string | `"Cloudflare DNS 1.1.1.1"` | | | ||
| smokeping.targets[2].hosts[3].host | string | `"1.0.0.1"` | | | ||
| smokeping.targets[2].hosts[3].menu | string | `"Cloudflare DNS 2"` | | | ||
| smokeping.targets[2].hosts[3].name | string | `"CloudflareDNS2"` | | | ||
| smokeping.targets[2].hosts[3].title | string | `"Cloudflare DNS 1.0.0.1"` | | | ||
| smokeping.targets[2].menu | string | `"DNS Probes"` | | | ||
| smokeping.targets[2].name | string | `"DNSProbes"` | | | ||
| smokeping.targets[2].probe | string | `"DNS"` | | | ||
| smokeping.targets[2].title | string | `"DNS Probes"` | | | ||
| tolerations | list | `[]` | | | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2) |
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,22 @@ | ||
1. Get the application URL by running these commands: | ||
{{- if .Values.ingress.enabled }} | ||
{{- range $host := .Values.ingress.hosts }} | ||
{{- range .paths }} | ||
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} | ||
{{- end }} | ||
{{- end }} | ||
{{- else if contains "NodePort" .Values.service.type }} | ||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "smokeping.fullname" . }}) | ||
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") | ||
echo http://$NODE_IP:$NODE_PORT | ||
{{- else if contains "LoadBalancer" .Values.service.type }} | ||
NOTE: It may take a few minutes for the LoadBalancer IP to be available. | ||
You can watch its status by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "smokeping.fullname" . }}' | ||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "smokeping.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") | ||
echo http://$SERVICE_IP:{{ .Values.service.port }} | ||
{{- else if contains "ClusterIP" .Values.service.type }} | ||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "smokeping.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") | ||
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") | ||
echo "Visit http://127.0.0.1:8080 to use your application" | ||
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT | ||
{{- end }} |
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,62 @@ | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "smokeping.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "smokeping.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "smokeping.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Common labels | ||
*/}} | ||
{{- define "smokeping.labels" -}} | ||
helm.sh/chart: {{ include "smokeping.chart" . }} | ||
{{ include "smokeping.selectorLabels" . }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end }} | ||
|
||
{{/* | ||
Selector labels | ||
*/}} | ||
{{- define "smokeping.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "smokeping.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "smokeping.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create }} | ||
{{- default (include "smokeping.fullname" .) .Values.serviceAccount.name }} | ||
{{- else }} | ||
{{- default "default" .Values.serviceAccount.name }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.