Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
77de7cb7
Unverified
Commit
77de7cb7
authored
Jun 14, 2022
by
Viktor Jacynycz
Committed by
GitHub
Jun 14, 2022
Browse files
Options
Downloads
Patches
Plain Diff
Expose calico-typha metrics port (#8855)
parent
e5d6c042
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/network_plugin/calico/templates/calico-typha.yml.j2
+11
-0
11 additions, 0 deletions
roles/network_plugin/calico/templates/calico-typha.yml.j2
with
11 additions
and
0 deletions
roles/network_plugin/calico/templates/calico-typha.yml.j2
+
11
−
0
View file @
77de7cb7
...
@@ -14,6 +14,12 @@ spec:
...
@@ -14,6 +14,12 @@ spec:
protocol: TCP
protocol: TCP
targetPort: calico-typha
targetPort: calico-typha
name: calico-typha
name: calico-typha
{% if typha_prometheusmetricsenabled %}
- port: {{ typha_prometheusmetricsport }}
protocol: TCP
targetPort: http-metrics
name: metrics
{% endif %}
selector:
selector:
k8s-app: calico-typha
k8s-app: calico-typha
...
@@ -76,6 +82,11 @@ spec:
...
@@ -76,6 +82,11 @@ spec:
- containerPort: 5473
- containerPort: 5473
name: calico-typha
name: calico-typha
protocol: TCP
protocol: TCP
{% if typha_prometheusmetricsenabled %}
- containerPort: {{ typha_prometheusmetricsport }}
name: http-metrics
protocol: TCP
{% endif %}
envFrom:
envFrom:
- configMapRef:
- configMapRef:
# Allow KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT to be overridden for eBPF mode.
# Allow KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT to be overridden for eBPF mode.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment