Commit Graph

81204 Commits

Author SHA1 Message Date
Antoine Pelisse
6568325ca2 Regenerate 2019-07-25 11:54:00 -07:00
Antoine Pelisse
170bcd9262 Fix pkg-names script that doesn't select files properly 2019-07-25 11:54:00 -07:00
Antoine Pelisse
e7151ce294 Update gogo/protobuf to latest version 2019-07-25 11:54:00 -07:00
Antoine Pelisse
4f1daf0cf3 Update custom-serialization code to go backward 2019-07-25 11:54:00 -07:00
wojtekt
467f5e96ee Fix some golint failures 2019-07-25 20:38:28 +02:00
Sean Sullivan
775b670e8b Move some pkg/kubectl into polymorphichelpers 2019-07-25 11:36:04 -07:00
wojtekt
117a0e525d Unify secret and configmap triggers 2019-07-25 20:35:20 +02:00
David Zhu
862ba3fc05 Document and improve defaulting for MakePersistentVolume, dedupe some manual PV creations 2019-07-25 10:57:29 -07:00
Kubernetes Prow Robot
a1f4c2ed21
Merge pull request #80575 from mborsz/patch-7
Fix leader election in kube-addon manager
2019-07-25 10:41:40 -07:00
Kubernetes Prow Robot
bf2dd03083
Merge pull request #80318 from davidxia/fix-err-caps
cleanup: fix some log and error capitalizations
2019-07-25 10:41:28 -07:00
Sean Sullivan
eaea71cf84 Move pkg/kubectl/drain to staging 2019-07-25 10:23:32 -07:00
Patrick Ohly
4bc5d065c9 updated Bazel files 2019-07-25 16:45:46 +02:00
Patrick Ohly
608b0e7097 e2e storage: csi-mock tests for ephemeral inline volumes
The PodInfo tests can be extended to also cover the new
csi.storage.k8s.io/ephemeral flag. However, the presence of that flag
depends on whether inline volume support is enabled, so tests that run
with and without the feature have to detect that at runtime.

Other tests have a feature tag and thus can assume that they only run
when that feature is enabled. However, we need a newer csi-mock driver
before we can actually ask it to publish an ephemeral inline volume.
2019-07-25 16:45:46 +02:00
Patrick Ohly
555ff7ef10 CSI: allow drivers that can handle persistent and ephemeral volumes
The conceptual change is that the mode in which a volume gets handled
is derived from it's spec, not from the ability of the driver. In
practice, that is already how the code worked because it didn't
actually look at CSIDriver.Spec.Mode at all.

Therefore the code change itself is mostly just renaming "driver mode"
to "volume mode". In some places (CanDeviceMount, CanAttach) the
feature check that was used elsewhere seemed to be missing. Now their
code path for ephemeral volumes are also only entered if that feature
is enabled.

The sanity check whether a CSI driver is being used correctly still
needs to be implemented.

Related-to: https://github.com/kubernetes/kubernetes/issues/79624
2019-07-25 16:45:46 +02:00
Patrick Ohly
be9f9091ca e2e: remove unused ShortName from external driver definition
The name was meant to be used as shorter replacement for potentially
long CSI driver names, but was never used in practice.
2019-07-25 16:45:46 +02:00
Kubernetes Prow Robot
81684586db
Merge pull request #80558 from seans3/move-apply-util
Move pkg/kubectl/apply.go to staging
2019-07-25 07:36:34 -07:00
Kubernetes Prow Robot
16a820b906
Merge pull request #80556 from AllenZMC/patch-3
fix typos in pv_controller.go
2019-07-25 07:36:21 -07:00
Kubernetes Prow Robot
5153e242a7
Merge pull request #80554 from seans3/move-kubectl-apps
Move pkg/kubectl/apps to staging
2019-07-25 07:36:08 -07:00
Kubernetes Prow Robot
7aa5f9727b
Merge pull request #80347 from humblec/metrics
Remove unwanted string converstion in metrics errors
2019-07-25 07:35:55 -07:00
Ted Yu
89818d8d09 Refactor nested loop in getTPMapMatchingSpreadConstraints 2019-07-25 07:15:14 -07:00
Antonio Ojea
bd15f3f9f7
Clarify IP family meaning 2019-07-25 16:14:57 +02:00
Aldo Culquicondor
0e35ac8f1e Update TODO
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-07-25 10:09:42 -04:00
Ed Bartosh
5dd9d6a19f kubeadm: handle ResetClusterStatusForNode errors
Handled errors returned by ResetClusterStatusForNode function when
resetting cluster status for a control-plane node.
2019-07-25 15:45:59 +03:00
Maciej Borsz
b851a3365a
Fix leader election in kube-addon manager 2019-07-25 14:00:22 +02:00
Kubernetes Prow Robot
79d128ae74
Merge pull request #80166 from chendave/webhook
cleanup: remove useless code
2019-07-25 04:43:52 -07:00
Tomas Smetana
4f3e31e978 Revert "e2e: Skip multi-node PV test when pods scheduled on the same node"
This reverts commit d4f43e8e19.
2019-07-25 13:32:39 +02:00
Kevin Klues
7eccc71c9e Rename 'preferred' TopologyManager policy to 'best-effort' 2019-07-25 10:44:36 +02:00
Kubernetes Prow Robot
10005d2e1e
Merge pull request #80421 from lostick/fix-es-master-discovery
Fix es initial cluster formation & update es to 7.2.0
2019-07-25 01:38:06 -07:00
Kubernetes Prow Robot
a0a0146419
Merge pull request #80382 from davidz627/fix/refactor
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-25 01:37:53 -07:00
Benjamin Elder
1cf8a06d12 add reciprocal note about keeping manifests in sync 2019-07-25 00:44:11 -07:00
Benjamin Elder
8d04fa065f fix kube-proxy manifest 2019-07-25 00:41:45 -07:00
Kubernetes Prow Robot
79e82a6345
Merge pull request #79417 from draveness/feature/remove-factory-in-scheduler
feat: use scheduler.New in daemonset integration test
2019-07-24 23:29:51 -07:00
Kubernetes Prow Robot
4ed5ea601d
Merge pull request #80417 from k-toyoda-pi/expectequal_e2e_node_density_test
use ExpectEqual in density_test.go
2019-07-24 21:20:04 -07:00
Kubernetes Prow Robot
20106560f7
Merge pull request #79425 from johscheuer/fix-networkpolicy-typo
Fix typo in network policy ingress rule
2019-07-24 21:19:51 -07:00
Sean Sullivan
309de42878 Move pkg/kubectl/apply.go to staging 2019-07-24 20:40:25 -07:00
AllenZMC
852040c036
fix typos in pv_controller.go
make code kinda more readable
2019-07-25 11:28:19 +08:00
Sean Sullivan
1b52c6180b Move pkg/kubectl/apps to staging 2019-07-24 20:10:31 -07:00
WanLinghao
4c394ddf3b Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/perf_util.go 2019-07-25 09:41:00 +08:00
Kubernetes Prow Robot
9aefaa163f
Merge pull request #80540 from seans3/move-util-staging
Move pkg/kubectl/util to staging
2019-07-24 18:08:17 -07:00
Kubernetes Prow Robot
dc515bb12e
Merge pull request #80469 from draveness/feature/add-unit-tests-to-framework-status
fix: return empty string when status is nil
2019-07-24 18:08:05 -07:00
Kubernetes Prow Robot
d3f7f6164a
Merge pull request #79667 from mgdevstack/master-service
Add service reachability test util function
2019-07-24 18:07:51 -07:00
Draven
3ead8a00b0
doc: nominate Draven to scheduler reviewers. 2019-07-25 08:53:12 +08:00
Aaron Crickenberger
e0b9d77609 Promote job completion after failure e2e test to Conformance 2019-07-24 17:17:07 -07:00
Aaron Crickenberger
275b7b2fa0 Promote job pod orphaning/adotion e2e test to Conformance 2019-07-24 16:28:10 -07:00
Antoine Pelisse
c4ffec336c Add benchmarks for serializing PodList 2019-07-24 15:31:23 -07:00
Wei Huang
794847967c
EvenPodsSpread: update addPod() logic to match individual constraint
- also add TODO items for potential perf optimization
2019-07-24 15:27:55 -07:00
Wei Huang
fe7072a482
fixup: address comments 2019-07-24 15:27:55 -07:00
Wei Huang
2027525abf
EvenPodsSpread: Preemption UT on generic_scheduler 2019-07-24 15:27:55 -07:00
Wei Huang
ff831c3df2
EvenPodsSpread: Supports Preemption (addPod)
- add addPod() for podSpreadMap
2019-07-24 15:27:55 -07:00
Wei Huang
9e9808d0ab
EvenPodsSpread: Supports Preemption (removePod)
- add removePod() for podSpreadMap
2019-07-24 15:27:54 -07:00