Commit Graph

71571 Commits (3d0c961d57bb90c112a0ee2f5ccdcb5c8570ad32)

Author SHA1 Message Date
k8s-ci-robot 117c6177c4
Merge pull request #70278 from jhvhs/master
Documentation re-formatting
2018-10-26 13:32:00 -07:00
Patrick Ohly 38efff564c e2e: deploy from manifest files + enhance CSI volume output
Ensuring that CSI drivers get deployed for testing exactly as intended
was problematic because the original .yaml files had to be converted
into code. e2e/manifest helped a bit, but not enough:
- could not load all entities
- didn't handle loading .yaml files with multiple entities
- actually creating and deleting entities still had to be done in tests

The new framework utility code handles all of that, including the
tricky cleanup operation that tests got wrong (AfterEach does not get
called after test failures!).

In addition, it is ensuring that each test gets its own instance of the
entities.

The PSP role binding for hostpath is now necessary because we switch
from creating a pod directly to creation via the StatefulSet
controller, which runs with less privileges.

Without this, the hostpath test runs into these errors in the
kubernetes-e2e-gce job:

Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-attacher: {statefulset-controller } FailedCreate: create Pod csi-hostpath-attacher-0 in StatefulSet csi-hostpath-attacher failed error: pods "csi-hostpath-attacher-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-provisioner: {statefulset-controller } FailedCreate: create Pod csi-hostpath-provisioner-0 in StatefulSet csi-hostpath-provisioner failed error: pods "csi-hostpath-provisioner-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpathplugin: {daemonset-controller } FailedCreate: Error creating: pods "csi-hostpathplugin-" is forbidden: unable to validate against any pod security policy: []

The extra role binding is silently ignored on clusters which don't
have this particular role.
2018-10-26 22:07:34 +02:00
k8s-ci-robot 5e45a10351
Merge pull request #70268 from Pingan2017/ep-storage-display
display EphemeralStorage usage with kubectl describe node
2018-10-26 12:22:39 -07:00
k8s-ci-robot c56dcddbe4
Merge pull request #70253 from dekkagaijin/master
always allow unimportant legacy root paths
2018-10-26 12:22:29 -07:00
k8s-ci-robot c23e94a7ff
Merge pull request #70152 from ashwanikhemani/myfeature
changes done to enable br_netfilter and ip_forward for debian packages
2018-10-26 12:22:19 -07:00
k8s-ci-robot 85555a7d73
Merge pull request #68559 from yue9944882/chore/respect-goflags-in-codegen
chore(codegen): respect GOFLAGS when compiling code-generator
2018-10-26 12:22:10 -07:00
k8s-ci-robot b104eac566
Merge pull request #67133 from yue9944882/refactor/admission-config-complete-new-flow
Refactor admission controller contructor with Config.Complete.New flow
2018-10-26 12:22:01 -07:00
Bobby (Babak) Salamat 16f3351619 Deprecate critical pod annotation 2018-10-26 11:44:43 -07:00
ravisantoshgudimetla c0a8d4702a Fix e2e test and build file 2018-10-26 13:48:51 -04:00
ravisantoshgudimetla fad6b326e3 Fix default algorithm provider priority insertion 2018-10-26 13:48:44 -04:00
k8s-ci-robot a932475bfe
Merge pull request #70288 from soltysh/fix_deprecate_msg
Update deprecation warning for kubectl run
2018-10-26 10:09:12 -07:00
k8s-ci-robot e2824d719f
Merge pull request #70273 from yuexiao-wang/switch-errors-2
[kubeadm/app/util]switch to github.com/pkg/errors
2018-10-26 10:09:02 -07:00
Mike Danese 7613482623 scale test service account token projection in kubemark 2018-10-26 09:57:56 -07:00
qingsenLi ca74d32e4c fix golint for /pkg/util/ipconfig and /pkg/util/resourcecontainer-2 2018-10-26 23:58:30 +08:00
Anago GCB e463d10935 Update CHANGELOG-1.12.md for v1.12.2. 2018-10-26 15:16:51 +00:00
Humble Chirammal a6759a7b22 Fix a typo in source code comment
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-10-26 20:01:19 +05:30
Humble Chirammal 5bd0b5d841 GlusterFS: Use pvc uid instead of pvc name in glusterfs endpoint name.
At present, endpoints and services are created
for glusterfs pvcs are in form of glusterfs-dynamic-<PVC name>
however this could cause issue if user deletes a PVC and immediately
creates a new one with the same name, PV controller will try to delete
the old PV and its endpoint and at the same the controller will try to create new PV
and the same endpoint. Depending on which event reaches the
controller first, it may create new PV, check that endpoints exists,
then delete the old PVC and delete endpoints already used by the new PV.

This patch changes the endpoint/service name to below format:

`glusterfs-dynamic-<PVC UUID>`.

By the uniqueness of UUID, above mentioned issue will no longer be present.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-10-26 20:00:02 +05:30
Maciej Szulik fdcd6de9c0
Update deprecation warning for kubectl run 2018-10-26 16:22:33 +02:00
k8s-ci-robot 7147138994
Merge pull request #70252 from nckturner/add-regions
Add regions ap-northeast-3 and eu-west-3 to AWS cloud provider
2018-10-26 06:57:38 -07:00
k8s-ci-robot fd6b386374
Merge pull request #70266 from zhangmingld/fixtypoinpredicates_test
fix typo in predicates_test.go
2018-10-26 05:46:41 -07:00
Justin SB 4f3aafd6f5
e2e: Only do LB health check reconciliation test on GCE
The test requires restarting kube-controller-manager, we don't support
that on GKE.

Fix #70280
2018-10-26 07:19:43 -04:00
Justin SB ff8a0e08cb
Disambiguate "unsupported provider" messages
When we get an unsupported provider message, it often isn't clear what
method actually failed - add more information to the error message.

Issue #70280
2018-10-26 07:13:20 -04:00
Konstantin Semenov 84ba7e8f69
Documentation re-formatting
The closing bracket in the link was automatically included in the link HREF.
Myself and @lurraca used standard markdown formatting to prevent that from happening.
2018-10-26 11:32:36 +01:00
Patrick Ohly dcbcef13b4 e2e: simplify gcePD .yaml files
Setting command line arguments via env variables that are not needed
by the binaries is just unnecessarily complex. The driver renaming
code in the E2E manifest PR would have to be made more complex to deal
with such a deployment. It is easier for that code and humans who look
at the .yaml file to remove the indirection.
2018-10-26 10:32:46 +02:00
Patrick Ohly 1effe0ca0f e2e framework: UniqueName
This is needed for tests which have to create entities that aren't
namespaced, like ServiceAccounts.
2018-10-26 10:32:46 +02:00
Deep Debroy 119e2a1d43 Address CR comments and add more tests
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2018-10-26 00:29:27 -07:00
yuexiao-wang f15410692e [kubeadm/app/util]switch to github.com/pkg/errors
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-10-26 15:17:21 +08:00
k8s-ci-robot 022c05c141
Merge pull request #70254 from msau42/add-out-of-tree-pd-tests
Add new driver config for testing PD CSI driver out of tree
2018-10-25 23:24:22 -07:00
yue9944882 6a8faa6e40 replace contrustor of ad controller with config.complete.new flow
review:
1. import order
2. only set nil field on complete
3. replace hardcoded default namespace
2018-10-26 11:49:37 +08:00
Pingan2017 4d984b3bbf display EphemeralStorage usage with kubectl describe node 2018-10-26 10:22:36 +08:00
zhangmingld cbfaf3856f fix typo in predicates_test.go 2018-10-26 09:59:40 +08:00
Anago GCB 5336866a8c Update CHANGELOG-1.11.md for v1.11.4. 2018-10-26 01:17:50 +00:00
Jordan Liggitt 572dfe6cb7 generated files 2018-10-25 21:12:57 -04:00
Jordan Liggitt 1f000bf321 Update daemonset fixture to match apps/v1 defaulting behavior 2018-10-25 21:12:57 -04:00
Jordan Liggitt d0577ace6b fixup extensions->apps references 2018-10-25 21:12:57 -04:00
Jordan Liggitt b502bc093c stop generating GetScale/UpdateScale for internal clients 2018-10-25 21:12:57 -04:00
Jordan Liggitt dda0a68521 Change registration and custom conversion from extensions to apps 2018-10-25 21:12:57 -04:00
Jordan Liggitt 8a43e52d18 Move fuzzing from extensions to apps 2018-10-25 21:11:52 -04:00
Jordan Liggitt 283e282515 Move extensions validation to apps 2018-10-25 21:11:52 -04:00
Jordan Liggitt 4e980bbf08 Move extensions types to apps 2018-10-25 21:11:52 -04:00
Jordan Liggitt 7df2f9785e remove CustomMetricTarget 2018-10-25 21:11:52 -04:00
k8s-ci-robot 0ba00ec3a3
Merge pull request #69209 from Pingan2017/control-config
remove flag: insecure-experimental-approve-all-kubelet-csrs-for-group
2018-10-25 17:51:22 -07:00
Michelle Au 9acb8bca6d Add new driver config for testing PD CSI driver out of tree 2018-10-25 16:42:51 -07:00
k8s-ci-robot af693a2852
Merge pull request #70247 from hhoover/68527-fix-typo
Fix typo in Bug Report issue template
2018-10-25 16:38:27 -07:00
k8s-ci-robot 804c868a8c
Merge pull request #69997 from krmayankk/dockershimtests
add myself to node reviewers
2018-10-25 16:38:17 -07:00
k8s-ci-robot 35290b2207
Merge pull request #70243 from runcom/test-output-useful
test/e2e/storage: fix output in case of failure and use another NFS mount option
2018-10-25 15:25:46 -07:00
k8s-ci-robot bf63ece653
Merge pull request #69903 from saad-ali/releaseNotes12
Add CSI action required to 1.12 release notes
2018-10-25 15:25:33 -07:00
k8s-ci-robot 1975747b10
Merge pull request #70210 from cblecker/remove-golang-fork
Remove golang fork for typecheck
2018-10-25 14:03:17 -07:00
k8s-ci-robot ebace7718a
Merge pull request #70099 from grayluck/five-sec-hc
Change GCE LB health check interval from 2s to 8s
2018-10-25 14:03:07 -07:00
Deep Debroy 2e19f70922 Improve comments for when hostPath in Windows needs to be transformed
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2018-10-25 13:58:16 -07:00