Skip to content

Correct way to expose custom statsd port? #317

Closed Answered by paymog
paymog asked this question in Q&A
Discussion options

You must be logged in to vote

Figured it out! I added the following to my helm values file

containerPorts:
  - name: statsd
    containerPort: 9831
    protocol: UDP
    hostPort: 9831

And did use the following config for getting my pods to communicate with vector

    - name: STATSD_HOST
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: status.hostIP
    - name: STATSD_PORT
       value: 9831

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by paymog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant