I'm trying to use the RestateDeployment CRD, but I'm getting these errors.
I get this in the CRD:
failed to apply object: Failed to make Restate admin API call: HTTP status server error (500 Internal Server Error) for url (http://restate.restate.svc.cluster.local:9070/deployments)
And this one in the Restate operator:
2025-10-06T20:56:05.864516Z DEBUG reconciling object:reconcile: restate_operator::controllers::restatedeployment::reconcilers::service: Applying Service my-app-dbcbbcc758 in namespace stag object.ref=RestateDeployment.v1beta1.restate.dev/my-app.stag object.reason=error policy requested retry
2025-10-06T20:56:05.891310Z DEBUG reconciling object:reconcile: restate_operator::controllers::restatedeployment::controller: Registering endpoint 'http://my-app-dbcbbcc758.stag.svc.cluster.local:9080/' to Restate at 'RestateCluster/restate' object.ref=RestateDeployment.v1beta1.restate.dev/my-app.stag object.reason=error policy requested retry
2025-10-06T20:56:05.904285Z DEBUG reconciling object:reconcile: restate_operator::controllers::restatedeployment::controller: Updating status of RestateDeployment my-app in namespace stag object.ref=RestateDeployment.v1beta1.restate.dev/my-app.stag object.reason=error policy requested retry
2025-10-06T20:56:05.926268Z WARN reconciling object:reconcile: restate_operator::controllers::restatedeployment::controller: reconcile failed: ApplyFailed(AdminCallFailed(reqwest::Error { kind: Status(500), url: "http://restate.restate.svc.cluster.local:9070/deployments" })) object.ref=RestateDeployment.v1beta1.restate.dev/my-app.stag object.reason=error policy requested retry
And this in the restate pod (also here I'm not sure why it tries to use port 9080, because the container port is 8080):
{"timestamp":"2025-10-06T20:58:36.624137Z","level":"WARN","fields":{"error":"error when calling 'http://my-app-dbcbbcc758.my-namespace.svc.cluster.local:9080/': server possibly supports only HTTP1.1, consider discovery with --use-http1.1.\nReason: client error (SendRequest) caused by: http2 error caused by: connection error detected: frame with invalid size","restate.error.code":"META0014"},"target":"restate_admin::rest_api::deployments","span":{"peer_addr":"10.42.3.30:60550","name":"SocketHandler"},"spans":[{"network.transport":"tcp","server.address":"0.0.0.0","server.port":9070,"server_name":"admin-api-server","name":"server"},{"peer_addr":"10.42.3.30:60550","name":"SocketHandler"}]}
I'm registering the CRD like this:
...
restate:
register:
cluster: restate
....
I'm trying to use the RestateDeployment CRD, but I'm getting these errors.
I get this in the CRD:
And this one in the Restate operator:
And this in the restate pod (also here I'm not sure why it tries to use port 9080, because the container port is 8080):
I'm registering the CRD like this: