|
|
@@ -28,6 +28,7 @@ export type ControllerTabPodType = {
|
|
|
restartCount: number | string;
|
|
|
podAge: string;
|
|
|
revisionNumber?: number;
|
|
|
+ containerStatus: any;
|
|
|
};
|
|
|
|
|
|
const formatCreationTimestamp = timeFormat("%H:%M:%S %b %d, '%y");
|
|
|
@@ -125,6 +126,7 @@ const ControllerTabFC: React.FunctionComponent<Props> = ({
|
|
|
status: pod?.status,
|
|
|
replicaSetName,
|
|
|
restartCount,
|
|
|
+ containerStatus,
|
|
|
podAge: pod?.metadata?.creationTimestamp ? podAge : "N/A",
|
|
|
revisionNumber:
|
|
|
(pod?.metadata?.annotations &&
|
|
|
@@ -233,8 +235,8 @@ const ControllerTabFC: React.FunctionComponent<Props> = ({
|
|
|
{},
|
|
|
{
|
|
|
cluster_id: currentCluster.id,
|
|
|
- name: pod.metadata?.name,
|
|
|
- namespace: pod.metadata?.namespace,
|
|
|
+ name: pod?.name,
|
|
|
+ namespace: pod?.namespace,
|
|
|
id: currentProject.id,
|
|
|
}
|
|
|
)
|