def METHOD_NAME(self, replicas, resource_name=None):
    """
    Scale deployment to required number of replicas
    Args:
        replicas (int): number of required replicas
        resource_name (str): name of resouce to querry the revision
    """
    resource_name = resource_name or self.name
    cmd = f"scale --replicas {replicas} {self.kind}/{resource_name}"
    self.ocp.exec_oc_cmd(cmd)