The oc set resources command can be used to update a deployment requests and limits:
oc set resources deployment testd --requests cpu=100m,memory=256Mi --limits cpu=200m,memory=512Mi
This is applicable to other resources too: deployment config, replica set, replication controller, stateful set.