0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Chromebook 上で Cloud Foundation Toolkit (CFT) のインストール

Posted at

Chromebook の Linux ターミナルを使って、Cloud Foundation Toolkit (DM) による Infrastructure as Code 環境セットアップに関する備忘録。

CFT best practice

  • config ファイルは、まとめて一つにするのではなく、コンポーネントごとに分けて作っておく

Chromebook Linux ターミナル上での作業

複数の config ファイル (yaml) を指定して、依存関係に従い順番に適用されるようにするには、個別の gcloud deployment-manager コマンドで都度実行するのではなく、cft を使うのがベターということで、まずは CFT をインストールする。

手順に従いインストールすすめようとするといきなり以下のようなエラーがでる。

erro
$ sudo make cft-prerequisites
python3 -m pip install -r requirements/prerequisites.txt
/usr/bin/python3: No module named pip
Makefile:26: recipe for target 'cft-prerequisites' failed
make: *** [cft-prerequisites] Error 1

リンク先のインストールガイドには python2.7 と書いてあるが、最新のコードでは python3 を使うことになっているので、Chromebook linux ターミナルで python3 の PIP をインストールする。

teminal
sudo apt install python3-venv python3-pip
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?