app/src/mutations/scale.py
def scale_deployment_blocking(name: str, namespace: str, replicas: int,
                              timeout: timedelta):
    """Updates a Deployment's scale and waits for cluster state to reconcile.

    Args:
        name: Name of the Deployment.
        namespace: Namespace of the Deployment.
        replicas: Desired number of replicas.
        timeout: Time to wait for reconciliation until failing.

    Raises:
        ReconciliationError:
            The cluster state did not reconcile within timeout.
    """
    asyncio.run(scale_deployment(name, namespace, replicas, timeout))
Updates a Deployment's scale and waits for cluster state to reconcile.

    Args:
        name: Name of the Deployment.
        namespace: Namespace of the Deployment.
        replicas: Desired number of replicas.
        timeout: Time to wait for reconciliation until failing.

    Raises:
        ReconciliationError:
            The cluster state did not reconcile within timeout.
    
Updates a Deployment's scale and waits for cluster state to reconcile.
Updates a Deployment ' s scale and waits for cluster state to reconcile .
def scale_deployment_blocking(name: str, namespace: str, replicas: int,
                              timeout: timedelta):
    asyncio.run(scale_deployment(name, namespace, replicas, timeout))
def scale_deployment_blocking ( name : str , namespace : str , replicas : int , timeout : timedelta ) : asyncio . run ( scale_deployment ( name , namespace , replicas , timeout ) )
Updates a Deployment's scale and waits for cluster state to reconcile.
Updates a Deployment ' s scale and waits for cluster state to reconcile .
"""Updates a Deployment's scale and waits for cluster state to reconcile.

    Args:
        name: Name of the Deployment.
        namespace: Namespace of the Deployment.
        replicas: Desired number of replicas.
        timeout: Time to wait for reconciliation until failing.

    Raises:
        ReconciliationError:
            The cluster state did not reconcile within timeout.
    """
The cluster state did not reconcile within timeout.
The cluster state did not reconcile within timeout .
ReconciliationError
name
str
Name of the Deployment.
Name of the Deployment .
namespace
str
Namespace of the Deployment.
Namespace of the Deployment .
replicas
int
Desired number of replicas.
Desired number of replicas .
timeout
timedelta
Time to wait for reconciliation until failing.
Time to wait for reconciliation until failing .