mirror of https://github.com/knative/client.git
* Added support for limits and requests of CPU and memory. Examples: 1. kn service create mysvc --image dev.local/ns/image:latest --request-cpu 100m --requests-memory 64Mi 2. kn service create mysvc --image dev.local/ns/image:latest --limits-cpu 1000m --limits-memory 1024Mi You can also include and/or omit the requests and limits. So the following should also work: kn service create mysvc --image dev.local/ns/image:latest --request-cpu 1000m --limits-memory 1024Mi * Addressed comments about maintaining existing requests and limits and added more tests * TestServiceCreateWithRequests * TestServiceCreateWithLimits * TestServiceCreateRequestsLimitsCPU * TestServiceCreateRequestsLimitsMemory * TestServiceCreateRequestsLimitsCPUMemory * updating dependencies and formatting tests code |
||
|---|---|---|
| .. | ||
| cloud.google.com/go | ||
| github.com | ||
| golang.org/x | ||
| google.golang.org/appengine | ||
| gopkg.in | ||
| k8s.io | ||
| sigs.k8s.io | ||
| modules.txt | ||