Commit Graph

5920 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
988c9d619e Merge pull request #72581 from liggitt/runtime-config-warning
preserve prior behavior of ignoring invalid --runtime-config keys
2019-01-04 20:11:53 -08:00
Kubernetes Prow Robot
edd0129f76 Merge pull request #72573 from deads2k/server-08-typo
fix typo in warning advice for permissions
2019-01-04 20:11:43 -08:00
Kubernetes Prow Robot
fc86054f88 Merge pull request #72589 from logicalhan/filter
add a content-type filter to apiserver filters to autoset nosniff
2019-01-04 18:56:45 -08:00
Han Kang
d0532bdb9a add a content-type filter to apiserver filters to autoset nosniff 2019-01-04 15:35:32 -08:00
Kubernetes Prow Robot
080d2a43eb Merge pull request #72575 from liggitt/flush-streamer-headers
Flush headers before streaming logs
2019-01-04 14:10:02 -08:00
immutableT
a4dc53cfeb Expose kms timeout value via encryption config. 2019-01-04 12:52:54 -08:00
Jordan Liggitt
fc3fca2857 preserve behavior of ignoring invalid --runtime-config keys and api/all=false 2019-01-04 15:28:23 -05:00
Davanum Srinivas
85ae15621a Revert "Generate Stack Traces for http response with status code zero"
Does not help with the bug investigation. the http server is designed to
panic when the http status code is `0`.

This reverts commit 72792d59f4.
2019-01-04 15:26:07 -05:00
Lucas Käldström
ec68839a26 Create an initial skeleton k8s.io/component-base staging repo. Co-authored-by: @Klaven 2019-01-04 22:01:39 +02:00
Lucas Käldström
58a5cb0724 Break out common API testing functionality from pkg/master 2019-01-04 20:52:35 +02:00
Jordan Liggitt
93625f5026 Flush headers before streaming logs 2019-01-04 10:16:40 -05:00
David Eads
1105e4e0d1 fix typo in warning advice for permissions 2019-01-04 09:58:06 -05:00
Kubernetes Prow Robot
4a6ba9dae2 Merge pull request #71768 from liggitt/upgrade-test
test verifying upgraded backend
2019-01-03 23:10:32 -08:00
Kubernetes Prow Robot
e89a3a7802 Merge pull request #72498 from dims/generate-stack-traces-for-bad-http-response
Generate Stack Traces for bad http responses
2019-01-03 17:36:20 -08:00
Kubernetes Prow Robot
a9f40b50f0 Merge pull request #72494 from johanneswuerbach/rm-rollback-example
Remove outdated rollback step from CRUD deployment example
2019-01-03 17:36:09 -08:00
Tim Allclair
d9aeea6ba4 Promote ValidateProxyRedirects to Beta and enable by default 2019-01-03 17:13:58 -08:00
Kubernetes Prow Robot
73bca32cf0 Merge pull request #68557 from sttts/sttts-storage-compaction-once
apiserver: start only one compactor per unique storagebackend transport config
2019-01-03 14:37:39 -08:00
Davanum Srinivas
72792d59f4 Generate Stack Traces for http response with status code zero
When we spit out a http reponse with a `0` http status code we
should log a trace back so we can easily find where things went wrong.

