-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Wrong SSH username on GCE #16642
Comments
@DerrickMartinez what image are you using for your instances and what is the cluster creation command? |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/kind bug
1. What
kops
version are you running? The commandkops version
, will displaythis information.
v1.29.0
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.1.29.5
3. What cloud provider are you using?
GCP
4. What commands did you run? What is the simplest way to reproduce this issue?
After an instance is in service you cannot SSH. The SSH username is set to admin, not ubuntu.
Here is a valid, working instance template that it should look like
It looks like fi.SecretNameSSHPrimary is a const of admin
pkg/model/gcemodel/autoscalinggroup.go: gFmtKeys = append(gFmtKeys, fmt.Sprintf("%s: %s", fi.SecretNameSSHPrimary, key))
I would be willing to submit a PR depending on how we want to fix this.
The text was updated successfully, but these errors were encountered: