Commit Graph

75512 Commits (6dc5494ec975e713083f4d45a625a2006100831c)

Author SHA1 Message Date
m3ngyang 5fbdde4b4a fix some comment typos 2019-02-26 16:00:20 +08:00
Martin Helmich bbddd27f0d client-go: Dynamic local port not accessible when port-forwarding
When setting up a port forwarding with the client-go library (using the
`k8s.io/client-go/tools/portforward.PortForwarder`) with a non-defined local
port (i.e. passing `:80` as `ports` parameter to `portforward.New(...)`), a
local port will be assigned dynamically.

Currently, the local port will be _always_ 0 if it was not specified initially.
This is because the assigned local port is only set on a _copy_ of the actual
`ForwardedPort` type that is obtained in a `range` loop. This PR changes this
behaviour to set the local port at the correct instance by passing a pointer
instead of a copy to the relevant functions.
2019-02-26 08:38:59 +01:00
Kubernetes Prow Robot 4e8e3c2f02
Merge pull request #74559 from zhouxiaoninga/fixtypes
Fix typo joiń -> join
2019-02-25 23:12:11 -08:00
Kubernetes Prow Robot 3fb6e77770
Merge pull request #74549 from yujuhong/pause-image
GCE: switch to using e2eteam/pause:3.1 for pause containers
2019-02-25 23:12:00 -08:00
Kubernetes Prow Robot 736baa5e33
Merge pull request #73593 from danielqsj/etcd
fix shellcheck failure in etcd shell
2019-02-25 23:11:50 -08:00
danielqsj 1ce7b0b2fa fix golint failures for test/e2e/ui 2019-02-26 14:03:34 +08:00
xichengliudui 4b38978329 fix shellcheck in test/e2e_node/jenkins/...
update pull request
2019-02-26 01:01:48 -05:00
Kubernetes Prow Robot d48eb30c59
Merge pull request #74547 from spiffxp/fix-test-cmd-kubectl-run-flake
Fix test-cmd kubectl_run flake
2019-02-25 21:49:03 -08:00
Kubernetes Prow Robot 6c5810c495
Merge pull request #74542 from gnufied/make-cinder-limits-via-openshift-conf
Allow cinder volume limits to be configurable
2019-02-25 21:48:52 -08:00
Kubernetes Prow Robot 33a0afafe7
Merge pull request #74508 from danielqsj/uapps
Fix golint failures for e2e/upgrades/...
2019-02-25 21:48:42 -08:00
Kubernetes Prow Robot 3c92a6d344
Merge pull request #74498 from feiskyer/fix-subnet
Fix subnet annotation checking for Azure internal loadbalancer
2019-02-25 21:48:32 -08:00
Kubernetes Prow Robot 44d13d3b77
Merge pull request #73726 from wk8/wk8/gmsa_alpha
Kubelet changes for Windows GMSA support
2019-02-25 21:48:21 -08:00
Kubernetes Prow Robot 5a2d587ac4
Merge pull request #74505 from SataQiu/fix-golint-20190225
fix golint failures for pkg/apis/...
2019-02-25 20:28:30 -08:00
Kubernetes Prow Robot c7a9a150e1
Merge pull request #74493 from cofyc/fix74384
Fix panic because VolumeSpec may be nil in volume reconstruction scenario
2019-02-25 20:28:19 -08:00
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
Takashi Sasaki c3838f0efd Add new Japanese translations for kubectl 2019-02-26 12:21:15 +09:00
Jean Rouge 0d392ffcef Udpated Bazel files
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-26 03:02:09 +00: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
Moshe Levi b9fb656546 Move start kubescheduler to it own function
Currently the kubescheduler starts in the start_kubeproxy
This change move it to ir own function start_kubescheduler

Change-Id: Iff93114d4becabe4b6b937c5077821e092abffd3
Signed-off-by: Moshe Levi <moshele@mellanox.com>
2019-02-26 04:30:11 +02:00
toyoda bdd17d4ca6 add test for getting componentstatuses 2019-02-26 11:25:14 +09:00
vanduc95 0296cfb2b8 kubeadm cleanup: master -> control-plane (cont.5) 2019-02-26 09:04:54 +07: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
PingWang 1a439cc646 Add port constants
Signed-off-by: PingWang <wang.ping5@zte.com.cn>

use pkg/master/ports constants

Signed-off-by: PingWang <wang.ping5@zte.com.cn>

update-bazel

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-02-26 09:18:15 +08:00
zhouxiaoning 802c751053 纠正join 2019-02-26 09:10:00 +08:00
Michael Taufen 98edbf41bc upload Windows startup scripts to GCS for CI 2019-02-25 16:44:57 -08:00
Jingfang Liu beacc87ebf add cmdline tests for -k 2019-02-25 16:31:03 -08:00
Jingfang Liu b38cf738d6 update kubectl subcommand with -k changes 2019-02-25 16:30:50 -08:00
Jingfang Liu 0c026bfac1 add -k flags to kubectl subcommands 2019-02-25 16:30:27 -08:00
Jingfang Liu 46f4378bd9 add -k flag to FilenameFlags in cli-runtime 2019-02-25 16:29:27 -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
Vy Ta 2869c67076 Windows-linux connectivity 2019-02-25 14:42:02 -08:00
Yu-Ju Hong b863655faa GCE: switch to using e2eteam/pause:3.1 for pause containers
Stop building pause images on node startup.
2019-02-25 14:36:49 -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
Aaron Crickenberger e563402701 Fix test-cmd kubectl_run flake
It is unrealistic to expect a cascading delete to immediately take
effect. Somehow this test got away with it for a while, but we
have finally reached a point where apiserver performance has changed
just enough to expsoe this flaky expectation.
2019-02-25 13:51:48 -08:00
Hemant Kumar 7a46b30a7a Allow cinder volume limits to be configurable 2019-02-25 16:09:24 -05:00