Change-Id: Ic2aadec3a3de85fbdf64da66d6d12e3c631f409d
2019-01-03 16:52:45 -05:00
Jordan Liggitt
f19399096b Use overridden config when determining if default namespace came from config 2019-01-03 13:30:59 -05:00
Justin SB
19a5528a65 Remove executable permission from testdata 2019-01-03 12:21:31 -05:00
Kubernetes Prow Robot
bfa5876311 Merge pull request #72383 from cheftako/owners
Adding cheftako to reviewers
2019-01-03 09:18:32 -08:00
Dr. Stefan Schimanski
00a717b572 apiserver: start only one compactor per unique storage transport config 2019-01-03 12:01:47 +01:00
Kubernetes Prow Robot
dba49e60aa Merge pull request #72249 from liggitt/resource-runtime-config
Allow enabling/disabling specific extensions/v1beta1 resources
2019-01-02 13:58:21 -08:00
Johannes Würbach
e6e3b78f75 Remove outdated rollback step from CRUD deployment example
The code was already removed, remove the rollback step also from the README
2019-01-02 20:52:34 +01:00
Jordan Liggitt
e016e132f5 Allow enabling/disabling specific extensions/v1beta1 resources 2019-01-02 10:15:21 -05:00
Dr. Stefan Schimanski
a2e19f1228 kube-apiserver: add e2e graceful shutdown integration test 2019-01-02 15:26:04 +01:00
Dr. Stefan Schimanski
7b242533a2 apiserver: separate transport setting from storagebackend.Config 2019-01-02 12:52:38 +01:00
Kubernetes Prow Robot
483d25785c Merge pull request #72451 from hossainemruz/hossainemruz-patch-1
Fix a typo
2019-01-02 01:29:51 -08:00
Kubernetes Prow Robot
fb1a8307ad Merge pull request #72466 from dims/extra-logging-for-0-length-response
Log more details when we get the 0-length error
2019-01-01 19:36:50 -08:00
Davanum Srinivas
f92ee4e4e4 Log more details when we get the 0-length error
Change-Id: I9733521a3afd91c54c19fe08d0622df4187c0c0c
2019-01-01 18:17:31 -05:00
Kubernetes Prow Robot
7284660483 Merge pull request #71300 from danielqsj/71165
Use prometheus conventions for workqueue metrics
2018-12-31 21:18:45 -08:00
Kubernetes Prow Robot
2a9fbe6490 Merge pull request #71115 from xichengliudui/fix181116
update notes
2018-12-31 21:18:34 -08:00
Kubernetes Prow Robot
de02d00989 Merge pull request #70782 from MIBc/commenting-error
Commenting error in ItemExponentialFailureRateLimiter
2018-12-31 14:39:36 -08:00
Md. Emruz Hossain
83ff55ccc3 Fix a typo 2018-12-31 12:28:33 +06:00
Kubernetes Prow Robot
e478243542 Merge pull request #72190 from yue9944882/chore/drop-disabled-fields-crd
CRD: Update drop disable fields behavior
2018-12-30 09:47:56 -08:00
Jordan Liggitt
a432a7cf68 Shorten re-read period for token files to work with ProjectedTokenVolumeSource 2018-12-29 22:18:28 -05:00
yue9944882
2fcf418698 drop crd api fields 2018-12-29 15:58:20 +08:00
Kubernetes Prow Robot
18464d472a Merge pull request #71599 from bouk/fake-eviction
client-go/testing: Straighten out fake implementation of Evictions
2018-12-28 14:48:59 -08:00
Kubernetes Prow Robot
7c112762b0 Merge pull request #72406 from wojtek-t/speedup_listers
Speedup listers for empty selectors
2018-12-28 08:17:06 -08:00
wojtekt
91e7f466b9 Speedup listers for empty selectors 2018-12-28 16:01:16 +01:00
Wei Guo
a766ed2d2b WaitFor returns immediately when done is closed 2018-12-28 19:43:10 +08:00
Walter Fender
97426ce7a5 Adding cheftako to reviewers
Also adding as an owners to pkg/cloudprovider.
2018-12-27 15:25:20 -08:00
Jordan Liggitt
73dcfe12da Stop checking VolumeScheduling feature gate 2018-12-27 17:45:45 -05:00
Clayton Coleman
1f590e697e Make wrapping a client transport more pleasant
Properly wrapping a transport can be tricky. Make the normal case
(adding a non-nil transport wrapper to a config) easier with a helper.
Also enforce a rough ordering, which in the future we can use to
simplify the WrapTransport mechanism down into an array of functions
we execute in order and avoid wrapping altogether.
2018-12-27 13:11:41 -05:00
Clayton Coleman
09890b6c48 leaderelection: Allow leader elected code to step down on a context cancel
The current code simply exits without continuing to renew the lease, which means
participants using a slower lease duration might have to wait multiple minutes
before a new leader is elected. Allow an optional flag to be set on
LeaderElectionConfig that will release the lease when the calling context is
cancelled. Callers *must* ensure their lease guarded code has completed before
the context is cancelled, or other processes may acquire the lease before this
lease has released.

Add an example command that demonstrates how cancellation could be done.

As a convenience to users, make event recorder optional - not all users of the
lock code will need a recorder.
2018-12-27 13:11:07 -05:00
Walter Fender
f192657380 Add gauge metric for master of leader election.
Fixes #71730
0 indicates standby, 1 indicates master, label indicates which lease.
Tweaked name and documentation
Factored in Mike Danese feedback.
Removed dependency on prometheus from client-go using adapter.
Centralized adapter import.
Fixed godeps
Fixed boilerplate.
Put in fixes for caesarxuchao
2018-12-27 09:40:33 -08:00
Vikranth Thati
15c7e93f14 Use pkg/util/json Marshal and Unmarshal instead of 'encoding/json' to preserve numbers, rather than casting to float64 automatically. 2018-12-27 12:31:45 +05:30
Kubernetes Prow Robot
81a1f12dab Merge pull request #70277 from kdada/master
Fix goroutine leak of wait.poller
2018-12-26 22:29:47 -08:00
danielqsj
c183646baf Return admission metrics with true units 2018-12-26 22:58:56 +08:00
danielqsj
88c4b64400 Change endpoints metrics to conform guideline 2018-12-26 22:51:45 +08:00