Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't SSH/List region based autoscaled instances #147

Closed
RichieHowell opened this issue Apr 1, 2020 · 1 comment · Fixed by #148
Closed

Can't SSH/List region based autoscaled instances #147

RichieHowell opened this issue Apr 1, 2020 · 1 comment · Fixed by #148
Assignees
Labels
bug Something isn't working priority:critical Can not release without

Comments

@RichieHowell
Copy link
Contributor

I have created several instances from a region based autoscale and instance group manager but the instances do not show up in gyro list or gyro ssh.

google::compute-region-instance-group-manager frontend
    name: $(google::compute-instance-template frontend).name
    base-instance-name: "$(project)-frontend-prod-v$(serial)-$(brightspot-build)"
    description: "Instance group manager to launch frontends $(brightspot-build)"
    instance-template: $(google::compute-instance-template frontend)
    target-size: 2
    region: $(base-region)
end

google::compute-region-autoscaler frontend
    name: $(google::compute-instance-template frontend).name
    description: "Autoscaler to launch frontends $(brightspot-build)"
    autoscaling-policy
        cpu-utilization
            utilization-target: 0.6
        end
        cool-down-period-sec: 300
        min-num-replicas: 2
        max-num-replicas: 6
    end
    instance-group-manager: $(google::compute-region-instance-group-manager frontend)
    region: $(base-region)
end
@deepanjan90 deepanjan90 added bug Something isn't working priority:critical Can not release without labels Apr 1, 2020
@RichieHowell
Copy link
Contributor Author

RichieHowell commented Apr 1, 2020

#148 Worked for me both through a jump host and with a direct connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:critical Can not release without
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants