Skip to content

Commit

Permalink
Merge pull request #443 from pliurh/metric-port
Browse files Browse the repository at this point in the history
Change the metrics port for OVN-Kubernetes
  • Loading branch information
openshift-merge-robot committed Jan 13, 2020
2 parents 47482a3 + 91c1592 commit 68aec43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bindata/network/ovn-kubernetes/monitor.yaml
Expand Up @@ -76,9 +76,9 @@ spec:
publishNotReadyAddresses: true
ports:
- name: metrics
port: 9101
port: 9103
protocol: TCP
targetPort: 9101
targetPort: 9103
sessionAffinity: None
type: ClusterIP
---
Expand Down
4 changes: 2 additions & 2 deletions bindata/network/ovn-kubernetes/ovnkube-node.yaml
Expand Up @@ -148,7 +148,7 @@ spec:
--loglevel "${OVN_KUBE_LOG_LEVEL}" \
${hybrid_overlay_flags} \
--pidfile /var/run/openvswitch/ovnkube-node.pid \
--metrics-bind-address "0.0.0.0:9101"
--metrics-bind-address "0.0.0.0:9103"
env:
- name: OVN_HYBRID_OVERLAY_ENABLE
value: "{{ .OVNHybridOverlayEnable }}"
Expand All @@ -167,7 +167,7 @@ spec:
fieldPath: spec.nodeName
ports:
- name: metrics-port
containerPort: 9101
containerPort: 9103
securityContext:
privileged: true
terminationMessagePolicy: FallbackToLogsOnError
Expand Down

0 comments on commit 68aec43

Please sign in to comment.