Open mark-au opened 4 years ago
I found this would work:
diff --git a/k8s/manifests/verrazzano-monitoring-operator.yaml b/k8s/manifests/verrazzano-monitoring-operator.yaml
index 7feb5da..74175a6 100644
--- a/k8s/manifests/verrazzano-monitoring-operator.yaml
+++ b/k8s/manifests/verrazzano-monitoring-operator.yaml
@@ -282,7 +282,7 @@ spec:
containers:
- name: verrazzano-monitoring-operator
imagePullPolicy: Always
- image: container-registry.oracle.com/verrazzano/verrazzano-monitoring-operator:latest
+ image: container-registry.oracle.com/verrazzano/verrazzano-monitoring-operator:v0.0.18
ports:
- containerPort: 8080
name: http
@@ -305,6 +305,33 @@ spec:
- --namespace=default
- --watchNamespace=default
- --watchVmi=
+ env:
+ - name: GRAFANA_IMAGE
+ value: container-registry.oracle.com/olcne/grafana:v6.4.4
+ - name: PROMETHEUS_IMAGE
+ value: container-registry.oracle.com/olcne/prometheus:v2.13.1
+ - name: PROMETHEUS_INIT_IMAGE
+ value: container-registry.oracle.com/os/oraclelinux:7-slim
+ - name: PROMETHEUS_GATEWAY_IMAGE
+ value: container-registry.oracle.com/verrazzano/prometheus-pushgateway:1.2.0-6893444-13
+ - name: ALERT_MANAGER_IMAGE
+ value: noimage
+ - name: ELASTICSEARCH_WAIT_IMAGE
+ value: container-registry.oracle.com/verrazzano/verrazzano-monitoring-instance-eswait:v0.0.18
+ - name: ELASTICSEARCH_IMAGE
+ value: container-registry.oracle.com/verrazzano/elasticsearch:7.6.1-1d68e1a-3
+ - name: ELASTICSEARCH_INIT_IMAGE
+ value: container-registry.oracle.com/os/oraclelinux:7.8
+ - name: KIBANA_IMAGE
+ value: container-registry.oracle.com/verrazzano/kibana:7.6.1-ccfddab-2
+ - name: ELASTICSEARCH_WAIT_TARGET_VERSION
+ value: 7.6.1
+ - name: VERRAZZANO_MONITORING_INSTANCE_API_IMAGE
+ value: container-registry.oracle.com/verrazzano/verrazzano-monitoring-instance-api:v0.0.7
+ - name: CONFIG_RELOADER_IMAGE
+ value: container-registry.oracle.com/verrazzano/configmap-reload:0.3-81d6423-34
+ - name: NODE_EXPORTER_IMAGE
+ value: container-registry.oracle.com/verrazzano/node-exporter:0.18.1-0cca78f-10
serviceAccountName: verrazzano-monitoring-operator
---
apiVersion: v1
Similarly, k8s/examples/simple-vmi.yaml
k8s/examples/vmi-with-data-volumes.yaml
and k8s/examples/vmi-with-ingress.yaml
must have alertmanager disabled as no image is available.
It's currently enabled on all.
The usage guide suggests we use k8s/manifests/verrazzano-monitoring-operator.yaml but this file no longer deploys a working environment.
k8s/manifests/verrazzano-monitoring-operator.yaml is missing some mandatory environment vars and references the image tag of latest which does not exist