From 4cf3ad161f8faa62b472b2c67d3f0cd69055e03d Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Sun, 10 Jan 2021 16:54:31 -0600 Subject: [PATCH] command: bump connect examples to v3 Nomad v1.0+ combined with Consul 1.9+ support launching Envoy v1.16+ which is the first version of envoy to support arm64 platforms out of the box. By rebuilding our example docker containers for connect to be multiplatform between amd64 and arm64, Nomad can provide a nicer user experience for those trying out Connect on arm64 machines (e.g. AWS Graviton instances or Raspberry Pi 4's). This has been done for the countdash examples at v3. https://hub.docker.com/layers/hashicorpnomad/counter-dashboard/v3/images/sha256-94e323587bc372ba1b6ca5c58dc23e291e9d26787b50e71025f1c8967dfbcd07?context=repo https://hub.docker.com/layers/hashicorpnomad/counter-api/v3/images/sha256-16a9e9e08082985a635c9edd0f258b084153c6c7831a9b41d34bde78c308b65c?context=repo The connect-native examples are now also multiplatform at v5, but we don't have them built into `job init`. --- command/assets/connect-short.nomad | 4 ++-- command/assets/connect.nomad | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/command/assets/connect-short.nomad b/command/assets/connect-short.nomad index 65e507a9c..afb016483 100644 --- a/command/assets/connect-short.nomad +++ b/command/assets/connect-short.nomad @@ -19,7 +19,7 @@ job "countdash" { driver = "docker" config { - image = "hashicorpnomad/counter-api:v1" + image = "hashicorpnomad/counter-api:v3" } } } @@ -58,7 +58,7 @@ job "countdash" { } config { - image = "hashicorpnomad/counter-dashboard:v1" + image = "hashicorpnomad/counter-dashboard:v3" } } } diff --git a/command/assets/connect.nomad b/command/assets/connect.nomad index af14db966..602c3691f 100644 --- a/command/assets/connect.nomad +++ b/command/assets/connect.nomad @@ -313,7 +313,7 @@ job "countdash" { # are specific to each driver, so please see specific driver # documentation for more information. config { - image = "hashicorpnomad/counter-api:v1" + image = "hashicorpnomad/counter-api:v3" } # The "artifact" stanza instructs Nomad to download an artifact from a @@ -457,7 +457,7 @@ job "countdash" { } config { - image = "hashicorpnomad/counter-dashboard:v1" + image = "hashicorpnomad/counter-dashboard:v3" } } }