Complete the following instructions to configure the Linux administration machine:
gcloud auth login |
gcloud config set project PROJECT_ID |
gcloud components install kubectl |
gcloud services enable servicemanagement.googleapis.com servicecontrol.googleapis.com |
gcloud iam service-accounts create baremetal-gcr |
gcloud iam service-accounts keys create gcr.json \ --iam-account=baremetal-gcr@PROJECT_ID.iam.gserviceaccount.com \ --project=PROJECT_ID |
cd ~ mkdir baremetal cd baremetal gcloud auth activate-service-account --key-file=gcr.json |
bmctl, is a utility to streamline the creation of Anthos clusters on bare metal. This utility automates the setting up of Google service accounts and API's which are required to setup the Anthos clusters on bare metal.
gsutil cp gs://anthos-baremetal-release/bmctl/0.5.0-gke.2/linux/bmctl . chmod a+x bmctl |
gcloud config set account EMAIL_ADDRESS |
where EMAIL_ADDRESS is the email address of the account gcloud should use for authentication.
./bmctl -h |