Commit Graph

4993 Commits

Author SHA1 Message Date
Walter Fender
99ebe87471 Added tracing for long running requests.
Added tracing for use cases where etcd is not the cause of long running
requests.
Fixed spelling.
Factored in Wojtek-t feedback.
2018-10-29 00:37:32 -07:00
k8s-ci-robot
b7b0aae435 Merge pull request #70031 from nrfox/requeue-on-error
Sample Controller: requeue work item on syncHandler error
2018-10-27 03:19:59 -07:00
k8s-ci-robot
1df4f8eaf6 Merge pull request #70028 from liggitt/move-extensions-types
move internal apps API types out of extensions package
2018-10-26 15:56:13 -07:00
k8s-ci-robot
85555a7d73 Merge pull request #68559 from yue9944882/chore/respect-goflags-in-codegen
chore(codegen): respect GOFLAGS when compiling code-generator
2018-10-26 12:22:10 -07:00
Jordan Liggitt
7df2f9785e remove CustomMetricTarget 2018-10-25 21:11:52 -04:00
k8s-ci-robot
12cf545195 Merge pull request #70234 from Adirio/Adirio-patch-1
Map allocation optimization for client-go/tools/cache
2018-10-25 11:47:00 -07:00
k8s-ci-robot
b6fd5d93b2 Merge pull request #69389 from smarterclayton/wait_error
kubectl wait must handle errors returned by watch
2018-10-25 09:40:41 -07:00
k8s-ci-robot
f4bf0e8d33 Merge pull request #70237 from nikhita/proto-remove-trailing-whitespace
Remove trailing whitespace in the protobuf generator
2018-10-25 08:25:06 -07:00
Adrián
2299f45f52 Optimized map allocation in Replace methods
Initial allocation of several maps as the sizes are known

Signed-off-by: Adrián Orive <adrian.orive.oneca@gmail.com>
2018-10-25 14:25:00 +02:00
Nikhita Raghunath
e60b0a129a generated proto: remove trailing whitespace 2018-10-25 16:37:33 +05:30
k8s-ci-robot
3a680bc42d Merge pull request #70100 from lavalamp/schema-fix
API Schema fix: container port keys
2018-10-25 04:01:25 -07:00
Nikhita Raghunath
4911ad8ff1 Remove trailing whitespace in proto generator 2018-10-25 16:08:11 +05:30
k8s-ci-robot
ed39bd45f5 Merge pull request #70087 from liggitt/fix-crd-internal-types
Fix custom resource handler in-memory version
2018-10-25 02:11:04 -07:00
zuoxiu.jm
cac4ad79a3 make use of common generator script in aggregator codegen 2018-10-25 16:02:36 +08:00
zuoxiu.jm
615bcb2f88 respect GOFLAGS when compiling aggregator and add env args 2018-10-25 16:00:28 +08:00
k8s-ci-robot
d96f235051 Merge pull request #69991 from agunnerson-ibm/issue-69471
certificate_manager: Check that template differs from current cert before rotation
2018-10-24 21:35:09 -07:00
Andrew Gunnerson
b9ab65d689 certificate_manager: Check that template differs from current cert before rotation
With the current behavior, when kubelet starts, a `templateChanged`
event is always fired off because it only checks if `getLastRequest`
matches `getTemplate`. The last request only exists in memory and thus
is initially `nil` and can't ever match the current template during
startup.

This causes kubelet to request the signing of a new CSR every time it's
restarted. This commit changes the behavior so that `templateChanged` is
only fired off if the currently template doesn't match both the current
certificate and the last template.

Fixes #69471

