[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Enabling Cluster Metrics



Hi,

I've been following the following steps to deploy metrics:

https://docs.openshift.org/latest/install_config/cluster_metrics.html

When I run the following command:


oc process -f metrics.yaml -v \
HAWKULAR_METRICS_HOSTNAME=hawkular-metrics.example.com,USE_PERSISTENT_STORAGE=false \
| oc create -f -


I get the following error:

Creating the Cassandra Certificate Secrets configuration json file
+++ base64
++++ echo hawkular-cassandra
+++ base64 -w 0 /etc/deploy/_output/hawkular-cassandra.truststore
+++ base64
++++ echo RjR--747mUzmTS-
+++ base64 -w 0 /etc/deploy/_output/hawkular-cassandra.pem
++ echo
++ echo 'Creating the Cassandra Certificate Secrets configuration json file'
++ cat
+++ base64 -w 0 /etc/deploy/_output/hawkular-cassandra.cert
+++ base64 -w 0 /etc/deploy/_output/hawkular-cassandra-ca.cert
Creating Hawkular Metrics & Cassandra Secrets
++ echo 'Creating Hawkular Metrics & Cassandra Secrets'
++ oc create -f /etc/deploy/_output/hawkular-metrics-secrets.json
unable to connect to a server to handle "secrets": Get https://kubernetes.default.svc:443/api: dial tcp: lookup kubernetes.default.svc: no such host




# oc get pods
NAME                     READY     STATUS    RESTARTS   AGE
metrics-deployer-7gcpd   0/1       Error     0          39m


How can I know if my kubernetes master URL is https://kubernetes.default.svc:443 or is another URL?

My Openshift installation isn't an update.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]