Commit Graph

5449 Commits (c2b771d5c46ca3b2f58f72595fe07a4e56a63762)

Author SHA1 Message Date
Kubernetes Prow Robot 1bd7c7126c
Merge pull request #70370 from liggitt/to_apps_v1
Switch client and test usage to apps/v1
2018-12-19 14:13:28 -08:00
Ed Bartosh af07603178 version: add 3 methods
Added WithMajor, WithMinor, WithPatch and WithPreRelease methods
to the Version API.

These methods return copy of the Version object with one changed
property(Major, Minor, Patch or preRelease).
2018-12-19 20:41:25 +02:00
Kubernetes Prow Robot 544c49ab03
Merge pull request #72193 from kargakis/owners
Remove myself from OWNERS where I am not active
2018-12-19 10:25:58 -08:00
Kubernetes Prow Robot 3f9673bf5d
Merge pull request #70994 from mborsz/cache
Refactor the memcached discovery client
2018-12-19 10:25:46 -08:00
Jordan Liggitt fd9e9b01b1 Remove uses of extensions/v1beta1 clients 2018-12-19 11:18:53 -05:00
Maciej Szulik 885bed15da Introduce -A as a shorthand for --all-namespaces in kubectl 2018-12-19 14:37:43 +01:00
Dr. Stefan Schimanski c0d8ad1578 apiserver: check that request fail after shutdown 2018-12-19 12:41:58 +01:00
Michalis Kargakis c602a9ed4f
Remove myself from OWNERS where I am not active 2018-12-19 10:19:22 +01:00
Kubernetes Prow Robot be5a1fb734
Merge pull request #70875 from Liujingfang1/enable-kustomize
Enable kustomize in kubectl
2018-12-19 00:51:41 -08:00
Kubernetes Prow Robot 819cfed09a
Merge pull request #71179 from idealhack/fix-cancel-functions
Call cancel functions to avoid context leaks
2018-12-18 23:35:35 -08:00
WanLinghao 80b6459bd0 Fix unit test error in pkg/registry/apps/daemonset/storage/ 2018-12-19 13:34:03 +08:00
Kubernetes Prow Robot 5554a446a9
Merge pull request #65632 from cofyc/vendor
Vendor github.com/prometheus/client_golang/prometheus/testutil package
2018-12-18 21:27:38 -08:00
Tim Allclair baa6ca502b Generated code 2018-12-18 16:06:56 -08:00
Tim Allclair 03fdecbde4 Add node-api code generators 2018-12-18 16:06:56 -08:00
Tim Allclair 665baac004 Add node.k8s.io API types 2018-12-18 16:06:56 -08:00
Bouke van der Bijl 869adf8bd7 client-go/testing: Straighten out fake implementation of Evictions
Make Evictions the same between Policyv1beta1 and Corev1
2018-12-18 21:24:49 +01:00
Maciej Borsz c94bee0b8b Refactor memCacheClient to retry requests. 2018-12-18 09:46:01 +01:00
Dong Liu 092f398825 Fix aad support in kubectl for sovereign cloud 2018-12-18 13:51:02 +08:00
Wei Guo 2306eb4125 stop goroutine of poller when WaitFor returns 2018-12-18 10:58:46 +08:00
Tim Allclair 2f6f3be23e Add new node-api repo 2018-12-17 16:29:37 -08:00
Jingfang Liu ac209ccdc0 remove the opt out choice of kustomize 2018-12-17 14:52:07 -08:00
Kubernetes Prow Robot 9aeb7b07c0
Merge pull request #71795 from zjj2wry/version_priority
Switch sample apiserver internalversion informer to external
2018-12-17 10:57:45 -08:00
Kubernetes Prow Robot 5a5111f888
Merge pull request #72053 from wojtek-t/streaming_limit
Increase limit for object size in streaming serializer
2018-12-14 17:28:45 -08:00
wojtekt 886400f62a Increase limit for object size in streaming serializer 2018-12-14 12:43:39 +01:00
Kubernetes Prow Robot cab34050e7
Merge pull request #71225 from jta/master
Fix duped watch in client-go/testing.
2018-12-13 14:17:55 -08:00
Jingfang Liu d349998abe add test for Builder to cover kustomization directories 2018-12-12 09:42:19 -08:00
Jingfang Liu 26c07715c7 add kustomizationVisitor type and use it when kustomization is enabled 2018-12-12 09:41:42 -08:00
danielqsj 42214c5ac4 Using histogram metrics instead of summary 2018-12-12 17:53:24 +08:00
danielqsj b828bc1a50 Use prometheus conventions for workqueue metrics 2018-12-12 16:55:13 +08:00
Kubernetes Prow Robot 3ed107ff0e
Merge pull request #71542 from smarterclayton/endpoints_cleanup
Ensure all response object modification happens in one place
2018-12-10 18:44:37 -08:00
Kubernetes Prow Robot 611c3510d8
Merge pull request #71601 from liggitt/surface-insecure-port-help
Surface help for insecure ports to explain how to disable
2018-12-07 09:08:39 -08:00
Kubernetes Prow Robot 16fb54ef7c
Merge pull request #71785 from sttts/sttts-aggregator-condition-time
aggregator: fix available condition transition time
2018-12-07 07:58:19 -08:00
Kubernetes Prow Robot 1a82272782
Merge pull request #71684 from danielqsj/typo-fix
Fix typos like limitting
2018-12-07 07:58:09 -08:00
Jordan Liggitt 4a79e25727 test verifying upgraded backend 2018-12-07 09:03:41 -05:00
Jordan Liggitt 819b502768 Surface help for insecure ports to explain how to disable 2018-12-07 08:56:20 -05:00
zhengjiajin a9c35d3b84 only generate internal deepcopy defaulter conversion 2018-12-07 21:18:43 +08:00
Dr. Stefan Schimanski 7db6f7a89c aggregator: fix available condition transition time 2018-12-07 12:22:24 +01:00
Kubernetes Prow Robot 2ea5000379
Merge pull request #69803 from rfranzke/fix/metav1_duration_openapi
Add OpenAPI scheme methods for metav1.Duration
2018-12-07 00:03:47 -08:00
Di Xu 4b524ef995 kubectl loads config file once and uses persistent client config 2018-12-07 15:41:40 +08:00
zhengjiajin e3b2e9d8a3 prune internalversion clientset lister informer 2018-12-07 11:46:21 +08:00
zhengjiajin be13db1b85 Switch sample apiserver internalversion informer to external 2018-12-07 11:46:03 +08:00
Kubernetes Prow Robot b703016614
Merge pull request #70983 from xichengliudui/fix18111302
Delete some redundant code
2018-12-06 19:03:08 -08:00
Kubernetes Prow Robot 257a6d5bfa
Merge pull request #71755 from liggitt/tolerate-authn-lookup-failure
Allow kube-scheduler to tolerate cluster auth config lookup failure
2018-12-06 11:05:13 -08:00
Rafael Franzke 712cbc5a3d Add OpenAPI scheme methods for metav1.Duration 2018-12-06 15:05:46 +01:00
Kubernetes Prow Robot 0351853ea1
Merge pull request #71657 from mrIncompetent/informer-gen/respect-resourceName-tag
make informer-gen respect the resourceName tag
2018-12-06 03:50:26 -08:00
Kubernetes Prow Robot 82b0d8fd37
Merge pull request #71380 from sttts/sttts-aggregator-metrics-available
aggregator: add APIService unavailability metrics
2018-12-06 00:02:55 -08:00
Jordan Liggitt 416e114215 Allow kube-scheduler to tolerate cluster auth config lookup failure 2018-12-05 14:13:47 -05:00
mrIncompetent 574816dff5 update bazel 2018-12-05 12:30:42 +01:00
mrIncompetent 7e9c09caf5 make informer-gen respect the resourceName tag 2018-12-05 12:30:39 +01:00
Kubernetes Prow Robot 2bd14ea60e
Merge pull request #71713 from liggitt/tokenfile-reload
Plumb token and token file through rest.Config
2018-12-04 11:41:03 -08:00
Jordan Liggitt dba85e58de Plumb token and token file through rest.Config 2018-12-04 13:04:24 -05:00
Kubernetes Prow Robot 300b1bab8b
Merge pull request #71636 from tao12345666333/rm-duplicate-word
remove duplicate word
2018-12-04 04:12:20 -08:00
Kubernetes Prow Robot a9b69dc381
Merge pull request #71615 from jpbetz/etcd-3.3.10-0-image
Update default etcd server to 3.3.10 for kubernetes 1.14
2018-12-04 02:54:34 -08:00
Kubernetes Prow Robot 3a83f291ef
Merge pull request #71088 from smarterclayton/wait_cap
util: Refactor Backoff to return the next step rather than sleeping
2018-12-03 23:28:05 -08:00
danielqsj 3c055aa4b4 Fix typos like limitting 2018-12-04 11:01:40 +08:00
Clayton Coleman e62d389fb0
util: Refactor Backoff to return the next step rather than sleeping
Allows consumers to use Backoff as a generator rather than have to
call ExponentialBackoff
2018-12-03 16:43:16 -05:00
Joe Betz 862b945e5a Update default etcd server to 3.3.10 for kubernetes 1.13 2018-12-03 11:03:49 -08:00
Dr. Stefan Schimanski fce6eb0903 aggregator: add metrics for request errors 2018-12-03 14:58:17 +01:00
Dr. Stefan Schimanski 7190b17e5a apiserver: add component label to request metrics 2018-12-03 14:58:13 +01:00
Kubernetes Prow Robot dc9261bc3b
Merge pull request #71174 from smarterclayton/debug_kubeadm
Restore bootstrap in the background with fix to preserve kubeadm behavior
2018-12-03 05:49:57 -08:00
Dr. Stefan Schimanski ff6e028755 apiserver: add group+version to request metrics 2018-12-03 14:29:50 +01:00
Jintao Zhang b32bd6e812 remove duplicate word
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2018-12-03 19:24:45 +08:00
Yecheng Fu 9632e4349e vendor github.com/prometheus/client_golang/prometheus/testutil package
updating staging godeps
2018-12-02 10:25:55 +08:00
Kubernetes Prow Robot d158952293
Merge pull request #70722 from yue9944882/test/enchance-test-regression-for-versioning-codec
Part of #68464: Enchance unit test regression for unstructured in versioning codec
2018-12-01 15:00:36 -08:00
Kubernetes Prow Robot 4b9b7ffc6f
Merge pull request #71273 from deads2k/agg-02-detect
only update the apiservice status if the status has changed
2018-12-01 10:36:23 -08:00
k8s-ci-robot 5d8e93cbc4
Merge pull request #71525 from logicalhan/api-service-condition-tests
add unit tests for api-service condition methods and also refactor out getAPIServiceConditionByType
2018-11-30 08:20:18 -08:00
k8s-ci-robot 96516bd961
Merge pull request #71263 from ZYecho/fix-spellings
fix typo: namspace -> namespace
2018-11-30 06:33:50 -08:00
k8s-ci-robot 3e1c0d47c2
Merge pull request #71318 from sttts/sttts-etcd-v
apiserver: set klog as etcdclient logger
2018-11-29 21:45:22 -08:00
k8s-ci-robot 79e5cb2cb7
Merge pull request #71302 from liggitt/verify-unit-test-feature-gates
Split mutable and read-only access to feature gates, limit tests to readonly access
2018-11-29 21:45:12 -08:00
k8s-ci-robot 15556551be
Merge pull request #68942 from nikhita/csi-api-staging-restrict-imports
Add import restrictions for csi-api
2018-11-29 21:44:42 -08:00
k8s-ci-robot 1fd45cfb24
Merge pull request #71272 from sttts/sttts-unstructured-accessor-intermediate-not-found
unstructured: return not-found if intermediate path is not found
2018-11-29 19:04:55 -08:00
k8s-ci-robot a08d89c0f5
Merge pull request #70959 from MikeSpreitzer/group-still-not-optional
Clarified syntax doc on --watch-cache-sizes
2018-11-29 19:04:46 -08:00
k8s-ci-robot 81eb9ce491
Merge pull request #71217 from jsafrane/status-update-unit-test
CSI v1 leftovers
2018-11-29 15:26:53 -08:00
k8s-ci-robot 4372d62ff5
Merge pull request #71211 from jsafrane/meta-status-reset
Refactor status PrepareForUpdate into standalone method
2018-11-29 15:26:42 -08:00
k8s-ci-robot 409bfc4337
Merge pull request #71047 from pivotal-k8s/bump-k8s-utils
Bump k8s.io/uitls to 8e7ff06
2018-11-29 11:17:08 -08:00
k8s-ci-robot 163b54dc4d
Merge pull request #70995 from stewart-yu/stewart-sample-controller-redurabce-import
remove duplicated import
2018-11-29 11:16:39 -08:00
k8s-ci-robot d0ac922996
Merge pull request #70440 from nikhita/add-license-headers
Add license header to non-generated proto files
2018-11-29 00:48:05 -08:00
k8s-ci-robot 86d4d95e0d
Merge pull request #70426 from sttts/sttts-testserver-run-errors
testservers: return Run method errors correctly
2018-11-29 00:47:45 -08:00
Clayton Coleman 63c49ba55a
Better organize object conversion in response handling
Prepare to support watch by cleaning up the conversion method and
splitting out each transition into a smaller method.
2018-11-28 22:03:51 -05:00
Clayton Coleman 56a25d8c5f
Ensure all response object modification happens in one place
Make setLink and setListLink the same, and make them happen in transformResponseObject.
Make those methods also responsible for ensuring an empty list. Then move outputMediaType
negotiation before all other calls in the specific methods, to ensure we fail fast.

