Monitor KMS encryption status

You can monitor KMS encryption status by using Operator and API server logs to verify successful configuration and detect issues.

Procedure
  1. Check the kube-apiserver operator logs for KMS-related events by entering the following command:

    $ oc logs -n openshift-kube-apiserver-operator deploy/kube-apiserver-operator | grep -i kms
  2. View API server logs for KMS-related events by entering the following command:

    $ oc logs -n openshift-kube-apiserver -l apiserver=true --tail=100 | grep -i kms
  3. Verify the KMS encryption configuration by entering the following command:

    $ oc get apiserver cluster -o jsonpath='{.spec.encryption}' | jq