Modifying ROUTER_LOG_LEVEL and TZ environment variables of ingress router in OpenShift 4
Issue
-
How to modify
ROUTER_LOG_LEVEL
and theTZ
variables as below:$ oc edit deployment router-default -n openshift-ingress [...] - name: ROUTER_LOG_LEVEL value: info TZ=Asia/Tokyo [...]
- After doing above changes, values revert back to default when saving and reopening router-default deployment or when pod restarts.
Environment
- Red Hat OpenShift Container Platform
- 4.5 and above
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.