Commit Graph

72135 Commits

Author SHA1 Message Date
Jon Friesen
65ada74b98 Fixes golint for test/list
Fixes minor golint errors in the test/list tool.

ref: #68026
2018-10-09 12:32:27 -07:00
Lubomir I. Ivanov
28c936ea7f kubadm: remove misleading message in init
The message right before the kubelet boots up the control
plane is misleading because the image pulling is now part of
preflight.

Remove the message.
2018-10-09 22:27:12 +03:00
Walter Fender
8b3099ced7 Differentiate multizone zonal from Regional Cluster.
Fixed go format and unit test.
Collapse lines.
Switched to using regional throughout and added warning for HA Zonal.
2018-10-09 11:28:22 -07:00
k8s-ci-robot
137193faaf
Merge pull request #69448 from seans3/env-resolve-fix
kubectl env resolve: copy core fieldpath and resource dependencies into kubectl
2018-10-09 11:25:43 -07:00
Ling Huang
d8da1baf48 Enable insertId generation, update Stackdriver Logging Agent image to 0.5-1.5.36-1-k8s and add priorityClassName for Metadata Agent. 2018-10-09 13:42:40 -04:00
k8s-ci-robot
48086eb7d4
Merge pull request #69543 from seans3/rollback-fix
kubectl rollback: remove duplicated code for printing pod template
2018-10-09 10:14:39 -07:00
k8s-ci-robot
637ba154c8
Merge pull request #65189 from juanvallejo/jvallejo/path-fixes-cmd-copy
fix paths w shortcuts when copying from pods
2018-10-09 10:14:28 -07:00
Ibrahim Mbaziira
6c3d9cd300
Add table printer for resource quotas 2018-10-09 20:00:28 +03:00
fabriziopandini
17cf652783 kubeadm-improve-apidoc 2018-10-09 17:40:05 +02:00
k8s-ci-robot
686b37ff9b
Merge pull request #69565 from jsafrane/fix-contianerized-subpath
Fixed subpath in containerized kubelet.
2018-10-09 07:49:30 -07:00
juanvallejo
e55a28d169
fix paths w shortcuts when copying from pods
Addresses an issue where copying from a remote location containing path
shortcuts (podName:../../../tmp/foo) causes an index out of range panic.
2018-10-09 10:27:54 -04:00
andyzhangx
12284c9817 upgrade azure go sdk for azure file premium support
update azure sdk for azure file premium support

update azure sdk to support azure file premium

