|
| 1 | +// Module included in the following assemblies: |
| 2 | +// |
| 3 | +// microshift_running_apps/microshift-cert-manager.adoc |
| 4 | + |
| 5 | +:_mod-docs-content-type: PROCEDURE |
| 6 | +[id="microshift-install-cert-manager_{context}"] |
| 7 | += Installing and enabling the cert-manager Operator using RPM |
| 8 | + |
| 9 | +[role="_abstract"] |
| 10 | +The microshift-cert-manager RPM is an optional component that can be installed at any time. Follow these steps to install and verify the certificate manager: |
| 11 | + |
| 12 | +.Procedure |
| 13 | + |
| 14 | +. Install the `cert-manager-operator` using the `microshift-cert-manager` RPM by running the following command: |
| 15 | ++ |
| 16 | +[source,terminal] |
| 17 | +---- |
| 18 | +$ sudo dnf install microshift-cert-manager |
| 19 | +---- |
| 20 | + |
| 21 | +. Verify the certificate manager versions that are used by running the following command: |
| 22 | ++ |
| 23 | +[source,terminal] |
| 24 | +---- |
| 25 | +$ rpm -qi microshift-cert-manager |
| 26 | +---- |
| 27 | + |
| 28 | +. Restart {microshift-short} by running the following command: |
| 29 | ++ |
| 30 | +[source,terminal] |
| 31 | +---- |
| 32 | +$ systemctl microshift restart |
| 33 | +---- |
| 34 | + |
| 35 | +. Verify that the `microshift-cert-manager` RPM is installed by running the following command: |
| 36 | ++ |
| 37 | +[source,terminal] |
| 38 | +---- |
| 39 | +$ oc get deployment -n cert-manager-operator |
| 40 | +---- |
| 41 | ++ |
| 42 | +.Example output |
| 43 | +[source,terminal] |
| 44 | +---- |
| 45 | +NAME READY UP-TO-DATE AVAILABLE AGE |
| 46 | +cert-manager-operator-controller-manager 1/1 1 1 2d22h |
| 47 | +---- |
| 48 | + |
| 49 | +. Verify that the`cert-manager` deployments are in a ready state and are up-to-date in the cert-manager namespace by running the following command: |
| 50 | ++ |
| 51 | +[source,terminal] |
| 52 | +---- |
| 53 | +$ oc get deployment -n cert-manager |
| 54 | +---- |
| 55 | ++ |
| 56 | +.Example output |
| 57 | +[source,terminal] |
| 58 | +---- |
| 59 | +NAME READY UP-TO-DATE AVAILABLE AGE |
| 60 | +cert-manager 1/1 1 1 2d22h |
| 61 | +cert-manager-cainjector 1/1 1 1 2d22h |
| 62 | +cert-manager-webhook 1/1 1 1 2d22h |
| 63 | +---- |
| 64 | + |
| 65 | +. Verify that the pods are running in the `cert-manager` namespace by running the following command: |
| 66 | ++ |
| 67 | +[source,terminal] |
| 68 | +---- |
| 69 | +$ oc get pods -n cert-manager |
| 70 | +---- |
| 71 | ++ |
| 72 | +.Example output |
| 73 | +[source,terminal] |
| 74 | +---- |
| 75 | +NAME READY STATUS RESTARTS AGE |
| 76 | +cert-manager-7cfb4fbb84-qdmk8 1/1 Running 2 2d22h |
| 77 | +cert-manager-cainjector-854f669657-xzs8b 1/1 Running 2 2d22h |
| 78 | +cert-manager-webhook-68fd6d5f5c-j942h 1/1 Running 2 2d22h |
| 79 | +---- |
0 commit comments