Prometheus e2e tests fails on k8s 1.12.10
Summary
prometheus-dependency and prometheus-integration fails consistently on k8s 1.12
Environment
-
StackGres version: 0.9-beta1, 0.9-beta1
-
Kubernetes version (use
kubectl version
): 1.12.10, 1.11.10 -
Cloud provider or hardware configuration: kind
Relevant logs and/or screenshots
================================================================
Running prometheus-dependency tests
================================================================
2020-05-19 07:12:24 [prometheus-dependency] release "stackgres-operator" uninstalled
2020-05-19 07:12:25 [prometheus-dependency] namespace "stackgres" deleted
2020-05-19 07:12:31 [prometheus-dependency] error: timed out waiting for the condition on namespaces/stackgres
2020-05-19 07:12:36 [prometheus-dependency] All pods terminated in namespace stackgres
2020-05-19 07:12:36 [prometheus-dependency] namespace/stackgres created
2020-05-19 07:12:39 [prometheus-dependency] Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(MutatingWebhookConfiguration.webhooks[0].clientConfig): missing required field "caBundle" in io.k8s.api.admissionregistration.v1beta1.WebhookClientConfig
Terminated
================================================================
Running prometheus-integration tests
================================================================
2020-05-19 07:12:40 [prometheus-integration] namespace/prometheus-integration-monitor created
2020-05-19 07:12:55 [prometheus-integration] NAME: prometheus
2020-05-19 07:12:55 [prometheus-integration] LAST DEPLOYED: Tue May 19 07:12:44 2020
2020-05-19 07:12:55 [prometheus-integration] NAMESPACE: prometheus-integration-monitor
2020-05-19 07:12:55 [prometheus-integration] STATUS: deployed
2020-05-19 07:12:55 [prometheus-integration] REVISION: 1
2020-05-19 07:12:55 [prometheus-integration] NOTES:
2020-05-19 07:12:55 [prometheus-integration] The Prometheus Operator has been installed. Check its status by running:
2020-05-19 07:12:55 [prometheus-integration] kubectl --namespace prometheus-integration-monitor get pods -l "release=prometheus"
2020-05-19 07:12:55 [prometheus-integration]
2020-05-19 07:12:55 [prometheus-integration] Visit https://github.com/coreos/prometheus-operator for instructions on how
2020-05-19 07:12:55 [prometheus-integration] to create & configure Alertmanager and Prometheus instances using the Operator.
2020-05-19 07:13:13 [prometheus-integration] All pods running in namespace prometheus-integration-monitor
2020-05-19 07:13:14 [prometheus-integration] Error: UPGRADE FAILED: "stackgres-operator" has no deployed releases
Edited by Xavier Sierra