Skip to content

Updating RunC

1
postgres_role: <the name sub-property of the postgres property>

Garden's RunC version is specified in your Concourse deployment's versions.yml file. When you pull the release/4.2.x branch or a tagged release such as v4.2.4 from the concourse-bosh-deployment repository, the new versions.yml file includes any updates to the RunC version.

Update the RunC Version Separately from Concourse

You can update the RunC version without pulling a new branch or tagged release of Concourse. To do so, do the following:

  1. Open the deployment's versions.yml file and look for the garden_runc_sha1 and garden_runc_version properties.

    1
    2
    3
    4
    5
    # before
    ...
    garden_runc_version: '1.12.1'
    garden_runc_sha1: '09asdg09ausdf09uasd09f'
    ...
    
  2. Change the garden_runc_sha1 and garden_runc_version.

    For example:

    1
    2
    3
    4
    5
    # after
    ...
    garden_runc_version: '1.18.2'
    garden_runc_sha1: '90u25lkjsdlfknasasdfdf'
    ...
    

    For Concourse v4.2.4, Pivotal recommends that you use 1.18.2 for the garden_runc_version.

  3. If you have a BOSH deploy script, run it to trigger the update. If you do not have a deploy script, create one using the following snippet as a template:

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    bosh deploy -d concourse concourse.yml \
    -l versions.yml \
    --vars-store cluster-creds-4.2.yml \
    -o ./cluster/operations/static-web.yml \
    -o ./cluster/operations/basic-auth.yml \
    -o ./cluster/operations/bbr.yml \
    -o ./cluster/operations/privileged-http.yml \
    -o ./cluster/operations/web-network-vm-extension.yml \
    --var local_user.username=YOUR-USERNAME \
    --var local_user.password=YOUR-PASSWORD \
    --var web_ip=WEB-IP \
    --var external_url=EXTERNAL-URL \
    --var network_name=NETWORK-NAME \
    --var web_vm_type=WEB-VM-TYPE \
    --var db_vm_type=DATABASE-VM-TYPE \
    --var db_persistent_disk_type=DATABASE-PERSISTENT-DISK-TYPE \
    --var worker_vm_type=WORKER-VM-TYPE \
    --var web_network_name=WEB-NETWORK-NAME \
    --var web_network_vm_extension=WEB-NETWORK-VM-EXTENSION \
    --var postgres_role=POSTGRES-ROLE \
    --var deployment_name=DEPLOYMENT-NAME
    

Success

When you deploy, you should see the new version in the diff that is displayed.