Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 539 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 539 Bytes

integration-k8s-aws

Integration K8s AWS runs NSM system tests on an AWS EKS instance.

Effectively you need just set these environment variables and create clusters

KUBECONFIG
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_CLUSTER_NAME

Create cluster

eksctl create cluster  \
    --name "${AWS_CLUSTER_NAME}" \
    --version 1.27 \
    --nodegroup-name "${AWS_CLUSTER_NAME}-workers" \
    --node-type t3.xlarge \
    --nodes 2

Destroy cluster

eksctl delete cluster --name "${AWS_CLUSTER_NAME}"