Commit Graph

11177 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
f728fbaa62 Merge pull request #94501 from ialidzhikov/nit/labels-staticcheck
Fix staging/src/k8s.io/apimachinery/pkg/labels golint findings
2020-09-22 12:23:51 -07:00
Kubernetes Prow Robot
d20c43157f Merge pull request #93388 from SaiHarshaK/feature/run-annotate
allow adding annotations to pod when using kubectl run
2020-09-22 12:22:21 -07:00
Kubernetes Prow Robot
5c6d853b44 Merge pull request #92492 from eddiezane/ez/kubectl-876-warn-on-verb-validation
kubectl: warn when creating roles with custom verbs
2020-09-22 12:21:52 -07:00
Kubernetes Prow Robot
86a9087896 Merge pull request #89962 from wangrzneu/master
make kubectl/kubeadm completion script support busybox
2020-09-22 12:21:23 -07:00
Kubernetes Prow Robot
b03a4ac626 Merge pull request #94894 from gongguan/provider-id
use GetInstanceProviderID to get instance provider ID
2020-09-22 04:14:47 -07:00
gongguan
7380a58c19 use GetInstanceProviderID to get instance provider ID 2020-09-22 17:46:56 +08:00
Kubernetes Prow Robot
2cec7c61e4 Merge pull request #94885 from andyzhangx/detach-disk-azure-stack
fix: detach azure disk broken on Azure Stack
2020-09-21 21:23:16 -07:00
Kubernetes Prow Robot
66ea0f568c Merge pull request #94936 from liggitt/1.16-default-off
Return the Kubernetes version which stopped serving deprecated APIs by default
2020-09-21 14:37:51 -07:00
Kubernetes Prow Robot
f5a0250800 Merge pull request #94903 from tkashem/request-received-timestamp
Take into account the latency incurred in server filters
2020-09-21 10:04:47 -07:00
Kubernetes Prow Robot
0c3286e135 Merge pull request #94803 from azush26/modify-bearertoken
Limit the max number of splitting.
2020-09-21 08:56:45 -07:00
Jordan Liggitt
bf9e169b14 Return the Kubernetes version which stopped serving deprecated APIs by default
Even though particular cluster administrators could re-enable these resources in 1.16 and 1.17,
clients that introspect the API types directly to get early warning on deprecated APIs
and target removal versions should be told the default configurations most clusters will follow.
2020-09-21 11:36:22 -04:00
Abu Kashem
d74ab9e1a4 Take into account latency incurred in server filters
apiserver_request_duration_seconds does not take into account the
time a request spends in the server filters. If a filter takes longer
then the latency incurred will not be reflected in the apiserver
latency metrics.

For example, the amount of time a request spends in priority and
fairness machineries or in shuffle queues will not be accounted for.

- Add a server filter that attaches request received timestamp to the
request context very early in in the handler chain (as soon as
net/http hands over control to us).
- Use the above received timestamp in the apiserver latency metrics
apiserver_request_duration_seconds.
- Use the above received timestamp in the audit layer to set
RequestReceivedTimestamp.
2020-09-21 09:59:26 -04:00
Kubernetes Prow Robot
2d8fbd61af Merge pull request #94666 from soltysh/sort_nil
Handle nil elements when sorting, instead of panicking
2020-09-21 04:06:30 -07:00
Kubernetes Prow Robot
9983a52114 Merge pull request #94888 from sttts/sttts-preserve-unknown-fields-array
apiextensions: prune array type without items in published OpenAPI
2020-09-21 02:28:31 -07:00
Kubernetes Prow Robot
b27ecb2c70 Merge pull request #94873 from marwanad/use-more-granular-buckets-for-azure
use better buckets for azure api calls
2020-09-20 18:32:30 -07:00
Kubernetes Prow Robot
b86e725694 Merge pull request #91785 from mattcary/filtereddial
Specify a DialContext in storage plugin clients
2020-09-18 15:08:27 -07:00
Kubernetes Prow Robot
57e9a41ae3 Merge pull request #94853 from andyzhangx/azurefile-migration-issue
fix azure file migration panic
2020-09-18 11:24:47 -07:00
azush26
367214dffd Add an unit test for requests including value after token 2020-09-19 01:15:44 +09:00
azush26
bf516ab99c Limit the max number of splitting 2020-09-19 01:15:44 +09:00
andyzhangx
134f949be0 fix: detach azure disk broken on Azure Stack
fix comments

fix build failure
2020-09-18 13:58:14 +00:00
Dr. Stefan Schimanski
bde88c6ef7 apiextensions: prune array type without items in published OpenAPI
kubectl falls over arrays without item schema. Hence, we have to publish a less precise OpenAPI spec (similar to other pruning we already do for the same reason).
2020-09-18 13:55:24 +02:00
Sakuralbj
3be5fe15d9 test: add unit-test for TranslateCSIPVToInTree. 2020-09-18 18:52:29 +08:00
Matthew Cary
299a296c7a update-bazel
Change-Id: Iebc99ee13587f0cd4c43ab85c7295d458d679d1e
2020-09-18 00:44:39 +00:00
Marwan Ahmed
cbbdba89b1 use more granular buckets for azure api calls 2020-09-17 17:28:27 -07:00
Matthew Cary
f2e23afcf1 Adds filtering of hosts to DialContexts.
The provided DialContext wraps existing clients' DialContext in an attempt to
preserve any existing timeout configuration. In some cases, we may replace
infinite timeouts with golang defaults.

- scaleio: tcp connect/keepalive values changed from 0/15 to 30/30
- storageos: no change
2020-09-18 00:07:32 +00:00
Matthew Cary
74dbf274d9 update storageos vendor for FilteredDial change 2020-09-18 00:07:32 +00:00
andyzhangx
0d47999645 fix azure file migration panic 2020-09-17 13:19:13 +00:00
gongguan
16cc4ef823 enable gce InstancesV2 2020-09-17 10:32:28 +08:00
gongguan
15db82234f implement gce InstancesV2 interface 2020-09-17 10:32:20 +08:00
Kubernetes Prow Robot
aaccd5f77b Merge pull request #94736 from HaibaraAi96/mynodecontroller
cloud node controller: implement with workqueues and node lister
2020-09-16 18:16:59 -07:00
Kubernetes Prow Robot
f508d74169 Merge pull request #93692 from brianpursley/kubectl-901
Sort kubectl top pod output when --sort-by and --containers are used together
2020-09-16 18:16:45 -07:00
Kubernetes Prow Robot
28fc772d36 Merge pull request #94728 from amorenoz/portforward_udp
kubectl: Fix TCP and UDP port forward
2020-09-16 16:14:46 -07:00
Nicole Han
4ba09a8222 cloud node controller: implement with workqueues and node lister 2020-09-16 15:41:44 -07:00
Kubernetes Prow Robot
09b3f6dbb3 Merge pull request #93214 from trashhalo/prefer-error
test: prefer NoError/Error over Nil/NotNil
2020-09-16 15:10:45 -07:00
Kubernetes Prow Robot
3d52b8b5d6 Merge pull request #90969 from zhouya0/kubectl_wait_add_ignore_not_found
Ignore not found in `kubectl wait --for=delete`
2020-09-16 10:03:19 -07:00
Kubernetes Prow Robot
9621ac6ec7 Merge pull request #93284 from gongguan/instancemeta
pass instanceMetadata to updateNodeAddress to reduce api calls
2020-09-16 09:01:20 -07:00
gongguan
9678d4f609 reduce cloud api calls in cloud-node-controller by passing instanceMetadata to updateNodeAddress 2020-09-16 12:43:36 +08:00
Kubernetes Prow Robot
9fdbf1cf89 Merge pull request #94773 from tkashem/etcd-object-count
count of etcd object should be limited to the specified resource
2020-09-15 16:21:20 -07:00
Kubernetes Prow Robot
aed5ffd195 Merge pull request #94449 from justaugustus/go115
[go1.15] Update to go1.15.2
2020-09-15 15:15:19 -07:00
Kubernetes Prow Robot
a464854e5b Merge pull request #93027 from ialidzhikov/enh/label-funcs
Add metav1.SetMetaDataLabel func
2020-09-15 14:09:19 -07:00
Kubernetes Prow Robot
e7b9453972 Merge pull request #93537 from timuthy/enhancement.move-resourcequota
Move ResourceQuota admission to k8s.io/apiserver lib
2020-09-15 12:26:58 -07:00
Kubernetes Prow Robot
396dd2555d Merge pull request #91993 from nodo/89274-change-of-managefields-via-subresources
Do not allow manual changes to manageFields via subresources
2020-09-15 12:26:43 -07:00
Kubernetes Prow Robot
fd9828b02a Merge pull request #92632 from RenaudWasTaken/move-podresources-api
Move external facing podresources apis to staging
2020-09-15 10:04:07 -07:00
Abu Kashem
7e445867aa count of etcd object should be limited to the specified resource
Currently count includes keys from different resource(s) if the keys
are a prefix of the specified resource/key.

Consider the following keys:
A: <storage-prefix>//foo.bar.io/machines
B: <storage-prefix>//foo.bar.io/machinesets
If we ask for the count of key A, the result will also include the
keys from key B since key B shares the same prefix as key A.

Append a separator to mark the end of the key, this will exclude all
other keys from a different resource that is a prefix of the specified
key.
2020-09-15 10:27:15 -04:00
Renaud Gaubert
ba95a8c641 run hack/update-vendor.sh
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 05:13:33 -07:00
Renaud Gaubert
60304452ff Move podresources api to k8s.io/kubelet/pkg/apis
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2020-09-15 05:13:33 -07:00
Kubernetes Prow Robot
e36e68f5f6 Merge pull request #94779 from SergeyKanzhelev/supportPidLimitsGAFollowUp
follow up cleanup after SupportPodPidLimits GA
2020-09-15 00:12:07 -07:00
Kubernetes Prow Robot
37cf1d6aaa Merge pull request #94239 from andyzhangx/network-rule
add network rule support in Azure account creation
2020-09-14 20:20:06 -07:00
Sergey Kanzhelev
2a9228eb3c follow up cleanup after SupportPodPidLimits GA 2020-09-14 18:50:24 +00:00
Kubernetes Prow Robot
54df1fdc90 Merge pull request #94090 from deads2k/podpreset
remove pod presets
2020-09-14 10:43:13 -07:00