Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No working standalone example #34

Open
mark-au opened this issue Sep 28, 2020 · 2 comments · May be fixed by #55
Open

No working standalone example #34

mark-au opened this issue Sep 28, 2020 · 2 comments · May be fixed by #55
Assignees

Comments

@mark-au
Copy link

mark-au commented Sep 28, 2020

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

@mark-au
Copy link
Author

mark-au commented Oct 1, 2020

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

@mark-au
Copy link
Author

mark-au commented Oct 1, 2020

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.

@mark-au mark-au linked a pull request Jan 19, 2021 that will close this issue
@mark-au mark-au self-assigned this Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant