No shards found

Hello

I’ve applied Percona Operator 1.7.0 on GKE. Installation, admin DB access is ok.

But if I create a collection, I get the following error :

percona-client:

mongos> db.createCollection(“2222”);
{
“ok” : 0,
“errmsg” : “Database 1111 could not be created :: caused by :: No shards found”,
“code” : 70,
“codeName” : “ShardNotFound”,
“operationTime” : Timestamp(1622495235, 2),

}
}

From google console everything looks ok. If I connect directly to the rs0-1/2/3 pods then it works. But the problem is, that this is not the idea of sharding ?!

1 Like

It’s always funny if you deliver the answer by yourself. For the sake of the Percona community:

In cr.yaml file the commented section of sidecars/busybox has to be enabled. So far looks ok.

1 Like