Skip to content

Duplicate prometheus port in vanila manifest #3385

@sbueringer

Description

@sbueringer

Hey folks,

looks like the vsphere-csi-controller Deployment in https://github.com/kubernetes-sigs/vsphere-csi-driver/blob/master/manifests/vanilla/vsphere-csi-driver.yaml has two ports with the same name ("prometheus").

This leads to the following warning when applying the manifest to Kubernetes

warning_handler.go:65] "spec.template.spec.containers[4].ports[0]: duplicate port name "prometheus" with spec.template.spec.containers[2].ports[1], services and probes that select ports by name will use spec.template.spec.containers[2].ports[1]" logger="KubeAPIWarningLogger"

Can you please deduplicate the port names? Thank you!

xref: this issue was originally reported in CAPV: kubernetes-sigs/cluster-api-provider-vsphere#3535

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions