Abdullah Gharaibeh
7d604c318c
Break DS controller on scheduler predicates and predicate errors
2020-01-03 13:05:07 -05:00
Kubernetes Prow Robot
180e1c9f51
Merge pull request #86584 from xiaoanyunfei/cleanup/deprecate_scheduler_metrics
...
deprecate scheduling_algorithm_predicate_evaluation_seconds and sched…
2020-01-03 03:41:40 -08:00
Bryan Boreham
cc0b3e82eb
Kubelet: add a metric to observe time since PLEG last seen
...
Expose the measurement that kubelet uses to judge that "PLEG is
unhealthy". If we can observe the measurement growing then we can
alert before the node goes unhealthy.
Note that the existing metrics PLEGRelistInterval and
PLEGRelistDuration are poor for this, because when relist() gets
stuck they are never updated.
Signed-off-by: Bryan Boreham <bryan@weave.works>
2020-01-03 10:01:27 +00:00
Kubernetes Prow Robot
47d5c3ef8d
Merge pull request #86785 from cwdsuzhou/Jan/update_comments
...
update comments of some funs in scheduling_queue
2020-01-02 22:26:02 -08:00
Kubernetes Prow Robot
b3c4c90a72
Merge pull request #86673 from ahg-g/ahg1-provider
...
Define algorithm providers in terms of plugins
2020-01-02 22:25:53 -08:00
Kubernetes Prow Robot
30090d0809
Merge pull request #86665 from SataQiu/clean-proxy-20191227
...
kube-proxy: add some interface type assertions
2020-01-02 22:25:40 -08:00
Kubernetes Prow Robot
fdfcb00ede
Merge pull request #86586 from xiaoanyunfei/cleanup/deprecate_scheduler_duration_seconds
...
Deprecate scheduling_duration_seconds Summary metric
2020-01-02 19:15:55 -08:00
Abdullah Gharaibeh
b535ed3b0c
Merge scheduler's ConfigProducerRegistry into LegacyRegistry
2020-01-02 16:40:33 -05:00
caiweidong
02e217759e
update comments of some funs in scheduling_queue
2020-01-02 23:35:12 +08:00
mattjmcnaughton
d09fe8e247
Remove no longer needed modifyContainerPIDNamespaceOverrides
...
As of https://github.com/kubernetes/kubernetes/pull/72831/ , the minimum
kubernetes version is now 1.13.1. As a result, this function becomes a
no-op. As the TODO indicates, we should delete it.
2020-01-02 09:09:02 -05:00
Aresforchina
bfc4a7a1c5
fix staticcheck of pkg/util/ebtables
2020-01-02 18:16:50 +08:00
Kubernetes Prow Robot
26b52e84a4
Merge pull request #86230 from hex108/skip_schedule
...
Scheduler handles pod annotation updates during scheduling more gracefully
2019-12-31 17:03:40 -08:00
Abdullah Gharaibeh
a6b7b0d95e
Define algorithm providers in terms of plugins.
2019-12-31 15:28:09 -05:00
notpad
7f79516705
Move resource-based priority functions to their Score plugins
2019-12-31 23:50:11 +08:00
Jun Gong
706e90a033
Skip scheduling the pod if it has been assumed and the pod updates could be skipped.
2019-12-31 14:21:41 +08:00
caiweidong
6410ac3173
Return when removePod failed
2019-12-31 10:11:12 +08:00
mattjmcnaughton
92940fa80d
Remove recorder.PastEventf
method
...
The `recorder.PastEventf` method wasn't actually working as advertised.
It was supposed to accept a timestamp, which would be used when
generating the event. However, as the
[source code](https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/client-go/tools/record/event.go#L316 )
shows, this `timestamp` was never actually used.
In other words, `PastEventf` is identical to `Eventf`.
We have two options: one would be to fix `PastEventf` so that it works
as advertised. The other would be to delete `PastEventf` and only
support `Eventf`.
Ultimately, I could only find one use of `PastEventf` in the code base,
so I propose we just delete `PastEventf` and convert all uses to
`Eventf`.
2019-12-30 12:00:23 -05:00
Kubernetes Prow Robot
a443014dfc
Merge pull request #86621 from yuzhiquan/patch-pod
...
refactor (pod log) container valiate
2019-12-30 02:41:39 -08:00
yuzhiquan
ca69051475
refactor(pod log):refactor for container valiate, little cleanup
...
bug(pod log):TestCheckLogLocation should point out pod name
modify container if statement
fix typo
2019-12-30 16:16:45 +08:00
Kubernetes Prow Robot
6d53021196
Merge pull request #86511 from aojea/v6example
...
Add ipv6 examples for network policy API
2019-12-29 19:39:39 -08:00
Wei Huang
78352240f6
Move podtopologyspread priority logic to its Score plugin
2019-12-28 19:29:37 -08:00
Kevin Klues
b373121a14
Make CPUManagerCheckpointV2 type an alias of CPUManagerCheckpoint
...
This change is to prevent problems when we remove the V1->V2 migration
code in the future. Without this, the checksums of all checkpoints would
be hashed with the name CPUManagerCheckpointV2 embedded inside of them,
which is undesirable. We want the checkpoints to be hashed with the name
CPUManagerCheckpoint instead.
2019-12-28 19:29:13 +01:00
Kubernetes Prow Robot
f796b750c6
Merge pull request #86681 from Huang-Wei/interpodaffinity-typo
...
Fix a typo in interpodaffinity score plugin
2019-12-28 08:23:38 -08:00
Kevin Klues
5faf8f4c52
Lock checksum calculation for v1 CPUManager state to pre 1.18 logic
...
The updated CPUManager from PR #84462 implements logic to migrate the
CPUManager checkpoint file from an old format to a new one. To do so, it
defines the following types:
```
type CPUManagerCheckpoint = CPUManagerCheckpointV2
type CPUManagerCheckpointV1 struct { ... }
type CPUManagerCheckpointV2 struct { ... }
```
This replaces the old definition of just:
```
type CPUManagerCheckpoint struct { ... }
```
Code was put in place to ensure proper migration from checkpoints in V1
format to checkpoints in V2 format. However (and this is a big however),
all of the unit tests were performed on V1 checkpoints that were
generated using the type name `CPUManagerCheckpointV1` and not the
original type name of `CPUManagerCheckpoint`. As such, the checksum in
the checkpoint file uses the `CPUManagerCheckpointV1` type to calculate
its checksum and not the original type name of `CPUManagerCheckpoint`.
This causes problems in the real world since all pre-1.18 checkpoint
files will have been generated with the original type name of
`CPUManagerCheckpoint`. When verifying the checksum of the checkpoint
file across an upgrade to 1.18, the checksum is calculated assuming
a type name of `CPUManagerCheckpointV1` (which is incorrect) and the
file is seen to be corrupt.
This patch ensures that all V1 checksums are verified against a type
name of `CPUManagerCheckpoint` instead of ``CPUManagerCheckpointV1`.
It also locks the algorithm used to calculate the checksum in place,
since it wil never change in the future (for pre-1.18 checkpoint
files at least).
2019-12-28 14:17:55 +01:00
Kubernetes Prow Robot
d605766c89
Merge pull request #86662 from draveness/feature/cloud-specific-predicates
...
feat(scheduling): implement azure, cinder, ebs and gce as filter plugin
2019-12-27 22:23:38 -08:00
Wei Huang
b3bebddb30
Fix a typo in interpodaffinity score plugin
2019-12-27 20:23:28 -08:00
Kubernetes Prow Robot
8bf6504661
Merge pull request #86583 from libnux/change_random_fully_log_level
...
Change log level to 3 when --random-fully is not supported
2019-12-27 19:47:39 -08:00
draveness
320ac4e277
feat(scheduling): implement azure, cinder, ebs and gce as filter plugin
2019-12-28 11:46:40 +08:00
Kubernetes Prow Robot
f1cbbda291
Merge pull request #86650 from RainbowMango/pr_testapi_cleanup
...
Cleanup testapi after it has been removed
2019-12-27 14:05:38 -08:00
Antonio Ojea
31e59fd5e3
Add ipv6 examples for network policy API
...
Add IPv6 examples to the network policy API
2019-12-27 22:47:20 +01:00
Kubernetes Prow Robot
0387ee4244
Merge pull request #86625 from zouyee/cnu
...
Move CheckNodeUnschedulable predicate to its filter plugin
2019-12-27 09:27:39 -08:00
Kubernetes Prow Robot
429ad7db4f
Merge pull request #86659 from Huang-Wei/eps-move-pred
...
Move pod topology spread predicate logic to its filter plugin
2019-12-27 07:53:38 -08:00
Kubernetes Prow Robot
b52cdca17d
Merge pull request #86638 from danielqsj/ServiceAntiAffinityPriority
...
Move ServiceAntiAffinityPriority to score plugin
2019-12-27 04:05:38 -08:00
SataQiu
134c545b96
proxy: add some interface type assertions
2019-12-27 18:30:25 +08:00
Wei Huang
8a4dce5431
Move pod topology spread predicate logic to its filter plugin
2019-12-26 23:56:03 -08:00
Kubernetes Prow Robot
9d31c9387c
Merge pull request #86635 from draveness/feature/move-volume-limits-predicates
...
feat(scheduling): move csi volume predicates to csi filter plugin
2019-12-26 22:27:51 -08:00
RainbowMango
eea91c018b
Cleanup testapi after it has been removed
2019-12-27 14:11:15 +08:00
danielqsj
f53c81f4a2
Move ServiceAntiAffinityPriority to score plugin
2019-12-27 10:02:13 +08:00
Kubernetes Prow Robot
d4ba10ec80
Merge pull request #85703 from robscott/endpointslice-controller-race-fix
...
Fixing Potential Race Condition in EndpointSlice Controller.
2019-12-26 17:59:52 -08:00
Kubernetes Prow Robot
4158e7c1de
Merge pull request #85123 from danielqsj/apierrs
...
Unify aliases for "k8s.io/apimachinery/pkg/api/errors"
2019-12-26 17:59:38 -08:00
draveness
291a7bb164
feat(scheduling): move csi volume predicates to csi filter plugin
2019-12-27 09:14:35 +08:00
Kubernetes Prow Robot
40320be679
Merge pull request #86612 from andyzhangx/azuredisk-excludepath
...
fix: azure disk could not mounted on Standard_DC4s/DC2s instances
2019-12-26 13:43:51 -08:00
Rob Scott
c75787bb77
Fixing Potential Race Condition in EndpointSlice Controller.
...
This adds a new EndpointSlice tracker to keep track of the expected resource versions of EndpointSlices associated with each Service managed by the EndpointSlice controller. This should prevent a potential race where a syncService call could happen with an incomplete view of EndpointSlices if additions or deletions hadn't fully propagated to the cache yet. Additionally, this ensures that external changes to EndpointSlices will be handled by the EndpointSlice controller.
2019-12-26 12:15:38 -08:00
zouyee
89867e1c21
Move CheckNodeUnschedulable predicate to its filter plugin
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-12-26 21:38:27 +08:00
zouyee
c4331b0369
Move VolumeZone predicate to its Filter plugin
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-12-26 21:36:11 +08:00
Kubernetes Prow Robot
04d71d8a7b
Merge pull request #86614 from ahg-g/ahg1-default2
...
Deprecate scheduler predicate and priority factory registration and associated types
2019-12-26 05:21:38 -08:00
danielqsj
19fe9f8d94
replace grpc.WithDialer which is deprecated
2019-12-26 17:46:59 +08:00
danielqsj
5bc0e26c19
unify alias of api errors under pkg and staging
2019-12-26 16:42:28 +08:00
Kubernetes Prow Robot
f13e2ed491
Merge pull request #86591 from ahg-g/ahg1-default
...
Added scheduler algorithm provider registrey.
2019-12-25 18:25:38 -08:00
Abdullah Gharaibeh
2b3df3587e
Deprecate scheduler predicate and priority factory registration
2019-12-25 20:33:08 -05:00
Kubernetes Prow Robot
c84b1a8a10
Merge pull request #86601 from angao/no-disk-conflict
...
move NoDiskConflict predicate to its filter plugin
2019-12-25 15:27:38 -08:00
Kubernetes Prow Robot
bd1195c28e
Merge pull request #86580 from zouyee/rlp
...
Move ResourceLimitsPriority to its Score plugin
2019-12-25 07:39:38 -08:00
andyzhangx
36393390f4
fix: azure disk could not mounted on Standard_DC4s/DC2s instances
2019-12-25 13:55:58 +00:00
Alex Wang
e5168cc7bb
move nodepreferavoidpods to score plugin
2019-12-25 17:26:58 +08:00
zouyee
bf2b709e82
Move ResourceLimitsPriority to its Score plugin
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-12-25 16:41:40 +08:00
Kubernetes Prow Robot
26253903b5
Merge pull request #86595 from draveness/feature/move-node-affinity-to-score-plugin
...
feat: implement node affinity priority as score plugin
2019-12-25 00:01:43 -08:00
yue9944882
141909fa2e
tighten ceiling for matching-precedence to 10000
2019-12-25 15:47:11 +08:00
Wen Gao
e5d90c57f0
move NoDiskConflict predicate to its filter plugin
2019-12-25 15:44:59 +08:00
Abdullah Gharaibeh
8fc21710e7
Added scheduler algorithm provider registery.
2019-12-25 00:48:52 -05:00
notpad
c33c4fffd1
Move RequestedToCapacityRatio to plugins/noderesources
2019-12-25 12:18:32 +08:00
draveness
75872b8e79
feat: implement node affinity priority as score plugin
...
+ Add DefaultNormalizeScore function
+ Implement NodeAffinity as score plugin
2019-12-25 10:53:35 +08:00
Kubernetes Prow Robot
e94cf58f25
Merge pull request #86593 from ahg-g/ahg1-intree
...
Cleanup scheduler's in-tree plugins registry naming
2019-12-24 18:39:29 -08:00
Kubernetes Prow Robot
bb7bad49f5
Merge pull request #86588 from hase1128/clean-up-apiserver-document
...
Clean up kube-apiserver reference document
2019-12-24 15:17:29 -08:00
Abdullah Gharaibeh
fe7de96ebe
cleanup scheduler's in-tree plugins registry naming
2019-12-24 15:56:36 -05:00
Kubernetes Prow Robot
24469a3692
Merge pull request #86585 from SataQiu/scheduler-taint-toleration
...
"Move Taint and toleration priority to its Score plugin"
2019-12-24 11:43:29 -08:00
Kubernetes Prow Robot
0c54ec3e4c
Merge pull request #86577 from draveness/feature/remove-total-num-nodes-in-metdata
...
fix: remove totalNumNodes from priority metadata
2019-12-24 08:41:29 -08:00
Jin Hase
49b6e40461
Clean up kube-apiserver reference document
2019-12-24 21:21:06 +09:00
sunxiaofei03
97676963c3
deprecate scheduling_algorithm_predicate/priority_evaluation_seconds
2019-12-24 19:41:01 +08:00
Kubernetes Prow Robot
175ee0a111
Merge pull request #86542 from zouyee/nodeinfocheck
...
introduce checker for the result of nodeInfo.Node()
2019-12-24 03:23:29 -08:00
SataQiu
21c916c3d2
move Taint and toleration predicate to its Score plugin
2019-12-24 19:22:12 +08:00
sunxiaofei03
70b80ae28a
Deprecate scheduling_duration_seconds Summary metric
2019-12-24 19:17:29 +08:00
libnux
f0e01bcfde
Change log level to 3 when --random-fully is not supported
2019-12-24 17:47:27 +08:00
draveness
5fd6b8fae7
fix: remove totalNumNodes from priority metadata
2019-12-24 15:45:04 +08:00
Kubernetes Prow Robot
39d0710a4b
Merge pull request #86530 from zouyee/vbb
...
Move volumebinding predicate to its filter plugin
2019-12-23 22:05:29 -08:00
Kubernetes Prow Robot
d758fc3edb
Merge pull request #81886 from praseodym/fix-staticcheck-pkg/proxy
...
Fix staticcheck failures for pkg/proxy/...
2019-12-23 17:33:29 -08:00
zouyee
bae72ee8d2
using string instead of byte
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-12-24 09:23:02 +08:00
zouyee
bf8a8a657c
introduce checker for the result of nodeInfo.Node()
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-12-24 09:11:40 +08:00
Kubernetes Prow Robot
5e31799701
Merge pull request #86534 from liggitt/ipallocator-range
...
Restore IPAllocator ipv4 range handling
2019-12-23 13:25:29 -08:00
Kubernetes Prow Robot
06fb3eb582
Merge pull request #86496 from ahg-g/ahg1-check
...
Support AlwaysCheckAllPredicates in the scheduler framework.
2019-12-23 09:53:33 -08:00
Maciej Szulik
fcae27b9d2
If lastTimestamp is not set use firstTimestamp when printing event
2019-12-23 17:07:04 +01:00
draveness
3f591bb2dd
feat: implement image locality as score plugin
2019-12-23 23:05:23 +08:00
zouyee
83408acf75
Move volumebinding predicate to its filter plugin
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-12-23 21:57:49 +08:00
Jordan Liggitt
6a1354252d
Add unit test for extended ipv4 service IP range
2019-12-22 22:32:42 -05:00
Jordan Liggitt
df4f5c1a30
Revert "remove ipallocator in favor of k/utils net package"
...
This reverts commit f984b4c7a2
.
2019-12-22 22:31:25 -05:00
Mark Janssen
a54e5cec54
Fix staticcheck failures for pkg/proxy/...
...
Errors from staticcheck:
pkg/proxy/healthcheck/proxier_health.go:55:2: field port is unused (U1000)
pkg/proxy/healthcheck/proxier_health.go:162:20: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
pkg/proxy/healthcheck/service_health.go:166:20: printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
pkg/proxy/iptables/proxier.go:737:2: this value of args is never used (SA4006)
pkg/proxy/iptables/proxier.go:737:15: this result of append is never used, except maybe in other appends (SA4010)
pkg/proxy/iptables/proxier.go:1287:28: this result of append is never used, except maybe in other appends (SA4010)
pkg/proxy/userspace/proxysocket.go:293:3: this value of n is never used (SA4006)
pkg/proxy/winkernel/metrics.go:74:6: func sinceInMicroseconds is unused (U1000)
pkg/proxy/winkernel/metrics.go:79:6: func sinceInSeconds is unused (U1000)
pkg/proxy/winuserspace/proxier.go:94:2: field portMapMutex is unused (U1000)
pkg/proxy/winuserspace/proxier.go:118:2: field owner is unused (U1000)
pkg/proxy/winuserspace/proxier.go:119:2: field socket is unused (U1000)
pkg/proxy/winuserspace/proxysocket.go:620:4: this value of n is never used (SA4006)
2019-12-22 21:32:06 +01:00
Kubernetes Prow Robot
2d310b1321
Merge pull request #86346 from SataQiu/bump-utils-20191217
...
Bump k8s.io/utils version
2019-12-21 23:55:32 -08:00
Kubernetes Prow Robot
ff975e865d
Merge pull request #86498 from Huang-Wei/deprecate-failedPredicateMap
...
Cleanup failedPredicateMap from generic_scheduler.go
2019-12-21 08:41:33 -08:00
Abdullah Gharaibeh
eeb8a5b728
Added back the flag to trigger examining all Filters in the scheduler.
2019-12-21 05:17:23 -05:00
SataQiu
2497a1209b
bump k8s.io/utils version
2019-12-21 14:54:44 +08:00
Kubernetes Prow Robot
8737890681
Merge pull request #86459 from ahg-g/ahg1-affinity-pred
...
move inter pod affinity predicate logic to its Filter plugin
2019-12-20 18:28:08 -08:00
Wei Huang
3e65b3793f
Cleanup failedPredicateMap from generic_scheduler.go
2019-12-20 15:18:15 -08:00
Abdullah Gharaibeh
429448cb40
move inter pod affinity predicate logic to its Filter plugin
2019-12-20 16:58:36 -05:00
Wei Huang
1f78a936d4
Deprecate AlwaysCheckAllPredicates in scheduler Policy API
2019-12-20 11:41:33 -08:00
Kubernetes Prow Robot
9fa1e00be9
Merge pull request #83437 from matthyx/startupprobe-beta
...
Promote StartupProbe to beta for 1.18
2019-12-20 00:59:32 -08:00
Kubernetes Prow Robot
b632eaddba
Merge pull request #86446 from ahg-g/ahg1-nodelabel
...
Move NodeLabel priority logic to its Score and Filter plugin
2019-12-19 15:37:21 -08:00
Kubernetes Prow Robot
641d0290e4
Merge pull request #86399 from ahg-g/ahg1-prioritymeta
...
InterPodAffinity Priority as Score plugin
2019-12-19 13:39:56 -08:00
Kubernetes Prow Robot
03e90b80ce
Merge pull request #86167 from yiyang5055/change-CounterVec-to-Counter
...
change CounterVec to use Counter in the Kubelet's Pod Lifecycle Event…
2019-12-19 11:33:56 -08:00
Abdullah Gharaibeh
68f3802ba8
move NodeLabel predicate logic to its Filter plugin
2019-12-19 14:00:39 -05:00
Abdullah Gharaibeh
119a9a94d1
InterPodAffinity Priority as Score plugin
2019-12-19 13:42:49 -05:00
Abdullah Gharaibeh
22a0f55a68
move NodeLabel priority logic to its Score plugin
2019-12-19 13:35:43 -05:00
Kubernetes Prow Robot
9f841bf423
Merge pull request #86425 from jkaniuk/revert-85879
...
Revert pull request #85879 "hollow-node use remote CRI"
2019-12-19 10:12:21 -08:00
Kubernetes Prow Robot
9fad2e3201
Merge pull request #84611 from cwdsuzhou/Nov/simplyfy_zone_checker
...
Simplify volume zone checker codes
2019-12-19 08:09:57 -08:00
whypro
f4bd4e2e96
Return error instead of panic when cpu manager starts failed.
2019-12-19 21:56:23 +08:00
chenyaqi01
c5002a348e
kubenet: replace gateway with cni result
2019-12-19 18:32:25 +08:00
Jacek Kaniuk
4303be3d9f
Revert pull request #85879 "hollow-node use remote CRI"
2019-12-19 10:52:35 +01:00
Kubernetes Prow Robot
5cb1ec5fea
Merge pull request #86298 from aojea/netpolicyv6
...
networkPolicy ipv6 unit tests validation
2019-12-18 10:37:57 -08:00
Kubernetes Prow Robot
814fc34cde
Merge pull request #85879 from gongguan/cri-kubemark
...
hollow-node use remote CRI
2019-12-18 06:01:57 -08:00
Kubernetes Prow Robot
2796ff8538
Merge pull request #85279 from RainbowMango/pr_add_metrics_flag_to_proxy
...
Allow show hidden metrics in kube-proxy
2019-12-18 00:57:57 -08:00
Kubernetes Prow Robot
77c565025a
Merge pull request #86289 from ahg-g/ahg1-metadata
...
Deprecate PredicateMetadata
2019-12-17 23:42:10 -08:00
louisgong
e8e1cc9ee0
extract PreInitRuntimeService from NewMainKubelet
2019-12-18 11:48:29 +08:00
RainbowMango
6b33a77068
Adopt kubeadm and kubeproxy unit test after new config field added.
...
Fix proxy unit test
2019-12-18 11:09:26 +08:00
Kubernetes Prow Robot
e397797f9e
Merge pull request #85735 from alvaroaleman/make-node-initialization-more-efficient
...
Cloud node controller: Only call once into cloud provider
2019-12-17 17:35:57 -08:00
Kubernetes Prow Robot
40df9f82d0
Merge pull request #82492 from gnufied/fix-uncertain-mounts
...
Fix uncertain mounts
2019-12-17 14:49:57 -08:00
Kubernetes Prow Robot
e5f0648c6b
Merge pull request #86284 from ahg-g/ahg1-prefilter2
...
Register nodeports and noderesources prefilters
2019-12-17 12:01:10 -08:00
Kubernetes Prow Robot
e1c7112276
Merge pull request #85517 from andrewsykim/ipvs-timeout
...
support configuration of kube-proxy IPVS tcp,tcpfin,udp timeout
2019-12-17 12:00:43 -08:00
Kubernetes Prow Robot
a1fc96f41e
Merge pull request #84462 from klueska/upstream-cpu-manager-update-state-semantics
...
Update CPUManager stored state semantics
2019-12-17 12:00:12 -08:00
Alvaro Aleman
18fa7bdb6e
Cloud node controller: Only call once into cloud provider
2019-12-17 20:03:27 +01:00
Kubernetes Prow Robot
d0e901807d
Merge pull request #85771 from aojea/iptables_lock
...
Be more agressive acquiring the iptables lock
2019-12-17 08:32:02 -08:00
Kubernetes Prow Robot
fb0956c234
Merge pull request #85016 from hvaara/fix-golint-pkg-util-sysctl-testing
...
Fix golint issues in pkg/util/sysctl/testing
2019-12-17 06:18:13 -08:00
RainbowMango
4eb61e3f93
Deal with auto-generated files:
...
- Update bazel by hack/update-bazel.sh
- make update
2019-12-17 21:46:41 +08:00
RainbowMango
9b7d8712cf
Add show hidden flag to kube-proxy
2019-12-17 21:46:41 +08:00
Abdullah Gharaibeh
770e51cd10
Deprecate PredicateMetadata
2019-12-17 08:02:59 -05:00
Abdullah Gharaibeh
b3abfdc9e4
registered nodeports and noderesources prefilters
2019-12-17 07:29:37 -05:00
Kubernetes Prow Robot
ec4f3e3064
Merge pull request #86319 from Huang-Wei/fluffout-sched-tests
...
Fix up the sub-test style
2019-12-17 04:20:32 -08:00
Kubernetes Prow Robot
a57a8f33b3
Merge pull request #86277 from yutedz/subpath-walk-nil
...
Check FileInfo against nil during walk of container dir path
2019-12-17 04:20:22 -08:00
Kevin Klues
9818b4522e
Add klueska as an approver in pkg/kubelet/cm/OWNERS
2019-12-17 10:40:23 +01:00
Andrew Sy Kim
db2c048db9
support configuration of kube-proxy IPVS tcp,tcpfin,udp timeout
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-12-17 04:35:08 -05:00
Kubernetes Prow Robot
42fe74cd2c
Merge pull request #86142 from raz-bn/add-complete-event
...
Adding new job completed event
2019-12-16 23:43:58 -08:00
Vallery Lancey
23957a6b28
Allow kube-proxy iptables mode to support dual-stack, with the meta-proxier.
2019-12-16 22:50:25 -08:00
Kubernetes Prow Robot
0633e2cd34
Merge pull request #86303 from langyenan/misspell
...
fix misspelling in comment
2019-12-16 21:39:49 -08:00
Kubernetes Prow Robot
d2c5d0ae70
Merge pull request #86264 from ahg-g/ahg1-svcmeta
...
Move service affinity predicate logic to its plugin.
2019-12-16 21:39:39 -08:00
Kubernetes Prow Robot
3c951b1bb6
Merge pull request #86261 from troy0820/auth/kubectl-can-i-example
...
[auth]Change example in can-i to apps instead of extensions
2019-12-16 21:39:30 -08:00
Kubernetes Prow Robot
0ab1583240
Merge pull request #85747 from tnqn/networkpolicy-validation
...
Fix NetworkPolicy PolicyTypes validation
2019-12-16 21:38:04 -08:00
Ted Yu
62d7772882
Check FileInfo against nil during walk of container dir path
2019-12-16 17:59:17 -08:00
Kubernetes Prow Robot
a931227952
Merge pull request #83504 from lyft/remove-all-terminated-containers
...
cri_stats_provider: do not consider exited containers when calculating cpu usage
2019-12-16 17:53:39 -08:00
raz-bn
0224c48120
Job completed event added
2019-12-16 21:41:15 +00:00
Wei Huang
82afa2bbaf
Fix up the sub-test style
2019-12-16 11:28:12 -08:00
Jordan Liggitt
a65d8aeb76
Add UID precondition to kubelet pod status patch updates
2019-12-16 14:27:32 -05:00
Jacek Kaniuk
8fae8e54af
Disable excessive logging in scheduler plugins
2019-12-16 15:14:39 +01:00
ianlang
c9418412d1
fix misspelling in comment
2019-12-16 17:27:08 +08:00
Antonio Ojea
f401d711aa
networkPolicy validation ipv6 unit tests
...
Add ipv6 cases to the validation unit tests.
2019-12-16 08:46:53 +01:00
RainbowMango
c394d821fd
Deal with auto-generated files:
...
- Update bazel by hack/update-bazel.sh
2019-12-16 10:27:02 +08:00
RainbowMango
ecf5f7d749
Deprecated metrics under /metrics/resource/v1alpha1
2019-12-16 10:27:02 +08:00
RainbowMango
0db7074e1a
Add new endpoint for resource metrics.
2019-12-16 10:26:54 +08:00
Abdullah Gharaibeh
7331ec7b02
Move service affinity predicate logic to its plugin.
2019-12-15 13:56:31 -05:00
Matthias Bertschy
6603f41a13
Promote StartupProbe to beta for 1.18
2019-12-15 14:49:34 +01:00
Abdullah Gharaibeh
02a0aad6d3
podfitsresource metadata as prefilter
2019-12-14 00:51:25 -05:00
Wei Huang
3d353f5122
Update semantics of EvenPodsSpread metadata object
...
- Now `nil` represents the meta is not set at all (in PreFilter phase)
- An empty `PodTopologySpreadMetadata` object denotes it's a legit meta and is set in PreFilter phase.
2019-12-13 16:33:22 -08:00
Wei Huang
468aebc17f
Move EvenPodsSpread metadata computation logic as a PreFilter Plugin
2019-12-13 16:33:21 -08:00
Kubernetes Prow Robot
efe159e8d2
Merge pull request #86224 from ahg-g/ahg-prefilters
...
Wrap host ports metadata in a prefilter
2019-12-13 16:19:58 -08:00
Kubernetes Prow Robot
6a919f2b54
Merge pull request #85903 from liggitt/disable-deprecated-apis
...
Remove ability to re-enable serving deprecated APIs
2019-12-13 16:19:36 -08:00
Kubernetes Prow Robot
69410eca4b
Merge pull request #86256 from liggitt/testapi
...
Remove use of testapi package
2019-12-13 12:55:50 -08:00
Troy Connor
314b6cb32b
[auth]Change example in can-i to apps instead of extensions
2019-12-13 13:36:48 -05:00
Abdullah Gharaibeh
6f3c68bd5c
compatibility tests for default provider and mandatory filters
2019-12-13 12:47:15 -05:00
Jordan Liggitt
0387cc7cb3
Update generated files
2019-12-13 12:23:39 -05:00
Jordan Liggitt
e9870c3076
Update storage hash to use ingress type for cross-group comparison
2019-12-13 12:21:33 -05:00
Jordan Liggitt
f2f22b84cd
Delete ReplicationControllerDummy
2019-12-13 12:21:33 -05:00
Jordan Liggitt
3df9e86a4e
Remove ability to re-enable serving deprecated APIs
2019-12-13 12:21:33 -05:00
Jordan Liggitt
424d5e20df
Remove testapi
2019-12-13 11:56:29 -05:00
Jordan Liggitt
78a3a4a2b1
Remove testapi use from pkg/api/testing
2019-12-13 11:56:29 -05:00
Jordan Liggitt
5d5b444c4d
Remove use of testapi codecs, selflink, resourcepath functions
2019-12-13 11:56:29 -05:00
Jordan Liggitt
bb90f0ff94
Install APIs directly for tests
2019-12-13 11:56:29 -05:00
Kubernetes Prow Robot
873356c0cc
Merge pull request #83302 from yuyulei/storage-quantity
...
add getting Storage Quantity to ResourceList
2019-12-13 07:56:55 -08:00
Abdullah Gharaibeh
c54dbd85e0
wrap host ports metadata in a prefilter.
2019-12-13 09:16:25 -05:00
Kubernetes Prow Robot
c34d140241
Merge pull request #86129 from damemi/remove-priority-code
...
Remove priority execution path from prioritizeNodes in generic_scheduler
2019-12-13 01:41:04 -08:00
Kubernetes Prow Robot
f67d3b1a7d
Merge pull request #86229 from ahg-g/ahg-ds
...
Remove daemonset controller's dependency on scheduler metadata
2019-12-13 00:26:54 -08:00
yaqi
d146e1941d
Add getting Storage Quantity to ResourceList
2019-12-13 10:54:31 +08:00
Kubernetes Prow Robot
7e01fe12bf
Merge pull request #86228 from ahg-g/ahg-r1
...
Deprecate scheduler's FailureReason
2019-12-12 18:33:32 -08:00
Kubernetes Prow Robot
6715e35530
Merge pull request #86175 from ahg-g/ahg1-prefilters
...
Wrap InterPodAffinity predicate metadata as a Prefilter
2019-12-12 18:33:19 -08:00
Kubernetes Prow Robot
ae717afc0d
Merge pull request #86140 from yutedz/rs-rm-timeout
...
Do not swallow timeout in manageReplicas
2019-12-12 18:33:07 -08:00
Kubernetes Prow Robot
6db550d1db
Merge pull request #85789 from ZP-AlwaysWin/dev-1202
...
Remove unnecessary nil check in if statement in nodelease controller
2019-12-12 18:32:54 -08:00
Mike Dame
255ab6d2c3
Remove priority execution paths in favor of score plugins
...
Mainly affects core/generic_scheduler.go (and related tests). Removes the "prioritizers" field and related functions.
2019-12-12 19:30:44 -05:00
Abdullah Gharaibeh
288609ecf5
remove ds dependeny on scheduler metadata
2019-12-12 19:04:36 -05:00
Abdullah Gharaibeh
70a2bccfd6
deprecate scheduler's FailureReason
2019-12-12 18:54:52 -05:00
Abdullah Gharaibeh
2fdf1fa3c1
inter-pod affinity prefilter
2019-12-12 15:20:14 -05:00
Ted Yu
9cff345770
Do not swallow timeout in manageReplicas
2019-12-12 11:27:36 -08:00
Kubernetes Prow Robot
bb03061010
Merge pull request #86218 from ahg-g/ahg-framework
...
Add an interface to return scheduler framework instance
2019-12-12 11:06:32 -08:00
Kubernetes Prow Robot
442107b6b9
Merge pull request #86092 from robscott/endpointslice-proxy-cache-fix
...
Ensuring kube-proxy does not mutate shared EndpointSlices
2019-12-12 08:12:32 -08:00
Abdullah Gharaibeh
9f334a4d08
Add an interface to return scheduler framework instance
2019-12-12 10:47:32 -05:00
draveness
02f335d476
feat: remove several feature gates in 1.18
2019-12-12 18:17:14 +08:00
draveness
dcea6ff065
fix: remove TaintNodesByCondition feature gate in daemon controller
2019-12-12 18:17:14 +08:00
Kubernetes Prow Robot
010291d4dc
Merge pull request #84951 from yutedz/status-mgr-sync-static
...
Sync the status of static Pods
2019-12-11 19:40:32 -08:00
Hemant Kumar
ca532c6fb2
Ensure that error is returned on NodePublish
2019-12-11 22:10:09 -05:00
Kevin Klues
f553286156
Pass initial set of runtime containers to the CPUManager at startup
...
These information associatedd with these containers is used to migrate
the CPUManager state from it's old format to its new (i.e. keyed off of
podUID and containerName instead of containerID).
2019-12-11 23:02:51 +01:00
Kevin Klues
6441e1ef43
Move CPUManager Checkpoint restoration to Start() instead of New()
2019-12-11 23:02:51 +01:00
Kevin Klues
69f8053850
Update top-level CPUManager to adhere to new state semantics
...
For now, we just pass 'nil' as the set of 'initialContainers' for
migrating from old state semantics to new ones. In a subsequent commit
will we pull this information from higher layers so that we can pass it
down at this stage properly.
2019-12-11 23:02:51 +01:00
Kevin Klues
185e790f71
Update CPUManager policies to adhere to new state semantics
2019-12-11 23:02:51 +01:00
Kevin Klues
7c760fea38
Change CPUManager state to key off of podUID and containerName
...
Previously, the state was keyed off of containerID intead of podUID and
containerName. Unfortunately, this is no longer possible as we move to a
to model where we we allocate CPUs to containers at pod adit time rather
than container start time.
This patch is the first step towards full migration to the new
semantics. Only the unit tests in cpumanager/state are passing. In
subsequent commits we will update the CPUManager itself to use these new
semantics.
This patch also includes code to do migration from the old checkpoint format
to the new one, assuming the existence of a ContainerMap with the proper
mapping of (containerID)->(podUID, containerName). A subsequent commit
will update code in higher layers to make sure that this ContainerMap is
made available to this state logic.
2019-12-11 23:02:51 +01:00
Kevin Klues
9191a949ae
Extend makePod() helper in CPUManager to take PodUID and ContainerName
2019-12-11 23:02:51 +01:00
Kevin Klues
7a15d3a4d7
Fix bug in parsing int to string in CPUManager tests
2019-12-11 23:02:51 +01:00
Kevin Klues
765aae93f8
Move containerMap out of static policy and into top-level CPUManager
2019-12-11 23:02:51 +01:00
Kevin Klues
1d995c98ef
Update CPUmanager containerMap to allow removal by containerRef
2019-12-11 23:02:47 +01:00
Kevin Klues
0639bd0942
Change CPUManager containerMap to key off of (podUID, containerName)
...
Previously it keyed off of a pointer to the actual pod / container,
which was unnecessary, and hard to work with (especially on the
retrieval side).
2019-12-11 23:02:11 +01:00
Kevin Klues
3881e50cce
Update CPUmanager containerMap to also return a containerRef
2019-12-11 23:01:01 +01:00
Kevin Klues
347d5f57ac
Move CPUManager ContainerMap to its own package
2019-12-11 22:59:00 +01:00
Jordan Liggitt
cdf2e794a5
Clarify intstr.IntValue() behavior
2019-12-11 12:14:26 -05:00
yiyang5055
0f410d625a
change CounterVec to use Counter in the Kubelet's Pod Lifecycle Event Generator
2019-12-11 23:51:28 +08:00
Kubernetes Prow Robot
cfdc365525
Merge pull request #86133 from Huang-Wei/cleanup-predicate-path
...
Eliminate running paths of Predicates in scheduler
2019-12-11 06:18:06 -08:00
Kubernetes Prow Robot
928817a26a
Merge pull request #74525 from gliush/configurable-hpa-limits
...
Configurable HorizontalPodAutoscaler
2019-12-11 03:18:05 -08:00
Wei Huang
dc3d1bd238
Eliminate running paths of Predicates in scheduler
...
- eliminate running paths of Predicates in scheduler; use Filter Plugins instead.
- refactor all unit tests
- adjust the TestPreemptWithPermitPlugin integration test
2019-12-10 19:14:13 -08:00
Kubernetes Prow Robot
4000732bec
Merge pull request #85463 from AkihiroSuda/allow-net-ipv4-ping_group_range
...
SafeSysctlWhitelist: add net.ipv4.ping_group_range (allow ping without CAP_NET_RAW)
2019-12-10 16:05:06 -08:00
Kubernetes Prow Robot
7933002ba2
Merge pull request #85452 from byteor/master
...
[pkg/auth/nodeidentifier/default_test.go]: fix testing error message typo
2019-12-10 16:04:49 -08:00
Kubernetes Prow Robot
9ddbc90039
Merge pull request #84191 from langyenan/getTypedVersion
...
invoke getTypedVersion() instead of direct runtime call
2019-12-10 16:04:19 -08:00
Rob Scott
49e4bd137b
Ensuring kube-proxy does not mutate shared EndpointSlices
2019-12-10 13:18:04 -08:00
Kubernetes Prow Robot
c7a65ca0c3
Merge pull request #85446 from RainbowMango/pr_remove_RawRegister
...
Remove the derprecated API RawRegister from stability framework
2019-12-10 12:16:20 -08:00
Arjun Naik
8ab226263a
Adds tests
...
Signed-off-by: Arjun Naik <arjun@arjunnaik.in>
2019-12-10 18:09:20 +01:00
Ivan Glushkov
ac23d55d90
Generates boilerplate code
2019-12-10 20:38:09 +04:00
Ivan Glushkov
27ffe439b6
Adds the algorithm implementation for the Configurable HPA
2019-12-10 20:37:33 +04:00
Ivan Glushkov
5c70cda6e5
Adds validation rules and proper defaults
2019-12-10 20:37:19 +04:00
Ivan Glushkov
141eaf79ee
Introduces all API changes needed for Configurable HPA PR
2019-12-10 20:37:03 +04:00
Kubernetes Prow Robot
9bf52c2aa6
Merge pull request #86046 from ahg-g/ahg1-affinity
...
Optimize required pod affinity (2)
2019-12-09 17:39:28 -08:00
Kubernetes Prow Robot
d842c194c2
Merge pull request #86022 from Huang-Wei/sched-reserve-multi-errs
...
Return all scheduler predicate failures instead of the first one
2019-12-09 14:00:26 -08:00
Abdullah Gharaibeh
32dc70e0f1
optimize required inter-pod affinity
2019-12-09 16:21:13 -05:00
Kubernetes Prow Robot
ff8cf507dc
Merge pull request #83841 from RainbowMango/pr_hide_kubelet_deprecated_metrics
...
Turn off kubelet deprecated metrics
2019-12-09 11:30:02 -08:00
Kubernetes Prow Robot
fcc35b0468
Merge pull request #85899 from gongguan/slim_down_lister
...
slim down some lister expansions
2019-12-09 07:20:17 -08:00
Kubernetes Prow Robot
398e2bcc73
Merge pull request #85874 from sambdavidson/ttlFunc
...
Kubelet cert TTL via GaugeFunc
2019-12-09 07:20:02 -08:00
ianlang
babdcd0d14
invoke getTypedVersion() instead of direct runtime call
2019-12-09 15:31:45 +08:00
Wei Huang
a136108d2b
Return all predicate failures instead of the first one
2019-12-08 21:10:40 -08:00
Kubernetes Prow Robot
77a95dce68
Merge pull request #85959 from ahg-g/ahg-affinity-opt
...
Refactor and optimize preferred (anti) pod affinity
2019-12-06 19:49:25 -08:00
Kubernetes Prow Robot
95878329d4
Merge pull request #86009 from rphillips/fixes/at_most_one_ref
...
kubelet: guarantee at most only one cinfo per containerID
2019-12-06 17:06:15 -08:00
Kubernetes Prow Robot
e624d1b7bf
Merge pull request #85001 from bmoix/fix-golint-kubelet-httpgetter
...
kubelet: rename HTTPGetter interface
2019-12-06 17:05:53 -08:00
louisgong
7f5076d8ee
slim down some lister expansions
2019-12-07 08:27:06 +08:00
Samuel Davidson
aba0b31526
Changed Kubelet client and serving cert TTL/Expiry certs to use gaugefunc for calculating time remaining.
2019-12-06 15:52:03 -08:00
Kubernetes Prow Robot
c9f690d418
Merge pull request #85170 from timyinshi/logSymlink
...
modify dockerID to containerID
2019-12-06 14:27:35 -08:00
Kubernetes Prow Robot
c577031abb
Merge pull request #76741 from logicalhan/install-tunneler-bugs
...
Two bugfixes in installTunneler
2019-12-06 14:27:22 -08:00
Ryan Phillips
4762985fb6
kubelet: guarantee at most only one cinfo per containerID
...
The trailing for loop removed within this PR can include active and
inactive references. This modification will gauarantee at most only one
reference per container is returned.
2019-12-06 14:11:08 -06:00
Abdullah Gharaibeh
53be26e402
optimize preferred pod affinity
2019-12-06 12:59:06 -05:00
louisgong
0dd468039d
inject remoteRuntime to kubelet dependency
2019-12-06 14:12:08 +08:00
Kubernetes Prow Robot
0ea756ff0a
Merge pull request #84688 from tahsinrahman/kubeproxyconfig-test
...
Increase test coverage for ComponentConfigs and add tests for kubeproxyconfiguration
2019-12-05 17:15:04 -08:00
Han Kang
6de7082978
remove two unused metrics
2019-12-05 16:30:21 -08:00
Han Kang
aaac96c660
Two bug fixes: (1) at least log something out if we fail to register our health check, (2) actually register a prometheus metric. I delete the deprecated metric in this block because there isn't any point to it, since no one can be broken by changing a metric that doesn't get collected
2019-12-05 16:30:21 -08:00
Kubernetes Prow Robot
b8ce44f006
Merge pull request #85863 from nan-yu/pdb_status_renaming
...
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-05 15:54:49 -08:00
Kubernetes Prow Robot
060e0de56d
Merge pull request #85945 from obitech/kubelet_refactor_lenient_path
...
Refactor kubelet component config lenient path decoding
2019-12-05 13:51:03 -08:00
Kubernetes Prow Robot
c2b312bd22
Merge pull request #85790 from tanjunchen/fix-staticcheck-pkg-printers
...
fix staticcheck in pkg/printers
2019-12-05 13:50:54 -08:00
Kubernetes Prow Robot
ad5d4c4705
Merge pull request #85706 from yutedz/per-node-dev
...
Remove nodes slice in loop of takeByTopology
2019-12-05 13:50:30 -08:00
obitech
bf92350b11
Refactor kubelet component config lenient path decoding
...
Use NewLenientSchemeAndCodec function provided in k8s.io/component-base/codec
instead of private package function.
2019-12-05 19:23:48 +08:00
yuzhiquan
e057bd4ad2
fix: typo Snapshoting to Snapshotting
2019-12-05 10:42:35 +08:00
tanjunchen
40911e74c1
fix staticcheck in pkg/printers
2019-12-05 10:24:42 +08:00
Ted Yu
36784331eb
Sync the status of static Pods
2019-12-04 13:28:42 -08:00
Hemant Kumar
4b8e552a88
Use typed errors for special casing volume progress
...
Use typed errors rather than operation status for
indicating operation progress
2019-12-04 14:48:30 -05:00
Adelina Tuvenie
bc7d254317
Fix Cpu Requests priority Windows.
...
For Windows, CPU Requests ( Shares, Count and Maximum ) are mutually exclusive, however
Kubernetes sends them all anyway in the pod spec.
When using dockershim this is not an issue, as Docker checks for this specific situation
here: 1bd184a4c2/daemon/daemon_windows.go (L87-L106)
However, when using CRI-Containerd this pods fail to spawn with an error from hcsshim.
This PR intends to filter these values before they are sent to the CRI and not rely on the
runtime for it.
Related to: https://github.com/kubernetes/kubernetes/issues/84804
2019-12-04 19:32:26 +02:00
Kubernetes Prow Robot
f4caa62593
Merge pull request #85590 from yuzhiquan/master
...
handle registry merge error
2019-12-04 08:50:57 -08:00
Kubernetes Prow Robot
97a4e6683e
Merge pull request #85634 from hwdef/fix-staticcheck14
...
pkg/master: Fix static check failures
2019-12-04 07:18:57 -08:00
louisgong
b469404d97
hollow-node use remote CRI
2019-12-04 17:07:04 +08:00
Kubernetes Prow Robot
ac5dc1fc68
Merge pull request #85844 from shaloulcy/add_configmap_predicate_func
...
add PredicateFunc for configmap
2019-12-03 19:45:12 -08:00
Kubernetes Prow Robot
370e2f4b29
Merge pull request #85862 from ahg-g/ahg-antiAffinity
...
Partially avoid LabelSelectorAsSelector overhead in anti-pod affinity calculation
2019-12-03 18:35:23 -08:00
Kubernetes Prow Robot
ca7ad98d60
Merge pull request #85470 from cwdsuzhou/add_pod_info
...
add pod info when failing to add pod to unschedulableQ
2019-12-03 18:35:10 -08:00
Dc.Hannibal
9a9db00451
handle registry merge error
...
Handle registry merge error.
Add test case
Add a test case in TestSchedulerCreation
Add test case comment
Add test case comment, and modify error msg.
gofmt
gofmt import order
replace NewDefaultRegistry with a fake registry
update comment
rename framework plugins nodeaffinity import
remove nodeaffinity plugin import, get fake registry name from default registry randomly
Add a space
Add a space after //
update comment, trans FrameWork to Framework
2019-12-04 09:21:18 +08:00
Kubernetes Prow Robot
fe97fbb2e6
Merge pull request #85071 from hvaara/fix-golint-pkg-apis-batch-validation
...
Fix golint issues in pkg/apis/batch/validation
2019-12-03 17:00:57 -08:00
Kubernetes Prow Robot
bb9981e19f
Merge pull request #85046 from hvaara/fix-golint-pkg-registry--storage
...
Fix golint issues in pkg/registry/.../storage
2019-12-03 15:47:11 -08:00
Kubernetes Prow Robot
eff703de21
Merge pull request #84005 from yue9944882/chore/crd-internal-client-prune
...
Prune internal clients from CRD apiserver
2019-12-03 15:46:57 -08:00
Nan Yu
1fb0dd4ec5
Rename PodDisruptionsAllowed to DisruptionsAllowed in type PodDisruptionBudgetStatus
2019-12-03 14:26:35 -08:00
Abdullah Gharaibeh
2d3c8fe6b9
optimize anti-affinity predicate
2019-12-03 15:44:57 -05:00
Kubernetes Prow Robot
b141a990c3
Merge pull request #85820 from ahg-g/ahg-queue
...
Start and stop the scheduling queue consistently
2019-12-03 11:41:14 -08:00
Kubernetes Prow Robot
205570eb75
Merge pull request #84614 from rphillips/fixes/add_cert_rotation_failure_metric
...
kubelet: add certificate rotation error metric
2019-12-03 11:40:57 -08:00
yue9944882
81471c36b1
[generated] bazels and vendor/modules.txt
...
[generated] bazels
bazel
2019-12-04 00:49:28 +08:00
yue9944882
15a883b067
s/apiextensions/apiextensionsv1/ for all imports in k/k
...
rename alias import
fmt
2019-12-04 00:49:27 +08:00
yue9944882
168f8f54f0
switch to v1 crd
...
switch api helper functions to v1 CRD api
switch v1 CRD for apiserver internal
switch to v1 CRD for internal controllers
api storage/validation related changes
move local-defaulting utils private to prevent spreading
boilerplate
keep the subresource status/scale spec nil unless it's enabled
clean up empty space
2019-12-04 00:49:26 +08:00
Antonio Ojea
51814ae189
Be more agressive acquiring the iptables lock
...
iptables has two options to modify the behaviour trying to
acquire the lock.
--wait -w [seconds] maximum wait to acquire xtables lock
before give up
--wait-interval -W [usecs] wait time to try to acquire xtables
lock
interval to wait for xtables lock
default is 1 second
Kubernetes uses -w 5 that means that wait 5 seconds to try to
acquire the lock. If we are not able to acquire it, kube-proxy
fails and retries in 30 seconds, that is an important penalty
on sensitive applications.
We can be a bit more aggresive and try to acquire the lock every
100 msec, that means that we have to fail 50 times to not being
able to succeed.
2019-12-03 17:38:13 +01:00
shaloulcy
efa34ba484
add PredicateFunc for configmap
...
Signed-off-by: shaloulcy <lcy041536@gmail.com>
2019-12-03 20:18:27 +08:00
Kubernetes Prow Robot
1e2b6176aa
Merge pull request #83289 from beautytiger/dev-190929-sctp
...
fix unit test in hostport_manager_test.go
2019-12-02 21:42:57 -08:00
Kubernetes Prow Robot
57b6b287d4
Merge pull request #85688 from yutedz/pods-to-rm
...
Reduce unnecessary Set in updateAllocatedDevices
2019-12-02 17:07:26 -08:00
Kubernetes Prow Robot
97e34ee223
Merge pull request #85475 from andyzhangx/upgrade-azure-storage-lib
...
upgrade api-version to fix azure file AuthorizationFailure
2019-12-02 17:07:10 -08:00
Sean Sullivan
9b32d8734f
Adds initial unit tests for tablegenerator.go
2019-12-02 14:21:51 -08:00
Abdullah Gharaibeh
f388534082
make scheduling queue start before the scheduler starts and stops after the scheduler stops
2019-12-02 14:35:09 -05:00
Kubernetes Prow Robot
833f585104
Merge pull request #85760 from yutedz/chkpt-write-err
...
Log error when writing checkpoint fails
2019-12-02 10:27:06 -08:00
Hemant Kumar
0741f6fa29
Ensure that metadata directory is not created if secret is not found
...
To ensure that metadata directory is not created if secret is not
found, we will move fetching secrets bit more earlier in the code.
2019-12-02 12:09:38 -05:00
Hemant Kumar
309c6f863a
Handle the case of remounts correctly
2019-12-02 12:09:38 -05:00
Hemant Kumar
5feea93163
Rename MarkVolumeMountedOpts to MarkVolumeOpts
...
Also remove VolumeNotMounted state
2019-12-02 12:09:38 -05:00
Hemant Kumar
cdbd3ba5c2
Change interface of SetUp function
2019-12-02 12:09:38 -05:00
Hemant Kumar
db9ac38592
Change signature of MountDevice function and remove MountDeviceWithStatusTracking
2019-12-02 12:09:38 -05:00
Hemant Kumar
0c52b6606e
Refactor NodeStage function
...
Timeout operations should result in
Fix unit tests for uncertainDeviceGlobalMounts
2019-12-02 12:09:38 -05:00
Hemant Kumar
57019e0628
Add tests for verifying in-progress state
2019-12-02 12:09:38 -05:00
Hemant Kumar
27a70a9260
Update generated files
2019-12-02 12:09:38 -05:00
Hemant Kumar
321e99367a
Add code to handle Setup With Status tracking
2019-12-02 12:09:38 -05:00
Hemant Kumar
dc9e64c31e
Implement return status codes
2019-12-02 12:02:27 -05:00
Hemant Kumar
50dbcb3e00
Make sure PodExistsInVolume does not uses uncertain volumes
2019-12-02 12:01:40 -05:00
Hemant Kumar
34a6007dfe
Add code to mark volume as uncertain
...
Update bazel files
Add tests for volume mounts in uncertain state
2019-12-02 12:01:40 -05:00
Hemant Kumar
a795f3de88
Add code for introducing uncertain state of mounts
...
Add a comment about volumestate
2019-12-02 11:57:40 -05:00
Kubernetes Prow Robot
e941b46b22
Merge pull request #85705 from ralfonso/iscsi_refcounter_block_fix
...
Fix iscsi refcounter in the case of no Block iscsi volumes
2019-12-02 06:03:05 -08:00
ZP-AlwaysWin
8c2aed4ff5
Optimize:remove unnecessary judgment
2019-12-02 14:17:48 +08:00
Ted Yu
84a9803741
Log error when writing checkpoint fails
2019-11-29 19:47:17 -08:00
Ted Yu
6415fa765e
Remove nodes slice in loop of takeByTopology
2019-11-29 12:12:22 -08:00
Abdullah Gharaibeh
5ea43f20cb
optimize scheduler's UpdateNodeInfoSnapshot
2019-11-29 15:06:13 -05:00
Quan Tian
d07dd4bbed
Fix NetworkPolicy PolicyTypes validation
...
The validation had an excess nested loop and also caused wrong
error feedback that all policyTypes input will be reported as
unsupported if any of them is wrong.
2019-11-29 16:02:38 +08:00
Kubernetes Prow Robot
53740bbade
Merge pull request #85687 from dmage/decode_base64
...
fix: padded base64 encoded docker auth field
2019-11-28 11:17:03 -08:00
Kubernetes Prow Robot
050c9471c8
Merge pull request #85644 from liggitt/meta-v1-table
...
Switch TableGenerator/TableConvertor interfaces to metav1
2019-11-28 10:05:18 -08:00
Oleg Bulatov
5bec54ed5b
fix: padded base64 encoded docker auth field
...
base64 allows usage of new line characters and some tools use them.
As a result, the length of the encoded string cannot be used to
determine whether it's padded or not.
This patch fixes the regression after #82148 .
2019-11-28 17:12:03 +01:00
Kubernetes Prow Robot
d9c1203308
Merge pull request #85716 from krzysied/kubemark_node_labels_fix
...
Fxing kubemark node labels
2019-11-28 06:09:16 -08:00
Kubernetes Prow Robot
d356fcfce5
Merge pull request #84921 from clarklee92/FixCollidesWithImportedPackageName
...
Variables collide with imported package name
2019-11-28 01:49:03 -08:00
Krzysztof Siedlecki
5cf06bfa80
fxing kubemark node labels
2019-11-28 10:23:48 +01:00
Kubernetes Prow Robot
247c12d618
Merge pull request #85695 from ahg-g/ahg-provider
...
remove redundant definition of the defaultProvider in the scheduler
2019-11-27 17:51:03 -08:00
Ryan Roemmich
d44583d28a
Fix iscsi refcounter in the case of no Block iscsi volumes
2019-11-27 15:50:40 -08:00
Kubernetes Prow Robot
45f6270283
Merge pull request #85689 from ahg-g/ahg-export-snapshot
...
Export scheduler.Snapshot function
2019-11-27 14:23:03 -08:00
Kubernetes Prow Robot
80eed952f0
Merge pull request #84854 from BSWANG/fix-hugetlb-cgroup
...
fix kubelet failed to start on setting hugetlb limits
2019-11-27 12:29:03 -08:00
Abdullah Gharaibeh
7360797a12
remove redundant definition of the defaultProvider in the scheduler
2019-11-27 14:49:57 -05:00
Kubernetes Prow Robot
c58b63267c
Merge pull request #85562 from gkarthiks/master
...
golint fixes for /pkg/util/iptables/testing
2019-11-27 10:46:45 -08:00
Abdullah Gharaibeh
2e0bad569d
export scheduler.Snapshot function, needed for cluster autoscaler integration
2019-11-27 12:35:56 -05:00
Ted Yu
86f3bc25e1
Reduce unnecessary Set in updateAllocatedDevices
2019-11-27 08:48:06 -08:00
Kubernetes Prow Robot
be65a9d1b6
Merge pull request #85526 from hex108/dump_nominated_pods
...
Print nominated pods when dumping scheduler cached NodeInfo
2019-11-27 07:17:21 -08:00
Kubernetes Prow Robot
7ed5eb6dcc
Merge pull request #81880 from MikeSpreitzer/fix81879
...
Bumped the number of times a node tries to lookup itself
2019-11-27 03:07:20 -08:00
Kubernetes Prow Robot
ef1af14cab
Merge pull request #85172 from c3y1huang/fix/golint_failure/Remove-pkg.registry.apps.replicaset
...
Fix golint failures for pkg/registry/apps/replicaset
2019-11-27 01:09:21 -08:00
hwdef
e7172b3dbf
pkg/master: Fix static check failures
2019-11-27 09:15:57 +08:00
Kubernetes Prow Robot
8b05cec276
Merge pull request #84477 from yutedz/csi-node-v1
...
Switch storage version to use v1.CSINode in 1.18
2019-11-26 12:17:21 -08:00
Jordan Liggitt
a1595da534
Attach runtimeclass printer
2019-11-26 13:20:52 -05:00
Jordan Liggitt
03910e99da
Attach resourcequota printer
2019-11-26 13:20:52 -05:00
Jordan Liggitt
9b387da5a1
Improve rolebinding/clusterrolebinding printers
2019-11-26 13:20:52 -05:00
Jordan Liggitt
5448a8b526
Add webhook printers
2019-11-26 13:18:18 -05:00
Jordan Liggitt
cc7e7245a3
Add CSINode/CSIDriver printers
2019-11-26 13:18:18 -05:00
Jordan Liggitt
36eb250cbb
Switch TableGenerator/TableConvertor interfaces to metav1
2019-11-26 13:18:18 -05:00
Davanum Srinivas
837fd41c42
Flip CSIMigrationOpenStack flag to be beta and off by default
2019-11-26 06:36:16 -05:00
Kubernetes Prow Robot
10883c4c69
Merge pull request #84728 from notpad/kubemark
...
Migrate Kubemark to distroless
2019-11-26 02:09:10 -08:00
Kubernetes Prow Robot
41757d673e
Merge pull request #85521 from gaorong/check-return-value
...
check service status value returned by EnsureLoadBalancer
2019-11-25 22:51:10 -08:00
Ted Yu
1cb3992d1b
Switch storage version to use v1.CSINode in 1.18
2019-11-25 19:14:09 -08:00
Kubernetes Prow Robot
b84fad5e6f
Merge pull request #84401 from xiaoanyunfei/bugfix/inspect-docker-image
...
ignore image err when docker image has been cleaned up
2019-11-25 19:11:10 -08:00
Kubernetes Prow Robot
1c5b6cb66e
Merge pull request #85611 from ksubrmnn/routing_mesh
...
Fix HTTP readiness/liveness probes using NodePort
2019-11-25 16:43:19 -08:00
Kubernetes Prow Robot
cec566d77a
Merge pull request #85451 from flix-tech/ruben.serradas
...
Fix golint issues in pkg/kubelet/events/event.go
2019-11-25 16:43:10 -08:00
Kalya Subramanian
e87e4bea0f
Fix HTTP readiness/liveness probes for local node
2019-11-25 10:50:46 -08:00
Kubernetes Prow Robot
9d048f0768
Merge pull request #85432 from jadarsie/az-dyn-env
...
Support Azure Stack dynamic environments
2019-11-25 09:03:38 -08:00
gkarthiks
c38e79e76d
refactor: incorporated the review comments
...
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2019-11-24 11:46:57 -08:00
Kubernetes Prow Robot
9905a33fd7
Merge pull request #85368 from robscott/endpointslice-deepcopy
...
Deep copying EndpointSlices in reconciler before modifying them
2019-11-23 22:55:50 -08:00
Rob Scott
4229b99203
Deep copying EndpointSlices in reconciler before modifying them.
2019-11-23 20:57:50 -08:00
Kubernetes Prow Robot
459b1d76bf
Merge pull request #85527 from aojea/fix#85414
...
Revert "kube-proxy: check KUBE-MARK-DROP"
2019-11-23 13:19:49 -08:00
gkarthiks
a4abc1dd4d
refactor(golint): lint fixes for iptables test file
...
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2019-11-22 19:58:56 -08:00
Kubernetes Prow Robot
3aeb38afd3
Merge pull request #85493 from cofyc/local-owner
...
Add cofyc as owner of pkg/volume/local
2019-11-22 17:31:41 -08:00
Kubernetes Prow Robot
1900edf44a
Merge pull request #85440 from gkarthiks/master
...
Fix lint in /pkg/util/iptables
2019-11-22 17:31:31 -08:00
Kubernetes Prow Robot
300ca89e60
Merge pull request #85426 from davidz627/fix/testCtx
...
Plumb test state through to fake volume host creation for error handling
2019-11-22 17:31:22 -08:00
Kubernetes Prow Robot
ef6d304bed
Merge pull request #85345 from andrewsykim/improve-node-event-handler-logic
...
proxier: improve node topology event handler logic
2019-11-22 17:30:35 -08:00
Kubernetes Prow Robot
a15b5dfb13
Merge pull request #85188 from charleszheng44/scheduler-ut
...
add ut for scheduler framework
2019-11-22 17:29:43 -08:00
Antonio Ojea
98be7831e4
Revert "kube-proxy: check KUBE-MARK-DROP"
...
This reverts commit 1ca0ffeaf2
.
kube-proxy is not recreating the rules associated to the
KUBE-MARK-DROP chain, that is created by the kubelet.
Is preferrable avoid the dependency between the kubelet and
kube-proxy and that each of them handle their own rules.
2019-11-22 06:37:42 +01:00
Jun Gong
abc64a8519
Print nominated pods on the node when dumping scheduler cached NodeInfo
2019-11-22 13:12:37 +08:00
jadarsie
3322ff9551
generalize solution
2019-11-21 19:14:47 -08:00
caiweidong
81afa77e3b
add pod info when failing to add pod to queue
2019-11-22 11:07:31 +08:00
Rong Gao
99603e105a
check service status value returned by EnsureLoadBalancer
...
when service status returned by EnsureLoadBalancer is nil, return the
function directly to avoid NPE
2019-11-22 09:19:06 +08:00
jadarsie
55828d059d
misc fixes
2019-11-21 10:19:25 -08:00
Ian Bull
a232971d73
Add public documentation for kubelet/apis/config
...
The `kubelet/apis/config` package had golint failures. This change-set
removes the `kubelet/apis/config` package from the `.golint_failures`
and fixes the golint errors. In particular, this change-set adds
documentation to the public types in the package.
This change-set works towards issue#68026
2019-11-20 22:52:53 -08:00
Yecheng Fu
96eb647898
add cofyc as local volume owner
2019-11-21 09:38:49 +08:00
andyzhangx
6b73c9f8c2
upgrade api-version to fix azure file AuthorizationFailure
...
fix build failure
2019-11-20 05:41:25 +00:00
Dan Williams
5652819292
kubelet/network: add sig-network-approvers to OWNERS
2019-11-19 23:05:51 -06:00
Akihiro Suda
821362bd1e
SafeSysctlWhitelist: add net.ipv4.ping_group_range
...
sysctl value `net.ipv4.ping_group_range` can be used for allowing `ping`
command without `CAP_NET_RAW` capability.
e.g. `net.ipv4.ping_group_range="0 42"` to allow ping for users with
GID 0-GID 42.
This sysctl value was introduced in kernel 3.0 and has been namespaced
since its birth.
c319b4d76b (diff-5b536a7a92abed603bbb4caa61613270R57)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2019-11-20 07:26:02 +09:00
Benjamin Elder
cf510ac285
fix multiple node cidr masks in providerless build
2019-11-19 09:47:45 -08:00
Benjamin Elder
753774d9ea
add providerless tag to vsphere volume code
2019-11-19 09:47:45 -08:00
Benjamin Elder
b100bf9654
add providerless tags to new awsebs code
2019-11-19 09:47:45 -08:00
gkarthiks
b05749c619
chore(gofmt): go format fix
...
Signed-off-by: gkarthiks <github.gkarthiks@gmail.com>
2019-11-19 08:30:16 -08:00
Zhou Peng
d49bc34376
[pkg/auth/nodeidentifier/default_test.go]: fix testing error message typo
...
Signed-off-by: Zhou Peng <p@ctriple.cn>
2019-11-19 23:35:04 +08:00
Ruben
55c83e3397
Fix golint issues in pkg/kubelet/events/event.go
...
Change the single const statement in favor of multiple const event lists.
This way we don't need to put the name of the constant in the comment
and it's clearer that the comment refers to the whole list.
2019-11-19 13:15:08 +01:00
RainbowMango
214228f024
Remove the derprecated API RawRegister from stability framework
2019-11-19 18:56:09 +08:00
Jordan Liggitt
dc0e51dd18
Plumb authorization webhook version from CLI to config
2019-11-18 23:58:05 -08:00
Karthikeyan Govindaraj
a4631c845e
chore(lint): lint fix in /pkg/util/iptables
2019-11-18 23:44:49 -08:00
Karthikeyan Govindaraj
bdc11c2806
chore(lint): fix iptable.go file lint
2019-11-18 23:43:51 -08:00
jadarsie
ec57d8a4d0
Support Azure Stack dynamic environments
2019-11-18 15:06:32 -08:00
David Zhu
21f7060c8f
Plumb test state through to fake volume host creation for error handling
2019-11-18 14:45:01 -08:00
Kubernetes Prow Robot
81af5baff8
Merge pull request #85237 from leakingtapan/ebs-migration-flag
...
Flip CSIMigrationAWS flag to be beta and off by default
2019-11-18 12:33:42 -08:00
Yuan Tang
dd308ca576
Fix grammar: have -> has
2019-11-18 11:17:58 -05:00
Md Tahsin Rahman
ce5cbe8b13
Add tests for kubeproxyconfig
2019-11-16 23:34:39 +06:00
Kubernetes Prow Robot
09d142a7ab
Merge pull request #80854 from aojea/hostportv6
...
Add IPv6 support to kubenet hostport
2019-11-16 04:35:41 -08:00
notpad
dcf80e31ac
Migrate Kubemark to distroless
2019-11-16 17:49:26 +08:00
Kubernetes Prow Robot
e0529008d0
Merge pull request #85370 from mikedanese/expcache
...
fix terrible bug and inline GC for expiring cache
2019-11-16 00:29:40 -08:00
Kubernetes Prow Robot
c3f8d700ac
Merge pull request #85367 from aramase/node-cidr-followup
...
[kube controller manager] add comments for compatibility
2019-11-15 19:09:54 -08:00
Kubernetes Prow Robot
5848ee4945
Merge pull request #85365 from robscott/endpointslice-default-off
...
Disabling EndpointSlice feature gate by default
2019-11-15 17:57:50 -08:00
Kubernetes Prow Robot
9c26a752a9
Merge pull request #85231 from davidz627/flags
...
Flip CSIMigration and CSIMigrationGCE to Beta
2019-11-15 17:57:41 -08:00
Mike Danese
d16dde36a3
inline GC in expiring cache
...
This allows us to drop the background goroutine with negligable
difference in performance.
2019-11-15 17:50:31 -08:00
Kubernetes Prow Robot
9859e73433
Merge pull request #85361 from liggitt/endpoint-label
...
Fix label mutation in endpoints controller
2019-11-15 16:17:49 -08:00
Anish Ramasekar
128f33b26e
add comments for compatibility
2019-11-15 15:38:06 -08:00
Rob Scott
37aa219fff
Disabling EndpointSlice feature gate by default
...
Given the significance this change would have we've decided to hold off
on enabling this by default until we can have better test coverage and
more real world usage of the feature.
2019-11-15 14:54:35 -08:00
Jordan Liggitt
08b5c809d2
Fix label mutation in endpoints controller
2019-11-15 16:24:10 -05:00
Rob Scott
7085d692b7
Reverting managed-by-setup annotation
...
This ended up causing far more problems than it was worth, especially
given that it just attempted to provide backwards compatibility with
the alpha release.
2019-11-15 11:50:58 -08:00
Kubernetes Prow Robot
f16bfb069a
Merge pull request #85346 from andrewsykim/service-topology-validtaion
...
service topology: remove redundant API validation for local external traffic policy
2019-11-15 11:32:31 -08:00
David Zhu
41c65f4740
Jump out of spec translation early if the spec is not migratable. Unit tests work after all!
2019-11-15 11:23:32 -08:00
David Zhu
6e716af89e
Add CSINodes to AttachDetachControllerRecovery test
2019-11-15 11:23:32 -08:00
David Zhu
86f20db7d0
Panic on error when creating fake volume host, add a TODO to clean up later
2019-11-15 11:23:32 -08:00
David Zhu
1a47bf54e2
De-race some CSI unit tests that were initializing the plugin manager…ger (and plugins) twice. Set some const variables earlier to support node info manager initialization and wait for initialization to complete before finishing plugin setup.
2019-11-15 11:23:32 -08:00
David Zhu
d66ca2dc11
Flip CSIMigration and CSIMigrationGCE to Beta
2019-11-15 11:22:35 -08:00
Kubernetes Prow Robot
4c50ee993c
Merge pull request #85339 from mm4tt/endpointslice_cache
...
Increase cache size for EndpointSlices.
2019-11-15 10:10:50 -08:00
Kubernetes Prow Robot
45e0080fd5
Merge pull request #85305 from codenrhoden/remove-mount-pkg
...
Remove pkg/util/mount (moved out of tree)
2019-11-15 10:10:38 -08:00
Kubernetes Prow Robot
7a5929da02
Merge pull request #83838 from RainbowMango/pr_hide_scheduler_deprecated_metrics
...
Turn off scheduler metrics that have been deprecated
2019-11-15 07:59:15 -08:00
Travis Rhoden
0c5c3d8bb9
Remove pkg/util/mount (moved out of tree)
...
This patch removes pkg/util/mount completely, and replaces it with the
mount package now located at k8s.io/utils/mount. The code found at
k8s.io/utils/mount was moved there from pkg/util/mount, so the code is
identical, just no longer in-tree to k/k.
2019-11-15 08:29:12 -07:00
Andrew Sy Kim
aaa91ef412
service topology: remove redundant API validation for local external traffic policy
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-15 08:57:17 -05:00
Andrew Sy Kim
884582d892
proxier: improve node topology event handler logic
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-15 08:53:56 -05:00
Kubernetes Prow Robot
d9be37e926
Merge pull request #72046 from m1093782566/service-topology-api
...
Service Topology implementation
2019-11-15 02:57:42 -08:00
Matt Matejczyk
44452995d6
Increase cache size for endpointslices.
...
It should match what we have for endpoints as endpointslices is
replacing them and # updates of endpointslices should be roughly the
same as # updates of endpoints.
Otherwise, kube-proxy may start loosing watches for endpointslices (we believe this is
what currently happens in scale tests, will create an issue for that
soon).
2019-11-15 11:25:07 +01:00
Kubernetes Prow Robot
ded6ee953c
Merge pull request #79993 from aramase/controller-manager-multiple-cidr
...
Allow multiple node cidr masks in kube-controller-manager
2019-11-14 23:23:42 -08:00
Roc Chan
31d623b4d7
Autogenerated files
2019-11-15 14:37:44 +08:00
Kubernetes Prow Robot
4e45328e65
Merge pull request #83123 from aramase/dualstack-downward-api
...
Dualstack downward api
2019-11-14 22:13:42 -08:00
Cheng Pan
2d13b97ef3
Flip CSIMigrationAWS flag to be beta and off by default
2019-11-15 05:40:34 +00:00
Roc Chan
80c6524cd0
kube-proxy: sync rules when current node labels change detected
2019-11-15 13:36:43 +08:00
Roc Chan
c9cf3f5b72
Service Topology implementation
...
* Implement Service Topology for ipvs and iptables proxier
* Add test files
* API validation
2019-11-15 13:36:43 +08:00
m1093782566
cdaeabfb46
Add API for feature gate ServiceTopology
2019-11-15 13:36:43 +08:00
Kubernetes Prow Robot
3202bc1044
Merge pull request #83896 from mars1024/modify/cni_log
...
modify error output in cniNetworkPlugin
2019-11-14 20:52:02 -08:00
Kubernetes Prow Robot
372ebd24f5
Merge pull request #83098 from ddebroy/disable-intree
...
CSI Migration phase 2: disable probing of in-tree plugins
2019-11-14 20:51:42 -08:00
Anish Ramasekar
796faba4ac
Allow multiple node cidr masks in cm
...
update tests
add comment
amend var name
update comment
add check for empty slice
fix tests
fix mask size in test
review feedback
add ipv4 and ipv6 flag for mask sizes
add to violation exception list
remove import alias
run update-openapi-spec
review feedback
run update-bazel
review feedback
review feedback
2019-11-14 20:04:31 -08:00
chao zheng
259cc951ff
add ut for scheduler framework
2019-11-14 19:39:21 -08:00
YAMAMOTO Takashi
361cd7212e
Fix a comment typo in legacyNodeRoleBehaviorFeature
2019-11-15 11:30:34 +09:00
Masaki Kimura
4578c6c8ce
Separate staging/publish and unstaging/unpublish logics for block
2019-11-15 01:55:20 +00:00
Masaki Kimura
7caf731773
Change publish path for CSI block volume per pod
...
This change is to allow CSI driver to publish the same volume for multipe pods on the same node.
2019-11-15 01:55:15 +00:00
Kubernetes Prow Robot
97d45fe3c8
Merge pull request #85309 from liggitt/cs-table-handler
...
Avoid constructing table printer on every componentstatus request
2019-11-14 17:51:31 -08:00
Kubernetes Prow Robot
ff0a1d86d5
Merge pull request #85298 from liggitt/scheduler-csi-v1
...
Use CSINodes v1 API in scheduler
2019-11-14 17:51:20 -08:00
Kubernetes Prow Robot
9d0a32caf8
Merge pull request #85260 from MikeSpreitzer/reqmgmt-rename
...
Renamed FeatureGate RequestManagement to APIPriorityAndFairness
2019-11-14 17:51:10 -08:00
Kubernetes Prow Robot
e24f5ab4e4
Merge pull request #84747 from mkimuram/refactor-mapper
...
Refactor mapper/unmapper of block volume
2019-11-14 17:50:15 -08:00
Kubernetes Prow Robot
19b4017b5d
Merge pull request #84424 from mikedanese/expcache
...
Add an expiring cache for the caching token authenticator
2019-11-14 17:50:06 -08:00
Kubernetes Prow Robot
e434d2dbab
Merge pull request #84295 from aojea/iptableslogs
...
Improve iptables logging
2019-11-14 17:49:51 -08:00
Deep Debroy
129f15328b
Disable in-tree plugins migrated to CSI
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-11-14 17:28:21 -08:00
Kubernetes Prow Robot
30e6238795
Merge pull request #85147 from yutedz/devmgr-rm-contents
...
Continue removing file in ManagerImpl#removeContents
2019-11-14 16:38:28 -08:00
Kubernetes Prow Robot
99e18f5ae9
Merge pull request #84900 from MikeSpreitzer/add-namespace-to-rule
...
Enable Priority and Fairness to discriminate on target namespace
2019-11-14 16:38:18 -08:00
Kubernetes Prow Robot
6c5fb3ee60
Merge pull request #83491 from dcbw/winship-iptables-owner
...
pkg/util/iptables: add Dan Winship to approvers
2019-11-14 16:37:26 -08:00
Masaki Kimura
a275026ad4
Split CustomBlockVolumeMapper and CustomBlockVolumeUnmapper
...
- Move SetUpDevice to BlockVolumeStager
- Move MapPodDevice to BlockVolumePublisher
- Move TearDownDevice to BlockVolumeUnstager
- Move UnmapPodDevice to BlockVolumeUnpublisher
- Implement BlockVolumePublisher only in local and csi plugin
- Implement BlockVolumeUnstager only in fc, iscsi, rbd, and csi plugin
- Implement BlockVolumeStager and BlockVolumeUnpublisher only in csi plugin
2019-11-14 22:01:19 +00:00
Masaki Kimura
f363a03f0b
Refactor BlockVolumeMapper and BlockVolumeUnmapper interface
...
- Rename MapDevice to MapPodDevice in BlockVolumeMapper
- Add UnmapPodDevice in BlockVolumeUnmapper (This will be used by csi driver later)
- Add CustomBlockVolumeMapper and CustomBlockVolumeUnmapper interface
- Move SetUpDevice and MapPodDevice to CustomBlockVolumeMapper
- Move TearDownDevice and UnmapPodDevice to CustomBlockVolumeUnmapper
- Implement CustomBlockVolumeMapper only in local and csi plugin
- Implement CustomBlockVolumeUnmapper only in fc, iscsi, rbd, and csi plugin
- Change MapPodDevice to return path and SetUpDevice not to return path
2019-11-14 22:01:11 +00:00
Mike Danese
3f194d5b41
migrate token cache to cache.Expiring
2019-11-14 13:50:15 -08:00
Kubernetes Prow Robot
27067540ff
Merge pull request #85246 from robscott/endpointslice-dualstack-proxy
...
Updating kube-proxy to support new EndpointSlice address types
2019-11-14 13:31:58 -08:00
Kubernetes Prow Robot
bfb99d809a
Merge pull request #85117 from hwdef/fix-staticcheck10
...
pkg/kubeapiserver: fix staticcheck warning
2019-11-14 13:31:15 -08:00
Kubernetes Prow Robot
acfc88d66e
Merge pull request #84752 from seans3/json_yaml_printers
...
Move json,yaml,jsonpath printers to correct locations
2019-11-14 13:31:04 -08:00
Kubernetes Prow Robot
5c772f5933
Merge pull request #84674 from hwdef/fix-staticcheck4
...
pkg/client: fix staticcheck warning
2019-11-14 13:30:45 -08:00
Kubernetes Prow Robot
e03d6e2311
Merge pull request #84660 from mkimuram/refactor-block-lock
...
Refactor block volume's descriptor lock logic
2019-11-14 13:30:30 -08:00
Jordan Liggitt
114e71b9de
Avoid constructing table printer on every componentstatus request
2019-11-14 16:30:12 -05:00
Kubernetes Prow Robot
9b75e36436
Merge pull request #85294 from ahg-g/ahg-15k
...
Rename PluginConfigArgs to AlgorithmConfigArgs
2019-11-14 11:20:11 -08:00
Kubernetes Prow Robot
547fdcc164
Merge pull request #85174 from zhouya0/add_table_convertor_componentstatus
...
add table convertor to componentstatus
2019-11-14 11:20:01 -08:00
Kubernetes Prow Robot
ba9f7419f9
Merge pull request #84732 from khenidak/fix-disable-dualstack
...
Fix a CM panic when ipam tries to lock an out of range pre existing cidr
2019-11-14 11:19:35 -08:00
Jordan Liggitt
7eb4838a61
Use CSINodes v1 API in scheduler
2019-11-14 13:40:50 -05:00
Kubernetes Prow Robot
78d2e52dee
Merge pull request #84859 from denkensk/move-volumebind-behind-permit
...
Move pod bindVolumes behind RunPermitPlugins
2019-11-14 10:05:48 -08:00
Kubernetes Prow Robot
979688b5cd
Merge pull request #84335 from mrkm4ntr/fix-node-evaluation
...
Add unit test to catch scheduler's node order evaluation regressions
2019-11-14 10:05:35 -08:00
Abdullah Gharaibeh
05606bb6e4
rename PluginConfigArgs to AlgorithmConfigArgs
2019-11-14 11:30:59 -05:00
Masaki Kimura
560d9c56eb
Change mount.NewOSExec to utilexec.New
2019-11-14 15:58:27 +00:00
Masaki Kimura
8a09460c2f
Change getDeviceMajorMinor to use unix.Stat
2019-11-14 15:58:27 +00:00
Masaki Kimura
aee875a855
Fix error messages in operation_generator.go
2019-11-14 15:58:27 +00:00
Masaki Kimura
a2cbc028f4
Remove remaining empty file in unmapBindMountDevice
2019-11-14 15:58:27 +00:00
Masaki Kimura
dd945424e1
Rename IsBindMountExist to IsDeviceBindMountExist
2019-11-14 15:58:26 +00:00
Masaki Kimura
bee6514d79
Remove klog for output error instead return err with context
2019-11-14 15:58:26 +00:00
Masaki Kimura
7abb704e7b
Improve comments for volume path hanlder and volume.go
2019-11-14 15:58:26 +00:00
Masaki Kimura
5a351e3014
Check and return error first in IsSymlinkExist and IsBindMountExist
2019-11-14 15:58:26 +00:00
Masaki Kimura
8a159d7253
Move MapBlockVolume call to operation_generator and add UnmapBlockVolume
2019-11-14 15:58:26 +00:00
Masaki Kimura
68be3947b8
Make descriptor lock per pod and release it per pod
...
This change is needed to avoid unmapVolumeFunc for one pod blocked,
when the lock for the same volume is taken for another pod.
2019-11-14 15:58:26 +00:00
Masaki Kimura
2ecdc5e8d1
Change globalMapPath to bind mount from symlink
...
This change is needed to make descriptor lock per pod, in the next commit.
If losetup is called for symlink, path in the output for losetup is resolved,
as a result, we can't distinguish which path the lock is taken.
2019-11-14 15:58:26 +00:00
zhouya0
7302a98560
add table convertor to componentstatus
2019-11-14 17:31:37 +08:00
Mike Spreitzer
76d090e30f
Renamed FeatureGate RequestManagement to APIPriorityAndFairness
...
The old name is too broad, we wanted a name that is more specific to
the actual feature.
This is an alpha gate, and no release has yet associated any
functionality with this gate.
2019-11-14 01:34:59 -05:00
MikeSpreitzer
1c60949dfd
updated generated files
2019-11-14 00:53:02 -05:00
Mike Spreitzer
bb69b93b20
applied gofmt
2019-11-14 00:53:02 -05:00
Mike Spreitzer
a912bd8488
Identify cluster scope by a boolean field rather than a special namespace
2019-11-14 00:53:02 -05:00
Mike Spreitzer
3b77bc8054
Enabled discrimination on target namespace
...
Generalized ResourcePolicyRule in API Priority and Fairness to be able
to discriminate on the target namespace (if any) specified in the
request.
2019-11-14 00:53:02 -05:00
Kubernetes Prow Robot
42273a4dbf
Merge pull request #84472 from gab-satchi/windows-build-label
...
Adds Windows build information as a label on the node
2019-11-13 21:46:19 -08:00
Kubernetes Prow Robot
1ae9713f7f
Merge pull request #83839 from RainbowMango/pr_hide_proxy_deprecated_metrics
...
Turn off proxy metrics that have been deprecated
2019-11-13 21:46:11 -08:00
Kubernetes Prow Robot
5e30d32d2c
Merge pull request #83394 from bertinatto/convert_pv_no_affinity
...
Convert existing PVs to use volume topology in VolumeBinderPredicate
2019-11-13 21:45:56 -08:00
Kubernetes Prow Robot
cb7cd5d7c6
Merge pull request #82031 from codenrhoden/mount-comments
...
Additional mount comments
2019-11-13 21:45:34 -08:00
Rob Scott
2a021d02c9
Updating kube-proxy to support new EndpointSlice address types
...
This includes IPv4 and IPv6 address types and IPVS dual stack support.
Importantly this ensures that EndpointSlices with a FQDN address type
are not processed by kube-proxy.
2019-11-13 19:50:41 -08:00
hwdef
b3377e61de
pkg/kubeapiserver: fix staticcheck warning
2019-11-14 11:24:22 +08:00
hwdef
82b9cf1890
pkg/client: fix staticcheck warning
2019-11-14 10:08:16 +08:00
RainbowMango
d9b12b131a
Hide scheduler metrics that have been deprecated in 1.14
2019-11-14 10:02:18 +08:00
Kubernetes Prow Robot
fa1ca34550
Merge pull request #85236 from liu-cong/metrics-bucket
...
Update bucket for scheduler framework latency histograms.
2019-11-13 17:29:17 -08:00
Kubernetes Prow Robot
565566f4b2
Merge pull request #85153 from codenrhoden/mount-no-exec-int
...
Retire mount.Exec for k8s.io/utils/exec
2019-11-13 17:28:32 -08:00
Kubernetes Prow Robot
072cf5bd58
Merge pull request #85023 from MrHohn/svc-lb-ga
...
Promote service load balancer finalizer to GA
2019-11-13 17:28:21 -08:00
Kubernetes Prow Robot
71d563b831
Merge pull request #84771 from MikeSpreitzer/refactor-priority-config
...
Refactored PriorityLevelConfiguration
2019-11-13 17:28:06 -08:00
Kubernetes Prow Robot
64f4be5b32
Merge pull request #84390 from robscott/endpointslice-beta
...
Promoting EndpointSlices to beta
2019-11-13 17:27:50 -08:00
Kubernetes Prow Robot
d3593c07de
Merge pull request #83057 from bclau/windows/containerd
...
Windows: Fixes termination-file mounting support for containerd
2019-11-13 17:27:36 -08:00
Kubernetes Prow Robot
e9ce31bcb3
Merge pull request #85219 from mm4tt/lease_cache_size
...
Increase cache size for leases
2019-11-13 14:52:00 -08:00
Kubernetes Prow Robot
d85103b185
Merge pull request #85217 from kaoskater08/kaoskater08/fix-golint-pkg-apis-extensions
...
fixed golint errors in pkg/apis/extensions register.go and types.go
2019-11-13 14:51:46 -08:00
Rob Scott
a7e589a8c6
Promoting EndpointSlices to beta
2019-11-13 14:20:19 -08:00
Cong Liu
8995c1e030
Update bucket for scheduler framework latency histograms.
2019-11-13 16:35:59 -05:00
Travis Rhoden
367f879131
Retire mount.Exec for k8s.io/utils/exec
...
This patch removes mount.Exec entirely and instead uses the common
utility from k8s.io/utils/exec.
The fake exec implementation found in k8s.io/utils/exec differs a bit
than mount.Exec, with the ability to pre-script expected calls to
Command.CombinedOutput(), so tests that previously relied on a callback
mechanism to produce specific output have been updated to use that
mechanism.
2019-11-13 14:09:57 -07:00
Kubernetes Prow Robot
209c025144
Merge pull request #85157 from alculquicondor/refactor/selector
...
Store topology spread constraints in metadata with labels.Selector
2019-11-13 13:04:35 -08:00
Kubernetes Prow Robot
7d1580270a
Merge pull request #85151 from hypnoglow/scheduler-default-algo-source
...
scheduler: make algorithm source an option
2019-11-13 13:04:09 -08:00
Kubernetes Prow Robot
a08b09d52f
Merge pull request #84279 from matthyx/kuberuntime-startupprobe
...
Add startupProbe result handling to kuberuntime
2019-11-13 13:01:53 -08:00
Kubernetes Prow Robot
b32a3d9ca4
Merge pull request #82690 from draveness/feature/graduate-ResourceQuotaScopeSelectors-to-ga
...
feat: graduate ResourceQuotaScopeSelectors to GA - part2
2019-11-13 13:01:25 -08:00
Kubernetes Prow Robot
e0c483b889
Merge pull request #85150 from ahg-g/ahg-informer
...
Pass InformerFactory/SharedLister instead of individual informers/listers in scheduler config logic
2019-11-13 09:28:23 -08:00
Kubernetes Prow Robot
6eb2f25247
Merge pull request #85075 from hwdef/fix-staticcheck9
...
pkg/credentialprovider: fix staticcheck warning
2019-11-13 09:27:18 -08:00
Kubernetes Prow Robot
43ccfced1d
Merge pull request #84998 from wojtek-t/fix_owner_refs
...
Ensure that Node lease has OwnerReference set
2019-11-13 09:26:59 -08:00
Kubernetes Prow Robot
c5609071d8
Merge pull request #84971 from robscott/endpointslice-iptypes
...
Splitting IP address type into IPv4 and IPv6 for EndpointSlices
2019-11-13 09:26:36 -08:00
Kubernetes Prow Robot
5689961ed3
Merge pull request #84649 from benmoss/windows_network_not_initialized
...
Skip GetPodNetworkStatus when CNI not yet initialized
2019-11-13 09:25:59 -08:00
Kubernetes Prow Robot
c10d29ba88
Merge pull request #84356 from verb/pid-ga
...
Promote PodProcessNamespaceSharing feature to GA
2019-11-13 09:25:42 -08:00
Mike Spreitzer
f9bc2bcf62
Refactored PriorityLevelConfiguration
...
.. so that concurrency limitation can be done without queuing
(like the existing max-in-flight filter does).
2019-11-13 16:05:52 +00:00
Matt Matejczyk
68a66f454d
Increase cache size for leases
...
The default size (100) is not enough for large clusters and results in
unnecessary restarts of kube-controller-manager watcher for leases, see http://perf-dash.k8s.io/#/?jobname=gce-5000Nodes&metriccategoryname=APIServer&metricname=LoadRequestCount&Resource=leases&Scope=cluster&Subresource=&Verb=LIST
This PR will make it match what we have for nodes.
2019-11-13 16:23:12 +01:00
Aldo Culquicondor
e3bdb4b20b
Store topology spread constraints in metadata with labels.Selector
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-13 10:10:08 -05:00
Eddie Hale
566484366e
fixed golint errors in pkg/apis/extensions register.go and types.go
2019-11-13 08:48:42 -06:00
Ted Yu
fb046f7787
Continue removing file in ManagerImpl#removeContents
2019-11-13 06:00:34 -08:00
Fabio Bertinatto
bbfc6ef450
Convert volume binder to use CSINode GA
2019-11-13 14:01:01 +01:00
Fabio Bertinatto
7cba40fb09
Use CSI translation lib in VolumeBinderPredicate
2019-11-13 14:01:01 +01:00
RainbowMango
9f013cb34f
Hide proxy metrics that have been deprecated in 1.14
2019-11-13 19:31:14 +08:00
RainbowMango
30bf1f47dd
Hide kubelet metrics that have been deprecated in 1.14
2019-11-13 19:17:38 +08:00
Claudiu Belu
d4d7f58362
Windows: Fixes termination-file mounting for containerd
...
If Containerd is used on Windows, then we can also mount individual
files into containers (e.g.: termination-log files), which was not
possible with Docker.
Checks if the container runtime is containerd, and if it is, then also
mount the termination-log file.
2019-11-12 23:33:55 -08:00
Igor Zibarev
6350095d3c
scheduler: make algorithm source an option
...
Changes scheduler.New so that algorithm source is moved from the
parameter to an option. The default algorithm source is source with the
DefaultProvider.
2019-11-13 10:22:29 +03:00
Matthias Bertschy
66595d54a0
Add startupProbe result handling to kuberuntime
2019-11-13 08:12:54 +01:00
draveness
5cb92260a6
feat: graduate ResourceQuotaScopeSelectors to GA
2019-11-13 14:07:22 +08:00
Chin-Ya Huang
92c7e8e802
Fix golint failures
...
* Remove pkg/registry/apps/replicaset
Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
2019-11-13 11:00:12 +08:00
root
e9edfbc539
modify dockerID to containerID
2019-11-13 10:43:55 +08:00
Abdullah Gharaibeh
acc66ede1a
Pass InformerFactory instead of indivisual informers in scheduler configuration logic
2019-11-12 19:38:27 -05:00
Zihong Zheng
0833e8840e
Amend service controller code/test regarding finalizer GA
2019-11-12 15:04:07 -08:00
Zihong Zheng
87e292c959
Promote service load balancer finalizer feature gate to GA
2019-11-12 14:59:46 -08:00
Gab Satch
f8e90eb5b0
Replaces modifying node object with returning a map of labels
...
- Adds label to update flow so can be picked up by an existing node
2019-11-12 16:50:43 -05:00
Kubernetes Prow Robot
ce11622bb6
Merge pull request #84522 from liu-cong/plugin
...
Add scheduler plugin execution duration metric.
2019-11-12 13:50:11 -08:00
Kubernetes Prow Robot
055daafe23
Merge pull request #85139 from ahg-g/ahg-snapshot2
...
Updated NewSnapshot interface to accept a NodeInfoMap
2019-11-12 11:52:10 -08:00
Kubernetes Prow Robot
ee9020c8bc
Merge pull request #85106 from alculquicondor/refactor/single_selector
...
Merging selectors used for spreading into one
2019-11-12 11:51:46 -08:00
Kubernetes Prow Robot
ed10b5b17f
Merge pull request #85047 from yutedz/dev-mgr-err-handling
...
Handle error return from allocatePodResources
2019-11-12 11:51:27 -08:00
Kubernetes Prow Robot
f61fbca757
Merge pull request #84924 from njuicsgz/master
...
proxy/ipvs: only get local addresses once per sync
2019-11-12 11:51:16 -08:00
Kubernetes Prow Robot
3eff237357
Merge pull request #84882 from marosset/run-as-username-beta
...
Moving WindowsRunAsUserName to beta
2019-11-12 11:51:01 -08:00
Kubernetes Prow Robot
c580a12c8e
Merge pull request #83568 from bertinatto/volume_limits_ga
...
Promote volume limits to GA
2019-11-12 11:50:22 -08:00
Kubernetes Prow Robot
fb87f72b88
Merge pull request #84862 from yutedz/master-subset-check
...
Check that endpoint has subset before accessing first subset
2019-11-12 10:23:44 -08:00
Kubernetes Prow Robot
94efa988f4
Merge pull request #84813 from deads2k/admission-feature-gates
...
remove global variable dependency from admission plugins
2019-11-12 10:23:14 -08:00
Cong Liu
af6a8160c3
Add scheduler plugin execution duration metric.
...
Address comments
Sample metrics
Use rand.Intn and some cleanup
2019-11-12 13:00:20 -05:00
Kubernetes Prow Robot
402e551ca2
Merge pull request #85135 from wojtek-t/delete_unnecessary_conversions_1
...
Eliminate couple unnecessary conversions
2019-11-12 09:07:01 -08:00
Kubernetes Prow Robot
ed4d515f0e
Merge pull request #85049 from ahmad-diaa/make-configurator-create-return-sched
...
Change Configurator.Create to Return a Scheduler
2019-11-12 09:06:36 -08:00
Rob Scott
0fa9981e01
Splitting IP address type into IPv4 and IPv6 for EndpointSlices
2019-11-12 09:03:53 -08:00
Abdullah Gharaibeh
902cf48cd3
Updated NewSnapshot interface to accept a NodeInfoMap instead of lists of nodes and pods
2019-11-12 11:14:17 -05:00
Aldo Culquicondor
c35fe2c801
Merging selectors for spreading into one
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-12 11:01:42 -05:00
Kubernetes Prow Robot
bcb171b375
Merge pull request #85059 from chiehting/registry/golint
...
Fix golint issues in pkg/registry/core/service/storage
2019-11-12 06:04:05 -08:00
wojtekt
067d173266
Eliminate couple unnecessary conversions
2019-11-12 15:00:09 +01:00
Kubernetes Prow Robot
35de7a2537
Merge pull request #84957 from ZP-AlwaysWin/dev-1105-1
...
Remove unnecessary judgment
2019-11-12 04:48:43 -08:00
Kubernetes Prow Robot
681d22428b
Merge pull request #84768 from liggitt/delegated-authnz-v1
...
switch delegated authnz to v1 APIs
2019-11-12 04:48:35 -08:00
Kubernetes Prow Robot
897ce3073c
Merge pull request #84533 from davidz627/fix/deprecatedPath
...
Remove plugin watching of deprecated directory and CSI v0 support in accordance with deprecation policy
2019-11-12 04:48:20 -08:00
Gao Zheng
6b36a60c75
kube-proxy/ipvs get local addr just once per sync
2019-11-12 19:40:21 +08:00
Kubernetes Prow Robot
5dc87d2919
Merge pull request #83965 from robscott/endpointslice-managed-by
...
Adding new label to indicate what is managing an EndpointSlice
2019-11-12 03:08:07 -08:00
Fabio Bertinatto
a59abc3cc3
Convert scheduler to use CSINode GA
2019-11-12 09:43:54 +01:00
Fabio Bertinatto
affcd0128b
Promote volume limits to GA
2019-11-12 09:43:53 +01:00
wojtekt
07200a0764
Ensure that Node lease has OwnerReference set
2019-11-12 09:11:59 +01:00
Kubernetes Prow Robot
dff236e3b2
Merge pull request #82078 from SeongJuMoon/fix/storage-wrong-typo
...
fix wrong typo stoageMap to storageMap
2019-11-11 23:14:06 -08:00
Kubernetes Prow Robot
805eecf692
Merge pull request #80058 from xing-yang/snapshot_beta
...
Enable VolumeSnapshotDataSource Feature Gate and update e2e tests for VolumeSnapshot CRD v1beta1
2019-11-11 20:06:07 -08:00
Kubernetes Prow Robot
7d1f9b440e
Merge pull request #83815 from howardjohn/appprotocol
...
Add appProtocol to EndpointSlice.Port
2019-11-11 17:48:06 -08:00
ZP-AlwaysWin
f812530e42
Remove unnecessary judgment
2019-11-12 09:31:42 +08:00
Kubernetes Prow Robot
01e014c7d6
Merge pull request #85012 from alculquicondor/feat/predicate_factory
...
Add MetadataProducerFactory for predicates
2019-11-11 14:46:36 -08:00
Jordan Liggitt
d54a70db5c
Switch kubelet/aggregated API servers to use v1 subjectaccessreviews
2019-11-11 17:19:11 -05:00
Jordan Liggitt
5ef4fe959a
Switch kubelet/aggregated API servers to use v1 tokenreviews
2019-11-11 17:19:10 -05:00
Kubernetes Prow Robot
709a0c4f7b
Merge pull request #85067 from takanattie/fix_typo
...
Fix a typo in pkg/controller
2019-11-11 12:56:48 -08:00
Kubernetes Prow Robot
bff9a7774c
Merge pull request #84639 from SataQiu/clean-scheduler-20191101
...
scheduler: improve some comments and validation messages
2019-11-11 12:56:04 -08:00
David Zhu
802fe12803
Remove plugin watching of deprecated directory {kubelet_root_dir}/plugins and support for CSI V0 in accordance with deprecation announcement in https://v1-13.docs.kubernetes.io/docs/setup/release/notes/
2019-11-11 11:42:58 -08:00
marosset
6d4aea60cd
Moving WindowsRunAsUserName to beta
2019-11-11 19:27:19 +00:00
Ted Yu
63aa70f78b
Check that endpoint has subset before accessing first subset
2019-11-11 10:55:16 -08:00
Kubernetes Prow Robot
268663c9e3
Merge pull request #84996 from alculquicondor/cleanup/rm_factory
...
Remove leftover factory directory
2019-11-11 10:54:04 -08:00
Ahmad Diaa
7156d4532e
remove factory.Config struct and NewFromConfig
2019-11-11 19:27:53 +01:00
Ahmad Diaa
7b8e5fb4f5
make Configurator.Create return a Scheduler
2019-11-11 19:27:53 +01:00
Aldo Culquicondor
6a98c93f3c
Add MetadataProducerFactory for predicates
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-11 11:27:44 -05:00
Kubernetes Prow Robot
b2fb0f77ad
Merge pull request #82572 from tnozicka/fix-rs-expectations
...
Fix RS expectations for recreate case
2019-11-11 05:49:42 -08:00
Tomas Nozicka
ce52643f12
Update Bazel
2019-11-11 09:11:43 +01:00
Tomas Nozicka
6754b93f6b
Fix RS informer handlers and handling expectations on delete
2019-11-11 09:11:43 +01:00
Kubernetes Prow Robot
c28921f248
Merge pull request #84692 from smarterclayton/protocol_errors
...
Fix watch negotiation when using a non-default mime type in the client
2019-11-10 21:41:56 -08:00
Kubernetes Prow Robot
ec86baf00b
Merge pull request #84987 from RainbowMango/pr_migrate_custom_collector_kubelet_part2
...
migrate kubelet custom metrics to stability framework part 2
2019-11-10 19:44:04 -08:00
Kubernetes Prow Robot
b3dde20411
Merge pull request #84907 from RainbowMango/pr_migrate_custom_collector_kubelet
...
migrate kubelet custom metrics to stability framework part 1
2019-11-10 19:43:56 -08:00
Kubernetes Prow Robot
9646bd9736
Merge pull request #83664 from RainbowMango/pr_refactor_kubelet_ut_with_metrics_testutil
...
Refactor kubelet ut with metrics testutil
2019-11-10 19:43:42 -08:00
Alex Wang
c9fda7aac0
move bindVolumes behind RunPermitPlugins
2019-11-11 11:30:01 +08:00
Roy Hvaara
896f84b652
Fix golint issues in pkg/apis/batch/validation
2019-11-11 04:03:34 +01:00
Xing Yang
3324722e07
VolumeSnapshot CRD v1beta1: Enable VolumeSnapshotDataSource feature gate and update e2e tests
2019-11-11 02:34:24 +00:00
Clayton Coleman
3b780c64b8
Always negotiate a decoder using ClientNegotiator
...
This commit performs two refactors and fixes a bug.
Refactor 1 changes the signature of Request to take a RESTClient, which
removes the extra copy of everything on RESTClient from Request. A pair
of optional constructors are added for testing. The major functional
change is that Request no longer has the shim HTTPClient interface and
so some test cases change slightly because we are now going through
http.Client code paths instead of direct to our test stubs.
Refactor 2 changes the signature of RESTClient to take a
ClientContentConfig instead of ContentConfig - the primary difference
being that ClientContentConfig uses ClientNegotiator instead of
NegotiatedSerializer and the old Serializers type. We also collapse
some redundancies (like the rate limiter can be created outside the
constructor).
The bug fix is to negotiate the streaming content type on a Watch()
like we do for requests. We stop caching the decoder and simply
resolve it on the request. We also clean up the dynamic client
and remove the extra WatchSpecificVersions() method by providing
a properly wrapped dynamic client.
2019-11-10 21:30:36 -05:00
hwdef
170eadc3d2
pkg/credentialprovider: fix staticcheck warning
2019-11-11 09:46:52 +08:00
Kubernetes Prow Robot
35cfd327c8
Merge pull request #84243 from Dingshujie/fix-golint
...
Fix golint errors in pkg/apis/apps
2019-11-10 16:29:54 -08:00
Kubernetes Prow Robot
ebbe4baf13
Merge pull request #83914 from guineveresaenger/ato-demo
...
Removes pkg/registry/core/secret/storage from golint failures
2019-11-10 16:29:41 -08:00
Kubernetes Prow Robot
82600c2b0e
Merge pull request #84948 from zouyee/PriorityFunction
...
clean up PriorityFunction
2019-11-10 09:39:40 -08:00
Takashi Natsume
e5ad39fbe0
Fix a typo in pkg/controller
2019-11-10 11:24:10 +00:00
chiehting
193f38beae
Fix golint issues in pkg/registry/core/service/storage
2019-11-10 15:34:51 +08:00
Kubernetes Prow Robot
0155d18fbc
Merge pull request #84485 from tallclair/mirror-owner
...
Mirror owner
2019-11-09 20:19:39 -08:00
Ted Yu
db0f616974
Handle error return from allocatePodResources
2019-11-09 16:25:15 -08:00
Kubernetes Prow Robot
a18303dfa4
Merge pull request #85042 from hvaara/fix-golint-pkg-apis-policy
...
Fix golint issues in pkg/apis/policy
2019-11-09 15:29:58 -08:00
Kubernetes Prow Robot
80b25a766a
Merge pull request #85037 from hvaara/fix-golint-pkg-apis-authorization
...
Fix golint issues in pkg/apis/authorization
2019-11-09 15:29:48 -08:00
Roy Hvaara
cfc34712c2
Fix golint issues in pkg/registry/.../storage
2019-11-10 00:22:51 +01:00
Roy Hvaara
cfc596b302
Fix golint issues in pkg/apis/autoscaling/validation ( #85041 )
...
* Fix golint issues in pkg/apis/autoscaling/validation
* Fix spelling issue in field of Error
2019-11-09 14:03:48 -08:00
Roy Hvaara
10c8508acd
Fix golint issues in pkg/apis/policy
2019-11-09 21:15:35 +01:00
Kubernetes Prow Robot
1ca74c7991
Merge pull request #85030 from ahg-g/ahg-nodestoscore
...
Set default percentageOfNodesToScore in kube-scheduler back to "adaptive"
2019-11-09 11:11:39 -08:00
Roy Hvaara
8d3c74aebc
Fix golint issues in pkg/apis/authorization
2019-11-09 17:45:37 +01:00
Abdullah Gharaibeh
9fb380ceff
set default percentageOfNodesToScore in kube-scheduler back to 0 (maning adaptive)
2019-11-09 06:34:06 -05:00
Roy Hvaara
e55fc5656c
Fix golint issues in pkg/util/sysctl/testing
2019-11-09 12:32:37 +01:00
Kubernetes Prow Robot
36acfecd4b
Merge pull request #84973 from draveness/feature/inter-pod-affinity-score
...
feat(scheduler): convert InterPodAffinity to score plugin
2019-11-09 02:43:40 -08:00
Kubernetes Prow Robot
36362cc149
Merge pull request #84673 from hwdef/fix-staticcheck3
...
pkg/apis: fix staticcheck warning
2019-11-09 01:29:40 -08:00
Kubernetes Prow Robot
49a9b6cadf
Merge pull request #84727 from danwinship/ipv6-bind
...
fix apiserver to advertise IPv6 endpoints if bound to IPv6
2019-11-08 18:44:24 -08:00
Kubernetes Prow Robot
b15dfd778a
Merge pull request #84708 from yue9944882/feat/flowcontrol-storage
...
Feature: Flowcontrol rest storage implementation
2019-11-08 18:44:09 -08:00
Kubernetes Prow Robot
92c4d68a5b
Merge pull request #84331 from zouyee/cadprocess
...
Enable cAdvisor ProcessMetrics collecting
2019-11-08 18:43:40 -08:00
Rob Scott
6b8b2ff975
Adding new label to indicate what is managing an EndpointSlice
...
This adds a new Label to EndpointSlices that will ensure that multiple
controllers or entities can manage subsets of EndpointSlices. This
label provides a way to indicate the controller or entity responsible
for managing an EndpointSlice.
To provide a seamless upgrade from the alpha release of EndpointSlices
that did not support this label, a temporary annotation has been added
on Services to indicate that this label has been initially set on
EndpointSlices. That annotation will be set automatically by the
EndpointSlice controller with this commit once appropriate Labels have
been added on the corresponding EndpointSlices.
2019-11-08 15:34:44 -08:00
Kubernetes Prow Robot
9cf309ed59
Merge pull request #82049 from andrewsykim/ga-node-instance-type-label
...
Promote Node Instance Type Label to GA
2019-11-08 13:47:58 -08:00
Kubernetes Prow Robot
8b123b1f4f
Merge pull request #81423 from codenrhoden/mount-testing-pkg
...
Refactor mount fakes
2019-11-08 12:24:52 -08:00
Shintaro Murakami
4857fc05f8
Add unit test to catch scheduler's node order evaluation regressions
2019-11-09 03:36:46 +09:00
Khaled Henidak(Kal)
2de6b2e52c
unit tests
2019-11-08 18:29:08 +00:00
Khaled Henidak(Kal)
e07402f7dc
fix a panic when ipam tries to allocate an out of range pre-existing cidr
2019-11-08 18:29:08 +00:00
Kubernetes Prow Robot
bef8d426f2
Merge pull request #84989 from wojtek-t/autogenerate_v2beta2_conversion
...
Autogenerate autoscaling/v2beta2 conversions
2019-11-08 10:13:01 -08:00
David Eads
675c2fb924
add featuregate inspection as admission plugin initializer
2019-11-08 13:07:40 -05:00
Tim Allclair
dca464d80a
Add error detail
2019-11-08 09:59:04 -08:00
John Howard
d00794ca60
Add appProtocol to EndpointSlice.Port
2019-11-08 09:22:50 -08:00
Bernat Moix
fc8ea98890
kubelet: rename HTTPGetter interface
2019-11-08 18:18:59 +01:00
Kubernetes Prow Robot
ff4718ea15
Merge pull request #84983 from krzysied/docker_fake_client_fix3
...
Fixing docker fake client - InspectExec
2019-11-08 09:00:50 -08:00
Kubernetes Prow Robot
f0184f0921
Merge pull request #84933 from krzysied/node_controller_v_level
...
Bumping up log level for not updated node
2019-11-08 09:00:40 -08:00
Kubernetes Prow Robot
ae15368355
Merge pull request #84351 from wojtek-t/promote_node_lease_to_GA
...
Promote node lease to GA
2019-11-08 09:00:15 -08:00
Aldo Culquicondor
efe9392d0b
Remove leftover factory directory
...
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-11-08 11:45:36 -05:00
Andrew Sy Kim
094b614934
scheduler: max attachable volume predicate should also check stable instance-type label
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-08 10:52:12 -05:00
Andrew Sy Kim
55e40b8dc1
cloud node controller: apply stable instance-type label with backfill to existing nodes
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-08 10:50:52 -05:00
Andrew Sy Kim
17d8928dc9
kubelet: add unit tests for backfilling stable os/arch/zone/region/instance-type labels
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-08 10:43:50 -05:00
Andrew Sy Kim
7ddedf5034
kubelet: apply both beta and stable instance-type label
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-08 10:29:45 -05:00
Travis Rhoden
1fd8921546
Move mount/fake.go to mount/fake_mount.go
...
This patch moves fake.go to mount_fake.go, and follows to principle of
always returning a discrete type rather than an Interface. All callers
of "FakeMounter" are changed to instead use "NewFakeMounter()". The
FakeMounter "Log" struct member is changed to not be exported, and
instead only access through a new "GetLog()" method.
2019-11-08 08:07:41 -07:00
Travis Rhoden
47dc1d6af1
move exec files back
2019-11-08 08:04:33 -07:00
Travis Rhoden
1f651f5072
copy exec file to preserve history
2019-11-08 08:04:32 -07:00
wojtekt
90c9bad944
Autogenerated
2019-11-08 14:44:05 +01:00
wojtekt
8def73aac8
Correctly autogenerate conversions for autoscaling v2beta2
2019-11-08 14:42:16 +01:00
RainbowMango
159f56bf9b
Deal with auto-generated files.
...
Update bazel by hack/update-bazel.sh
2019-11-08 20:21:48 +08:00
RainbowMango
2e8dcf7809
Migrate custom collector and mark metrics with ALPHA.
2019-11-08 20:19:37 +08:00
Krzysztof Siedlecki
d46daf891c
fixing docker fake client InspectExec
2019-11-08 12:43:16 +01:00
Kubernetes Prow Robot
557275f1d1
Merge pull request #84299 from cwdsuzhou/Octo/add_policy_to_describe
...
Add reclaim policy to kubectl get storage class result
2019-11-08 03:34:14 -08:00
Kubernetes Prow Robot
59aa8fd99e
Merge pull request #82698 from janario/fix/umount-subpath-warns
...
Unmount subpath should only scan the first level of files/directories
2019-11-08 02:16:14 -08:00
Kubernetes Prow Robot
d366d2eaa3
Merge pull request #84896 from RainbowMango/pr_migrate_custom_collector_scheduler
...
Migrate custom collector for kube-scheduler
2019-11-08 01:04:14 -08:00
Kubernetes Prow Robot
3a897ad2f5
Merge pull request #84738 from liu-cong/service_affinity
...
Aggregate mulitple ServiceAffinity custom priorities to a single score plugin.
2019-11-07 23:52:44 -08:00
draveness
715068312a
feat(scheduler): convert InterPodAffinity to score plugin
2019-11-08 15:37:33 +08:00
hwdef
6c6fd9c575
pkg/apis: fix staticcheck warning
2019-11-08 14:49:39 +08:00
yue9944882
bbd2e6b48b
typo list-type s/associative/map/
2019-11-08 14:27:14 +08:00
yue9944882
3d1b5d0e9a
flowcontrol rest storage implementation
2019-11-08 14:27:14 +08:00
Kubernetes Prow Robot
7b7aa58881
Merge pull request #84952 from draveness/fix/topology-spread-node-score
...
fix: return NodeScore in even pods spread priority
2019-11-07 22:01:01 -08:00
Kubernetes Prow Robot
3ee195f0e9
Merge pull request #81431 from andrewsykim/ga-node-topology
...
Promote Node Zone/Region Topology Labels to GA
2019-11-07 22:00:20 -08:00
zouyee
3512fde8c5
clean up PriorityFunction
...
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-11-08 12:33:21 +08:00
Cong Liu
e438970730
Aggregate mulitple NodePreference custom priorities to a single score plugin.
2019-11-07 22:04:38 -05:00
Andrew Sy Kim
349749644f
test/e2e: check both beta and zone label for getting cluster zone
...
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-11-07 21:22:05 -05:00