I’m using AWS EKS service. The etcd parameter max-request-bytes is set to 1.5 Mb and is not editable (even support cannot edit it).
I’ve started a percona operator on a cluster that was not yet ready for it. The PerconaServerMongoDB resource was created and was unsuccessfully trying to start pods. Finally, I fix the issues with the cluster and the pods got started.
Recently I was trying to update the operator but got the error etcd request too large
. It appears all the attempts of starting the cluster are logged in the perconaservermongodbs object .status.conditions.
$ kubectl get perconaservermongodbs project-dev-app1-pmongo -o yaml | grep lastTransitionTime | wc -l
17250
$
The resource is full of lines like these:
- lastTransitionTime: “2020-01-22T08:43:23Z”
status: “True”
type: ClusterInitializing - lastTransitionTime: “2020-01-22T08:43:26Z”
status: “True”
type: ClusterInitializing - lastTransitionTime: “2020-01-22T08:43:29Z”
status: “True”
type: ClusterInitializing
The size of the object is slightly more than 1.5 MB and i cannot edit it. I found no way of removing these lines from the object…
Does anyone have the same issue? Is there a way to edit the CRD object not deleting it?
PS kubectl edit perconaservermongodbs project-dev-app1-pmongo is not working. it reports the object is edited but it is not.