Commit Graph

74926 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
cd07a336f1
Merge pull request #73775 from yagonobre/init-certs
Remove todos from init upload certs
2019-02-19 08:37:18 -08:00
Anago GCB
016e9d5c06 Kubernetes version v1.15.0-alpha.0 openapi-spec file updates 2019-02-19 15:22:19 +00:00
Kubernetes Prow Robot
0ffd59e403
Merge pull request #74154 from mbohlool/gimli
Use Request Object interfaces instead of static scheme that is more appropriate for CRDs
2019-02-19 07:21:53 -08:00
Kubernetes Prow Robot
9ac5e49111
Merge pull request #73682 from selfmanagingresource/fixtest
Remove race condition with run-test
2019-02-19 07:21:38 -08:00
Sandeep Rajan
37c3d68a91 Add readinessProbe 2019-02-19 10:14:12 -05:00
mattjmcnaughton
214b910511 Fix shellcheck errors for some scripts in hack/
Five more of the hack/verify-* scripts now pass shellcheck and have been
removed from hack/.shellcheck_failures.
2019-02-19 10:08:15 -05:00
Sandeep Sunny
5b59c6e08c Added e2e tests for multi-zone volume provisioning 2019-02-19 18:44:20 +05:30
Kubernetes Prow Robot
8d69dc630b
Merge pull request #74025 from rosti/deprecated-configs
kubeadm: Don't load deprecated configs
2019-02-19 04:55:32 -08:00
skarthiksrinivas
1e5dc21c38 Fix error handling logic in vsphere volume provisioning 2019-02-19 02:54:20 -08:00
Rostislav M. Georgiev
f64baf755e kubeadm: Don't load deprecated configs
Currently kubeadm supports a couple of configuration versions - v1alpha3 and
v1beta1. The former is deprecated, but still supported.

To discourage users from using it and to speedup conversion to newer versions,
we disable the loading of deprecated configurations by all kubeadm
sub-commands, but "kubeadm config migrate".

v1alpha3 is still present and supported at source level, but cannot be used
directly with kubeadm and some of its internal APIs.

The added benefit to this is, that users won't need to lookup for an old
kubeadm binary after upgrade, just because they were stuck with a deprecated
config version for too long.

To achieve this, the following was done:

- ValidateSupportedVersion now has an allowDeprecated boolean parameter, that
  controls if the function should return an error upon detecting deprecated
  config version. Currently the only deprecated version is v1alpha3.

- ValidateSupportedVersion is made package private, because it's not used
  outside of the package anyway.

- BytesToInitConfiguration and LoadJoinConfigurationFromFile are modified to
  disallow loading of deprecated kubeadm config versions. An error message,
  that points users to kubeadm config migrate is returned.

- MigrateOldConfig is still allowed to load deprecated kubeadm config versions.

- A bunch of tests were fixed to not expect success if v1alpha3 config is
  supplied.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-02-19 12:27:39 +02:00
