Skip to content

Commit

Permalink
update disk utils image - new clean image
Browse files Browse the repository at this point in the history
  • Loading branch information
arikalon1 committed May 25, 2024
1 parent c73f714 commit 0887fd9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion playbooks/robusta_playbooks/node_disk_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from hikaru.model.rel_1_26 import EnvVar, EnvVarSource, ObjectFieldSelector, PodList

from robusta.api import (
DISK_TOOLS_IMAGE,
IMAGE_REGISTRY,
BaseBlock,
MarkdownBlock,
Expand Down Expand Up @@ -67,7 +68,7 @@ def node_disk_analyzer(event: NodeEvent, params: DiskAnalyzerParams):
# run disk-tools on node and parse its json output
disk_info_str = RobustaPod.run_debugger_pod(
node.metadata.name,
pod_image=f"{IMAGE_REGISTRY}/disk-tools:1.4",
pod_image=f"{IMAGE_REGISTRY}/{DISK_TOOLS_IMAGE}",
env=[
EnvVar(
name="CURRENT_POD_UID",
Expand Down
1 change: 1 addition & 0 deletions src/robusta/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
DEFAULT_TIMEZONE,
DISCORD_TABLE_COLUMNS_LIMIT,
DISCOVERY_PERIOD_SEC,
DISK_TOOLS_IMAGE,
ENABLE_TELEMETRY,
FIO_IMAGE,
FLOAT_PRECISION_LIMIT,
Expand Down
1 change: 1 addition & 0 deletions src/robusta/core/model/env_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def load_bool(env_var, default: bool):
IMAGE_REGISTRY = os.environ.get("IMAGE_REGISTRY", "us-central1-docker.pkg.dev/genuine-flight-317411/devel")

FIO_IMAGE = os.environ.get("FIO_IMAGE", "robusta-fio-benchmark:1.0")
DISK_TOOLS_IMAGE = os.environ.get("DISK_TOOLS_IMAGE", "disk-tools:1.5")

CLUSTER_DOMAIN = os.environ.get("CLUSTER_DOMAIN", "cluster.local")

Expand Down

0 comments on commit 0887fd9

Please sign in to comment.