Commit Graph

75215 Commits (8326ea71a300d7da358eed0338ef05a0360c556d)

Author SHA1 Message Date
Kubernetes Prow Robot 8326ea71a3
Merge pull request #74403 from ping035627/k8s-190222
Code cleanup and refactoring
2019-02-25 20:28:09 -08:00
Kubernetes Prow Robot d834885a8c
Merge pull request #74327 from neolit123/fix-join-phase
kubeadm/phases: use common interfaces for init and join phases
2019-02-25 20:27:59 -08:00
Kubernetes Prow Robot 272d78f1d9
Merge pull request #73966 from alculquicondor/fix/lint-kubelet-server
Fix lint on pkg/kubelet/server/...
2019-02-25 20:27:48 -08:00
Kubernetes Prow Robot 1ddfd8ff73
Merge pull request #67573 from m1kola/52218_watching_selectors
Allows to combine the `-f` and `-l` flags in kubectl logs
2019-02-25 18:47:45 -08:00
Kubernetes Prow Robot c9e14c85f5
Merge pull request #74465 from bsalamat/priority_to_ga
Mark PriorityClass v1beta1 and v1alpha1 deprecated by v1 API
2019-02-25 17:25:44 -08:00
Kubernetes Prow Robot 1595089ec5
Merge pull request #74453 from xichengliudui/fixgolintfailures1902
fixgo lint failures test/integration/...
2019-02-25 17:25:34 -08:00
Kubernetes Prow Robot 483d19ccc4
Merge pull request #74420 from mattjmcnaughton/mattjmcnaughton/fix-shellcheck-for-more-scripts-in-hack
Fix shellcheck for more scripts in hack
2019-02-25 17:25:23 -08:00
Kubernetes Prow Robot 0ff7e463ee
Merge pull request #73746 from mrbobbytables/kubemark-shellcheck
Fix shellcheck lint errors in Kubemark scripts
2019-02-25 17:25:13 -08:00
Kubernetes Prow Robot d532d50e29
Merge pull request #63947 from jennybuckley/aggr-conf-test
Promote aggregator e2e test to conformance
2019-02-25 17:25:02 -08:00
Lubomir I. Ivanov de5e17e6c3 kubeadm/phases: use common interfaces for init and join phases
The custom sub-set interfaces in init/join phases as a pattern
have isolation benefits - e.g. when a consumer imports these
but we don't want them to be able to call all methods from
the original object that satisfies a complete interface.

On the other hand these sub-set interfaces under phases/init
and phases/join are private.

Expose a couple of new common interfaces:
- InitData from phases/init/data.go
- JoinData from phases/join/data.go

Use these interfaces in init/join phases accordingly instead
of the sub-set interfaces.

Use compile-time type assertion to verify that these
interfaces can be satisfied by init.go's initData and
join.go's joinData.

