Open hyde404 opened 4 months ago
Hi @hyde404 we are facing the same issue. have you resolved this issue?
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen
. Mark the issue as
fresh by adding the comment /remove-lifecycle stale
.
/remove-lifecycle stale
Hi @hyde404,
The object has been modified; please apply your changes to the latest version
is a transient error, you can ignore it.
Do you have a setup so I can try reproduce the issue? It seems that the deployment is missing for some reason. Did you update your service somehow when the autoscaler kicked in?
Ask your question here:
Hello,
I'm setting up an infrastructure based on scale-to-zero, and therefore scale-from-zero too. To do this, we're using the now-familiar "cluster autoscaler", coupled with cluster API (specifically the machineDeployment resource with some annotations).
The node scaling is working fine.
For the moment, I'm just trying to create an "autoscaler-go" knative service, from the cluster where no node is available. The resource is then "pending", which is expected.
Here is the configuration I used to create the service:
After a few minutes, the pod is still pending, but we get an event that says the cluster autoscaler has been triggered.
When the node is available, the pod is created and running.
However, the service is not ready, and the revision is not created.
This is the events I get from the revision
The
PodAutoscaler
resource is not ready, and theDesiredScale
is 0.the events from the
PodAutoscaler
resourceI got error logs from the autoscaler pod
PodAutoscaler
resource:Changed reachability manually from "Unreachable" to "" and Changed desiredScale manually from "0" to "1"
The configuration I tried
I started to play with the configuration in an attempt to find the parameter that would unlock everything, but this was not successful. Please note that the values are intentionally exaggerated in an attempt to highlight a pattern.
config-autoscaler:
config-deployment:
config-defaults:
The problem I'm facing
I'm not sure what I'm doing wrong. It looks like the revision has no reconciler, but I'm not sure.
The pod is running and the service is created, but the revision is not, which is why the service is not ready, and it's a bit of a mystery.
Could you please help me understand what is wrong with my configuration?