@@ -35,7 +35,7 @@ invoke one of the following commands:
3535
3636 .. note::
3737
38- The ``opsManager`` controller watches the database resources
38+ The |com| controller watches the database resources
3939 defined in the following settings:
4040
4141 - :opsmgrkube:`spec.backup.opLogStores`
@@ -581,8 +581,8 @@ policy through the :opsmgr:`API </reference/api/controlled-features/update-contr
581581
582582.. _k8s-debug-failed container:
583583
584- Debugging a Failing Container
585- -----------------------------
584+ Debug a Failing Container
585+ -------------------------
586586
587587A container might fail with an error that results in |k8s| restarting
588588that container in a loop.
@@ -622,3 +622,39 @@ commands. This requires you to prevent the container from restarting.
622622
623623 kubectl exec -it <pod-name> bash
624624
625+ Verify Corrrectness of Domain Names in TLS Certificates
626+ -------------------------------------------------------
627+
628+ A MongoDB replica set or sharded cluster may fail to reach
629+ the ``READY`` state if the |tls| certificate is invalid.
630+
631+ When you :ref:`configure TLS
632+ <secure-tls>` for MongoDB replica sets or sharded clusters, verify
633+ that you specify a valid certificate.
634+
635+ If you don't specify the correct Domain Name for each |tls| certificate,
636+ the |k8s-op-short| logs may contain an error message similar to the
637+ following, where ``foo.svc.local`` is the incorrectly-specified Domain
638+ Name for the cluster member's Pod:
639+
640+ .. code-block:: sh
641+ :copyable: false
642+
643+ TLS attempt failed : x509: certificate is valid for foo.svc.local,
644+ not mongo-0-0.mongo-0.mongodb.svc.cluster.local
645+
646+ .. include:: /includes/prereqs/pem-file-domain-name.rst
647+
648+ To check whether you have correctly configured |tls| certificates:
649+
650+ 1. Run:
651+
652+ .. code-block:: sh
653+
654+ kubectl logs -f <pod_name>
655+
656+ 2. Check for |tls|-related messages in the |k8s-op-short| log files.
657+
658+ To learn more about |tls| certificate requirements, see
659+ :ref:`TLS prerequisites <secure-tls-prerequisites>`.
660+
0 commit comments