Refactoring in preparation to support type conversion on watch.
2018-11-28 21:34:26 -05:00
Han Kang 47ed1019a3 add unit tests for api-service condition methods and also refactor out getAPIServiceConditionByType 2018-11-28 15:26:36 -08:00
Yang Li 3d9e2f09d0 Pass locks by pointer instead of by value 2018-11-27 10:24:25 +08:00
Yang Li 43f9302b90 Fix golint warnings 2018-11-27 10:24:25 +08:00
João Taveira Araújo bd268c9971 Fix duped watch in client-go/testing.
This commit fixes a bug in the client-go/testing fixture whereby a
watcher would fire twice for objects with no namespace.
2018-11-26 14:07:37 -08:00
Nikhita Raghunath b3ad9e697c csi-api: fix Saad Ali's username in SECURITY_CONTACTS 2018-11-27 00:51:26 +05:30
Jingfang Liu 5604a15024 update staging Godeps and import restrictions 2018-11-26 11:03:00 -08:00
Jingfang Liu 09855d31db copy kustomize/k8sdeps into cli-runtime 2018-11-26 11:01:56 -08:00
Jordan Liggitt f199f3d5a3 Set deadline for returning backend error 2018-11-26 09:15:13 -05:00
Dr. Stefan Schimanski a00d08610f apiserver: set klog as etcdclient logger 2018-11-26 11:46:04 +01:00
Jordan Liggitt b84e3dd6f8 Verify backend upgraded connection 2018-11-25 14:25:38 -05:00
David Eads 541f036a49 only update the apiservice status if the status has changed 2018-11-21 16:28:45 -05:00
k8s-ci-robot 2b0212de9c
Merge pull request #71206 from stlaz/enc_config_opt
Rename '--experimental-encryption-provider-config' to '--encryption-provider-config'
2018-11-21 11:30:12 -08:00
Jordan Liggitt 2498ca7606 drop VerifyFeatureGatesUnchanged 2018-11-21 11:51:33 -05:00
Jordan Liggitt d440ecdd3b Update non-test code to use DefaultMutableFeatureGate 2018-11-21 11:51:33 -05:00
Jordan Liggitt 1d6db5924f Tighten feature gate interface to split out mutating methods 2018-11-21 11:51:32 -05:00
k8s-ci-robot 3d5998edcd
Merge pull request #71298 from stewart-yu/stewart-controller-manager-flags
add missing flags in *-controller-manager --help
2018-11-21 05:58:20 -08:00
Jay Lim 10dd5d6631 *-controller-manager: fix missing global flags for --help 2018-11-21 17:39:14 +08:00
Christoph Blecker c7d3951927
Update github.com/json-iterator/go to 1.1.4 2018-11-20 18:13:01 -08:00
Dr. Stefan Schimanski 52b1718a63 unstructured: return not-found if intermediate path is not found 2018-11-20 17:21:52 +01:00
zhangyue 596a20ca8a fix typo: namspace -> namespace
Signed-off-by: zhangyue <zy675793960@yeah.net>
2018-11-20 21:47:27 +08:00
Sergei Orlov 21c1bb8830
kubeapiserver: rename '--experimental-encryption-provider-config' to '--encryption-provider-config'.
This change renames the '--experimental-encryption-provider-config'
flag to '--encryption-provider-config'. The old flag is accepted but
generates a warning.

