# Create Replicasset MongoDB avec Kuberntes Operator

**URL:** <https://forums.percona.com/t/create-replicasset-mongodb-avec-kuberntes-operator/7647>\
**Category:** Percona Operator for MongoDB\
**Created:** [May 22, 2020, 3:21am UTC](https://forums.percona.com/t/create-replicasset-mongodb-avec-kuberntes-operator/7647 "2020-05-22T03:21:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbcoder](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@dbcoder](https://forums.percona.com/u/dbcoder)\
**Post date:** [May 22, 2020, 3:21am UTC](https://forums.percona.com/t/create-replicasset-mongodb-avec-kuberntes-operator/7647/1 "2020-05-22T03:21:57Z")

</div>

I&nbsp; am trying to deploy a MongoDB replication followning this tutorials [Install Percona server for MongoDB on Kubernetes](https://www.percona.com/doc/kubernetes-operator-for-psmongodb/kubernetes.html) . When I start the replicas, I get the following logs:  
  
2020-05-22T08:26:14.671+0000 I&nbsp; CONTROL&nbsp; [initandlisten] \*\* WARNING: While invalid X509 certificates may be used to  
2020-05-22T08:26:14.671+0000 I&nbsp; CONTROL&nbsp; [initandlisten] \*\*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; connect to this server, they will not be considered  
2020-05-22T08:26:14.671+0000 I&nbsp; CONTROL&nbsp; [initandlisten] \*\*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; permissible for authentication.  
  
2020-05-22T08:26:23.029+0000 I&nbsp; NETWORK&nbsp; [listener] connection accepted from X.X.X.X:44528 #2 (2 connections now open)  
2020-05-22T08:26:23.030+0000 I&nbsp; NETWORK&nbsp; [conn2] end connection X.X.X.X:44528 (1 connection now open)  
2020-05-22T08:26:26.029+0000 I&nbsp; NETWORK&nbsp; [listener] connection accepted from 172.16.4.61:44548 #3 (2 connections now open)  
2020-05-22T08:26:26.030+0000 I&nbsp; NETWORK&nbsp; [conn3] end connection X.X.X.X:44548 (1 connection now open)  
2020-05-22T08:26:28.721+0000 I&nbsp; NETWORK&nbsp; [conn1] end connection X.X.X.X:40656 (0 connections now open)  
2020-05-22T08:26:29.029+0000 I&nbsp; NETWORK&nbsp; [listener] connection accepted from X.X.X.X:44580 #4 (1 connection now open)  
2020-05-22T08:26:29.029+0000 I&nbsp; NETWORK&nbsp; [conn4] end connection X.X.X.X:44580 (0 connections now open)  
2020-05-22T08:26:32.029+0000 I&nbsp; NETWORK&nbsp; [listener] connection accepted from X.X.X.X:44606 #5 (1 connection now open)  
2020-05-22T08:26:32.030+0000 I&nbsp; NETWORK&nbsp; [conn5] end connection X.X.X.X:44606 (0 connections now open)  
2020-05-22T08:26:33.814+0000 I&nbsp; NETWORK&nbsp; [listener] connection accepted from X.X.X.X:40812 #6 (1 connection now open)  
2020-05-22T08:26:33.815+0000 I&nbsp; NETWORK&nbsp; [conn6] SSL mode is set to ‘preferred’ and connection 6 to X.X.X.X:40812 is not using SSL.  
  
When I run kubectl describe I got this output:  
&nbsp;Warning&nbsp; Unhealthy&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; kubelet, lab-beta2&nbsp; Liveness probe failed: 2020-05-22 08:27:29.077 main.go:74&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; INFO&nbsp;&nbsp; ssl connection error: no reachable servers  
2020-05-22 08:27:29.078 main.go:81&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FATAL&nbsp; Error connecting to mongodb: no reachable servers  
  
  
I am using kubenetes 1.17   
  
Thank you,

---

<div class="post-metadata">

**Author:** ![Ivan\_Pylypenko](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ivan_pylypenko/32/2452_2.png) [@Ivan\_Pylypenko](https://forums.percona.com/u/Ivan_Pylypenko)\
**Post date:** [June 8, 2020, 3:50pm UTC](https://forums.percona.com/t/create-replicasset-mongodb-avec-kuberntes-operator/7647/2 "2020-06-08T15:50:12Z")

</div>

Hi  
Could you please share with us the contents of ssl secrets?
