Re: [prometheus-users] prometheus statefulset confimap

4 views
Skip to first unread message

Ian Billett

unread,
Jun 28, 2021, 12:48:37 PM6/28/21
to nina guo, Prometheus Users
Hello Nina,

I'm afraid I don't really understand your question - please could you try asking it in a different way? 

Best,

Ian

On Fri, Jun 25, 2021 at 8:18 AM nina guo <ninag...@gmail.com> wrote:
Hi guy,

If multiple statefulset replicas can share only 1 configmap?

-----------------------
        volumeMounts:                                               # configutaion volumes on the container  
        - name: prometheus-config-volume
          mountPath: /etc/prometheus
        - name: prometheus-storage-volume
          mountPath: /prometheus       
      volumes:                                                      # /etc/prometheus container volume used by ConfigMap to update the configurations 
      - name: prometheus-config-volume
        configMap:
          defaultMode: 420
          name: prometheus-server-conf
      imagePullSecrets:
      - name: regcred-rg          
  volumeClaimTemplates:
  - metadata:
      name: prometheus-storage-volume
    spec:
      accessModes: [ "ReadWriteOnce" ]
      resources:
        requests:
          storage: 10Gi

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/7221d866-a2d8-419c-924e-bfbae16a36afn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages