Add information about the startupProbe (#1538)

Signed-off-by: vshakirova <vshakirova@mirantis.com>
This commit is contained in:
Violetta authored and GitHub committed 2020-12-13 19:08:26 +02:00
1 parent 1e76e8c06c
commit abd4223675
6 files changed
+50 -24

No files matched your search

@@ -57,6 +57,7 @@ export class PodDetailsContainer extends React.Component<Props> {
const ready = status ? status.ready : "";
const liveness = pod.getLivenessProbe(container);
const readiness = pod.getReadinessProbe(container);
const startup = pod.getStartupProbe(container);
const isInitContainer = !!pod.getInitContainers().find(c => c.name == name);
const metricTabs = [
<Trans key="cpu">CPU</Trans>,
@@ -140,6 +141,15 @@ export class PodDetailsContainer extends React.Component<Props> {
}
</DrawerItem>
}
{startup.length > 0 &&
<DrawerItem name={<Trans>Startup</Trans>} labelsOnly>
{
startup.map((value, index) => (
<Badge key={index} label={value}/>
))
}
</DrawerItem>
}
{command &&
<DrawerItem name={<Trans>Command</Trans>}>
{command.join(" ")}