If the quantity is 0, then the request is removed if present
Otherwise, the request is modified (if already present and has diffea rent value) or added (if not present)
Ensure KUBECONFIG is set and points to the desired cluster. Otherwise, the -kubeconfig <path> option must be supplied.
Warnings
Use with caution: all containers across all namespaces with a matching name prefix are modified
Actually modifies deployment resources controlling the containers. Containers in pods managed by other controllers are not touched.
Examples
k8s_rsc_req_changer foo- cpu 50m # changes (or adds) the cpu request of all containers named foo-xxx to 50m
k8s_rsc_req_changer foo- memory 0 # removes the memory request of all containers named foo-xxx if present