Last active
September 3, 2019 15:14
-
-
Save ejhsu/06ea56472af2fc6d524c72ea655cff7e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: grafana | |
namespace: monitoring | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
k8s-app: grafana | |
spec: | |
containers: | |
- name: grafana | |
image: grafana/grafana | |
ports: | |
- containerPort: 3000 | |
protocol: TCP | |
volumeMounts: | |
- mountPath: /var/lib/grafana | |
name: grafana-storage | |
env: | |
- name: GF_SERVER_HTTP_PORT | |
value: "3000" | |
- name: GF_SECURITY_ADMIN_PASSWORD | |
value: "helloworld" | |
- name: GF_INSTALL_PLUGINS | |
value: "grafana-kubernetes-app" | |
volumes: | |
- name: grafana-storage | |
emptyDir: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pls, fix identation. It should be