Signed-off-by: Andrew Gunnerson <andrew.gunnerson@us.ibm.com>
2018-10-24 17:14:58 -04:00
k8s-ci-robot
c89b239cfa Merge pull request #69795 from yue9944882/chore/resync-psp-api
Resycn psp v1beta1 api with internal
2018-10-24 09:44:09 -07:00
zuoxiu.jm
e4a8ad49ee sync missing secret type to external api repo 2018-10-24 15:46:57 +08:00
k8s-ci-robot
dad07683b1 Merge pull request #69013 from ibrasho-forks/switch-to-http.Error
Update usages of http.ResponseWriter.WriteHeader to use http.Error
2018-10-23 15:31:55 -07:00
k8s-ci-robot
1fe288ec02 Merge pull request #70138 from liggitt/optional-ca-bundle
Correct optional/omitempty indicator on webhook cabundle
2018-10-23 13:52:38 -07:00
k8s-ci-robot
eef8154833 Merge pull request #69554 from nikhita/cloud-provider-import-restrictions
Add import restrictions for cloud-provider
2018-10-23 12:29:29 -07:00
k8s-ci-robot
5e8e8dcff8 Merge pull request #70101 from imjching/68026-fix-golint-failures-discovery
Fix linting issues in staging/src/k8s.io/client-go/discovery/*
2018-10-23 11:17:40 -07:00
Jordan Liggitt
fbd5597e99 Add system root unit test 2018-10-23 13:50:03 -04:00
Jordan Liggitt
921c60d30f Generated files 2018-10-23 13:50:03 -04:00
Jordan Liggitt
d00906f44e Fix omitempty/optional indicator on CABundle fields 2018-10-23 13:50:03 -04:00
Jordan Liggitt
1c5d3ab85e Avoid short-circuiting conversion when decoding into opinionated unstructured objects 2018-10-23 09:04:25 -04:00
Jordan Liggitt
b51ac8f7d5 Instantiate unstructured objects with versions in custom resource handler 2018-10-23 09:04:25 -04:00
Jordan Liggitt
0e9b06df0f Allow specifying the hub group-version for a handler 2018-10-23 09:00:51 -04:00
Jordan Liggitt
870d121d5e Inline patch#toUnversioned 2018-10-23 09:00:51 -04:00
Jordan Liggitt
3332a0c972 Test custom resource scaling with multiple versions 2018-10-23 09:00:51 -04:00
Dr. Stefan Schimanski
7e0775e5ec apiextensions: add smoke test checking that patches apply to non-storage versions 2018-10-23 09:00:51 -04:00
k8s-ci-robot
e77e8ffbf5 Merge pull request #69730 from xichengliudui/fix18101204
Fix some typo
2018-10-22 23:59:24 -07:00
k8s-ci-robot
baa8d800ad Merge pull request #69582 from mikedanese/trev7
tokenreview: authenticator interface changes
2018-10-22 23:59:04 -07:00
k8s-ci-robot
2f9b65143e Merge pull request #69946 from mateuszmatejczyk/annotation
Add EndpointsLastTriggerTime annotation.
2018-10-22 18:28:47 -07:00
Jay Lim
7a317e6262 Fix linting issues in staging/src/k8s.io/client-go/discovery/*
Signed-off-by: Jay Lim <jay@imjching.com>
2018-10-22 20:09:45 -04:00
k8s-ci-robot
9fb4a2aa9a Merge pull request #70060 from pbarker/audit-webhook
updates shared apiserver webhook client
2018-10-22 17:07:46 -07:00
Daniel Smith
fdd502c2ff generated files 2018-10-22 16:18:33 -07:00
k8s-ci-robot
1af393d58e Merge pull request #69866 from xichengliudui/fix181016
Remove duplicate words
2018-10-22 15:35:36 -07:00
k8s-ci-robot
8e7e226422 Merge pull request #69636 from p0lyn0mial/sample_controller_factory_start
fixes the way the informers are started in sample controller pkg
2018-10-22 15:35:26 -07:00
k8s-ci-robot
04d3949048 Merge pull request #69895 from jpbetz/webhook-metrics-cardinality-fix
Reduce cardinality of admission webhook metrics
2018-10-22 14:21:29 -07:00
Matt Matejczyk
6ffd88aeda Update the doc to say that we will use RFC 3339 format to store the timestamp. 2018-10-22 15:47:09 -04:00
Matt Matejczyk
8014d73345 Merge branch 'master' of https://github.com/kubernetes/kubernetes into annotation 2018-10-22 14:25:08 -04:00
Matt Matejczyk
f005ea8976 Make it clear that the timestamp is a unix time in millis. 2018-10-22 14:14:58 -04:00
p0lyn0mial
e55ca64dbd fixes the way the informers are started in sample controller pkg 2018-10-22 20:11:23 +02:00
Mike Danese
809f278b03 make token cache include audience in hash key 2018-10-22 10:16:59 -07:00
Mike Danese
e5227216c0 rebase authenticators onto new interface. 2018-10-22 10:16:59 -07:00
Mike Danese
11be171757 tokenreview: authenticator interface changes 2018-10-22 10:16:58 -07:00
Patrick Barker
5874a1f8fa updates shared apiserver webhook client 2018-10-21 10:03:28 -05:00
Daniel Smith
5dc3b8e63b fix container port to key by both port and protocol 2018-10-19 16:10:31 -07:00