Skip to content

Script getting failed #2

@bisshwajitsamanta

Description

@bisshwajitsamanta

I am using google cloud where heapster is already present, and i am using hpa also. But the script is getting failed can you let me know how to rectify this.
I am passing this command ::
./memory-based-autoscaling.sh --action get-podmemory --deployment nginx
UTILIZEDPODMEM=$(awk "BEGIN { pc=100*${podmem}/${TOTALMEMINMB}; i=int(pc); print (pc-i<0.5)?i:i+1 }")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions