Commit Graph

10808 Commits

Author SHA1 Message Date
jennybuckley
82a68be304 Log when client side rate limiter latency is very high 2020-01-31 16:17:22 -08:00
Daniel Smith
8ce61eef5b add to api repo documentation 2020-01-31 13:01:20 -08:00
Kubernetes Prow Robot
b1aff7832d Merge pull request #87580 from julianvmodesto/kubectl-ss-dry-run-flag
Extend --dry-run to support values 'client', 'server', 'none'
2020-01-31 09:24:20 -08:00
wojtekt
5dcf08c199 Switch pager to return whether the result was paginated 2020-01-31 11:50:23 +01:00
wojtekt
773d3583bc Avoid thundering herd on etcd on masters upgrade 2020-01-31 08:50:23 +01:00
Kubernetes Prow Robot
fa4bc10ef1 Merge pull request #86793 from prameshj/gce-finalizer
Attach a new finalizer in GCE ILB creation.
2020-01-30 21:20:32 -08:00
Kubernetes Prow Robot
bca516f179 Merge pull request #87687 from markusthoemmes/action-match-subresource
Allow Action's Matches function to specify a subresource.
2020-01-30 18:46:45 -08:00
Kubernetes Prow Robot
fc90261e6b Merge pull request #87671 from jennybuckley/create-adm
Move mutating admission step into finishRequest in the create handler
2020-01-30 18:46:32 -08:00
Kubernetes Prow Robot
78a69f54e8 Merge pull request #87676 from MikeSpreitzer/apf-fix-list-types
Fixed listType annotations for API Priority and Fairness
2020-01-30 17:00:07 -08:00
Kubernetes Prow Robot
5978856c4c Merge pull request #87669 from logicalhan/client-label
remove client label from apiserver request count metric since it is unbounded
2020-01-30 16:59:56 -08:00
Kubernetes Prow Robot
5ced53c0c4 Merge pull request #87628 from alculquicondor/cc-v1alpha2
Add kubescheduler.config.k8s.io/v1alpha2
2020-01-30 16:59:33 -08:00
Kubernetes Prow Robot
608ac4e67d Merge pull request #87517 from odinuge/prom-client_model
Bump dependency github.com/prometheus/client_model@v0.2.0
2020-01-30 16:59:12 -08:00
Kubernetes Prow Robot
f488d78536 Merge pull request #85011 from zxl381/GL_4_Fatal_2
apimachinery: fix bugs in a Test function
2020-01-30 16:58:19 -08:00
Kubernetes Prow Robot
8be2f8c626 Merge pull request #86144 from tahsinrahman/dont-serialize-internal
Do not serialize internal types in ComponentConfig tests
2020-01-30 15:02:19 -08:00
Julian V. Modesto
af52beda26 Extend --dry-run to support string values.
* Extend --dry-run to support string values for dry run strategies
  'client', 'server', and 'none'
* Ensure --dry-run is set and accessed via cmdutil
* Deprecate --dry-run (unset), --dry-run=true, and --dry-run=false
2020-01-30 15:29:48 -05:00
Lee Verberne
4d4e111f01 Generated code for kubelet namespace targeting 2020-01-30 15:31:43 +01:00
Lee Verberne
9a6d50cb2a Add namespace targeting to the kubelet 2020-01-30 15:31:43 +01:00
Kubernetes Prow Robot
73409068cd Merge pull request #87677 from jennybuckley/schema-error
Make schema error log message more useful
2020-01-30 05:06:56 -08:00
Kubernetes Prow Robot
03145880d9 Merge pull request #87667 from prameshj/xpn
Allow update of onXPN field in fake GCE clients.
2020-01-30 05:06:38 -08:00
Roger Torrentsgeneros
9bfcc6144e fix: missing variadic dots 2020-01-30 13:08:14 +01:00
Markus Thömmes
47277f281e Allow Action's Matches function to specify a subresource.
In other parts of the system (notably in RBAC rules), the "resource/subresource" notation is common to specify an explicit subresource. This makes this notation available to tests that use the `Matches` function on client actions as well.

Backwards compatibility is kept by ignoring the `Subresource` field if no specific subresource is defined in the resource string itself.
2020-01-30 12:04:26 +01:00
Pengfei Ni
7f2200c61a Fix backoff retries for AzureFile client 2020-01-30 10:12:13 +00:00
Pengfei Ni
40de7f2569 Add disableAvailabilitySetNodes to avoid VM list for VMSS clusters 2020-01-30 07:41:20 +00:00
Kubernetes Prow Robot
60dd5dbd8b Merge pull request #87597 from mikedanese/rctx
Refactor context handling in rest.Request
2020-01-29 22:11:03 -08:00
Kubernetes Prow Robot
5595eaa0ad Merge pull request #87516 from odinuge/runc-rc10
Bump dependency opencontainers/runc@v1.0.0-rc10
2020-01-29 22:10:41 -08:00
Kubernetes Prow Robot
fc3b7b6dcd Merge pull request #87431 from dprotaso/bump-gofuzz
bump github.com/google/gofuzz
2020-01-29 22:10:27 -08:00
jennybuckley
fee77388c6 Make schema error log message more useful 2020-01-29 15:01:44 -08:00
Mike Spreitzer
4940e42b92 Fixed listType annotations for API Priority and Fairness
We were occasionally seeing

```
[SHOULD NOT HAPPEN] failed to create typed new object: .spec.rules: element 0: associative list without keys has an element that's a map type
```

So I changed all the listType annotations to `atomic` except when the
element type is a scalar, which is the only case supported right now.
2020-01-29 17:45:35 -05:00
Aldo Culquicondor
3d83ef2e8e Autogenerated and build files for kubescheduler.config.k8s.io/v1alpha2
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-29 17:18:48 -05:00
Aldo Culquicondor
11c4bcd9dd Copy kubescheduler.config.k8s.io/v1alpha1 files onto v1alpha2
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-29 17:18:41 -05:00
Aldo Culquicondor
8daa761757 Clean ups on kubescheduler.config.k8s.io/v1alpha1 files
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-29 17:17:53 -05:00
jennybuckley
9bd42287f9 Move mutating admission into finishRequest 2020-01-29 14:01:18 -08:00
Han Kang
75cf4d79f2 remove client label from healthz metric test
Change-Id: I4082ff771e5912c68e2811cab07c4d488ab014ac
2020-01-29 13:32:12 -08:00
Pavithra Ramesh
a2399064a7 Allow update of onXPN field in fake GCE clients. 2020-01-29 12:37:35 -08:00
Han Kang
cc3190968b remove client label from apiserver request count metric since it is unbounded
Change-Id: I3a9eacebc9d9dc9ed6347260d9378cdcb5743431
2020-01-29 12:25:55 -08:00
Kubernetes Prow Robot
dba8d60f8c Merge pull request #87077 from soltysh/remove_run_generators
Remove kubectl run generators
2020-01-29 12:16:14 -08:00
Mike Danese
968adfa993 cleanup req.Context() and ResponseWrapper 2020-01-29 08:50:45 -08:00
Mike Danese
d55d6175f8 refactor 2020-01-29 08:50:45 -08:00
Mike Danese
59e757afef regenerate clients 2020-01-29 08:50:45 -08:00
Mike Danese
5360db5df8 update generator 2020-01-29 08:50:45 -08:00
Mike Danese
510aa1b432 update rest.Request signatures 2020-01-29 08:50:45 -08:00
Mike Danese
ed48ed0122 various context related cleanups to rest.Request
* Move all usage of r.ctx to the beginning of Do, DoRaw, Stream, Watch
* Move tryThrottle from Do and DoRaw into request()
* Make request() and tryThrottle take a context
* In request(), remove the timeout context setting out of the loop

These changes should be entirely behavior preserving.
2020-01-29 08:50:45 -08:00
Kubernetes Prow Robot
cad44602e1 Merge pull request #87599 from mikedanese/rctx-cleanup
various context related cleanups to rest.Request
2020-01-29 07:33:04 -08:00
Kubernetes Prow Robot
29b09c7fb1 Merge pull request #87423 from soltysh/fix_tain_validation
Fix kubectl taint's Complete parsing
2020-01-29 04:46:13 -08:00
Pengfei Ni
3d70e650ce Set cache to nil data when Azure node provisioning state is deleting 2020-01-29 11:02:31 +00:00
Pavithra Ramesh
1de2327afc Attach a new finalizer in GCE ILB creation.
Add logic in service_controller to skip create/update
if finalizer from a different controller is found.

The newly added finalizer will be checked by other controllers
implementing ILB services to determine if a given service is
already being managed by service_controller.

Moved finalizer check into cloudprovider code.

added unit test to verify new finalizer.

Modified existing unit test to create a fake service so that
attach/remove finalizer step can be tested.
2020-01-28 15:02:19 -08:00
Elijah Oyekunle
cece51b9b0 bump gengo version 2020-01-28 10:58:15 +01:00
Elijah Oyekunle
558f6aab56 add staging directories to import-boss verify script 2020-01-28 10:51:46 +01:00
Elijah Oyekunle
db19fc9427 add import-restrictions to apiextensions-apiserver/pkg/apis,v1 and v1beta1 2020-01-28 10:51:46 +01:00
Anish Ramasekar
647838f8d5 switch log verbosity for cache refresh logs 2020-01-27 22:30:50 -08:00