Skip to content
Snippets Groups Projects

Resolve "Grafana settings lost when host ethernet interface goes down and back up"

1 file
+ 18
0
Compare changes
  • Side-by-side
  • Inline
@@ -12,6 +12,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: grafana-pvc
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -99,6 +110,13 @@ spec:
limits:
cpu: 500m
memory: 1024Mi
volumeMounts:
- mountPath: /var/lib/grafana
name: grafana-pv
volumes:
- name: grafana-pv
persistentVolumeClaim:
claimName: grafana-pvc
---
apiVersion: v1
kind: Service
Loading