In 1.14, we will drop support for '--experimental-encryption-provider-config'
entirely.

Co-authored-by: Stanislav Laznicka <slaznick@redhat.com>
2018-11-19 16:34:09 +01:00
Jan Safranek 0c4b89fad6 Fix typo 2018-11-19 15:28:14 +01:00
Jan Safranek 787611a614 Refactor status PrepareForUpdate into standalone method
Someone else might find reseting metadata fields useful.
2018-11-19 14:46:06 +01:00
k8s-ci-robot 7ba79c3183
Merge pull request #71128 from yue9944882/chore/add-reviewer
Add yue9944882 to CRD/CR apiserver reviewer
2018-11-18 14:14:17 -08:00
Yang Li 8dc9619d44 Call cancel functions to avoid context leaks 2018-11-18 17:40:35 +08:00
Yang Li 267425667f Fix unreachable code 2018-11-18 04:16:25 +08:00
Clayton Coleman 486577df17 Restore "Make bootstrap client cert loading part of rotation""
This reverts the revert of commit 3464222267.
2018-11-17 13:44:58 -05:00
Clayton Coleman 3464222267
Revert "Make bootstrap client cert loading part of rotation"
This reverts commit 0af19875ad.

Revert "Ensure the bootstrap rotation code is tested by forcing rotation"

