+ echo 'Start deploying cache service to existing cluster:' Start deploying cache service to existing cluster: + NAMESPACE=kubeflow + MUTATING_WEBHOOK_CONFIGURATION_NAME=cache-webhook-kubeflow + WEBHOOK_SECRET_NAME=webhook-server-tls + install_version_matched_kubectl + mkdir -p /tmp/bin + export PATH=/tmp/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin + PATH=/tmp/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ++ kubectl version --output json ++ tr -d '"+' ++ jq --raw-output '(.serverVersion.major + "." + .serverVersion.minor)' /usr/bin/deploy-cache-service.sh: line 41: jq: command not found + server_version_major_minor= ++ curl -fsSL https://dl.k8s.io/release/stable-.txt /usr/bin/deploy-cache-service.sh: line 42: curl: command not found + stable_build_version= + echo 'Warning: failed to resolve stable kubectl version for Kubernetes ; using kubectl from PATH.' Warning: failed to resolve stable kubectl version for Kubernetes ; using kubectl from PATH. + kubectl get mutatingwebhookconfigurations cache-webhook-kubeflow --namespace kubeflow --ignore-not-found E1109 14:53:56.992692 30 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused" E1109 14:53:56.993503 30 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused" E1109 14:53:56.995161 30 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused" E1109 14:53:56.995945 30 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused" E1109 14:53:56.997106 30 memcache.go:381] "Couldn't get current server API group list" err="Get \"http://localhost:8080/api?timeout=32s\": dial tcp [::1]:8080: connect: connection refused" The connection to the server localhost:8080 was refused - did you specify the right host or port?