Commit Graph

10808 Commits

Author SHA1 Message Date
knight42
1b32dfdafd refactor: move kubectl-cp to staging
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-06-16 11:53:22 +08:00
Kubernetes Prow Robot
dbef5e3e31 Merge pull request #88998 from zhouya0/kubectl_apply_generate_name_error_message
Add kubectl apply generate name error message
2020-06-15 18:13:56 -07:00
Kubernetes Prow Robot
7401f8e2ea Merge pull request #91927 from wangkai1994/fix/replace_whitelist_to_allowed
replace whitelist to allowlist
2020-06-15 14:17:59 -07:00
Abu Kashem
e73fa4a186 retry on 'unexpected EOF' error
'unexpected EOF' is usually a transient error. client-go request
uses IsProbableEOF to determine whether it is going to retry a
failed request.
2020-06-15 10:40:32 -04:00
Kubernetes Prow Robot
17616aa9cc Merge pull request #91160 from gaurav1086/kube_aggregator_fix_goroutine_leak
kube-aggregator: Fix goroutine leak
2020-06-15 05:28:11 -07:00
Mikhail Mazurskiy
609da52afa Fix data race on config.clientConfig
config.clientConfig can have an unlocked read
and a locked write
2020-06-15 21:53:11 +10:00
Kobayashi Daisuke
4ae11dac2e Replace StartLogging(klog.Infof) with StartStructuredLogging(0) 2020-06-15 17:48:35 +09:00
Kobayashi Daisuke
dcaa8d7126 Add an function for Structured Logging function into EventBroatcaster 2020-06-15 17:48:35 +09:00
Kobayashi Daisuke
ed1b83c6de Migrate log to klog.InfoS for staging/src/k8s.io/client-go 2020-06-15 17:48:35 +09:00
Kubernetes Prow Robot
1fa20301a0 Merge pull request #92129 from weijiehu/azure_controller_vmss
Improves unittest CC for azure_controller_vmss
2020-06-15 01:27:56 -07:00
weijiehu
ddbaa0c973 Improves unittest CC for azure_controller_vmss 2020-06-14 23:13:28 -07:00
Kaivalya Shah
9fc229012c gce_instances: Add check for multiple interface addresses in nodeAddresses and nodeAddressesFromInstance 2020-06-15 11:40:15 +05:30
Kubernetes Prow Robot
15e95e4896 Merge pull request #92113 from v-xuxin/enrich-unit-test
Enrich the unit tests for azure_instances
2020-06-14 18:54:10 -07:00
Javier Diaz-Montes
7ef7ce2a3c Adding autogenerated files 2020-06-14 21:26:27 -04:00
Javier Diaz-Montes
4112d8db20 Adding new PodSpec field called setHostnameAsFQDN and SetHostnameAsFQDN gate
These changes add a new field, called setHostnameAsFQDN, to the PodSpec. This
field is a bool that will be used to indicate whether we would like
FQDN be set as hostname or not.

This is PART1 of the changes to enable KEP #1797 and addresses #91036
2020-06-14 21:26:26 -04:00
yuzhiquan
a0f808f4d8 add json logger format
add unit test case

add benchmark test case

fix staticcheck, and response for review comment

remove unnecessary variable

add test case for non-string field or zap-field, refactor code

update vendor
2020-06-14 12:33:09 +08:00
Kubernetes Prow Robot
ded1f58779 Merge pull request #90911 from divyenpatel/vsphere-csi-migration
Support for vSphere in-tree volumes migration to vSphere CSI driver
2020-06-13 04:25:55 -07:00
v-xuxin
0056f09792 Enrich the unit tests for azure_instances 2020-06-13 09:30:40 +00:00
Kubernetes Prow Robot
0703d68448 Merge pull request #92075 from jingyih/update_etcd_client_3p4p9
Update etcd client to v3.4.9
2020-06-13 00:34:10 -07:00
Kubernetes Prow Robot
a3978d0df4 Merge pull request #90823 from smarterclayton/service_load_balancer
Service load balancers should include unschedulable nodes
2020-06-12 22:03:57 -07:00
RainbowMango
0ee146e24f Fix invalid metric name in unit test 2020-06-13 09:50:48 +08:00
RainbowMango
1a26b3eeb5 enable lint in metrics test utils and add legacy invalid metrics to exception list. 2020-06-13 09:50:42 +08:00
Kubernetes Prow Robot
7151131d79 Merge pull request #73032 from liggitt/kubectl-warning
surface server-side warnings in client-go / kubectl
2020-06-12 17:09:56 -07:00
Kishor Joshi
f76c21cce6 Allow UDP for AWS NLB
Co-authored-by: Patrick Ryan <pjryan@my.okcu.edu>
Co-authored-by: Owen Ou <jingweno@gmail.com>
2020-06-12 14:59:58 -07:00
Kubernetes Prow Robot
2402bfd4bc Merge pull request #91997 from aramase/floating-ipv6
azure: enable floating IP for IPv6 LB
2020-06-12 14:27:55 -07:00
Kubernetes Prow Robot
27c70773ad Merge pull request #91978 from nilo19/cleanup/enrich-azure-blobdiskcontroller-tests
Azure: Enrich unit tests for azure.go and azure_blobDiskController.go.
2020-06-12 10:48:24 -07:00
jingyih
fec3aa4a47 Pin go.etcd.io/etcd to 3.4.9 and rebuild vendor 2020-06-12 08:43:10 -07:00
Rafal Wicha
707e1eb512 Configure strict encoding for RequestedToCapacityRatioArgs 2020-06-12 14:55:32 +01:00
Kevin
bd961781d7 prevent update handler being called on disallowed CreateOnUpdate 2020-06-12 13:04:17 +00:00
Hiroshi Muraoka
5b06aaa7ab Update github.com/evanphx/json-patch to e83c0a1c26c884f8ec4fb743f6db92a941f605f1
Signed-off-by: Hiroshi Muraoka <h.muraoka714@gmail.com>
2020-06-12 11:11:08 +00:00
yue9944882
567becd5ee introduce apf debug endpoint 2020-06-12 17:48:26 +08:00
wangkai1994
8d68452ea0 replace whitelist to allowlist 2020-06-12 10:20:58 +08:00
Jordan Liggitt
df6608dc99 Generated files 2020-06-11 16:04:19 -04:00
Jordan Liggitt
0d674c4edb cmd: silence warnings in kube-controller-manager/kube-apiserver, dedupe/color warnings in kubectl 2020-06-11 16:04:19 -04:00
Jordan Liggitt
e4bb1daecf apiserver: increment metric for deprecated API use 2020-06-11 16:04:19 -04:00
Jordan Liggitt
e06b0635de apiserver: add warnings for deprecated APIs 2020-06-11 16:04:19 -04:00
Jordan Liggitt
e5e557e902 apiserver: add API server plumbing for adding warnings 2020-06-11 16:04:19 -04:00
Jordan Liggitt
b1098bd0d5 client-go: extract warning headers from API responses 2020-06-11 16:04:19 -04:00
Clayton Coleman
1f010cc42b Service load balancers should include unschedulable nodes
In 16443 a set of changes were made to enable service load balancers
for Kube 1.1 and GCP to exclude unschedulable nodes from load balancer
pools. However, Unschedulable has nothing to do with whether nodes
should host service load balancer pods - the act of preventing new
pods from landing on a node has no impact on existing workloads.

In general nodes are not special, and a user who wants to exclude
otherwise healthy nodes can use the beta service load balancer
label to exclude the node from the LB pool.

This commit removes the check for unschedulable nodes from the
LB pool.
2020-06-11 11:43:43 -04:00
zhouya0
c91ef26697 Add kubectl apply generate name error message 2020-06-11 23:13:00 +08:00
Kubernetes Prow Robot
257d11dc35 Merge pull request #91889 from anguslees/aws-ipsort
aws: Fix address sorting of multiple interfaces
2020-06-11 00:53:10 -07:00
Kubernetes Prow Robot
5915b86b0d Merge pull request #91984 from p0lyn0mial/fix-graceful-shutdown
genericapiserver waits for server.Shutdown
2020-06-10 22:43:44 -07:00
Kubernetes Prow Robot
9ccf6f7de7 Merge pull request #91818 from wojtek-t/remove_cachesize
Remove heuristic watchcache sizes
2020-06-10 22:43:24 -07:00
qini
e87b042128 Enrich unit tests for azure.go and azure_blobDiskController.go. 2020-06-11 13:25:18 +08:00
Jordan Liggitt
fa339d7390 apimachinery: add util/net helpers for decoding/encoding Warning headers 2020-06-10 23:29:00 -04:00
Angus Lees
5a18f58dbd aws: Fix address sorting of multiple interfaces
It is common to have "holes" in the network interfaces, eg after
attaching eth1+eth2, and then removing eth1.

Make the sorting code from #80747 robust to this situation.
2020-06-11 10:37:11 +10:00
Kubernetes Prow Robot
9089568465 Merge pull request #91780 from liggitt/csr-v1-rotate-kubelet-client
CSR v1 - promote RotateKubeletClientCertificate to GA
2020-06-10 17:13:24 -07:00
Kubernetes Prow Robot
42797adafc Merge pull request #91700 from skmatti/ilb-metrics
Add usage metrics for GCE Internal Loadbalancers
2020-06-10 17:12:56 -07:00
Kubernetes Prow Robot
875f31e988 Merge pull request #90225 from brianpursley/kubernetes-90017
Added kubectl apply validation to prevent using --dry-run=server with --force
2020-06-10 11:54:51 -07:00
Anish Ramasekar
0ef792ea18 enable floating IP for IPv6 2020-06-10 11:17:11 -07:00