chore(components): AWS SageMaker tests enable ssm on eks worker nodes (#5437)

This commit is contained in:
Suraj Kota 2021-04-06 18:31:01 -07:00 committed by GitHub
parent 90f1f0c9d6
commit 52b40ed1ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
jq
# Install eksctl
RUN curl --location "https://github.com/weaveworks/eksctl/releases/download/0.19.0/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp \
RUN curl --location "https://github.com/weaveworks/eksctl/releases/download/0.43.0/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp \
&& mv /tmp/eksctl /usr/local/bin
# Install aws-iam-authenticator

View File

@ -110,7 +110,7 @@ function launch_eks() {
[ ! -z "${EKS_PUBLIC_SUBNETS}" ] && eksctl_args+=( --vpc-public-subnets="${EKS_PUBLIC_SUBNETS}" )
[ ! -z "${EKS_PRIVATE_SUBNETS}" ] && eksctl_args+=( --vpc-private-subnets="${EKS_PRIVATE_SUBNETS}" )
eksctl create cluster "${EKS_CLUSTER_NAME}" "${eksctl_args[@]}"
eksctl create cluster "${EKS_CLUSTER_NAME}" "${eksctl_args[@]}" --enable-ssm
aws eks update-kubeconfig --name "$EKS_CLUSTER_NAME" --region "$REGION"