func AdjustCPU(r *corev1.ResourceRequirements, by int64) {
	newValue := r.Requests.Cpu().MilliValue() + by
	r.Requests[corev1.ResourceCPU] = *resource.NewMilliQuantity(newValue, resource.BinarySI)
}
AdjustCPU - increase/decrease cpu
package test
import (
	corev1 "k8s.io/api/core/v1"
	"k8s.io/apimachinery/pkg/api/resource"
	"os"
	"path/filepath"
	"strconv"
)
func OpenFile(path string) (*os.File, error) {
	path, err := filepath.Abs(path)
	if err != nil {
		return nil, err
	}
	f, err := os.Open(path)
	if err != nil {
		return nil, err
	}
	return f, nil
}