Skip to content

Commit

Permalink
Remove replica section from KubeDeploymentReplicasMismatch enricher (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aantn authored Dec 29, 2024
1 parent 921c04f commit 47410d6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions playbooks/robusta_playbooks/event_enrichments.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,11 +340,6 @@ def deployment_events_enricher(event: DeploymentEvent, params: ExtendedEventEnri
title="Deployment Events",
)
else:
available_replicas = dep.status.availableReplicas if dep.status.availableReplicas else 0
event.add_enrichment(
[MarkdownBlock(f"*Replicas: Desired ({dep.spec.replicas}) --> Running ({available_replicas})*")]
)

events_table_block = get_resource_events_table(
"*Deployment events:*",
dep.kind,
Expand Down

0 comments on commit 47410d6

Please sign in to comment.