-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Strimzi Kafka and ZK dashboards * Updated Metrics appendix docs and related resources * Add metrics reference section in docs. Updated disclaimer to make it clear this is an example only. Removed exporter rules from examples. Added metrics Kafka example with exporter rules. * Add grafana-openshift * Fix strimzilab dockerhub user id typo. Rephrased intro sentence in docs.
- Loading branch information
Showing
19 changed files
with
4,118 additions
and
637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM centos:7 | ||
MAINTAINER Erik Jacobs <erikmjacobs@gmail.com> | ||
|
||
USER root | ||
EXPOSE 3000 | ||
|
||
ENV GRAFANA_VERSION="5.2.4" | ||
|
||
ADD root / | ||
RUN yum -y install https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-"$GRAFANA_VERSION"-1.x86_64.rpm \ | ||
&& yum clean all | ||
COPY run.sh /usr/share/grafana/ | ||
RUN /usr/bin/fix-permissions /usr/share/grafana \ | ||
&& /usr/bin/fix-permissions /etc/grafana \ | ||
&& /usr/bin/fix-permissions /var/lib/grafana \ | ||
&& /usr/bin/fix-permissions /var/log/grafana | ||
|
||
WORKDIR /usr/share/grafana | ||
ENTRYPOINT ["./run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Sourced from https://github.com/OpenShiftDemos/grafana-openshift |
58 changes: 58 additions & 0 deletions
58
metrics/examples/grafana/grafana-openshift/openshift-grafana-deployment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Basic Kubernetes service & deployment | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: grafana-openshift-server | ||
spec: | ||
ports: | ||
- port: 3000 | ||
protocol: TCP | ||
targetPort: 3000 | ||
nodePort: 30130 | ||
selector: | ||
app: grafana-openshift | ||
component: server | ||
type: NodePort | ||
--- | ||
apiVersion: extensions/v1beta1 | ||
kind: Deployment | ||
metadata: | ||
name: grafana-openshift-server | ||
labels: | ||
app: grafana-openshift | ||
component: server | ||
spec: | ||
replicas: 1 | ||
template: | ||
metadata: | ||
labels: | ||
app: grafana-openshift | ||
component: server | ||
spec: | ||
containers: | ||
- image: strimzilabs/grafana-openshift:latest | ||
imagePullPolicy: IfNotPresent | ||
name: grafana-openshift-server | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 250Mi | ||
env: | ||
- name: GF_INSTALL_PLUGINS | ||
value: hawkular-datasource | ||
- name: DATAD | ||
value: /usr/share/grafana/data | ||
- name: PLGND | ||
value: /usr/share/grafana/data/plugins | ||
ports: | ||
- containerPort: 3000 | ||
readinessProbe: | ||
httpGet: | ||
path: /login | ||
port: 3000 | ||
volumeMounts: | ||
- name: grafana-data | ||
mountPath: /usr/share/grafana/data | ||
volumes: | ||
- name: grafana-data | ||
emptyDir: {} |
Oops, something went wrong.