Commit Graph

32576 Commits (bb4fcddd1b76ed628412b0cb0daabc5a05f87790)

Author SHA1 Message Date
Laurent Bernaille 1412d53b62 [kube-proxy/ipvs] Protect Netlink calls with a mutex 2018-12-27 10:53:27 +01:00
Kubernetes Prow Robot aee1ab34ab
Merge pull request #72260 from bsalamat/fix_waiting_pods
Add pods in the backoff queue to the list of pending pods
2018-12-27 00:03:18 -08:00
Kubernetes Prow Robot 68451f301b
Merge pull request #72291 from msau42/fix-subpath-orphan
Fix subpath issues with orphaned pod cleanup
2018-12-26 19:48:27 -08:00
Kubernetes Prow Robot d61286987d
Merge pull request #72251 from sbezverk/VolumeMode
VolumeMode - Update DropDisabled[Alpha]Fields behaviour
2018-12-26 16:20:36 -08:00
Kubernetes Prow Robot 52b6b4086f
Merge pull request #72250 from sbezverk/AllowVolumeExpansion
AllowVolumeExpansion validation and tests
2018-12-26 16:20:24 -08:00
Kubernetes Prow Robot dfaf10f469
Merge pull request #72321 from Pingan2017/kubectl-config-type
code cleanup for kubectl config
2018-12-26 13:19:48 -08:00
Kubernetes Prow Robot ee00cd3d0b
Merge pull request #72344 from liggitt/fix-create-docker-registry
Fix create secret docker-registry compatibility
2018-12-26 12:08:39 -08:00
Kubernetes Prow Robot 40b2b5e695
Merge pull request #72171 from sbezverk/podPriority_field
PodPriority - Update DropDisabled[Alpha]Fields behaviour
2018-12-26 12:08:29 -08:00
Serguei Bezverkhi a5d5a174af VolumeMode Validation and tests
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-26 14:28:53 -05:00
Michelle Au 3ebbbbd5d8 Leave refactoring TODO 2018-12-26 10:49:28 -08:00
Michelle Au 8724b46623 Check for volume-subpaths directory in orpahaned pod cleanup 2018-12-26 10:49:28 -08:00
Jordan Liggitt e243e646fc Fix create secret docker-registry compatibility 2018-12-26 11:11:29 -05:00
Pingan2017 672cad60e9 code cleanup for kubectl config 2018-12-25 15:24:57 +08:00
Pingan2017 1148ecfaf6 correctly update pod ready condition 2018-12-25 09:36:37 +08:00
Kubernetes Prow Robot 2e01f6d04d
Merge pull request #72306 from lovejoy/patch-1
Fix the authorization-policy-file description
2018-12-24 07:48:09 -08:00
Kubernetes Prow Robot eb79f8f279
Merge pull request #69615 from k82cn/update_node_ns
Fixed node namespace to none.
2018-12-23 23:39:09 -08:00
lovejoy d437305cbf
Fix the authorization-policy-file description
Actually this is in a format like below not a csv format
```json
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"group":"system:authenticated",  "namespace": "*", "resource": "*","apiGroup": "*"}}
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"group":"system:authenticated",  "namespace": "*", "resource": "ingresses","apiGroup": "extensions"}}
{"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"group":"system:authenticated",  "namespace": "*", "resource": "*","apiGroup": "apiextensions.k8s.io"}}
```
2018-12-24 14:54:34 +08:00
Kubernetes Prow Robot d476af7c19
Merge pull request #72282 from rkojedzinszky/master
storage_scheduling: retry operation as intended
2018-12-23 01:00:09 -08:00
Bhavin Gandhi ca46c1da15
[scheduler] Move predicate & priority registration to separate file
- Maintain list of default predicates and priorities in defaults.go
  and move the registration to separate files

Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
2018-12-22 19:30:34 +05:30
Serguei Bezverkhi 587c5d7263 PodPriority validation and tests
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-22 08:54:40 -05:00
Kubernetes Prow Robot e2f2ca2b29
Merge pull request #70599 from caesarxuchao/kubectl-wait-all
Enable --all flag for kubectl wait
2018-12-21 20:19:21 -08:00
Kubernetes Prow Robot 37dc6789d7
Merge pull request #71978 from denkensk/move-predicate-types
Move predicate types from algorithm to predicates
2018-12-21 19:05:29 -08:00
Kubernetes Prow Robot 35061468cc
Merge pull request #72271 from jhrv/call_validate_for_rollback
call createValidation before rollback. Fixes #72256
2018-12-21 16:03:51 -08:00
Kubernetes Prow Robot fa2cffbd4a
Merge pull request #72223 from misterikkit/godocs
Add godoc to pkg/util/configz.
2018-12-21 13:49:53 -08:00
Kubernetes Prow Robot aaa4faba39
Merge pull request #72081 from denkensk/make-scheduleinternalcache-podFilter-public
Make PodFilter as part of public API
2018-12-21 12:37:39 -08:00
Kubernetes Prow Robot 91b81544d3
Merge pull request #72213 from sbezverk/containers_procmount
ProcMount - Update DropDisabled[Alpha]Fields behaviour
2018-12-21 11:28:57 -08:00
Johnny Horvi 954987f8f6 call createValidation before rollback. Fixes #72256 2018-12-21 20:10:19 +01:00
Kubernetes Prow Robot 5354f8bdfe
Merge pull request #72239 from wojtek-t/v1_lease_api
Promote Lease API to v1
2018-12-21 10:03:36 -08:00
Richard Kojedzinszky a8c70aadd1 storage_scheduling: retry operation as intended
Fixes #72163
2018-12-21 17:22:00 +01:00
wangqingcan 000aa06912 Make scheduleinternalcache.PodFilter as public 2018-12-21 23:09:56 +08:00
wangqingcan b82a1d4600 Move predicate types from algorithm to predicates 2018-12-21 22:26:47 +08:00
Kubernetes Prow Robot 870c050727
Merge pull request #72219 from micahhausler/aws-user-agent
Added kubernetes version to user-agent for AWS SDK calls
2018-12-21 03:50:38 -08:00
Kubernetes Prow Robot d257ee9bfd
Merge pull request #72014 from huynq0911/scheduler-cleanup-71867-move-compatibility-test
[Fix issue scheduler cleanup 71867]: Move compatibility_test.go to pkg/scheduler/api
2018-12-20 22:39:09 -08:00
Micah Hausler 949d5f97c4 Added kubernetes version to user-agent for AWS SDK calls 2018-12-20 21:04:44 -08:00
Kubernetes Prow Robot e1552d8ef9
Merge pull request #70866 from feiskyer/backoff
Reduce Azure API calls by replacing the current backoff retry with SDK's backoff
2018-12-20 19:24:14 -08:00
Kubernetes Prow Robot 0d63cf9caa
Merge pull request #67037 from Huang-Wei/cleanup-ood
cleanup logic related with OutOfDisk
2018-12-20 17:30:27 -08:00
Bobby (Babak) Salamat 48b6f75829 Add pods in the backoff queue to the list of pending pods 2018-12-20 17:28:23 -08:00
Serguei Bezverkhi 082f23ab1b AllowVolumeExpansion validation and tests
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-20 17:04:47 -05:00
Kubernetes Prow Robot 29b3ec9108
Merge pull request #72140 from wgliang/feature/adaptive-percentage-find-nodes
Set percentage of nodes scored in each cycle dynamically based on the…
2018-12-20 12:36:45 -08:00
Serguei Bezverkhi 0050a649f0 Generated files
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-20 14:43:52 -05:00
Serguei Bezverkhi 1778d64a59 ProcMount validation and testing
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-20 14:43:52 -05:00
wojtekt 9664779bdd Autogenerated code 2018-12-20 20:22:11 +01:00
Kubernetes Prow Robot b2a0315bf5
Merge pull request #72184 from sbezverk/RuntimeClassName_field
RuntimeClassName - Update DropDisabled[Alpha]Fields behaviour
2018-12-20 10:52:53 -08:00
Kubernetes Prow Robot ae88c2d7b4
Merge pull request #70616 from teemow/teemow-proxy-flush-iptables-first
flush iptable chains first and then remove them
2018-12-20 08:53:47 -08:00
wojtekt 73d14dede6 Promote Lease API to v1 2018-12-20 15:39:57 +01:00
Kubernetes Prow Robot cbc3ec7899
Merge pull request #67791 from tallclair/runtimeclass-api
Add node-api staging repo w/ RuntimeClass API
2018-12-20 03:11:33 -08:00
Kubernetes Prow Robot fbc7114734
Merge pull request #72093 from WanLinghao/client_builder_log_fix
fix log information error
2018-12-20 00:02:30 -08:00
Nguyen Quang Huy b2ceccec57 Fix issue scheduler cleanup 71867
Move compatibility_test.go to pkg/scheduler/api
2018-12-20 13:04:58 +07:00
Guoliang Wang 6515c4e09b Set percentage of nodes scored in each cycle dynamically based on the cluster size 2018-12-20 11:20:00 +08:00
Jonathan Basseri ec247ca0be Add godoc to pkg/util/configz.
Document the intended use of this package. In particular, document the
fact that it is intended for ComponentConfig.
2018-12-19 17:38:30 -08:00
Kubernetes Prow Robot 00ca6939cb
Merge pull request #72038 from bowei/change-gce-cloud-provider
Change gce cloud provider
2018-12-19 14:13:55 -08:00
Kubernetes Prow Robot 6da32b078f
Merge pull request #72006 from soltysh/allnamespaces_shorthand
Introduce -A as a shorthand for --all-namespaces in kubectl
2018-12-19 14:13:40 -08:00
Serguei Bezverkhi 27a8967555 RuntimeClass validation and tests
Signed-off-by: Serguei Bezverkhi <sbezverk@cisco.com>
2018-12-19 15:01:28 -05:00
Jordan Liggitt 0ff455e340 generated files 2018-12-19 11:19:12 -05:00
Jordan Liggitt fd9e9b01b1 Remove uses of extensions/v1beta1 clients 2018-12-19 11:18:53 -05:00
Weibin Lin 842bd1e1ec update deployment, daemonset, replicaset, statefulset to apps/v1 2018-12-19 10:46:45 -05:00
Kubernetes Prow Robot ea6acb34d1
Merge pull request #65132 from stewart-yu/stewart-removeunusedtodo
remove unuse todo
2018-12-19 06:51:29 -08:00
Maciej Szulik 885bed15da Introduce -A as a shorthand for --all-namespaces in kubectl 2018-12-19 14:37:43 +01:00
Kubernetes Prow Robot fccb19da9f
Merge pull request #71616 from Huang-Wei/aks-param-typo
fix an param typo of AKS loadbalancer method
2018-12-19 00:52:03 -08:00
Kubernetes Prow Robot cd02e752bf
Merge pull request #71509 from cofyc/fix71438
Fix device mountable volume names in DSW
2018-12-19 00:51:52 -08:00
Kubernetes Prow Robot ec4105a6d3
Merge pull request #66882 from ryanmcnamara/rm/stable-controllerrevisions-sort
Stably sort controllerrevisions
2018-12-19 00:51:29 -08:00
Kubernetes Prow Robot 33404d973a
Merge pull request #72174 from msau42/owners
Update sig-storage owners
2018-12-18 21:28:10 -08:00
Kubernetes Prow Robot 52a9edbe98
Merge pull request #72172 from liggitt/drop-disabled-fields
Cleanup of disabled field handling
2018-12-18 21:28:00 -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
Kubernetes Prow Robot f039076116
Merge pull request #72135 from tallclair/rc-logs
Surface selected pod RuntimeHandler in Kubelet logs
2018-12-18 19:10:25 -08:00
Tim Allclair baa6ca502b Generated code 2018-12-18 16:06:56 -08:00
Michelle Au 8954c11719 Cleanup volume approvers 2018-12-18 15:12:13 -08:00
Michelle Au 0b6fa24f65 Add msau42 to top-level volume approvers 2018-12-18 15:11:42 -08:00
Jordan Liggitt 901ddba812 Pass new and old object to DropDisabledFields 2018-12-18 17:50:22 -05:00
Jordan Liggitt 88284f637b Rename DropDisabledAlphaFields to DropDisabledFields 2018-12-18 17:45:37 -05: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
Wei Huang 8f87e71e0c
cleanup logic related with OutOfDisk
- cleanup OOD logic in scheduling and node controller
- update comments and testcases
2018-12-18 11:28:02 -08:00
Kubernetes Prow Robot f4487a06fe
Merge pull request #70490 from liggitt/tolerate-existing-subpath
tolerate existing subpath on pod update when feature is disabled
2018-12-18 11:16:50 -08:00
Bowei Du 4ffaf707c1 Add google k8s-cloud-provider to the import boss whitelist 2018-12-18 10:28:06 -08:00
Bowei Du 6ef9105978 Update Bazel 2018-12-18 10:28:02 -08:00
Bowei Du 83ba05a002 Change to use vendored k8s-cloud-provider base 2018-12-18 10:26:46 -08:00
Bowei Du 7f8dae1abc Removing cloud directory 2018-12-18 10:26:46 -08:00
Kubernetes Prow Robot b97092ca8f
Merge pull request #71399 from resouer/eclass-task-1
Eclass task 1: clean up old code
2018-12-18 08:47:13 -08:00
Jordan Liggitt c4a0254201 remove subpath feature validation failure 2018-12-18 10:21:22 -05:00
Jordan Liggitt de96583d8c drop subpath from pod spec when the feature is disabled and the old spec did not use subpaths 2018-12-18 10:21:22 -05:00
Kubernetes Prow Robot 64bf2ac5f2
Merge pull request #72106 from DataDog/lbernail/improve-svc-deletion
kube-proxy/IPVS Improve service deletion
2018-12-17 22:35:13 -08:00
Kubernetes Prow Robot 4e8bea4bb7
Merge pull request #71194 from yanghaichao12/dev1119-1
Fix comment error of 'cpuManagerStateFileName'
2018-12-17 20:28:19 -08:00
Harry Zhang 797601d99d Fixed outdated bazel 2018-12-17 17:05:49 -08:00
wangqingcan 1081e919e3 Eclass Task 1: clean up old equiv class code
Co-authored-by: Harry Zhang <resouer@gmail.com>
Co-authored-by: Wang Qingcan <wangqingcan@baidu.com>
2018-12-17 17:05:49 -08:00
Tim Allclair e27f7ef151 Surface selected pod RuntimeHandler in Kubelet logs 2018-12-17 16:36:47 -08:00
Kubernetes Prow Robot e2be7c91d9
Merge pull request #70344 from andrewsykim/consolidate-node-delete
consolidate node deletion logic between kube-controller-manager and cloud-controller-manager
2018-12-17 15:49:16 -08:00
Kubernetes Prow Robot 1d59ab05fa
Merge pull request #71118 from ping035627/k8s-181115
Add some exception handling of Preempt
2018-12-17 12:10:31 -08:00
Jordan Liggitt e486d486b1 Plumb old pod spec into DropDisabledFields methods 2018-12-17 12:49:29 -05:00
Jordan Liggitt 49028df5f9 Rename DropDisabledFields 2018-12-17 12:08:25 -05:00
Kubernetes Prow Robot f77a0706d0
Merge pull request #72096 from wojtek-t/promote_node_lease
Promote NodeLease to Beta and enable by default
2018-12-17 06:21:27 -08:00
Laurent Bernaille 8bafc9771e [kube-proxy/ipvs] Do not try to delete RS already in termination list 2018-12-17 13:46:50 +01:00
Laurent Bernaille ffbfc53053 [kube-proxy/ipvs] Add info message showing the reason for skipping deletion 2018-12-17 13:46:09 +01:00
wojtekt 546ece7b2c Promote NodeLease to Beta and enable by default 2018-12-17 10:19:22 +01:00
Kubernetes Prow Robot 2b96a60742
Merge pull request #71992 from andyzhangx/vmss-update-issue
fix race condition when attach azure disk in vmss
2018-12-16 22:27:45 -08:00
WanLinghao da3c019873 fix log information error 2018-12-17 12:03:39 +08:00
andyzhangx c12e82feb3 fix race condition when attach azure disk in vmss
fix gofmt issue
2018-12-17 03:16:33 +00:00
Kubernetes Prow Robot a521285b7c
Merge pull request #72073 from misterikkit/cleanup
Minor cleanup in scheduler/PriorityQueue
2018-12-14 23:23:19 -08:00
Jonathan Basseri d27d28a44e Flatten nominated pod logic in PriorityQueue.
This replaces deeply nested ifs & fors with early returns & continues.
2018-12-14 18:11:12 -08:00
Jonathan Basseri fae4f69d36 Fix return value of PriorityQueue.Add.
This function was returning a non-nil error for the common, non-failure
case. The fix is to properly scope local error values and add early
returns.
2018-12-14 16:44:21 -08:00
Kubernetes Prow Robot 2791fb7dc5
Merge pull request #72067 from dashpole/pod_start_time
Use Pod.Status.StartTime as pod's cgroup start time in summary API
2018-12-14 15:47:01 -08:00