Fix deployments until next release (#3142)

This commit is contained in:
Manuel Alejandro de Brito Fontes 2018-09-26 10:15:57 -03:00 committed by GitHub
parent c3ce6b892e
commit f56e839134
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 244 additions and 139 deletions

View file

@ -24,28 +24,27 @@ spec:
app.kubernetes.io/part-of: ingress-nginx
spec:
containers:
- image: grafana/grafana
name: grafana
ports:
- containerPort: 3000
protocol: TCP
resources:
limits:
cpu: 500m
memory: 2500Mi
requests:
cpu: 100m
memory: 100Mi
volumeMounts:
- mountPath: /var/lib/grafana
name: data
- image: grafana/grafana
name: grafana
ports:
- containerPort: 3000
protocol: TCP
resources:
limits:
cpu: 500m
memory: 2500Mi
requests:
cpu: 100m
memory: 100Mi
volumeMounts:
- mountPath: /var/lib/grafana
name: data
restartPolicy: Always
volumes:
- emptyDir: {}
name: data
- emptyDir: {}
name: data
---
apiVersion: v1
kind: Service
metadata:
@ -57,10 +56,13 @@ metadata:
spec:
ports:
- port: 3000
protocol: TCP
targetPort: 3000
- port: 3000
protocol: TCP
targetPort: 3000
selector:
app.kubernetes.io/name: grafana
app.kubernetes.io/part-of: ingress-nginx
type: NodePort
---