This reverts commit de293b2d7d.
2018-11-17 10:24:39 -05:00
k8s-ci-robot 46ebebcc4f
Merge pull request #65763 from x13n/audit-logging
Add option to k8s apiserver to reject incoming requests upon audit failure
2018-11-17 04:39:56 -08:00
k8s-ci-robot 3be3510814
Merge pull request #69890 from smarterclayton/bootstrap_retry
Make bootstrap client cert loading part of rotation
2018-11-16 22:46:33 -08:00
k8s-ci-robot ec2e767e59
Merge pull request #71167 from msau42/block-beta
Promote raw block volume support to beta
2018-11-16 20:28:03 -08:00
k8s-ci-robot f38cc95505
Merge pull request #62692 from mikedanese/trev2
authn: extend authenticator.Token to support audience validation
2018-11-16 20:27:25 -08:00
Clayton Coleman de293b2d7d
Ensure the bootstrap rotation code is tested by forcing rotation
Expose both a Stop() method (for cleanup) and a method to force
cert rotation, but only expose Stop() on the interface.

Verify that we choose the correct client.
2018-11-16 21:50:52 -05:00
Clayton Coleman 0af19875ad
Make bootstrap client cert loading part of rotation
Ensure that bootstrap+clientcert-rotation in the Kubelet can:

1. happen in the background so that static pods aren't blocked by bootstrap
2. collapse down to a single call path for requesting a CSR
3. reorganize the code to allow future flexibility in retrieving bootstrap creds

Fetching the first certificate and later certificates when the kubelet
is using client rotation and bootstrapping should share the same code
path. We also want to start the Kubelet static pod loop before
bootstrapping completes. Finally, we want to take an incremental step
towards improving how the bootstrap credentials are loaded from disk
(potentially allowing for a CLI call to get credentials, or a remote
plugin that better integrates with cloud providers or KSMs).

Reorganize how the kubelet client config is determined. If rotation is
off, simplify the code path. If rotation is on, load the config
from disk, and then pass that into the cert manager. The cert manager
creates a client each time it tries to request a new cert.

Preserve existing behavior where:

1. bootstrap kubeconfig is used if the current kubeconfig is invalid/expired
2. we create the kubeconfig file based on the bootstrap kubeconfig, pointing to
   the location that new client certs will be placed
3. the newest client cert is used once it has been loaded
2018-11-16 21:50:26 -05:00
k8s-ci-robot 39c8219999
Merge pull request #71158 from liggitt/revert-openapi-publish
Revert openapi publish
2018-11-16 18:22:43 -08:00
k8s-ci-robot 1e22f080ec
Merge pull request #67383 from stlaz/enc_config_promotion
Introduce apiserver.config.k8s.io/v1 and use standard method for parsing encryption config file
2018-11-16 16:31:30 -08:00
Mike Danese effad15ecc patch webhook authenticator to support token review with arbitrary audiences 2018-11-16 19:30:42 -05:00
Mike Danese 162699ca30 autogenerated 2018-11-16 17:54:33 -05:00
Mike Danese 04837fdef1 authn: add Audiences to TokenReview 2018-11-16 17:54:33 -05:00
Jordan Liggitt 8799eb4e2e Revert "Merge pull request #67205 from roycaihw/crd-openapi-spec"
This reverts commit 54ee58b2d6, reversing
changes made to 9e2820e4c9.
2018-11-16 16:36:24 -05:00
Jordan Liggitt ad2b916d7c Revert "Merge pull request #71137 from sttts/sttts-crd-openapi-spec-recursive-v2-prune"
This reverts commit 3ea3cfc3be, reversing
changes made to fab7009997.
2018-11-16 16:36:04 -05:00
k8s-ci-robot 3ea3cfc3be
Merge pull request #71137 from sttts/sttts-crd-openapi-spec-recursive-v2-prune
apiextensions: prune {any,one}Of + Not recursively on OpenAPI v2 conversion
2018-11-16 13:20:25 -08:00
k8s-ci-robot c418e2a04f
Merge pull request #71120 from WanLinghao/audit_log_fix
fix a description error in DynamicAuditing feature
2018-11-16 13:20:07 -08:00
k8s-ci-robot 9878253c3c
Merge pull request #70998 from deads2k/client-07-listwatchtimeout
update the client generator to set a client-side timeout
2018-11-16 13:19:57 -08:00
Matthew Wong 7a6acefd21 Generate code for BlockVolume beta promotion 2018-11-16 13:38:59 -05:00
Matthew Wong 2ff98f7832 Promote BlockVolume to beta 2018-11-16 13:38:59 -05:00
WanLinghao 84aa00c03d fix a description error in DynamicAuditing feature 2018-11-17 01:49:02 +08:00
Dr. Stefan Schimanski 0d9a022533 apiextensions: prune {any,one}Of + Not recursively on OpenAPI v2 conversion 2018-11-16 18:42:01 +01:00
David Eads 8f7edec615 generated 2018-11-16 12:41:17 -05:00
David Eads 493bc79c04 update client generator for local timeout 2018-11-16 11:43:37 -05:00
Jordan Liggitt 248d661327 Add tests to ensure storage feature gate changes don't escape packages 2018-11-16 10:52:53 -05:00
k8s-ci-robot f1e4ec8e48
Merge pull request #71076 from liggitt/preserve-stack
Propagate panics up handler chain
2018-11-16 05:13:09 -08:00
k8s-ci-robot 54ee58b2d6
Merge pull request #67205 from roycaihw/crd-openapi-spec
Serve OpenAPI spec for registered CRDs
2018-11-16 05:12:41 -08:00
zuoxiu.jm af505dcd14 add reviewer 2018-11-16 20:12:28 +08:00
k8s-ci-robot 9e2820e4c9
Merge pull request #71067 from sttts/sttts-handler-panic
apiserver: preserve stack trace in handler panic beyond timeout handler
2018-11-16 03:57:11 -08:00
Daniel Kłobuszewski 7a10f4eda7 Add option to k8s apiserver to reject incoming requests upon audit failure 2018-11-16 10:32:49 +01:00
saad-ali 9d4810f25a Bump grpc from 1.7.5 to 1.13.0 2018-11-15 16:39:42 -08:00
Haowei Cai 94e3c2899f generated 2018-11-15 11:03:04 -08:00
Haowei Cai e0d4c65b53 Convert and construct OpenAPI v2 spec from CRD
validation OpenAPI v3 Schema
2018-11-15 11:02:47 -08:00
Haowei Cai 3222a7033c Apiextensions-apiserver aggregates CRD schemas
efficiently without checking conflicts, and wire up CRD discovery
controller to serve OpenAPI spec.
2018-11-15 11:02:11 -08:00
Haowei Cai 92d95df0ba Enable aggregator apiserver resyncing openapi spec
from delegation apiservers
2018-11-15 11:00:25 -08:00
Jordan Liggitt 0952c9ee96 apiserver: propagate panics from REST handlers correctly 2018-11-15 12:35:51 -05:00
Dr. Stefan Schimanski 96fd0482f4 apiserver: preserve stack trace in handler panic beyond timeout handler 2018-11-15 17:36:11 +01:00
Hannes Hörl 0d4b5c98f8 Bump k8s.io/uitls to 8e7ff06
The reason for the bump is the new functionality of the
k8s.io/utils/exec package which allows
- to get a hold of the process' std{out,err} as `io.Reader`s
- to `Start` a process and `Wait` for it

This should help on addressing #70890 by allowing to wrap std{out,err}
of the process to be wrapped with a `io.limitedReader`.

It also updates
- k8s.io/kubernetes/pkg/probe/exec.FakeCmd
- k8s.io/kubernetes/pkg/kubelet/prober.execInContainer
- k8s.io/kubernetes/cmd/kubeadm/app/phases/kubelet.fakeCmd
to implement the changed interface.

The dependency on 'k8s.io/utils/pointer' to the new version has also
been bumped in some staging repos:
- apiserver
- kube-controller-manager
- kube-scheduler
2018-11-15 13:25:12 +00:00
k8s-ci-robot b7e2980a57
Merge pull request #68576 from jennybuckley/openapi-optimize
Build OpenAPI Definitions per group instead of per resource
2018-11-15 05:04:57 -08:00
k8s-ci-robot b1a52a38e9
Merge pull request #67257 from pbarker/audit
dynamic audit configuration
2018-11-15 02:42:59 -08:00
k8s-ci-robot f48e18faa4
Merge pull request #70971 from cheftako/leaseCheck
Report KCM as unhealthy if leader election is wedged.
2018-11-15 01:30:59 -08:00
Dr. Stefan Schimanski e43e5e2e45 apiserver: in timeout_test separate out handler 2018-11-15 09:56:53 +01:00
xichengliudui 3b9798efe9 update notes 2018-11-15 01:29:59 -05:00
k8s-ci-robot 726c07eb26
Merge pull request #69929 from jsafrane/csi-ga
Promote CSIPersistentVolume feature to GA
2018-11-14 20:34:58 -08:00
k8s-ci-robot 22eb2b0dae
Merge pull request #70966 from awly/cert-triple-cleanup
Remove k8s.io/client-go/util/cert/triple
2018-11-14 19:20:07 -08:00
k8s-ci-robot 4fb368e5fd
Merge pull request #70801 from Adirio/deltafifo-cleanup
DeltaFIFO cleanup
2018-11-14 19:19:57 -08:00
Patrick Barker 5cb70e369f adds dynamic audit configuration generated 2018-11-15 01:03:45 +00:00
Walter Fender 9c43ee6d6e Report KCM as unhealthy if leader election is wedged.
Feedback from lavalamp and deads2k.
Changed Check() logic to be central to LeaderElector.
Further changes, especially cleaning up the test code.
2018-11-14 16:57:37 -08:00
Patrick Barker eb89d3dddd adds dynamic audit configuration 2018-11-14 17:54:06 -07:00
jennybuckley d02a543f37 Update generated 2018-11-14 12:50:11 -08:00
jennybuckley 758e8623e9 Build OpenAPI Definitions per group instead of per resource 2018-11-14 12:50:02 -08:00
k8s-ci-robot 68fb529ec1
Merge pull request #70969 from awly/node-csr-move
Move csr.RequestNodeCertificate into kubelet bootstrap package
2018-11-14 11:37:58 -08:00
k8s-ci-robot ca338b91f5
Merge pull request #70676 from logicalhan/exclude-checks
add ability to disable health checks on kube-apiserver for healthz using query-params
2018-11-14 11:37:48 -08:00
k8s-ci-robot 774f162884
Merge pull request #70999 from liggitt/oversized-spdystream-frames
Ensure oversized data frames are not written to spdystreams
2018-11-14 09:26:06 -08:00
Jan Safranek e95b188656 Generated files 2018-11-14 14:01:16 +01:00
Jan Safranek b9d9b7f16f Promote VolumeAttachment to storage.k8s.io/v1 API 2018-11-14 14:01:16 +01:00
Adrián Orive 0b16c43f59 DeltaFIFO cleanup
Remove non-needed else condition
Remove non-needed swallow copy
Simplify return for IsClosed()
Keep amount decrement next to element extraction from the queue

Signed-off-by: Adrián Orive <adrian.orive.oneca@gmail.com>
2018-11-14 09:00:02 +01:00
Jordan Liggitt 0202e269a3 Fix sending oversided data frames to spdy stream 2018-11-13 22:13:09 -05:00
k8s-ci-robot d399e079f2
Merge pull request #71002 from awly/certutil-cleanup
Remove unused funcs in certutil
2018-11-13 14:59:46 -08:00
k8s-ci-robot bc6aee19b0
Merge pull request #70884 from lavalamp/workqueue
add a metric that can be used to notice stuck worker threads
2018-11-13 14:59:27 -08:00
Han Kang f1f1bc83fd add ability to exclude health checks from failing healthz by passing in a query param 2018-11-13 14:48:44 -08:00
k8s-ci-robot 1777be5fbe
Merge pull request #70735 from wojtek-t/use_watch-cache_when_rv=0
Use watch cache when rv=0 even when limit is set
2018-11-13 13:45:13 -08:00
Andrew Lytvynov 09db5bc951 Remove k8s.io/client-go/util/cert/triple
The package is unused.
2018-11-13 13:08:50 -08:00
xichengliudui 9a25d46e8b Delete some redundant code
Delete some redundant code
2018-11-13 14:19:36 -05:00
Andrew Lytvynov 5c073abfe1 Move csr.RequestNodeCertificate into kubelet bootstrap package
This func is only used by the kubelet and there's no need to pollute
client-go API with it.
2018-11-13 10:27:51 -08:00
Andrew Lytvynov 162b364292 Remove unused funcs in certutil 2018-11-13 10:26:43 -08:00
Stanislav Laznicka 628d1fef37
autogen files 2018-11-13 18:06:12 +01:00
wojtekt 4242d1b760 Use watch cache when rv=0 even when limit is set 2018-11-13 16:52:30 +01:00
Slava Semushin c21cb548e6
Introduce kubeapiserver.config.k8s.io/v1 with EncryptionConfiguration and use a standard method for parsing config file.
Co-authored-by: Stanislav Laznicka <slaznick@redhat.com>
2018-11-13 14:05:21 +01:00
stewart-yu 217dbeafaf remove duplicated import 2018-11-13 20:08:39 +08:00
k8s-ci-robot efd19d3c94
Merge pull request #70970 from awly/unexport-csr-parsecsr
Unexport csr.ParseCSR
2018-11-12 18:31:45 -08:00
Andrew Lytvynov 41334cfdd3 Unexport csr.ParseCSR
This func is only used internally and was copied from
k8s.io/kubernetes/pkg/apis/certificates.
2018-11-12 17:15:09 -08:00
k8s-ci-robot 27cf50d85e
Merge pull request #70322 from mikedanese/audoidc
make oidc authenticator (more?) audience aware
2018-11-12 17:03:29 -08:00
Daniel Smith 680ddd49d8 fixup! add longest_running_processor_microseconds metric
fix data race
2018-11-12 12:57:42 -08:00
Mike Danese a714d9cd04 make oidc authenticator (more?) audience aware
Part of https://github.com/kubernetes/kubernetes/issues/69893
2018-11-12 12:43:21 -08:00
Mike Spreitzer fc20359fed Clarified syntax doc on --watch-cache-sizes
Noted that group must be omitted for resources of apiVersion v1 (the
legacy core API) and included for others.

