kubectl logs cluster1-pxc-node-0 -c pmm-client, Node Name Should be Fixed

Description

Hi Team,

$ kubectl logs cluster1-pxc-node-0 -c pmm-client

Error from server (NotFound): pods "cluster1-pxc-node-0" not found

$ kubectl get pods NAME                                               READY   STATUS    RESTARTS   AGE cluster1-haproxy-0                                 3/3     Running   0          22m cluster1-haproxy-1                                 3/3     Running   0          23m cluster1-haproxy-2                                 3/3     Running   0          24m cluster1-pxc-0                                     4/4     Running   0          4m20s cluster1-pxc-1                                     4/4     Running   0          5m21s cluster1-pxc-2                                     3/4     Running   0          28s percona-client                                     1/1     Running   0          67m percona-xtradb-cluster-operator-xx-xx   1/1     Running   0          87m

Since correct name is "cluster1-pxc-0" then we should say <cluster-name> or more relevant than passing exact name since this can be changed over time.

https://docs.percona.com/percona-operator-for-mysql/pxc/monitoring.html

Environment

None

Activity

Done

Details

Assignee

Reporter

Needs QA

Yes

Components

Fix versions

Priority

Smart Checklist

Created February 3, 2023 at 2:18 PM
Updated March 5, 2024 at 5:28 PM
Resolved May 12, 2023 at 8:18 AM

Flag notifications