How to customise liveness probe settings for etcd in OCP 3.11.x

Solution Verified - Updated -

Issue

  • There is a requirement to customize an etcd liveness probe parameter - 'timeoutSeconds' , in OCP 3.11

NOTE:

  • Any changes made to the /etc/origin/node/pods/etcd.yaml file, 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.conf file, 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content