diff --git a/tests/e2e-chainsaw/v1beta2/password/redis-cluster/chainsaw-test.yaml b/tests/e2e-chainsaw/v1beta2/password/redis-cluster/chainsaw-test.yaml index 054b746bf..1d76bce27 100644 --- a/tests/e2e-chainsaw/v1beta2/password/redis-cluster/chainsaw-test.yaml +++ b/tests/e2e-chainsaw/v1beta2/password/redis-cluster/chainsaw-test.yaml @@ -206,18 +206,18 @@ spec: - script: timeout: 30s content: | - kubeclt exec --namespace ${NAMESPACE} --container redis-cluster-v1beta2-follower redis-cluster-v1beta2-follower-0 -- wget -qO- http://localhost:9121/metrics | grep -v '^#' | grep -E '\bredis_up\b' | awk '{print $2}' + kubectl exec --namespace ${NAMESPACE} --container redis-cluster-v1beta2-follower redis-cluster-v1beta2-follower-0 -- wget -qO- http://localhost:9121/metrics | grep -v '^#' | grep -E '\bredis_up\b' | awk '{print $2}' check: ($stdout=='1'): true - script: timeout: 30s content: | - kubeclt exec --namespace ${NAMESPACE} --container redis-cluster-v1beta2-follower redis-cluster-v1beta2-follower-1 -- wget -qO- http://localhost:9121/metrics | grep -v '^#' | grep -E '\bredis_up\b' | awk '{print $2}' + kubectl exec --namespace ${NAMESPACE} --container redis-cluster-v1beta2-follower redis-cluster-v1beta2-follower-1 -- wget -qO- http://localhost:9121/metrics | grep -v '^#' | grep -E '\bredis_up\b' | awk '{print $2}' check: ($stdout=='1'): true - script: timeout: 30s content: | - kubeclt exec --namespace ${NAMESPACE} --container redis-cluster-v1beta2-follower redis-cluster-v1beta2-follower-2 -- wget -qO- http://localhost:9121/metrics | grep -v '^#' | grep -E '\bredis_up\b' | awk '{print $2}' + kubectl exec --namespace ${NAMESPACE} --container redis-cluster-v1beta2-follower redis-cluster-v1beta2-follower-2 -- wget -qO- http://localhost:9121/metrics | grep -v '^#' | grep -E '\bredis_up\b' | awk '{print $2}' check: ($stdout=='1'): true \ No newline at end of file diff --git a/tests/e2e-chainsaw/v1beta2/password/redis-standalone/ready-svc.yaml b/tests/e2e-chainsaw/v1beta2/password/redis-standalone/ready-svc.yaml index 08b416ce2..275aae8cd 100644 --- a/tests/e2e-chainsaw/v1beta2/password/redis-standalone/ready-svc.yaml +++ b/tests/e2e-chainsaw/v1beta2/password/redis-standalone/ready-svc.yaml @@ -55,6 +55,10 @@ spec: port: 6379 protocol: TCP targetPort: 6379 + - name: redis-exporter + port: 9121 + protocol: TCP + targetPort: 9121 selector: app: redis-standalone-v1beta2 redis_setup_type: standalone