Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error exec "cluster/kube-up.sh". aws without public ip  #11201

@ardemiranda

Description

@ardemiranda

When you run the "Cluster / kube.up.sh" error below

./../cluster/aws/util.sh: line 182: get_instance_private_ip: command not found

i add the function in cluster/aws/util.s

function get_instance_private_ip {
  local instance_id=$1
  $AWS_CMD --output text describe-instances \
    --instance-ids ${instance_id} \
    --query Reservations[].Instances[].NetworkInterfaces[0].PrivateIpAddress
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions