r.Recorder.Eventf(opt.DynamoComponent,corev1.EventTypeNormal,"GenerateImageBuilderPod","Got presigned url for dynamoComponent %s from api store service",opt.DynamoComponent.Spec.DynamoComponent)
r.Recorder.Eventf(opt.DynamoComponent,corev1.EventTypeNormal,"GenerateImageBuilderPod","Got presigned url for dynamoComponent %s from api store service",opt.DynamoComponent.Spec.DynamoComponent)
recorder.Eventf(dynamoDeployment,corev1.EventTypeNormal,"GenerateImageBuilderPod","Got presigned url for dynamo graph %s from api store service",dynamoDeployment.Spec.DynamoGraph)
recorder.Eventf(dynamoDeployment,corev1.EventTypeNormal,"GenerateImageBuilderPod","Got presigned url for dynamo graph %s from api store service",dynamoDeployment.Spec.DynamoGraph)
"[yellow]Update submitted. It may take a short time for the new pods to become active. Please wait a bit before accessing the deployment to ensure your changes are live.[/yellow]"
console.print(
Panel(
f"Deployment [bold]{name}[/] is [green]ready[/]",
title="Status",
)
)
else:
console.print(
Panel(
f"Deployment [bold]{name}[/] did not become ready in time.",
title="Status",
style="red",
)
)
_display_deployment_info(spinner,deployment)
returndeployment
exceptBentoMLExceptionase:
spinner.log(f"[red]:x: Error:[/] Failed to update deployment: {str(e)}")
"[yellow]Update submitted. It may take a short time for the new pods to become active. Please wait a bit before accessing the deployment to ensure your changes are live.[/yellow]",