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
zvier
d43817b5ec
fix golint errors for pkg/kubelet/dockershim
...
Signed-off-by: zvier <zvier20@gmail.com >
2020-05-24 23:45:17 +08: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
Sergey Kanzhelev
4e94144d1e
Fix golint failures for kubelet/container
2020-05-20 19:01:23 +00:00
Wei Huang
b6d5a3328a
cleanup volume binding leftover
2020-05-20 10:30:22 -07:00
Davanum Srinivas
c7e79d2048
fix import restrictions and BUILD
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:47 -04:00
Davanum Srinivas
e049e594cd
Copy util directory for use in cri/remote package
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:47 -04:00
Davanum Srinivas
0608e8be25
update bazel BUILD files
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:47 -04:00
Davanum Srinivas
5692926914
Move packages for slightly better UX for consumers
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2020-05-20 10:57:46 -04:00
Yecheng Fu
36d1365af5
update comments in volumescheduling pkg to reflect latest change
2020-05-20 22:23:08 +08:00
Yecheng Fu
f685af32e2
SchedulerVolumeBinder: don't modify assumed pod in AssumePodVolumes
2020-05-20 21:18:43 +08:00
Kubernetes Prow Robot
7ba332a839
Merge pull request #91258 from alculquicondor/double_spread_weight
...
Set weight of PodTopologySpread Score to 2
2020-05-19 23:40:42 -07:00
Kubernetes Prow Robot
fa785a5706
Merge pull request #89667 from kmala/kubelet
...
Check for sandboxes before deleting the pod from apiserver
2020-05-19 23:40:18 -07:00
Dave Chen
c74a5d4fe2
scheduler: Expand testcases to cover more plugin defaults
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2020-05-20 12:37:06 +08:00
Kubernetes Prow Robot
4310732c55
Merge pull request #91102 from chendave/capacity_ratio
...
Move `RequestedToCapacityRatio` Args defaults to versioned packages
2020-05-19 20:35:20 -07:00
Kubernetes Prow Robot
fdbb960354
Merge pull request #90934 from iobuf/cronjob
...
CronJob: cleanup legacy ScheduledJob vars,docs
2020-05-19 20:35:11 -07:00
Kubernetes Prow Robot
ef198ec7ca
Merge pull request #90316 from tangcong/fix-ipvs-staticheck-err
...
fix ipvs staticcheck error
2020-05-19 20:34:32 -07:00
Kubernetes Prow Robot
a3feccc965
Merge pull request #90201 from KobayashiD27/addTestCaseInSchedulerProfile
...
Add test case in scheduler/profile/profile_test.go
2020-05-19 20:34:18 -07:00
Kubernetes Prow Robot
4b9b9ab753
Merge pull request #91252 from alculquicondor/fix-reschedule
...
Skip Pod Conditions from scheduling queue updates
2020-05-19 16:32:51 -07:00
Kubernetes Prow Robot
0746f165bd
Merge pull request #91229 from ahg-g/ahg-affinity3
...
Eliminate locking in (anti)affinity calculations
2020-05-19 16:32:42 -07:00