Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for awk (0.02 seconds)

  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
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Oct 23 20:13:20 GMT 2024
    - 345.2K bytes
    - Click Count (0)
Back to Top