You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. What kops version are you running? The command kops version, will display
this information.
1.19.1
1.20.0-beta.1
Bug occurs in both versions.
2. What Kubernetes version are you running? kubectl version will print the
version if a cluster is running or provide the Kubernetes version specified as
a kops flag.
1.20.2
3. What cloud provider are you using?
Google Compute Engine
4. What commands did you run? What is the simplest way to reproduce this issue?
Created a basic GCE cluster as per documentation. In my configuration, api.dev.k8s.local was the name of my cluster, and us-east1-b was the zone I selected for my cluster. After creating the cluster, run the following.
Replacing the values for that Deployment spec field resolves the issue.
7. Please provide your cluster manifest. Execute kops get --name my.example.com -o yaml to display your cluster manifest.
You may want to remove your cluster name and other sensitive information.
8. Please run the commands with most verbose logging by adding the -v 10 flag.
Paste the logs into this report, or in a gist and provide the gist link here.
9. Anything else do we need to know?
The text was updated successfully, but these errors were encountered:
MoSheikh
changed the title
Incorrect deployment command syntax for cluster-autoscaler on GCE
Incorrect deployment command format for cluster-autoscaler on GCE causing "Back-off restarting failed container" loop
Feb 26, 2021
1. What
kops
version are you running? The commandkops version
, will displaythis information.
1.19.1
1.20.0-beta.1
Bug occurs in both versions.
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.20.2
3. What cloud provider are you using?
Google Compute Engine
4. What commands did you run? What is the simplest way to reproduce this issue?
Created a basic GCE cluster as per documentation. In my configuration, api.dev.k8s.local was the name of my cluster, and us-east1-b was the zone I selected for my cluster. After creating the cluster, run the following.
5. What happened after the commands executed?
The cluster-autoscaler pod created by kops get stuck in the following event:
Back-off restarting failed container
Kops creates the a cluster-autoscaler deployment file with a spec.containers[0].command array that included the following line:
--nodes=1:1:nodes-us-east1-b.api.example.k8s.local
Which is in the format of:
--nodes=<minNodes>:<maxNodes>:<instanceGroupName>.<clusterName>
6. What did you expect to happen?
The above command should be
--nodes=1:1:nodes-us-east1-b
Which is in the format of:
--nodes=<minNodes>:<maxNodes>:<instanceGroupName>
Replacing the values for that Deployment spec field resolves the issue.
7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest.You may want to remove your cluster name and other sensitive information.
8. Please run the commands with most verbose logging by adding the
-v 10
flag.Paste the logs into this report, or in a gist and provide the gist link here.
9. Anything else do we need to know?
The text was updated successfully, but these errors were encountered: