How to customise liveness probe settings for etcd in OCP 3.11.x
Issue
- There is a requirement to customize an etcd
liveness probeparameter - 'timeoutSeconds' , in OCP 3.11
NOTE:
- Any changes made to the
/etc/origin/node/pods/etcd.yamlfile, will NOT survive an OpenShift Container Platform Upgrade. - It is also worth noting that it is not possible to configure the 'timeoutSeconds' parameter or indeed the 'initialDelaySeconds' in the
/etc/etcd/etcd.conffile, as this file is renamed during the upgrade process. - If wanting to ensure that parameter customization is retained post-upgrade, you will need to make the necessary customization changes to the /usr/share/ansible/openshift-ansible/roles/etcd/files/etcd.yaml' file after updating the 'openshift-ansible-roles' RPM , and prior to running the update.
Environment
Red hat Openshift Container Platform 3.11.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.