-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hi,
I am using helm to deploy the mib-server deployment using a persistence volume, since in my case I have multiple nodes. For some reason, when applying the changes the system does not work correctly, specifically the pvc is not mounted in the pod. This is my configuration:
mibserver:
image:
repository: docker.da.inf.sta/supervisio/pysnmp/mibs/container
tag: "1.15.18"
enablePV: true
localMibs:
pathToMibs: ""
persistence:
existingClaim: "snmp-mibserver"
resources:
limits:
cpu: "1"
memory: 1Gi
requests:
cpu: 200m
memory: 512Mi
Although I have mounted the pvc in the pod manually, applying this config:
apiVersion: apps/v1
kind: Deployment
metadata:
name: snmp-mibserver
namespace: sc4snmp
spec:
template:
spec:
containers:
- name: mibserver
securityContext:
readOnlyRootFilesystem: false
volumeMounts:
- name: task-pv-storage
mountPath: /app/new_mibs/src/vendor
volumes:
- name: task-pv-storage
persistentVolumeClaim:
claimName: snmp-mibserver
With this manual solution, I can confirm that the pvc exists, the mibs exist in the path: "/app/new_mibs/src/vendor" and are compiled. But I would like to solve the problem with the helm in order to have all the configuration for future deployments.
Many thanks,