Skip to content

Commit

Permalink
AssistedInstaller: pin AI pods to speed up deploy
Browse files Browse the repository at this point in the history
Some change to assisted installer causes it to increase from ~15 to
~1hour after starting a cluster for the cluster to reach state
installing.

As a temporary workaround, we can pin the pods to before this change was
introduced.

Signed-off-by: Salvatore Daniele <[email protected]>
  • Loading branch information
SalDaniele committed Oct 31, 2024
1 parent 5785696 commit 48f5838
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assistedInstallerService.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ class AssistedInstallerService:
# The values are taken from:
# https://gitlab.cee.redhat.com/service/app-interface/-/blob/ee5f631ce539537085b5ef043bbd9593fa74f860/data/services/assisted-installer/cicd/target/production/assisted-service.yaml#L44-47
#
SAAS_VERSION = "latest"
INSTALLER_IMAGE = "registry.redhat.io/rhai-tech-preview/assisted-installer-rhel8:v1.0.0-347"
CONTROLLER_IMAGE = "registry.redhat.io/rhai-tech-preview/assisted-installer-reporter-rhel8:v1.0.0-425"
AGENT_DOCKER_IMAGE = "registry.redhat.io/rhai-tech-preview/assisted-installer-agent-rhel8:v1.0.0-328"
SAAS_VERSION = "v2.31.6"
INSTALLER_IMAGE = "registry.redhat.io/rhai-tech-preview/assisted-installer-rhel8:v1.0.0-340"
CONTROLLER_IMAGE = "registry.redhat.io/rhai-tech-preview/assisted-installer-reporter-rhel8:v1.0.0-418"
AGENT_DOCKER_IMAGE = "registry.redhat.io/rhai-tech-preview/assisted-installer-agent-rhel8:v1.0.0-315"

def __init__(self, version: str, ip: str, proxy: Optional[str] = None, noproxy: Optional[str] = None, branch: str = "master"):
self._version = version
Expand Down

0 comments on commit 48f5838

Please sign in to comment.