kubewatch
Kubewatch is a Kubernetes watcher that currently publishes notification to Slack. Run it in your k8s cluster, and you will get event notifications in a slack channel.
About this chart
Kubewatch packaged by Bitnami
Kubewatch is a Kubernetes watcher that currently publishes notification to Slack. Run it in your k8s cluster, and you will get event notifications in a slack channel.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
$ helm install my-release bitnami-azure/kubewatch
Introduction
This chart bootstraps a kubewatch deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release bitnami-azure/kubewatch
The command deploys kubewatch on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override common.names.fullname template | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the the deployment(s)/statefulset(s) | ["sleep"] |
diagnosticMode.args | Args to override all containers in the the deployment(s)/statefulset(s) | ["infinity"] |
extraDeploy | Array of extra objects to deploy with the release | [] |
Kubewatch parameters
| Name | Description | Value |
|---|---|---|
image.registry | Kubewatch image registry | docker.io |
image.repository | Kubewatch image repository | bitnami/kubewatch |
image.tag | Kubewatch image tag (immutable tags are recommended) | 0.1.0-debian-10-r513 |
image.pullPolicy | Kubewatch image pull policy | IfNotPresent |
image.pullSecrets | Specify docker-registry secret names as an array | [] |
hostAliases | Add deployment host aliases | [] |
slack.enabled | Enable Slack notifications | true |
slack.channel | Slack channel to notify | XXXX |
slack.token | Slack API token | XXXX |
hipchat.enabled | Enable HipChat notifications | false |
hipchat.room | HipChat room to notify | "" |
hipchat.token | HipChat token | "" |
hipchat.url | HipChat URL | "" |
mattermost.enabled | Enable Mattermost notifications | false |
mattermost.channel | Mattermost channel to notify | "" |
mattermost.url | Mattermost URL | "" |
mattermost.username | Mattermost user to notify | "" |
flock.enabled | Enable Flock notifications | false |
flock.url | Flock URL | "" |
msteams.enabled | Enable Microsoft Teams notifications | false |
msteams.webhookurl | Microsoft Teams webhook URL | "" |
webhook.enabled | Enable Webhook notifications | false |
webhook.url | Webhook URL | "" |
smtp.enabled | Enable SMTP (email) notifications | false |
smtp.to | Destination email address (required) | "" |
smtp.from | Source email address (required) | "" |
smtp.hello | SMTP hello field (optional) | "" |
smtp.smarthost | SMTP server address (name:port) (required) | "" |
smtp.subject | Source email subject | "" |
smtp.auth.username | Username for LOGIN and PLAIN auth mech | "" |
smtp.auth.password | Password for LOGIN and PLAIN auth mech | "" |
smtp.auth.secret | Secret for CRAM-MD5 auth mech | "" |
smtp.auth.identity | Identity for PLAIN auth mech | "" |
smtp.requireTLS | Force STARTTLS. Set to true or false | "" |
namespaceToWatch | Namespace to watch, leave it empty for watching all | "" |
resourcesToWatch.deployment | Watch changes to Deployments | true |
resourcesToWatch.replicationcontroller | Watch changes to ReplicationControllers | false |
resourcesToWatch.replicaset | Watch changes to ReplicaSets | false |
resourcesToWatch.daemonset | Watch changes to DaemonSets | false |
resourcesToWatch.services | Watch changes to Services | false |
resourcesToWatch.pod | Watch changes to Pods | true |
resourcesToWatch.job | Watch changes to Jobs | false |
resourcesToWatch.persistentvolume | Watch changes to PersistentVolumes | false |
command | Override default container command (useful when using custom images) | [] |
args | Override default container args (useful when using custom images) | [] |
lifecycleHooks | for the Kubewatch container(s) to automate configuration before or after startup | {} |
extraEnvVars | Extra environment variables to be set on Kubewatch container | [] |
extraEnvVarsCM | Name of existing ConfigMap containing extra env vars | "" |
extraEnvVarsSecret | Name of existing Secret containing extra env vars | "" |
Kubewatch deployment parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of Kubewatch replicas to deploy | 1 |
podSecurityContext.enabled | Enable Kubewatch containers' SecurityContext | false |
podSecurityContext.fsGroup | Set Kubewatch containers' SecurityContext fsGroup | "" |
containerSecurityContext.enabled | Enable Kubewatch pods' Security Context | false |
containerSecurityContext.runAsUser | Set Kubewatch pods' SecurityContext runAsUser | "" |
containerSecurityContext.runAsNonRoot | Set Kubewatch pods' SecurityContext runAsNonRoot | "" |
resources.limits | The resources limits for the Kubewatch container | {} |
resources.requests | The requested resources for the Kubewatch container | {} |
startupProbe.enabled | Enable startupProbe | false |
startupProbe.initialDelaySeconds | Initial delay seconds for startupProbe | 10 |
startupProbe.periodSeconds | Period seconds for startupProbe | 10 |
startupProbe.timeoutSeconds | Timeout seconds for startupProbe | 1 |
startupProbe.failureThreshold | Failure threshold for startupProbe | 3 |
startupProbe.successThreshold | Success threshold for startupProbe | 1 |
livenessProbe.enabled | Enable livenessProbe | false |
Deploy kubewatch with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kubewatch on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartkubewatch is pinned at v3.3.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply