danielqsj
6edde10fcd
correct error string according to golang best practice
2019-02-15 18:12:00 +08:00
draveness
590bf5530d
refactor: use FilterActivePods instead in replicaset controller
2019-02-15 17:44:56 +08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Kubernetes Prow Robot
60943a7a08
Merge pull request #69830 from davidz627/feature/csiTranslationMigration
...
In-Tree to CSI Migration logic for PersistentVolume Attach/Detach
2019-02-14 22:43:05 -08:00
David Zhu
5dde1df1cd
Migration shim logic for Persistent Volumes for Attach/Detach
2019-02-14 17:04:23 -08:00
Ted Yu
4031900c0c
fix variable name
2019-02-13 19:46:18 -08:00
Kubernetes Prow Robot
d457fb7771
Merge pull request #73869 from grayluck/no-cluster-cidr-validation
...
Skip validation for clusterCIDR in node ipam controller.
2019-02-13 17:31:44 -08:00
danielqsj
23be9587a0
fix the disruption-recheck metrics register error
2019-02-14 09:15:44 +08:00
Ted Yu
a346460c08
Reduce unnecessary Map in node_controller#nodeAddressesChangeDetected
2019-02-13 16:16:15 -08:00
yankaiz
7379ad5ae2
Skip validation for clusterCIDR in node ipam controller.
...
clusterCIDR is passed down from kube_env CLUSTER_IP_RANGE to the flag --cluster-cidr.
We plan not to let GKE to pass down CLUSTER_IP_RANGE to kube-env for the master node.
2019-02-13 12:13:33 -08:00
Kubernetes Prow Robot
2aedcbc7ca
Merge pull request #73761 from andrewsykim/remove-cloud-provider-volume-deps
...
remove cloud provider dependencies to pkg/volume
2019-02-12 18:45:24 -08:00
Minhan Xia
299fa607c0
record event on endpoint update failure
2019-02-12 13:56:20 -08:00
Dr. Stefan Schimanski
618050e35d
client-go: extend discovery intf with ServerGroupsAndResources
2019-02-12 14:28:19 +01:00
Kubernetes Prow Robot
ee734d0543
Merge pull request #73932 from dims/cleanup-unnecessary-packages-from-import-restrictions
...
Remove unnecessary prefixes from various .import-restrictions files
2019-02-11 16:24:17 -08:00
Davanum Srinivas
1d430a4a73
Remove unnecessary prefixes from various .import-restrictions files
...
Found using script:
https://gist.github.com/dims/384dea60754042f61d79233603034038
Just run using:
`find . -name .import-restrictions | xargs python ~/junk/sanitize-import-boss.py`
The removed entries are either packages that got moved/renamed/deleted
but are still not cleaned up from .import-restrictions files.
Change-Id: I92c400f74e6f012cc75539311ed4de280e25e918
2019-02-11 16:47:28 -05:00
Nikolaos Moraitis
6e820cdcaf
replace loops with go idiomatic.
2019-02-11 11:21:52 +01:00
houjun
a5cde1a463
Check for pvcVolume with IsOperationPending() before markPVCResizeInProgress()
2019-02-11 15:23:17 +08:00
PingWang
1ff8fac138
Correct the count of evictionsNumber
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
check nodeutil.SwapNodeControllerTaint's return
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-02-11 10:15:10 +08:00
Andrew Kim
ca6a051b00
remove cloud provider dependencies to pkg/volume
...
Co-authored-by: Weibin Lin <linweibin1@huawei.com>
2019-02-09 01:16:55 -05:00
Kubernetes Prow Robot
52b3956df4
Merge pull request #67638 from houjun41544/20180821
...
Fix fmt.Errorf messages
2019-02-08 13:13:49 -08:00
Kubernetes Prow Robot
5b7a790d35
Merge pull request #72185 from dcbw/owners-label-sig-network
...
OWNERS: add label:sig/network to a bunch of places
2019-02-08 10:36:16 -08:00
Kubernetes Prow Robot
f0b72df47e
Merge pull request #73789 from vladimirvivien/volume-plugin-can-attach
...
AttachableVolumePlugin CanAttach() method for attachable check
2019-02-08 09:06:17 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
...
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Vladimir Vivien
0a653b3b80
Adds method CanAttach() to check plugin attachability
2019-02-08 08:04:15 -05:00
Kubernetes Prow Robot
eac19a3ab9
Merge pull request #73616 from dims/move-part-of-kubelet-apis-well-known-lables
...
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
2019-02-07 19:44:34 -08:00
Adrián
ca809b1d33
gofmt
2019-02-07 20:26:21 +01:00
Adrián
34099a9274
ControllerRef creation through factory function
2019-02-07 10:44:49 +01:00
Adrián
290101330e
ControllerRef creation through factory function
2019-02-07 09:36:39 +01:00
Kubernetes Prow Robot
bf8dd697b2
Merge pull request #73314 from mm4tt/trigger_time_tracker
...
Introduce the TriggerTimeTracker util in the Endpoints Controller.
2019-02-06 03:12:54 -08:00
Kubernetes Prow Robot
a1539d8e52
Merge pull request #73159 from cofyc/fix72329
...
Better way to share common utilities between PV controller and Volume Binder
2019-02-05 22:36:13 -08:00
Yecheng Fu
8b79fe3ebe
Do not call methods on PersistentVolumeController
2019-02-06 12:04:05 +08:00
Davanum Srinivas
b975573385
move pkg/kubelet/apis/well_known_labels.go to staging/src/k8s.io/api/core/v1/
...
Co-Authored-By: Weibin Lin <linweibin1@huawei.com>
Change-Id: I163b2f2833e6b8767f72e2c815dcacd0f4e504ea
2019-02-05 13:39:07 -05:00
Matt Matejczyk
9e7f7df94e
Introduce the TriggerTimeTracker util.
...
It will be used by the Endpoints Controller to compute and export the EndpointsLastChangeTriggerTime annotation, which in turn will be used to compute the In-Cluster Network Programming Latency SLI.
See https://github.com/kubernetes/community/blob/master/sig-scalability/slos/network_programming_latency.md for more details.
2019-02-05 09:37:31 +01:00
Kubernetes Prow Robot
7447b8709d
Merge pull request #73706 from deads2k/csr-01-expiry-min
...
csr signer has no need to sign certificates for a duration longer than the signer itself
2019-02-04 18:28:24 -08:00
Antoine Pelisse
0e1d50e70f
API Machinery, Kubectl and tests
2019-02-04 13:51:48 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Kubernetes Prow Robot
9d6ebf6c78
Merge pull request #73467 from ashishranjan738/newpackage
...
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
2019-02-04 11:43:14 -08:00
David Eads
179dc4ca43
csr signer has no need to sign certificates for a duration longer than the signer itself
2019-02-04 13:22:17 -05:00
Kubernetes Prow Robot
a4e3a5cb52
Merge pull request #71561 from anjensan/hpa-fix-current-metrics
...
Fix 'currentMetrics' field for HPA with 'AverageValue' target type
2019-02-04 03:34:52 -08:00
Ashish Ranjan
7be223e798
Refactor to use k8s.io/utils/net/ package instead of kubernetes/pkg/util/net/sets
...
Signed-off-by: Ashish Ranjan <ashishranjan738@gmail.com>
2019-02-04 10:34:53 +05:30
Kubernetes Prow Robot
15ae6ec140
Merge pull request #68114 from houjun41544/20180831-disruption
...
Add unit test case for controller/disruption
2019-02-02 00:37:25 -08:00
Kubernetes Prow Robot
aee11a844c
Merge pull request #73596 from liggitt/deprecated-tests
...
Stop using beta apps versions
2019-02-01 16:02:08 -08:00
Jingyi Hu
1bdbc35994
controller: use pagination in cronjob controller
...
Use pagination (chunking) when listing Jobs and CronJobs in cronjob
controller.
2019-02-01 14:02:14 -08:00
Kubernetes Prow Robot
a3f74bd583
Merge pull request #72872 from arjunrn/object-average-value
...
Added functionality for specifying target average value for object me…
2019-02-01 06:31:50 -08:00
Kubernetes Prow Robot
a3c14ecfa5
Merge pull request #73606 from krzysztof-jastrzebski/daemonsets
...
Deleting pods assigned to not existing nodes only if
2019-01-31 23:30:13 -08:00
Kubernetes Prow Robot
aa7220876a
Merge pull request #73550 from andrewsykim/cloud-provider-version
...
use k8s.io/client-go/pkg/version for cloud providers
2019-01-31 11:44:46 -08:00
Krzysztof Jastrzebski
0087af78e2
Deleting pods assigned to not existing nodes only if
...
ScheduleDaemonSetPods is enabled.
2019-01-31 20:34:51 +01:00
Jordan Liggitt
f100a762bc
Stop using apps/v1beta1 in tests
2019-01-31 10:12:38 -05:00
Daniel (Shijun) Qian
e72b32558c
Merge branch 'master' into keymutex
2019-01-31 20:50:57 +08:00
Kubernetes Prow Robot
1f7e9fd9a2
Merge pull request #73488 from andrewsykim/replace-utils-file
...
Replace pkg/util/file with k8s.io/utils/path
2019-01-30 17:50:16 -08:00
Andrew Kim
c01caa6796
use k8s.io/client-go/pkg/version for cloud providers
2019-01-30 18:11:11 -05:00
Kubernetes Prow Robot
f78770565c
Merge pull request #73401 from krzysztof-jastrzebski/daemonsets
...
Delete pods assigned to not existing nodes.
2019-01-30 07:30:05 -08:00
danielqsj
657a1a1a34
change import alias of utils/strings
2019-01-30 10:44:09 +08:00
danielqsj
093328e57f
migrate to k8s.io/utils/strings
2019-01-30 10:24:00 +08:00
Andrew Kim
84191eb99b
replace pkg/util/file with k8s.io/utils/path
2019-01-29 15:20:13 -05:00
Kubernetes Prow Robot
2e90d92db9
Merge pull request #73357 from tedyu/master
...
Use read lock for scheduler_binder_cache GetDecisions
2019-01-29 01:21:24 -08:00
Kubernetes Prow Robot
bbfc3be51b
Merge pull request #73096 from yuwenma/golint1
...
fix golint failure for pkg/controller/deployment/util
2019-01-28 21:52:15 -08:00
Kubernetes Prow Robot
3c34d28fe0
Merge pull request #72818 from humblec/md-2
...
Remove explicit nil initialization and correct error string.
2019-01-28 21:52:03 -08:00
Yuwen Ma
14a1e27ddd
fix golint failure for pkg/controller/deployment/util
2019-01-28 11:00:40 -08:00
Krzysztof Jastrzebski
7186d3ba8b
Delete pods assigned to not existing nodes.
2019-01-28 14:38:09 +01:00
Ted Yu
c8f1826185
Use read lock for scheduler_binder_cache GetDecisions
2019-01-26 13:06:23 -08:00
Joshua Horwitz
9b3ab29cc9
Only attempt to register cloud nodes on update with the cloud taint
2019-01-25 14:48:29 -05:00
Kubernetes Prow Robot
2cbb16bc8d
Merge pull request #73243 from andrewsykim/update-utils-vendor
...
Update vendor k8s.io/utils and remove internal utils
2019-01-24 16:30:14 -08:00
Kubernetes Prow Robot
7da6b42122
Merge pull request #72786 from caesarxuchao/72364-minor-followup
...
followup of #72364 , slightly improve the comment
2019-01-24 16:29:40 -08:00
Kubernetes Prow Robot
e28c757e87
Merge pull request #72972 from liggitt/remove-alpha-initializers
...
Remove use of alpha initializers
2019-01-24 14:54:52 -08:00
Andrew Kim
0bc5508aca
replace client-go/util/integer with k8s.io/utils/integer
2019-01-24 15:34:21 -05:00
Andrew Kim
2ea82cea20
replace pkg/util/nsenter with k8s.io/utils/nsenter
2019-01-24 13:49:04 -05:00
Andrew Kim
123590d911
replace pkg/util/io with k8s.io/utils/io
2019-01-24 13:49:04 -05:00
Chao Xu
e2812ce312
Slightly modify the comment in the test
2019-01-24 10:42:30 -08:00
Kubernetes Prow Robot
4cd759dbe0
Merge pull request #73001 from shivnagarajan/remove_deprecated_taints
...
remove remaining deprecated taints from 1.9
2019-01-24 05:18:57 -08:00
Jordan Liggitt
7d398058f1
remove Initializer use from pv label controller
2019-01-23 16:34:44 -05:00
Jordan Liggitt
17aa60686e
Deprecate and remove use of alpha metadata.initializers field, remove IncludeUninitialized options
2019-01-23 16:34:43 -05:00
Arjun Naik
c99d505001
Added functionality to use target average value for object metrics
...
Signed-off-by: Arjun Naik <arjun.rn@gmail.com>
2019-01-23 21:00:05 +01:00
Jordan Liggitt
dc1fa870bf
Remove alpha InitializerConfiguration types, Initializers admission plugin
2019-01-23 11:37:39 -05:00
Humble Devassy Chirammal
2651c72166
This patch consists of various corrections. ( #73060 )
...
* This patch consists of various corrections.
*) Remove unwanted `else` code block
*) Adjust variable intialization.
*) Correct error strings.
*) Use recommended variable increment method.
Signed-off-by: hchiramm <hchiramm@redhat.com>
* Remove cluster/images/cluster-version-monitor from hack/.golint_failures.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-22 12:28:59 -08:00
Kubernetes Prow Robot
0b62ad23c2
Merge pull request #72959 from cofyc/fix72954
...
Fix flaky test TestBindAPIUpdate
2019-01-22 11:12:59 -08:00
Kubernetes Prow Robot
54c4428eb4
Merge pull request #71276 from jingxu97/Oct/uncertain
...
Handle failed attach operation leave uncertain volume attach state
2019-01-17 22:52:57 -08:00
Humble Chirammal
9e638676e9
Remove explicit nil initialization and correct error string.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-01-18 09:29:25 +05:30
David Zhu
d8c9dc5bb5
Add IsMigratableToCSI to volume plugin interface
2019-01-17 14:43:52 -08:00
Kubernetes Prow Robot
c13f9f7272
Merge pull request #72816 from humblec/md-1
...
Remove unwanted else block from code.
2019-01-17 11:20:55 -08:00
Yecheng Fu
f406c6bde7
Fix flaky test TestBindAPIUpdate
2019-01-17 11:25:18 +08:00
Shiv Nagarajan
36ee154243
remove deprecated taints from 1.9
2019-01-16 21:20:57 -05:00
Kubernetes Prow Robot
bec0c72f5a
Merge pull request #72953 from cofyc/fix72045-performance
...
Improve FindPodVolumes performance
2019-01-16 10:16:09 -08:00
Kubernetes Prow Robot
64071e03cc
Merge pull request #72648 from tnozicka/fix-clientbuilder-watch
...
SAControllerClientBuilder: Replace ListWatchUntil with UntilWithSync to avoid watch timeouts
2019-01-16 07:54:33 -08:00
Yecheng Fu
dbd80460de
Clear cache instead of saving nils if no claims to bind or provision
2019-01-16 21:21:36 +08:00
Yecheng Fu
c2d25e08d7
Skip if pod does not have claims.
2019-01-16 21:02:08 +08:00
Yecheng Fu
7fe97886a8
Merge UpdateProvisionedPVCs with UpdateBindings.
...
This simplifies code and saves a lock.
2019-01-16 21:02:08 +08:00
Kubernetes Prow Robot
922cf406c4
Merge pull request #72629 from krzysztof-jastrzebski/hpa_fix
...
Update comments in Horizontal Pod Autoscaler Controller.
2019-01-15 23:26:19 -08:00
Kubernetes Prow Robot
8feab37d41
Merge pull request #72815 from humblec/md
...
Remove explicit `nil` initialization and correct error strings.
2019-01-12 01:32:17 -08:00
Kubernetes Prow Robot
ccb1e1f26d
Merge pull request #72045 from cofyc/fix71928
...
Make volume binder resilient to races
2019-01-11 17:42:32 -08:00
Justin SB
dd19b923b7
Remove executable file permission from OWNERS files
2019-01-11 16:42:59 -08:00
Kubernetes Prow Robot
dd99c2ba79
Merge pull request #72364 from kdada/master
...
WaitFor returns immediately when done is closed
2019-01-11 11:51:21 -08:00
Jing Xu
7bac6ca73a
Address comments
...
This commit addressed the comment and also add a unit test.
2019-01-11 10:57:37 -08:00
hchiramm
e3fd0b6936
Remove unwanted else block from code.
...
Signed-off-by: hchiramm <hchiramm@redhat.com>
2019-01-11 16:46:39 +05:30
hchiramm
11045ca28e
Correct linter errors on error strings.
...
Signed-off-by: hchiramm <hchiramm@redhat.com>
2019-01-11 16:27:14 +05:30
hchiramm
68416bdf29
Remove explicit `nil` declaration of some variables in endpoint ctrl.
...
Signed-off-by: hchiramm <hchiramm@redhat.com>
2019-01-11 16:25:50 +05:30
Wei Guo
44b2e8464b
change the period of GarbageCollector.Sync to 200ms for TestGarbageCollectorSync
2019-01-10 17:51:53 +08:00
David Eads
47ca64c8f2
delete as much content from a namespace as possible
2019-01-09 14:16:07 -05:00
Yecheng Fu
1a62f53d3f
If provisioning PVC's PV is not found, check next time.
2019-01-09 10:50:07 +08:00
Yecheng Fu
8b94b9625b
Make volume binder resilient to races: unit tests
2019-01-09 10:50:07 +08:00