update bazel
2018-10-09 13:28:51 +00:00
k8s-ci-robot
4966faab36
Merge pull request #69522 from wojtek-t/fix_env_setup
Fix overwriting env variables in kube-apiserver manifest
2018-10-09 04:46:12 -07:00
lichuqiang
814dbac3df add provision failure hook in fake volume plugin 2018-10-09 19:16:27 +08:00
Jan Safranek
0b8c472578 Fixed subpath in containerized kubelet.
IsNotMountPoint should return no error when the checked directory does not
exists - missing directory can't be mounted. Therefore containerized
kubelet should check if the target exists first before resolving symlinks.
EvalHostSymlinks() returns indistinguishible error in case the path does
not exist.
2018-10-09 13:11:23 +02:00
k8s-ci-robot
9ba74cb5b5
Merge pull request #69251 from yue9944882/bugfix/pass-handler-context-to-nodegetter
Pass server handler context to storage nodeGetter
2018-10-09 02:14:51 -07:00
k8s-ci-robot
4ba5db087a
Merge pull request #69550 from tallclair/runtimeclass-spec
Allow an empty "" runtimeHandler
2018-10-09 01:06:20 -07:00
WanLinghao
5958baa163 improve decription of command 'kubectl create clusterrole' 2018-10-09 15:50:30 +08:00
andyzhangx
e67b369dfa fix GetVolumeLimits log flushing issue
fix logging flushing issue in GetVolumeLimits
2018-10-09 07:12:33 +00:00
k8s-ci-robot
f9acfd8e38
Merge pull request #69527 from liggitt/remove-quorum
Remove deprecated --etcd-quorum-read flag
2018-10-08 23:38:02 -07:00
Cheng Pan
065e4543b7 Fix golint issues for pkg/volume/{fc,flocker} packages 2018-10-09 06:04:00 +00:00
k8s-ci-robot
7ae384fba6
Merge pull request #69511 from RA489/constfilerename
util/config` packages; filenames and methods should be updated to use…
2018-10-08 22:28:22 -07:00
k8s-ci-robot
321313b19e
Merge pull request #69004 from mgdevstack/master-pods-websocket-conformance
Promote pod's websocket based NodeConformance tests to Conformance
2018-10-08 22:28:12 -07:00
Nikhita Raghunath
28ecd4f92a staging/README: add cloud-provider repo 2018-10-09 10:36:05 +05:30
Nikhita Raghunath
033d69432d Add import restrictions for cloud-provider 2018-10-09 10:30:00 +05:30
k8s-ci-robot
1d2e10c7c6
Merge pull request #69541 from justinsb/remove_unnecessary_mkdir
Remove superfluous MkdirAll from MakeTempDirOrDie
2018-10-08 20:55:30 -07:00
Guoliang Wang
f5ff020892 fix bug not checkou err before defer conn.CLose() 2018-10-09 10:35:50 +08:00
Weibin Lin
2d2ecb15d2 update bazel 2018-10-09 10:27:27 +08:00
Weibin Lin
0d57ec2938 reuse func getNodeIP 2018-10-09 10:27:27 +08:00
k8s-ci-robot
a34123d9c3
Merge pull request #67901 from dims/drop-flaky-test-from-conformance
Remove conformance tag from flaky test
2018-10-08 19:24:58 -07:00
fqsghostcloud
a2a53255c0
fix typo 2018-10-09 10:08:45 +08:00
Tim Allclair
db776ace25 Allow an empty "" runtimeHandler 2018-10-08 19:05:03 -07:00
Jordan Liggitt
cff79c5421 Remove deprecated --etcd-quorum-read flag 2018-10-08 21:56:01 -04:00
Tim Allclair
275212bbc9 Fix find-binary to locate bazel e2e tests 2018-10-08 17:20:02 -07:00
Claudiu Belu
7cd4ebf3c3 tests: Makes tests' commands platform agnostic
Some commands used in tests are Linux specific and do not exist
or do not behave the same on Windows nodes. This can cause those
tests to fail on Windows nodes.

Replaces the mentioned commands with ones that behave the same on
both Linux and Windows.
2018-10-08 17:19:18 -07:00
Guoliang Wang
b1ac6df4dc remove unused code of (pkg/controller) 2018-10-09 08:15:30 +08:00
k8s-ci-robot
552453f6fd
Merge pull request #69537 from logicalhan/index-test
refactor index_test to compress the assertions and make consistent with store_test.go
2018-10-08 16:55:53 -07:00
k8s-ci-robot
f81b72f77b
Merge pull request #68903 from logicalhan/typo
fix a few typographic errors in test utils file
2018-10-08 16:55:43 -07:00
Claudiu Belu
6db2dadc87 Fixes webhook test failures
The test "Should be able to deny attaching pod" can randomly fail
because it never waits for the pod to enter a "Running" state. Because
of this, the "kubectl attach" command can potentially fail, if the pod is
not in the correct state.

Additionally, if the "kubectl attach" actually manages to attach, then the
test will hang. The command should be executed with a timeout.
2018-10-08 16:55:33 -07:00
Justin Santa Barbara
b56d577e4d Add test for kubectl cluster-info dump
kubectl cluster-info dump is currently giving a schema error; adding a
test for it.
2018-10-08 18:52:52 -04:00
Justin Santa Barbara
58fc3c8c23 Introduce test harness into unit tests
The harness lets us execute code after the test has completed.

Use it to clean-up temp dirs in the flexvolume tests (initially).
2018-10-08 18:44:05 -04:00
Sean Sullivan
20a54b312c kubectl rollback: remove duplicated code for printing pod template 2018-10-08 15:39:16 -07:00
Justin Santa Barbara
f841f3ab40 Remove superfluous MkdirAll from MakeTempDirOrDie
After the call to ioutil.TempDir, the directory has already been
created, and MkdirAll therefore can't do anything.  The mode argument
in particular is misleading.
2018-10-08 18:11:09 -04:00
k8s-ci-robot
f883fd2ce6
Merge pull request #69536 from awly/robust-cert-loading
Allow inverted key/cert order in combined PEM file
2018-10-08 15:05:33 -07:00
Sean Sullivan
50c5b379b7 kubectl env resolve: copy core fieldpath and resource dependencies into kubectl 2018-10-08 14:50:20 -07:00
Andrew Lytvynov
4b6a6a1cd5 Allow inverted key/cert order in combined PEM file
certificate.FileStore only handles (cert, key) combined PEM files. This
PR allows (key, cert), which is what "openssl req -out foo.pem -keyout
foo.pem" generates.
2018-10-08 13:43:30 -07:00
Joe Betz
4263c75211 Update etcd client to 3.3.9 2018-10-08 13:34:34 -07:00
k8s-ci-robot
d4c4871852
Merge pull request #69413 from seans3/rollback-fix
kubectl rollback: remove legacyscheme dependency
2018-10-08 13:02:19 -07:00
Mikalai Radchuk
a19e84e001 Allows to use named ports in the kubectl portforward 2018-10-08 20:58:22 +01:00
Mike Crute
4d65f20ff6 fix golint for pkg/cloudprovider/providers/aws 2018-10-08 12:08:56 -07:00