[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-07-09。"],[],[],null,["This page provides commands to download and verify the following artifacts for\nGoogle Distributed Cloud (software only) for bare metal (formerly known as\nGoogle Distributed Cloud Virtual, previously known as Anthos\nclusters on bare metal):\n\n- `bmctl` command-line tool.\n- Google Distributed Cloud software offline container images package.\n\nThis page is for Admins and architects and Operators who manage the\nlifecycle of the underlying tech infrastructure. To learn more about common\nroles and example tasks that we reference in Google Cloud content, see\n[Common GKE user roles and tasks](/kubernetes-engine/enterprise/docs/concepts/roles-tasks).\n\nSign in\n\nSign in with any Google Account: \n\n gcloud auth login\n\nDownload `bmctl`\n\n`bmctl` is the command-line tool for Google Distributed Cloud that simplifies\ncluster creation and management. For more information about what you can do with\n`bmctl`, see [`bmctl` tool](/kubernetes-engine/distributed-cloud/bare-metal/docs/reference/bmctl).\n\nFrom your Linux admin workstation, use the following commands to download\n`bmctl` and make it executable: \n\n gcloud storage cp gs://anthos-baremetal-release/bmctl/\u003cvar translate=\"no\"\u003eVERSION\u003c/var\u003e/linux-amd64/bmctl .\n\n chmod +x ./bmctl\n\nReplace \u003cvar scope=\"VERSION\" translate=\"no\"\u003eVERSION\u003c/var\u003e with the version of\nGoogle Distributed Cloud you want to install or upgrade your clusters to. Here's the\nlist of the latest patch versions for supported minor versions:\n\n- 1.32.400-gke.68\n- 1.31.800-gke.32\n- 1.30.1200-gke.63\n\nFor a list of all available versions, see [Version\nhistory](/kubernetes-engine/distributed-cloud/bare-metal/docs/version-history).\n\nVerify `bmctl` using `openssl`\n\nVerify the `bmctl` binary against the public key using `openssl`, where\n\u003cvar scope=\"VERSION\" translate=\"no\"\u003eVERSION\u003c/var\u003e is the file's version:\n\n1. If you haven't already, write the pubic key to a file, `public.key`:\n\n cat \u003c\u003c EOF \u003e public.key\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ\n wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==\n -----END PUBLIC KEY-----\n EOF\n\n2. Download the digital signature file for the specific version of `bmctl` that\n you downloaded:\n\n gcloud storage cp gs://anthos-baremetal-release/bmctl/\u003cvar scope=\"VERSION\" translate=\"no\"\u003eVERSION\u003c/var\u003e/linux-amd64/bmctl.1.sig .\n\n3. Use OpenSSL to verify the signature:\n\n openssl dgst -verify public.key -signature ./bmctl.1.sig ./bmctl\n\n Expected output of this command is `Verified OK`.\n\nDownload the images package\n\nYou only need the images package if you plan on setting up a\n[registry mirror](/kubernetes-engine/distributed-cloud/bare-metal/docs/installing/registry-mirror). The package provides\nall of the container images used by Google Distributed Cloud for the specified\nversion. Make sure the package you download is the same version as the `bmctl`\ndownload.\n\nFrom your Linux admin workstation, run the following command to download the package: \n\n gcloud storage cp gs://anthos-baremetal-release/bmctl/\u003cvar scope=\"VERSION\" translate=\"no\"\u003eVERSION\u003c/var\u003e/linux-amd64/bmpackages_\u003cvar scope=\"VERSION\" translate=\"no\"\u003eVERSION\u003c/var\u003e.tar.xz .\n\nVerify the images package using `openssl`\n\nVerify the images package binary against the public key using `openssl`, where\n\u003cvar scope=\"VERSION\" translate=\"no\"\u003eVERSION\u003c/var\u003e is the file's version:\n\n1. If you haven't already, write the pubic key to a file, `public.key`:\n\n cat \u003c\u003c EOF \u003e public.key\n -----BEGIN PUBLIC KEY-----\n MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ\n wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==\n -----END PUBLIC KEY-----\n EOF\n\n2. Download the digital signature file for the specific version of `bmctl` that\n you downloaded:\n\n gcloud storage cp gs://anthos-baremetal-release/bmctl/\u003cvar scope=\"VERSION\" translate=\"no\"\u003eVERSION\u003c/var\u003e/linux-amd64/bmpackages_\u003cvar scope=\"VERSION\" translate=\"no\"\u003eVERSION\u003c/var\u003e.tar.xz.1.sig .\n\n3. Use OpenSSL to verify the signature:\n\n openssl dgst -verify public.key -signature \\\n ./bmpackages_\u003cvar scope=\"VERSION\" translate=\"no\"\u003eVERSION\u003c/var\u003e.tar.xz.1.sig \\\n ./bmpackages_\u003cvar scope=\"VERSION\" translate=\"no\"\u003eVERSION\u003c/var\u003e.tar.xz\n\n Expected output of this command is `Verified OK`."]]