Skip to content

Latest commit

 

History

History
81 lines (66 loc) · 2.66 KB

TOOLS_INSTALLATION_AWS.md

File metadata and controls

81 lines (66 loc) · 2.66 KB

NOTE: AWS環境にデプロイする際に必要になるツールのインストール手順。今回は対象外。

awscli

$ asdf plugin add awscli
$ asdf install awscli 2.12.6
$ asdf local  awscli 2.12.6
$ aws --version
aws-cli/2.12.6 Python/3.11.4 Darwin/22.5.0 exe/x86_64 prompt/off

terraform

https:/hashicorp/terraform

$ asdf plugin-add terraform https:/asdf-community/asdf-hashicorp.git
$ asdf install terraform 1.5.2
$ asdf local terraform 1.5.2
$ terraform version
Terraform v1.5.2
on darwin_arm64
+ provider registry.terraform.io/hashicorp/aws v5.0.1
+ provider registry.terraform.io/hashicorp/cloudinit v2.3.2
+ provider registry.terraform.io/hashicorp/helm v2.5.1
+ provider registry.terraform.io/hashicorp/kubernetes v2.11.0
+ provider registry.terraform.io/hashicorp/random v3.5.1
+ provider registry.terraform.io/hashicorp/time v0.9.1
+ provider registry.terraform.io/hashicorp/tls v4.0.4

Kubernetes

kubectl

トラブルを避けるため、サーバ側と同じバージョンのkubectlをインストールしてください。

$ KUBECTL_VERSION=1.27.3
$ asdf plugin-add kubectl https:/asdf-community/asdf-kubectl.git
$ asdf install kubectl $KUBECTL_VERSION
$ asdf local kubectl $KUBECTL_VERSION # Always set up in the project root.
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.13", GitCommit:"80ec6572b15ee0ed2e6efa97a4dcd30f57e68224", GitTreeState:"clean", BuildDate:"2022-05-24T12:40:44Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"darwin/arm64"}
Server Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.12-eks-a64ea69", GitCommit:"d4336843ba36120e9ed1491fddff5f2fec33eb77", GitTreeState:"clean", BuildDate:"2022-05-12T18:29:27Z", GoVersion:"go1.16.15", Compiler:"gc", Platform:"linux/amd64"}

stern

$ asdf plugin-add stern https:/looztra/asdf-stern
$ asdf install stern 1.25.0
$ asdf local stern 1.25.0
$ stern --version
version: 1.25.0
commit: f13bde422e977c7a69ec0827c0337b2bc8e44444
built at: 2023-04-13T23:06:41Z

helm

$ asdf plugin-add helm https:/Antiarchitect/asdf-helm.git
$ asdf install helm 3.12.1
$ asdf local helm 3.12.1
$ helm version
version.BuildInfo{Version:"v3.12.1", GitCommit:"f32a527a060157990e2aa86bf45010dfb3cc8b8d", GitTreeState:"clean", GoVersion:"go1.20.4"}
# Required plug-ins in helmfile
$ helm plugin install https:/databus23/helm-diff

helmfile

$ asdf plugin-add helmfile https:/feniix/asdf-helmfile.git
$ asdf install helmfile 0.155.0
$ asdf local helmfile 0.155.0
$ helmfile --version
helmfile version v0.155.0