kubernetes/hack/make-rules
Kubernetes Submit Queue bc5682bbaa Merge pull request #35050 from JacobTanenbaum/resource_fixes
Automatic merge from submit-queue

fixed some issues with kubectl set resources

when using kubectl set resources it resets all resource fields that are not being set.

for example
  # kubectl set resources deployments nginx --limits=cpu=100m

followed by

  # kubectl set resources deployments nginx --limits=memory=256Mi

would result in the nginx deployment only limiting memory at 256Mi with the previous
limit placed on the cpu being wiped out. This behavior is corrected so that each invocation
only modifies fields set in that command and changed the testing so that the desired behavior
is checked.

Also a typo:

 you must specify an update to requests or limits or  (in the form of --requests/--limits)

corrected to

 you must specify an update to requests or limits (in the form of --requests/--limits)

 Implemented both the dry run and local flags.

Added test cases to show that both flags are operating as intended.
Removed the print statement "running in local mode" as in PR#35112
2016-10-30 06:18:56 -07:00
..
helpers Make all useage of sort deterministic 2016-10-20 16:47:20 -04:00
build.sh Add a verbosity concept to kubernetes scripts 2016-08-04 22:01:22 -07:00
cross.sh Bundle kubemark in test tarball instead of server tarball 2016-09-26 11:06:48 -07:00
test-cmd.sh Merge pull request #35050 from JacobTanenbaum/resource_fixes 2016-10-30 06:18:56 -07:00
test-e2e-node.sh Make node E2E tests more transparent 2016-09-20 21:55:41 -04:00
test-integration.sh Make all useage of sort deterministic 2016-10-20 16:47:20 -04:00
test.sh Make all useage of sort deterministic 2016-10-20 16:47:20 -04:00
verify.sh add update-staging-client-go.sh and verify-staging-client-go.sh; 2016-10-29 14:20:39 -07:00
vet.sh fix go vet errors 2016-08-10 16:45:41 -07:00