Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Deploy failed for AWS; KfApp initiliazation failed: (kubeflow.error): Code 500 with message: coordinator Init failed for aws: (kubeflow.error): Code 400 with message: Could not find command aws-iam-authenticator in PATH #496

Open
pranaysawant opened this issue Jul 2, 2021 · 1 comment

Comments

@pranaysawant
Copy link

pranaysawant commented Jul 2, 2021

I am following this documentation to deploy k85 on Ubuntu VMware machine hosted on windows. And trying to install kubeflow in ubuntu machine. I am facing below errors.

My machine details: Ubuntu 18.04.5 LTS
Error:

No name specified in KfDef.Metadata.Name; defaulting to kubeflow-demo-1 based on location of config file: /home/pranay/k8s/kubeflow-demo-1/kfctl_aws.yaml. filename="coordinator/coordinator.go:202"
Error: failed to build kfApp from URI /home/pranay/k8s/kubeflow-demo-1/kfctl_aws.yaml: KfApp initiliazation failed: (kubeflow.error): Code 500 with message: coordinator Init failed for aws: (kubeflow.error): Code 400 with message: Could not find command aws-iam-authenticator in PATH
Usage:
kfctl apply -f ${CONFIG} [flags]

Flags:
--context string Optional kubernetes context to use when applying resources. Currently not used by KFDef resources.
-f, --file string Static config file to use. Can be either a local path:
export CONFIG=./kfctl_gcp_iap.yaml
or a URL:
export CONFIG=https://raw.githubusercontent.com/kubeflow/manifests/v1.0-branch/kfdef/kfctl_gcp_iap.v1.0.0.yaml
export CONFIG=https://raw.githubusercontent.com/kubeflow/manifests/v1.2-branch/kfdef/kfctl_istio_dex.v1.2.0.yaml
export CONFIG=https://raw.githubusercontent.com/kubeflow/manifests/v1.2-branch/kfdef/kfctl_aws.v1.2.0.yaml
export CONFIG=https://raw.githubusercontent.com/kubeflow/manifests/v1.2-branch/kfdef/kfctl_k8s_istio.v1.2.0.yaml
kfctl apply -V --file=${CONFIG}
-h, --help help for apply
-V, --verbose verbose output default is false

kfctl exited with error: failed to build kfApp from URI /home/pranay/k8s/kubeflow-demo-1/kfctl_aws.yaml: KfApp initiliazation failed: (kubeflow.error): Code 500 with message: coordinator Init failed for aws: (kubeflow.error): Code 400 with message: Could not find command aws-iam-authenticator in PATH

I have followed below steps:

step 1:
Downloaded tar file "kfctl_v1.2.0-0-gbc038f9_linux.tar.gz" from https://github.com/kubeflow/kfctl/releases/tag/v1.2.0.

step 2:
Extract tar file using
tar -xvf kfctl_v1.2.0_.tar.gz
export PATH=$PATH:$PWD
(in ubuntu home directory)

step 3:
verified installation using below command,
ls -lrt kfctl
-rwxr-xr-x 1 pranay pranay 83424955 Nov 20 2020 kfctl

step 4:
export CONFIG_URI="https://raw.githubusercontent.com/kubeflow/manifests/v1.2-branch/kfdef/kfctl_aws_cognito.v1.2.0.yaml"
export AWS_CLUSTER_NAME=
mkdir ${AWS_CLUSTER_NAME} && cd ${AWS_CLUSTER_NAME}
wget -O kfctl_aws.yaml $CONFIG_URI

after downloading and renaming above yaml file. I fired

step 5:
kfctl apply -V -f kfctl_aws.yaml

And got above error. How to solve this?

@rc-coderepo
Copy link

@pranaysawant where is your kubernetes cluster running? I think the configuration you are trying to run will work only one AWS AKS service.

If your kubernetes is running on VMWare installed on top of Windows, you need to follow the instructions from here -- for v1.2
and for v1.3.0

You will need 2-4 CPU and 8-12GB RAM to run all the components.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants