Skip to content

AWS EKS configuration question #5

@john-b-yang

Description

@john-b-yang

Hi SkyRL team! I'm working through the tutorial for deploying OpenHands on Kubernetes here.

I was able to create an EKS cluster successfully:

eksctl create cluster --name openhands-cluster --region us-west-1 --version 1.32 --vpc-private-subnets subnet-1,subnet-2 --without-nodegroup

I'm trying to do the step of creating the nodegroup

eksctl create nodegroup --config-file nodegroup.yaml

nodegroup.yaml Configuration

Configuration:

apiVersion: eksctl.io/v1alpha5
kind: ClusterConfig
metadata:
  name: openhands-cluster
  # change as needed
  region: us-west-1

nodeGroups:
  - name: nvme-storage-2
    instanceType: i4i.4xlarge
    desiredCapacity: 8
    privateNetworking: false
    volumeSize: 50
    labels:
      node-group: nvme-storage
    securityGroups:
      # Change this to your security group ID
      attachIDs: [sg-...]
    preBootstrapCommands:
      - apt install -y xfsprogs
      # Mount the NVME volume
      - if ! grep -qs '/mnt/nvme' /proc/mounts; then mkfs.xfs -f /dev/nvme1n1; mkdir -p /mnt/nvme; mount /dev/nvme1n1 /mnt/nvme; echo "/dev/nvme1n1 /mnt/nvme xfs defaults 0 0" >> /etc/fstab; fi

I'm running into this error:

Error: all public subnets from vpc-..., that the cluster was originally created on, have been deleted; to create public nodegroups within vpc-... please manually set valid public subnets via nodeGroup.SubnetIDs

The error message is fairly explanatory, but I'm not sure how to go about making the subnets public? I am an AWS newbie, so this is my first time using a lot of these AWS features.

Also, at what point am I supposed to follow these instructions to run the OpenHands remote runtime? Is it after I've finished up the steps in the k8s deployment tutorial?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions