chore(components): AWS SageMaker tests enable ssm on eks worker nodes (#5437)
This commit is contained in:
parent
90f1f0c9d6
commit
52b40ed1ac
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue