kdave

August 19, 2022 ยท View on GitHub

The kdave (Kubernetes Depredated API Versions Exporter) checks for any deprecated or removed apiVersions in the cluster and exports them in a Prometheus metrics format. You can integrate it with Prometheus and Alertmanager to receive notifications before upgrading the cluster and break the current workload. It exports detailed metrics such as whether the used apiVersion is deprecated, removed, removed_in_next_release, removed_in_next_2_releases, replacement_api, etc.

Configuration

The following tables lists the configurable parameters of the kdave chart and their default values.

ParameterDescriptionDefault
replicaCountNumber of replicas to run1
nameHow to name resources created by this chartkdave
debug.enableDo you want to start the application in debug modefalse
intervalInterval between helm check releases jobs in days.1
threadsNumber of threads to handle helm check releases10
maxMaximum number of releases to fetch at once256
dataFileThe database file location/app/data/data.json
helmBinaryThe helm binary to be used for running helm commands. Default is helm v2.helm
addressThe IP address for the Flask server to serve on0.0.0.0
portThe Port for the Flask server to serve on8000
image.repositoryThe kdave server container image repositoryaelbakry/kdave-server
image.tagThe kdave server container image tag1.0.3
image.pullPolicyThe application container image pull policyIfNotPresent
nodeSelectorNode labels for the application pod assignment{}
tolerationsThe application pod toleration for taints[]
affinityThe application pod affinity{}
annotationsAnnotations to be added to the application pod{}
podLabelsLabels to be added to the application pod{}
resourcesThe application pod resource requests & limits{}
securityContextSecurityContext to apply to the the application pod{}
rbac.createIf true, create & use RBAC resourcestrue
rbac.pspEnabledPodSecuritypolicytrue
rbac.serviceAccountNameServiceAccount the application will use (ignored if rbac.create=true)default
extraArgsAdd extra args to docker command[]

Specify each parameter using the --set key=value[,key=value] argument to helm install or provide a YAML file containing the values for the above parameters.