-
Bug
-
Resolution: Unresolved
-
Normal
-
4.16, 4.17, 4.18, 4.19
-
Quality / Stability / Reliability
-
False
-
-
1
-
None
-
None
-
None
-
None
-
OTA 270
-
1
-
In Progress
-
Release Note Not Required
-
None
-
None
-
None
-
None
-
None
Description of problem:
We are working on the Communication Matrix project (commatrix)https://github.com/openshift-kni/commatrix , using EndpointSlice to list all open ports in the cluster. We extract which pod and container are using each port, and we noticed that your pod doesn’t have a port assigned in the container spec—it's only specified in the args. Could you please add the port number to the container spec
Version-Release number of selected component (if applicable):
How reproducible:
get the pod describe of the cluster verison or get yaml pod info
Steps to Reproduce:
1.oc describe pod -n openshift-cluster-version cluster-version-operator-xxxx 2. 3.
Actual results:
Name: cluster-version-operator-74586c45d5-gfljl Namespace: openshift-cluster-version Priority: 2000000000 Priority Class Name: system-cluster-critical Service Account: default Node: clus0-1/10.1.24.4 Start Time: Mon, 09 Dec 2024 14:44:15 +0200 Labels: k8s-app=cluster-version-operator pod-template-hash=74586c45d5 Annotations: openshift.io/required-scc: hostaccess openshift.io/scc: hostaccess Status: Running IP: 10.1.24.4 IPs: IP: 10.1.24.4 Controlled By: ReplicaSet/cluster-version-operator-74586c45d5 Containers: cluster-version-operator: Container ID: cri-o://febd3906aa214b2ea48acbcc1c09c2814e62d1948beed75fb2eef8637970e2ba Image: quay.io/openshift-release-dev/ocp-release@sha256:bada2d7626c8652e0fb68d3237195cb37f425e960347fbdd747beb17f671cf13 Image ID: quay.io/openshift-release-dev/ocp-release@sha256:bada2d7626c8652e0fb68d3237195cb37f425e960347fbdd747beb17f671cf13 Port: <none> Host Port: <none> Args: start --release-image=quay.io/openshift-release-dev/ocp-release@sha256:bada2d7626c8652e0fb68d3237195cb37f425e960347fbdd747beb17f671cf13 --enable-auto-update=false --listen=0.0.0.0:9099 --serving-cert-file=/etc/tls/serving-cert/tls.crt --serving-key-file=/etc/tls/serving-cert/tls.key --v=2 --always-enable-capabilities=Ingress State: Running Started: Mon, 09 Dec 2024 14:44:31 +0200 Ready: True Restart Count: 0 Requests: cpu: 20m memory: 50Mi as u saw port are <none>
Expected results:
port need to be set on yaml: ports: - name: http containerPort: 9099 protocol: TCP
on describe need to see the ports info Port: 9099/TCP
Additional info: