Upgrading

You can also download the latest Infra release directly from the repository.

Upgrading Infra

  1. Update the Helm repository

    helm repo update infrahq
    
  2. Upgrade Infra. Ensure when upgrading a Helm chart to pass the same configuration values as during installation.

    helm upgrade [-f values.yaml] infra infrahq/infra
    
  3. Wait for the pods to finish upgrade

    kubectl wait --for=condition=ready pod --selector app.kubernetes.io/name=infra-server
    
  4. Check Infra version

    infra version
    

Upgrading Infra Kubernetes Connector

  1. Update the Helm repository

    helm repo update infrahq
    
  2. Upgrade Infra. If using Helm values files, ensure those are passed into the upgrade command.

    helm upgrade -f values.yaml infra-connector infrahq/infra
    

    If using output from infra destinations add, ensure the same arguments are being passed into the upgrade command.

    helm upgrade --set connector.config.name=... --set connector.config.accessKey=... --set connector.config.server=... infra-connector infrahq/infra
    
  3. Wait for the pods to finish upgrade

    kubectl wait --for=condition=ready pod --selector app.kubernetes.io/name=infra-connector
    
  4. Check Infra Kubernetes Connector version

    kubectl logs -l app.kubernetes.io/name=infra-connector | grep 'starting infra'
    

Upgrading Infra CLI

macOS

  1. Update Homebrew

    brew update
    
  2. Upgrade Infra CLI

    brew upgrade infra
    
  3. Check Infra CLI version

    infra version
    

Windows

scoop update infra

Linux

# Ubuntu & Debian
sudo apt update
sudo apt upgrade infra
# Fedora & Red Hat Enterprise Linux
sudo dnf update infra

Other Distributions

Binary releases can be downloaded and installed directly from the repository.

x86_64
LATEST=0.13.0
curl -sSL https://github.com/infrahq/infra/releases/download/v$LATEST/infra_${LATEST}_linux_x86_64.zip
unzip -d /usr/local/bin infra_${LATEST}_linux_x86_64.zip
ARM
LATEST=0.13.0
curl -sSL https://github.com/infrahq/infra/releases/download/v$LATEST/infra_${LATEST}_linux_arm64.zip
unzip -d /usr/local/bin infra_${LATEST}_linux_arm64.zip

Sign up for product & API updates

You can unsubscribe at any time.