← All comparisons

runner vs Argo CD

For a Docker server, a cluster can be an extra step.

What it does well

  • Continuous reconciliation, drift detection and declarative sync on Kubernetes.
  • UI and multi-cluster management.

Same goal, two paths

See how to do each task with both tools. The examples assume the setup described in each case; adapt names, credentials and infrastructure.

01 / USE CASE

Ship a new version

The shop app is already registered in both tools, with source access and the server configured. On the Runner side, commands run on a Linux server with Docker and Traefik already set up. Kubernetes Application already configured for the manifests repository.

With Argo CD

  1. In the repository the Application watches, update the Deployment image to the approved version and push the commit.
  2. Open the Application, review the diff and select Sync and Synchronize. With auto-sync enabled, wait for reconciliation. Check the resources' Sync and Health.
source: Argo CD · sync an application ↗

With runner

  1. Publish the new version to the configured source. In the Git + Dockerfile path, the Runner fetches the code and builds on the server, without pushing the app image to a registry.
  2. With polling configured, the pipeline runs automatically. To trigger it now, run the commands below on the server and check the status and history.
Examplebash · example
runner preflight shop
runner deploy shop
runner status shop
runner logs history shop

This compares the goal for the application: Argo CD reconciles Kubernetes resources; the Runner requires its own Docker configuration on a single server, without importing manifests or replacing cluster controllers. The Runner works on one server at a time. Host-published ports and shared writable volumes may require a downtime window.

02 / USE CASE

Roll back a version

The shop app is already registered in both tools, with source access and the server configured. On the Runner side, commands run on a Linux server with Docker and Traefik already set up. The desired revision is in the history and auto-sync was disabled before the operation.

With Argo CD

  1. With auto-sync disabled, pick a retained revision from the Application's history and roll back to the matching ID. The CLI provides argocd app rollback APP ID.
  2. Check Sync and Health. Also update the desired state in Git before re-enabling auto-sync, so the new version is not reapplied. Resources and data have their own rollback limits.
source: Argo CD · rollback from history ↗

With runner

  1. List the retained versions and confirm the previous one still has its code and image available.
  2. Roll back to the previous version and check the application. To pick a different retained version, use --version with the listed identifier.
Examplebash · example
runner versions shop
runner rollback shop
runner status shop
runner logs history shop

A rollback changes code/image; it does not undo migrations, databases or persistent files. Check that the current configuration is compatible with the previous version. This compares the goal for the application: Argo CD reconciles Kubernetes resources; the Runner requires its own Docker configuration on a single server, without importing manifests or replacing cluster controllers.

03 / USE CASE

Change configuration

The shop app is already registered in both tools, with source access and the server configured. On the Runner side, commands run on a Linux server with Docker and Traefik already set up.

With Argo CD

  1. In Git, change LOG_LEVEL to info in the Deployment template's env. If you use a ConfigMap, also set up the mechanism that makes the Pods pick up the new configuration.
  2. Push the commit and sync the Application. Wait for the Pods to roll out and check the log level. Avoid editing only the live resource when Git is meant to be the source of truth.
source: Argo CD · reconciling state from Git ↗

With runner

  1. In this example, shop already uses env_sync: skip in the reviewed manifest, which preserves the local environment; LOG_LEVEL is not pinned under environment in the manifest.
  2. Write the non-secret variable on the server and force the container to be recreated. Check the log level in the application's behavior.
Examplebash · example
runner env set shop LOG_LEVEL info
runner deploy shop --force
runner status shop

This compares the goal for the application: Argo CD reconciles Kubernetes resources; the Runner requires its own Docker configuration on a single server, without importing manifests or replacing cluster controllers. Auto-sync reconciles resources; whether ConfigMaps get reloaded depends on the application and the controller.

Documented reports and historical context
  • Argo CD is a GitOps tool for Kubernetes; a VPS with only Docker is not enough.

    source: Argo CD · documentation ↗

    runner works on standalone Docker on the Linux server, with no cluster. You remain responsible for that host's availability.

  • The HA installation requires at least three different nodes.

    source: Argo CD · high availability ↗

    runner works per server and does not install a cluster control plane. That simplicity offers no failover between hosts.

  • Secrets management means choosing components and handling the cache of generated manifests.

    source: Argo CD · secrets ↗

    runner has an encrypted bundle per app and instance. Recovering on another server requires the bundle and the correct keys: losing them makes the secrets unrecoverable. Plan their custody.

When to stay with the tool

  • If you already run Kubernetes, stay with Argo CD to reconcile the cluster and operate multiple clusters.
  • runner reconciles the app manifest on a Docker host; it does not replace Argo's infrastructure reconciliation.

How to evaluate the deploy step

The commands use shop as the example app. Adjust the identifier and instance to the generated manifest. Only remove the previous deploy after validating the new path.

  1. Turn the app's required resources into an image/Dockerfile and declare network, volumes and healthcheck in the manifest. Don't carry cluster resources over as if they were equivalent containers; plan persistence and the traffic cutover.

  2. Prepare a Linux server with compatible Docker and Traefik, DNS and a persistence strategy. Back up your data with your backup tool and test the restore. Install and initialize the runner following the start guide.

    Example with runnerbash · example
    curl -sL https://get.runnerci.com/init.sh | sudo bash
    runner init
  3. In the app folder with a Dockerfile or image, generate and review the manifest. Check network, healthcheck, secrets and version. The wizard does not deploy on its own.

    Example with runnerbash · example
    runner wizard --path .
    runner validate --path .deploy.yml
  4. Example for a GitHub repository: commit the reviewed manifest to the main branch before registering. Replace my-org/shop with your repo, main with the published branch and production with the reviewed instance; set up read access to the private repo first. On the server, register, review the preflight and only then deploy.

    Example with runnerbash · example
    runner add --repo my-org/shop --branch main --instance production --ckey v2
    runner preflight shop
    runner deploy shop
    runner status shop
    runner logs history shop
  5. Validate the domain and the app's behavior before turning off the previous deploy. Disable the old trigger to avoid two deployers on the same app. Set up polling to automate the pipeline on the server. If you prefer an external build, configure the source of the image or artifact produced by CI. The start guide covers the prerequisites.