• Kubernetes Submit Queue's avatar
    Merge pull request #42162 from kevin-wangzefeng/kubectl-tolerationseconds · c179f38f
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    fix kubectl describe pod, show tolerationSeconds
    
    **What this PR does / why we need it**:
    tolerationSeconds is now not shown in kubectl describe resutl, this PR is to fix it.
    
    With this fix, pod toleration with tolerationSeconds would like below:
    ```yaml
    Name:           bar
    Namespace:      foo
    Node:           /
    Labels:         <none>
    Status:
    IP:
    Controllers:    <none>
    Containers:     <none>
    No volumes.
    QoS Class:
    Node-Selectors: <none>
    Tolerations:    key1=value1
    				key2=value2:NoSchedule
    				key3=value3:NoExecute for 300s
    ```
    
    
    **Which issue this PR fixes** : 
    Related issue: #1574
    Related PR: #39469
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    make kubectl describe pod show tolerationSeconds
    ```
    c179f38f
Name
Last commit
Last update
..
internalversion Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
common.go Loading commit data...
customcolumn.go Loading commit data...
customcolumn_test.go Loading commit data...
humanreadable.go Loading commit data...
interface.go Loading commit data...
json.go Loading commit data...
jsonpath.go Loading commit data...
name.go Loading commit data...
printers.go Loading commit data...
tabwriter.go Loading commit data...
template.go Loading commit data...
versioned.go Loading commit data...