Kubernetes Prow Robot
d61e878533
Merge pull request #73997 from xichengliudui/fixlintcode
Fix golint failures
2019-02-19 01:44:48 -08:00
He Xiaoxi
4c8d0a3cd4 Fix duplicate container query param on exec pod command
Signed-off-by: He Xiaoxi <xxhe@alauda.io>
2019-02-19 15:58:43 +08:00
Kubernetes Prow Robot
a887ae8344
Merge pull request #74208 from lrx0014/unittest
fixes: some wrong comments
2019-02-18 22:45:49 -08:00
Kubernetes Prow Robot
f35b7a365e
Merge pull request #73046 from mikkeloscar/fix-e2e-websocket-https
Fix websocket e2e tests for https endpoints
2019-02-18 22:45:33 -08:00
Yago Nobre
79fd5f25a7 Add kubeadm init upload encrypted certs phase 2019-02-19 02:52:21 -03:00
RA489
6bbed9fef0 kubeadm: graduate control plane join phase 2019-02-19 11:09:00 +05:30
Kubernetes Prow Robot
42b7bb1c18
Merge pull request #72300 from nsega/fix-broken-link
Fix broken list of 'Service/Publishing services - service types'
2019-02-18 21:32:08 -08:00
Kubernetes Prow Robot
72be2f40b7
Merge pull request #74217 from justinsb/add_comment_about_why_insecure_address_is_not_removed
Add code comments to guard inadvertent removal of insecure-bind-address
2019-02-18 20:16:56 -08:00
Kubernetes Prow Robot
de2ceac50d
Merge pull request #74124 from truongnh1992/fix-typo
Correcting error on source codes
2019-02-18 20:16:46 -08:00
Kubernetes Prow Robot
aaf479f94a
Merge pull request #74013 from s-ito-ts/statefulsets_scale
Add e2e test for scale sub-resource of statefulsets
2019-02-18 20:16:36 -08:00
Kubernetes Prow Robot
7a5ea30b3d
Merge pull request #73961 from mattjmcnaughton/mattjmcnaughton/clarify-NetworkPolicy-policyTypes-in-docs
Clarify NetworkPolicy policyTypes in docs
2019-02-18 20:16:25 -08:00
Kubernetes Prow Robot
0b01b9ce51
Merge pull request #72470 from danielqsj/kl
Change kubelet metrics to conform metrics guidelines
2019-02-18 20:16:14 -08:00
xichengliudui
dd7acdcd55 make more of the shell pass lints 2019-02-18 22:50:03 -05:00
Clayton Coleman
a5ba311260
api: Correct a typo in the API docs for rolling update strategy 2019-02-18 22:46:37 -05:00
Kubernetes Prow Robot
cbcc2b26fe
Merge pull request #72904 from ping035627/k8s-190115
Correct the count of evictionsNumber
2019-02-18 18:40:09 -08:00
Yago Nobre
3a6c80c372 Remove todos from init certs phase 2019-02-18 21:33:19 -03:00
Kubernetes Prow Robot
197941a6d9
Merge pull request #74221 from deads2k/pass-decorator
allow apiservers to override the list of decorators
2019-02-18 15:23:59 -08:00
Kubernetes Prow Robot
16cbb6b965
Merge pull request #73848 from krzysied/logexporter_custom_fix
Handling for use_custom_instance_list in dump_nodes_with_logexporter
2019-02-18 15:23:48 -08:00
Kubernetes Prow Robot
73fb46fe85
Merge pull request #74219 from deads2k/remove-dead-scheme
remove unnecessary scheme from config struct
2019-02-18 13:29:41 -08:00
Kubernetes Prow Robot
c32ea74031
Merge pull request #74089 from deads2k/aggregator-error-handling
prevent unhandled errors on colliding poststarthook registration
2019-02-18 13:29:21 -08:00
Rohit Ramkumar
a50752ceb7 Update docs for Ingress-GCE related cluster addon 2019-02-18 13:17:01 -08:00
Kubernetes Prow Robot
fcaa726e60
Merge pull request #74080 from dims/ensure-prometheus-metrics-are-not-registered-twice
Ensure prometheus metrics are not registered twice
2019-02-18 11:59:30 -08:00
David Eads
ad740bbba5 allow apiservers to override the list of decorators 2019-02-18 14:47:09 -05:00
David Eads
5f911fd048 remove unnecessary scheme from config struct 2019-02-18 14:05:45 -05:00
David Eads
8d0c56e22f prevent unhandled errors on colliding poststarthook registration 2019-02-18 13:50:36 -05:00
Kubernetes Prow Robot
9891824352
Merge pull request #74212 from rojkov/kubeadm-drop-applyFlags-newK8sVersion
kubeadm: drop applyFlags.newK8sVersion field
2019-02-18 10:37:42 -08:00
Kubernetes Prow Robot
c923a68470
Merge pull request #74024 from rosti/optimize-config-migrate
kubeadm: Replace MigrateOldConfigFromFile
2019-02-18 10:37:32 -08:00
Justin SB
7dbbab0476
Add code comments to guard inadvertent removal of insecure-bind-address
Though the flags are deprecated, the deprecation process revealed that
the flag is important for health checks in more secure environments.
Add a link to #43784 to help developers understand why the flags have
not yet been removed.

Issue #43784
Issue #74172
Issue #59018
2019-02-18 12:58:59 -05:00
Kubernetes Prow Robot
a9fd9cef76
Merge pull request #74195 from rojkov/kubeadm-refactor-nonformatting
kubeadm: use non-formatting constructor for new error
2019-02-18 08:45:42 -08:00
Davanum Srinivas
6b6bfb37fb
Add minimal audit policy to local-up-cluster
Change-Id: Ia2cdb5a6a891665ece5365698f2989ba3782a5ec
2019-02-18 11:18:34 -05:00
Dmitry Rozhkov
a49dc107a3 kubeadm: drop applyFlags.newK8sVersion field
since it's not a command line flag. Use a variable instead.
2019-02-18 17:04:30 +02:00
Kubernetes Prow Robot
f7eb5769c2
Merge pull request #71468 from bclau/windows-tests
Windows networking tests
2019-02-18 06:24:24 -08:00
renxiang
8c8a9f850b fixes: some wrong comments 2019-02-18 19:02:28 +08:00
Kubernetes Prow Robot
701f914f3a
Merge pull request #72731 from skarthiksrinivas/vsphere_volume_zone
Provision vsphere volume as per zone
2019-02-18 03:02:03 -08:00
danielqsj
79a3eb816c rename latency to duration in metrics 2019-02-18 17:40:04 +08:00
Mikkel Oscar Lyderik Larsen
9f34d8bc79
Remove 'tlsConfig != nil' check
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2019-02-18 09:45:37 +01:00
Mikkel Oscar Lyderik Larsen
93abdb1205
Fix websocket e2e tests for https endpoints
When running e2e conformance tests against a public https protected
APIserver the websocket tests would fail because it fell back to using
`ws://` instead of `wss://` for the websocket connection.

This happened because the code detect if HTTPS is used only looks for
HTTPS related configuration in the kubeconfig, like a custom CA or
certificates.

The fix is to always use HTTPS when the apiserver URL has the scheme `https://`.

Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2019-02-18 09:45:37 +01:00
Kubernetes Prow Robot
92e0c231fa
Merge pull request #74107 from truongnh1992/adding-shebang
Adding '/usr/bin/env bash'
2019-02-18 00:23:35 -08:00
Dmitry Rozhkov
193d0f21c4 kubeadm: use non-formatting constructor for new error 2019-02-18 09:51:53 +02:00
Kubernetes Prow Robot
cdbc9d8567
Merge pull request #73686 from ShivangGoswami/master
Cleanup: Audit log and error capitalization
2019-02-17 23:08:39 -08:00