Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for awk (0.14 sec)

  1. CHANGELOG/CHANGELOG-1.16.md

        * 1. make sure there are no hpa objects with minReplicas=0. Here is a oneliner to update it to 1:
        *     $ kubectl get hpa --all-namespaces  --no-headers=true | awk  '{if($6==0) printf "kubectl patch hpa/%s --namespace=%s -p \"{\\"spec\\":{\\"minReplicas\\":1}}\"
    ", $2, $1 }' | sh
        * 2. disable HPAScaleToZero feature gate
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Feb 11 10:00:57 GMT 2021
    - 345.2K bytes
    - Viewed (0)
Back to top