Perform an Edge-LB upgrade by following this procedure.

  1. Uninstall the apiserver.

    dcos package uninstall edgelb --yes
    
  2. Remove the old package repositories.

    dcos package repo remove edgelb-aws
    dcos package repo remove edgelb-pool-aws
    
  3. Add the new package repositories.

    dcos package repo add --index=0 edgelb-aws \
      https://<AWS S3 bucket>/stub-universe-edgelb.json
    dcos package repo add --index=0 edgelb-pool-aws \
      https://<AWS S3 bucket>/stub-universe-edgelb-pool.json
    
  4. Install the new apiserver (use the service account created when installing the previous version, see Edge-LB Installation Guide for more information).

    tee edgelb-options.json <<EOF
    {
      "service": {
        "secretName": "dcos-edgelb/edge-lb-secret",
        "principal": "edgelb-principal"
      }
    }
    EOF
    dcos package install --options=edgelb-options.json edgelb
    
  5. Upgrade each pool.

    dcos edgelb update <pool-file>