mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add information about the startupProbe (#1538)
Signed-off-by: vshakirova <vshakirova@mirantis.com>
This commit is contained in:
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(" ")}
|
||||
|
||||
Reference in new issue
Block a user