Add NO-OP objects called testInitData and joinInitData
that can be used for unit testing if embedded.
2019-02-26 02:23:50 +02:00
Kubernetes Prow Robot 4b8ecd68f3
Merge pull request #74509 from ping035627/k8s-190225-1
Fix typos
2019-02-25 15:15:51 -08:00
Kubernetes Prow Robot ff61314dc3
Merge pull request #74478 from smarterclayton/mount_tmpfs
Ignore the sticky setgid bit when a test is running on memory EmptyDir
2019-02-25 15:15:41 -08:00
Kubernetes Prow Robot b22da83307
Merge pull request #74473 from vanduc95/cleanup-kubeadm-cont.4-20190223
kubeadm cleanup: master -> control-plane (cont.4)
2019-02-25 15:15:30 -08:00
Kubernetes Prow Robot 3814176d42
Merge pull request #74455 from SataQiu/fix-shell-2019022302
Fix shellcheck lint errors in cluster and hack scripts
2019-02-25 15:15:19 -08:00
Kubernetes Prow Robot 77cf7c7b86
Merge pull request #73703 from rphillips/fixes/kubelet_file_fsnotify
kubelet: upgrade sourceFile to use fsnotify
2019-02-25 15:15:08 -08:00
Kubernetes Prow Robot 2aacb77374
Merge pull request #74444 from pjh/gce-windows-no-defender
Disable Windows Defender on Windows nodes.
2019-02-25 13:54:42 -08:00
Kubernetes Prow Robot a778f409ba
Merge pull request #74385 from SataQiu/fix-shell-20190222
Fix some shellcheck failures in hack
2019-02-25 13:54:32 -08:00
Kubernetes Prow Robot fb92681882
Merge pull request #74370 from oomichi/issue/74326
Register openstack provider for e2e test
2019-02-25 13:54:21 -08:00
Kubernetes Prow Robot 0813567660
Merge pull request #74349 from mattjmcnaughton/mattjmcnaughton/fix-shellcheck-in-hack
Fix shellcheck for hack/verify-generated-*
2019-02-25 13:54:10 -08:00
Kubernetes Prow Robot 86a3caee35
Merge pull request #74085 from vyta/e2e-tests/win-volumes
Add readonly volume tests for windows
2019-02-25 13:54:00 -08:00
Bob Killen e137f4702a
Fix shellcheck lint errors in test/kubemark/stop-kubemark.sh 2019-02-25 15:21:32 -05:00
Bob Killen b8aae458a1
Fix shellcheck lint errors in test/kubemark/start-kubemark.sh 2019-02-25 15:21:31 -05:00
Bob Killen 46333a01b4
Fix shellcheck lint errors in test/kubemark/run-e2e-tests.sh 2019-02-25 15:21:31 -05:00
Bob Killen adf4bf1741
Fix shellcheck lint errors in test/kubemark/resources/start-kubemark-master.sh 2019-02-25 15:21:31 -05:00
Bob Killen f72ac1f5b7
Fix shellcheck lint errors in test/kubemark/master-log-dump.sh 2019-02-25 15:21:31 -05:00
Bob Killen cb59cb33ff
Fix shellcheck lint errors in test/kubemark/iks/util.sh 2019-02-25 15:21:30 -05:00
Bob Killen e3e2a96521
Fix shellcheck lint errors in test/kubemark/iks/startup.sh 2019-02-25 15:21:30 -05:00
Bob Killen 6310305d3b
Fix shellcheck lint errors in test/kubemark/iks/shutdown.sh 2019-02-25 15:21:30 -05:00
Bob Killen 186b83fe5b
Fix shellcheck lint errors in test/kubemark/gce/util.sh 2019-02-25 15:21:30 -05:00
Bob Killen 5f4b919887
Fix shellcheck lint errors in test/kubemark/common/util.sh 2019-02-25 15:21:29 -05:00
Bob Killen 9a4f4878f5
Fix shellcheck lint errors in cluster/kubemark/util.sh 2019-02-25 15:21:29 -05:00
Bob Killen 9a58913e8f
Fix shellcheck lint errors in cluster/kubemark/iks/config-default.sh 2019-02-25 15:21:25 -05:00
Bob Killen ce4c85e3fd
Fix shellcheck lint errors in cluster/kubemark/gce/config-default.sh 2019-02-25 14:55:01 -05:00
Bob Killen b538f18c0e
Add color-coding to kubemark scripts. 2019-02-25 14:53:40 -05:00
Bobby (Babak) Salamat 66cf8c8982 generated files 2019-02-25 11:45:38 -08:00
Bobby (Babak) Salamat 304244e4ae Mark scheduling/v1alpha1 and scheduling/v1beta1 API deprecated by scheduling/v1 2019-02-25 11:45:38 -08:00
Kubernetes Prow Robot 1eb2acca99
Merge pull request #74248 from danielqsj/pdep
Update vendor prometheus/common/... to latest release
2019-02-25 11:33:43 -08:00
Kubernetes Prow Robot a826e80ca7
Merge pull request #74096 from oomichi/cleanup-e2e-framework-ingress
Remove unused GetDefaultBackendNodePort()
2019-02-25 11:33:32 -08:00
Kubernetes Prow Robot 35a258d640
Merge pull request #73272 from danielqsj/juju
fix shellcheck in cluster/juju
2019-02-25 11:33:21 -08:00
Kubernetes Prow Robot f288678cfa
Merge pull request #73261 from danielqsj/local
fix shellcheck in cluster/local
2019-02-25 11:33:11 -08:00
Kubernetes Prow Robot d0f79fcf73
Merge pull request #72440 from ajatprabha/issue_34059
annotate errors in apps/job e2e tests
2019-02-25 11:33:00 -08:00
Kubernetes Prow Robot 81e7858ece
Merge pull request #74501 from RA489/fixptrtofunction
Refactor etcd client function have same signatures in etcd.go
2019-02-25 09:56:37 -08:00
Kubernetes Prow Robot 3b11f95810
Merge pull request #72827 from errordeveloper/drain-pkg
Refactor most of `kubectl drain` as a library
2019-02-25 06:06:36 -08:00
PingWang 88d6e89279 Fix typos
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-02-25 17:12:44 +08:00
Ilya Dmitrichenko 8c09a71e1d
Refactor core functionality of `kubectl drain` as a library
- structured pod filter functions
- naming improvements
  - consistent use of daemonSets and DaemonSets
  - rename field to reflect its usage
- new cordon/uncordon helper
  - use Core API client direcly instead of generic CLI runtime
2019-02-25 08:15:07 +00:00
RA489 a0ee4b471d Refactor etcd client function have same signatures in etcd.go 2019-02-25 12:54:12 +05:30
mattjmcnaughton b4d086f914 Fix shellcheck for hack/verify-generated-*
All of the `hack/verify-generated-*` files now pass shellcheck and are
removed from `hack/.shellcheck_failures`.
2019-02-24 23:50:59 -05:00
mattjmcnaughton 57c51c741d Fix shellcheck for more scripts in hack
Making more of the scripts in hack pass the shellcheck linter.
2019-02-24 23:48:21 -05:00
SataQiu d357bcd2cd fix some shellcheck failures in hack 2019-02-25 11:38:56 +08:00
Clayton Coleman 7f01e23380
Ignore the sticky gid mode bit when a test is running on memory EmptyDir
While running unit tests for perf on a Kube cluster with a memory backed
emptydir as TMPDIR, TestSafeMakeDir failed with:

```
--- FAIL: TestSafeMakeDir (0.01s)
	mount_linux_test.go:661: test "directory-exists": expected permissions 20000000750, got 20020000750
```

(TMPDIR set to /tmp/volume, /tmp/volume is EmptyDir with type Memory)

The test doesn't actually care about `os.ModeSetgid`, so specifically mask it out when testing this way.
2019-02-24 17:30:37 -08:00