Modifying ROUTER_LOG_LEVEL and TZ environment variables of ingress router in OpenShift 4

Solution Verified - Updated -

Issue

  • How to modify ROUTER_LOG_LEVEL and the TZ 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.

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