Fixes #65393
2018-11-12 14:45:45 -05:00
Daniel Smith fd77aa5a41 add longest_running_processor_microseconds metric 2018-11-12 10:52:18 -08:00
stewart-yu 529dbd27ac auto-generated file 2018-11-11 17:19:38 +08:00
stewart-yu a77652e9ab kube-scheduler: output flags in logical sections 2018-11-11 17:19:38 +08:00
Daniel Smith 578962d934 fixup! Test workqueue metrics
change units to seconds
2018-11-10 18:46:43 -08:00
Daniel Smith 44a87baf09 fixup! Test workqueue metrics 2018-11-10 18:24:59 -08:00
Davanum Srinivas e558e291d1
s/glog/klog/ - keep up with master
Change-Id: I27ff0545bc456ed8c0900cfeb90555f9ab7ae235
2018-11-10 07:57:01 -05:00
Davanum Srinivas 68ce375d00
Update all the staging Godeps.json
Change-Id: I64b30c68a606b4f5c095a66496a1e48c4d62ea88
2018-11-10 07:50:32 -05:00
Davanum Srinivas 954996e231
Move from glog to klog
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
  * github.com/kubernetes/repo-infra
  * k8s.io/gengo/
  * k8s.io/kube-openapi/
  * github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods

Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
k8s-ci-robot 97baad34a7
Merge pull request #67006 from mbohlool/crd_webhook_conversion
CRD webhook conversion
2018-11-10 02:33:51 -08:00
k8s-ci-robot 413ccb15c6
Merge pull request #70021 from pbarker/audit-plugins
dynamic audit plugins
2018-11-09 18:34:45 -08:00
Daniel Smith 74c50c0ad3 generated files 2018-11-09 16:24:12 -08:00
Daniel Smith 5a8444ceec Test workqueue metrics 2018-11-09 16:24:12 -08:00
Mehdy Bohlool d51d0164c5 Update generated files 2018-11-09 15:57:35 -08:00
Mehdy Bohlool e2ca575d0f CRD Conversion 2018-11-09 15:57:35 -08:00
Patrick Barker 54fd930d0e adds dynamic audit plugins generated 2018-11-09 15:38:08 -07:00
Patrick Barker 8eb2150689 adds dynamic audit plugins 2018-11-09 15:38:00 -07:00
k8s-ci-robot daea190bee
Merge pull request #70753 from logicalhan/healthz-test
fix healthz checkerNames test so that it tests against the expected output
2018-11-09 14:31:09 -08:00
yameiwang fe5f7aab77 fix spelling errors its 2018-11-10 03:12:49 +08:00