解決したい課題
kubectlを使用できるようにしたい。
試したこと
・kubectlのインストール
choco install kubectl
Chocolatey v0.10.15 Installing the following packages: kubectl By installing you accept licenses for the packages. kubectl not installed. The package was not found with the source(s) listed. Source(s): 'https://chocolatey.org/api/v2/' NOTE: When you specify explicit sources, it overrides default sources. If the package version is a prerelease and you didn't specify `--pre`, the package may not be found. Please see https://chocolatey.org/docs/troubleshooting for more assistance. Chocolatey installed 0/1 packages. 1 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). Failures - kubectl - kubectl not installed. The package was not found with the source(s) listed. Source(s): 'https://chocolatey.org/api/v2/' NOTE: When you specify explicit sources, it overrides default sources. If the package version is a prerelease and you didn't specify `--pre`, the package may not be found. Please see https://chocolatey.org/docs/troubleshooting for more assistance.
現状
kubectl version
An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:iam::015061834696:user/narururu is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::015061834696:user/naruko Client Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.13-eks-2ba888", GitCommit:"2ba888155c7f8093a1bc06e3336333fbdb27b3da", GitTreeState:"clean", BuildDate:"2020-07-17T19:05:56Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"windows/amd64"} Unable to connect to the server: getting credentials: exec: exit status 254
どうすればkubectlを使用できるようになりますでしょうか。
ご教示いただけますでしょうか。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/10/27 10:50
2020/10/28 01:30
2020/10/28 10:54
2020/10/28 12:57
2020/10/28 14:05 編集
2020/10/28 14:21
2020/10/29 01:03
2020/10/29 02:44