A set of tasks which performs a health check and read/write verification on a Redis workload running in a Kubernetes cluster.
Ping Redis Workload
Verify Redis Read Write Operation
The TaskSet requires initialization to import necessary secrets, services, and user variables. The following variables should be set:
kubeconfig
: The kubeconfig secret containing access info for the cluster.kubectl
: The location service used to interpret shell commands. Default value iskubectl-service.shared
.KUBERNETES_DISTRIBUTION_BINARY
: Which binary to use for Kubernetes CLI commands. Default value iskubectl
.CONTEXT
: The Kubernetes context to operate within.NAMESPACE
: The name of the namespace to search. Leave it blank to search in all namespaces.DEPLOYMENT_NAME
: The name of the deployment running Redis
Please note that the script requires permissions to execute commands within the Kubernetes cluster, and it may require additional permissions depending on the tasks it performs (for example, fetching storage utilization for PVC mounts requires kubectl exec permissions). Make sure to review the tasks and the required permissions before running the script.
- Add documentation
- Refine raised issues