k create deployment nginx --image=nginx
k patch deployments.apps nginx --type=json -p '[{"op":"replace","path":"/spec/template/spec/containers/0/imagePullPolicy","value":"IfNotPresent"}]'
k set resources deployment nginx --requests=memory=40Mi
k patch deployments.apps nginx --type=merge -p '{"spec":{"template": {"metadata":{"annotations": {"prp.kedify.io/reconcile": "enabled"}}}}}'
# verify the in-place patches on resources work (if not, make sure you have the InPlacePodVerticalScaling feature gate enabled)
k patch po $(k get po -lapp=nginx -ojsonpath="{.items[0].metadata.name}") --type=json -p '[{"op":"replace","path":"/spec/containers/0/resources/requests/memory","value":"45Mi"}]'
# create crd for it
k apply -f config/samples/keda_v1alpha1_podresourceprofile.yaml
k get prp
k get po -lapp=nginx -ojsonpath="{.items[*].spec.containers[?(.name=='nginx')].resources}" | jq