# faros agent upgrade

Upgrade the agent for an edge deployed via 'faros agent join'

Source: https://faros.sh/docs/reference/cli/commands/agent-upgrade/

<!-- Generated by scripts/sync-cli-docs.py from faroshq/faros docs/cli. Do not edit by hand; run `make sync-cli-docs`. -->

## Synopsis

Upgrade the faros agent for a Kubernetes edge that was deployed using
"faros agent join". This patches the agent Deployment in the faros-agent
namespace with the new image tag.

For agents installed via Helm, use "helm upgrade" instead.
For server-type agents, this restarts the systemd service after you update
the binary.

```bash
faros agent upgrade <edge-name> [flags]
```

## Options

```text
  -h, --help         help for upgrade
      --tag string   Image tag to upgrade to (default: CLI version)
      --wait         Wait for the rollout to complete (default true)
```

## Inherited options

```text
      --insecure-skip-tls-verify   Skip TLS certificate verification when talking to the hub
      --kubeconfig string          Path to the kubeconfig file (default: $KUBECONFIG, then ~/.kube/config)
```

## See also

- [faros agent](https://faros.sh/docs/reference/cli/commands/agent/) — Run, install or upgrade the edge agent on a cluster or server
