Andrew Sy Kim
18741157ef
proxier/ipvs: remove redundant length check for node addresses
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-05-28 11:48:48 -04:00
Jordan Liggitt
6604b79796
Add signerName constants
2020-05-28 10:53:14 -04:00
lo24
cda593e822
fix TestValidateNodeIPParam: break was being used instead of continue
2020-05-28 13:47:33 +00:00
David Eads
e857adbdfd
remove-api
2020-05-27 16:58:05 -04:00
David Eads
ed4e6f1026
remove dynamic audit
2020-05-27 15:18:53 -04:00
Kubernetes Prow Robot
73641d35c7
Merge pull request #91451 from gaurav1086/scheduler_test_fix_goroutine_leak
...
scheduler_test: fix goroutine leak
2020-05-26 21:09:03 -07:00
andyzhangx
a39eeda381
feat: azure disk and azure file migration go beta
...
fix comments
2020-05-27 02:31:38 +00:00
Kubernetes Prow Robot
b0e0692490
Merge pull request #91446 from pancernik/scheduler-plugin-args-validation-nr
...
Move Node Resources scheduler plugin args validation to apis/config/validation
2020-05-26 19:13:18 -07:00
Kubernetes Prow Robot
03cd30b9d7
Merge pull request #90494 from knabben/kubelet-provider
...
Migrating Kubelet --enable-server and --provider-id flags to config
2020-05-26 19:12:42 -07:00
Kubernetes Prow Robot
5217fa2299
Merge pull request #91462 from lo24/fwk-typo
...
fix typo in scheduler framework
2020-05-26 16:49:05 -07:00
Rafal Wicha
3ffd71c4a2
Move Node Resources scheduler plugin args validation to apis/config/validation
2020-05-26 22:37:16 +01:00
Gaurav Singh
a4e5629320
scheduler_test: fix goroutine leak
...
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com >
Re-use errchan from setupTestSchedulerWithOnePodOnNode
Signed-off-by: Gaurav Singh <gaurav1086@gmail.com >
2020-05-26 17:33:10 -04:00
Wei Huang
59eff29d22
- Add Extenders() and PluginsRunner interface to PreemptHandle
...
- Make some private functions stateless
- make addNominatedPods() not dependent on genericScheduler
- make addNominatedPods() not dependent on genericScheduler
- make selectVictimsOnNode() not dependent on genericScheduler
- make selectNodesForPreemption() not dependent on genericScheduler
2020-05-26 10:00:45 -07:00
Andrew Sy Kim
f96d35fc11
proxy utils: GetNodeAddresses should check if matching addresses were found
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-05-26 12:45:32 -04:00
Andrew Sy Kim
a99321c87c
proxy utils: check network interfaces only once
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com >
2020-05-26 12:12:15 -04:00
lo24
4caae61f03
fix typo in scheduler framework
2020-05-26 16:00:22 +00:00
RainbowMango
4d8280acca
rename metric scheduler_total_preemption_attempts to scheduler_preemption_attempts_total as counter metrics should have _total suffix.
2020-05-26 20:11:42 +08:00
Lu Fengqi
0d04485a52
deployment: remove annotation for non-exist parameter 'podMap'
...
Since the parameter 'podMap' has been removed by commit 831a2d1129
("deployment: remove unused parameter 'podMap'"), the related annotation
also should be removed.
Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com >
2020-05-26 16:49:52 +08:00
SataQiu
b68312e688
kube-proxy: move GetNodeAddresses call out of internal loop to avoid repeated computation
...
Signed-off-by: SataQiu <1527062125@qq.com >
2020-05-26 15:32:05 +08:00
Rafal Wicha
852442c0ff
Promote kubescheduler.config.k8s.io to v1betav1
2020-05-25 22:25:57 +01:00
Kubernetes Prow Robot
7a30cf8046
Merge pull request #91241 from pancernik/scheduler-plugin-args-validation
...
Move Scheduler plugin args validation to apis/config/validation
2020-05-25 13:43:11 -07:00
Kubernetes Prow Robot
c5aa1eddcc
Merge pull request #91406 from zhouya0/fix_scheduler_prefilter_doc
...
Fix scheduler prefilter comment
2020-05-25 11:43:11 -07:00
Kubernetes Prow Robot
2f38e1b130
Merge pull request #91142 from cofyc/fix91139
...
Add versioned counterparts for VolumeBindingArgs
2020-05-25 09:03:12 -07:00
Rafal Wicha
85be9c1673
Move Scheduler plugin args validation to apis/config/validation
2020-05-25 16:27:21 +01:00
Kubernetes Prow Robot
779f875243
Merge pull request #91180 from PengJi/fix_golint_failures
...
fix golint errors in pkg/controller/volume/events/event
2020-05-25 06:27:12 -07:00
zhouya0
dabd00ca4c
Fix scheduler prefilter comment
2020-05-25 17:45:44 +08:00
Dave Chen
84915d1623
Expose the issue that max threshold haven't considered container size
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2020-05-25 17:31:47 +08:00
Kubernetes Prow Robot
0e37bcce2c
Merge pull request #88385 from tallclair/node-reviews
...
Remove tallclair from some OWNERS files
2020-05-24 20:23:11 -07:00
Clayton Coleman
c6b833ac3c
service: fix IPFamily validation and defaulting problems
...
If the dual-stack flag is enabled and the cluster is single stack IPv6,
the allocator logic for service clusterIP does not properly handle rejecting
a request for an IPv4 family. Return a 422 Invalid on the ipFamily field
when the dual stack flag is on (as it would when it hits beta) and the
cluster is configured for single-stack IPv6.
The family is now defaulted or cleared in BeforeCreate/BeforeUpdate,
and is either inherited from the previous object (if nil or unchanged),
or set to the default strategy's family as necessary. The existing
family defaulting when cluster ip is provided remains in the api
section. We add additonal family defaulting at the time we allocate
the IP to ensure that IPFamily is a consequence of the ClusterIP
and prevent accidental reversion. This defaulting also ensures that
old clients that submit a nil IPFamily for non ClusterIP services
receive a default.
To properly handle validation, make the strategy and the validation code
path condition on which configuration options are passed to service
storage. Move validation and preparation logic inside the strategy where
it belongs. Service validation is now dependent on the configuration of
the server, and as such ValidateConditionService needs to know what the
allowed families are.
2020-05-23 11:08:19 -04:00
liuxu
2367569f13
fix if don't set ephemeral-storage limit emptyDir's sizeLimit doesn't work
2020-05-23 13:36:56 +08:00
Christopher M. Luciano
2b091f60ca
ingress: Add Ingress to v1 API and update backend to defaultBackend
...
ingress: use new serviceBackend split
ingress: remove all v1beta1 restrictions on creation
This change removes creation and update restrictions enforced by
k8s 1.18 for not allowing resource backends.
Paths are no longer
required to be valid regex and a PathType is now user-specified
and no longer defaulted.
Also remove all TODOs in staging/net/v1 types
Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com >
2020-05-22 11:57:41 -04:00
Kubernetes Prow Robot
ca324214be
Merge pull request #91344 from happinesstaker/sametric-fix
...
Minor Fix: Restrict service account token metrics to kube-apiserver only.
2020-05-22 02:34:37 -07:00
Kubernetes Prow Robot
cdbd07f64e
Merge pull request #90282 from gaurav1086/kubelet_nodestatus_remove_check
...
[kubelet] nodestatus: remove map nil check
2020-05-21 22:42:38 -07:00
Amim Knabben
f6246aba6e
Moving Kubelet --node-status-max-images flag to configuration
2020-05-21 22:37:01 -04:00
Yecheng Fu
8bbbe62fbd
Add versioned counterparts for VolumeBindingArgs: auto-generted files
2020-05-22 09:30:53 +08:00
Yecheng Fu
0a3d55f2e0
Add versioned counterparts for VolumeBindingArgs
2020-05-22 09:30:52 +08:00
Kubernetes Prow Robot
b98d9407cf
Merge pull request #91207 from iamchuckss/fixed-width-log-timestamps
...
Fix log timestamps to maintain a fixed width
2020-05-21 18:20:37 -07:00
Jiajie Yang
ebbd455b24
Restrict service account token metrics to kube-apiserver only.
2020-05-21 15:34:57 -07:00
Jordan Liggitt
591e0043c8
Revert "Merge pull request 89667 from kmala/kubelet"
...
This reverts commit fa785a5706
, reversing
changes made to cf13f8d994
.
2020-05-21 13:30:14 -04:00
Kubernetes Prow Robot
c579a3279f
Merge pull request #86005 from grnhse/raise-kubelet-node-status-verbosity
...
Fix kubelet_node_status log spam
2020-05-20 22:46:35 -07:00
Sergey Kanzhelev
a4bfc732f7
minor correction in comments
2020-05-21 04:15:44 +00:00
Kubernetes Prow Robot
d94acda5ee
Merge pull request #91296 from cofyc/fix90962-cleanup-volumescheduling
...
volumescheduling: update comments to reflect latest change
2020-05-20 19:42:10 -07:00
Kubernetes Prow Robot
0d6db3dfdd
Merge pull request #91294 from cofyc/fix90962-donot-change-pod-in-assume-phase
...
SchedulerVolumeBinder: don't modify assumed pod in AssumePodVolumes
2020-05-20 19:42:00 -07:00
Kubernetes Prow Robot
d871ab9690
Merge pull request #91278 from chendave/testcase
...
scheduler: Expand testcases to cover more plugin defaults
2020-05-20 19:41:39 -07:00
Kubernetes Prow Robot
f7a6e9e2f1
Merge pull request #91175 from Huang-Wei/volume-binding-leftover
...
Cleanup volume binding leftover
2020-05-20 19:41:10 -07:00
Kubernetes Prow Robot
12088aa76d
Merge pull request #90649 from cici37/leaderelectionconfig
...
Moving leaderelectionconfig to k8s.io/component-base
2020-05-20 19:40:47 -07:00
Kubernetes Prow Robot
f42cabede4
Merge pull request #90415 from Huang-Wei/prefactor-preemption-nompods-read
...
Add function NominatedPodsForNode to PodNominator interface
2020-05-20 19:40:19 -07:00
Kubernetes Prow Robot
2fa00e30ce
Merge pull request #90985 from mrobson/iscsi-nodescan-manual
...
Set session scanning to manual to avoid discovering all iSCSI devices…
2020-05-20 16:45:15 -07:00
Kubernetes Prow Robot
c2ffe49fa6
Merge pull request #90894 from gongguan/cloud-instance
...
Implement InstanceMetadataByProviderID
2020-05-20 16:45:01 -07:00
Wei Huang
f4b726237a
Add function NominatedPodsForNode to PodNominator interface.
...
- replace SchedulingQueue with PodNominator in genericScheduler.
2020-05-20 14:05:18 -07:00