Commit Graph

72768 Commits

Author SHA1 Message Date
Wei Huang
4ce10eda64
cleanup PriorityClass after each test 2018-11-20 11:00:27 -08:00
Hemant Kumar
d2b6e30143 Fix bug with volume getting marked as not in-use with pending op
Add test for verifying volume detach
2018-11-20 11:58:47 -05:00
Wei Huang
c1e7ab07bd
add an e2e test to verify preemption running path 2018-11-20 08:52:17 -08:00
Dr. Stefan Schimanski
52b1718a63 unstructured: return not-found if intermediate path is not found 2018-11-20 17:21:52 +01:00
k8s-ci-robot
27d8290cbf
Merge pull request #71270 from bart0sh/PR0043-kubeadm-join-857-use-commandline-options-with-config
kubeadm: override node registration options from command line
2018-11-20 07:43:01 -08:00
Ed Bartosh
012e46320b kubeadm: override node registration options from command line
'kubeadm join' silently ignores --node-name and --cri-socket
command line options if --config option is specified.

In some cases it's much easier for users to override these parameters
from the command line instead of updating config, especially for
multi-node automatic deployments where only node name should be changed.

Implemented setting 'name' and 'criSocket' options from the command
line even if --config command line option is used.
2018-11-20 16:26:57 +02:00
Rostislav M. Georgiev
aa414e139e kubeadm: Bump minimum Kubernetes version to v1.12
Bump MinimumControlPlaneVersion and MinimumKubeletVersion to v1.12 and update
any related tests.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2018-11-20 16:21:49 +02:00
zhangyue
596a20ca8a fix typo: namspace -> namespace
Signed-off-by: zhangyue <zy675793960@yeah.net>
2018-11-20 21:47:27 +08:00
Ed Bartosh
bab556f7a6 kubeadm: improve hostport parsing error messages
Added hostport and host/port parts to the error messages
produced by ParseHostPort API.

This should help users to better identify parsing issues.

Fixes: kubernetes/kubeadm#1159
2018-11-20 13:21:36 +02:00
Claudiu Belu
626cbe9001 tests: Fixes wrong Pod Container Image usage in test/e2e/apps
Some tests are not using the configured registry image names, causing
some tests to fail on Windows, since those images are Linux only.
2018-11-20 11:21:55 +02:00
Bill Warshaw
b810fd2726 Fix broken integration test around hostAliases
* broken by ab507dfc1f
2018-11-19 20:52:04 -05:00
k8s-ci-robot
50e02fd0cc
Merge pull request #71229 from chuckha/etcd-server
kubeadm: adds etcd server version for 1.13
2018-11-19 16:25:42 -08:00
Michelle Au
11627ae134 Fix io test to use unique file names and cleanup all files 2018-11-19 15:09:27 -08:00
k8s-ci-robot
956dcdd4ca
Merge pull request #71232 from liztio/sparse-cert-creation
Sparse cert creation for `kubeadm init`
2018-11-19 15:07:32 -08:00
liz
2f14e1801e
kubeadm init supports sparse certificates 2018-11-19 16:55:16 -05:00
k8s-ci-robot
16d6daf520
Merge pull request #71219 from neolit123/kubeadm-go-docs-1.13
kubeadm: fix issues in the v1beta1 godoc
2018-11-19 13:03:25 -08:00
liz
9e8228f14a
Move some test functions into test utils 2018-11-19 14:38:10 -05:00
Chuck Ha
679d4397cf
kubeadm: adds etcd server version for 1.13
Signed-off-by: Chuck Ha <ha.chuck@gmail.com>
2018-11-19 14:34:00 -05:00
k8s-ci-robot
8848740f6d
Merge pull request #71222 from yagonobre/uploadconfig-flags
Add flags to kubeadm init phase uploadconfig all
2018-11-19 09:18:34 -08:00
Yago Nobre
c185836e64
Add flags to kubeadm init phase uploadconfig all 2018-11-19 14:02:29 -02:00
Sergei Orlov
21c1bb8830
kubeapiserver: rename '--experimental-encryption-provider-config' to '--encryption-provider-config'.
This change renames the '--experimental-encryption-provider-config'
flag to '--encryption-provider-config'. The old flag is accepted but
generates a warning.

In 1.14, we will drop support for '--experimental-encryption-provider-config'
entirely.

Co-authored-by: Stanislav Laznicka <slaznick@redhat.com>
2018-11-19 16:34:09 +01:00
Lubomir I. Ivanov
bc6837ffe3 kubeadm: fix issues in the v1beta1 godoc
- make the whole config example actually pass strict verification
(i.e. make the config work with --config)
- add print init-defaults/join defaults
- other small fixes
2018-11-19 17:26:34 +02:00
Jan Safranek
0c4b89fad6 Fix typo 2018-11-19 15:28:14 +01:00
Jan Safranek
665b4daf56 Make sure VolumeAttachment storage implements Patcher 2018-11-19 15:25:26 +01:00
Jan Safranek
a73f793e8e Add unit test for metadata modification 2018-11-19 15:19:55 +01:00
Patrick Ohly
a4fc58cc98 e2e/framework: capture logs only from pods that actually started
Attempting to retrieve logs for a container that hasn't started yet
may have been the reason for the "the server does not allow this
method on the requested resource" error that showed up on the GCE CI
test cluster (issue #70888).

If we wait with retrieving logs until the pod is running or has
terminated, then we might be able to avoid that error. It's the right
thing to do either way and not complicated to implement.
2018-11-19 14:55:10 +01:00
k8s-ci-robot
f7b9b669e5
Merge pull request #71208 from losipiuk/lo/fix-flaky-scalup-test
Fix flaky 'shouldn't trigger additional scale-ups during processing scale-up' test
2018-11-19 05:51:43 -08:00
Jan Safranek
787611a614 Refactor status PrepareForUpdate into standalone method
Someone else might find reseting metadata fields useful.
2018-11-19 14:46:06 +01:00
Łukasz Osipiuk
4d154179c4 Fix flaky 'shouldn't trigger additional scale-ups during processing scale-up' test 2018-11-19 13:37:50 +01:00
Jan Safranek
cfbf6aa925 Fix unit test to run with random UID
User that runs the tests desn't need to be in /etc/passwd and thus
user.Current() can fail. Assume the user is not root in this case.
2018-11-19 13:08:54 +01:00
Lars Ekman
2e5a985e47 Updates after review 2018-11-19 11:44:17 +01:00
Lars Ekman
1be71b8a99 Add the extra parameter for non-linux code 2018-11-19 10:02:48 +01:00
k8s-ci-robot
7ba79c3183
Merge pull request #71128 from yue9944882/chore/add-reviewer
Add yue9944882 to CRD/CR apiserver reviewer
2018-11-18 14:14:17 -08:00
Jordan Liggitt
5bdb625467 fix release note 2018-11-18 16:28:22 -05:00
Clayton Coleman
fde87329cb
bootstrap: Use kubeconfig contents as seed for cert dir if necessary
kubeadm uses certificate rotation to replace the initial high-power
cert provided in --kubeconfig with a less powerful certificate on
the masters. This requires that we pass the contents of the client
config certData and keyData down into the cert store to populate
the initial client.

Add better comments to describe why the flow is required. Add a test
that verifies initial cert contents are written to disk. Change
the cert manager to not use MustRegister for prometheus so that
it can be tested.
2018-11-17 19:52:12 -05:00
Clayton Coleman
486577df17 Restore "Make bootstrap client cert loading part of rotation""
This reverts the revert of commit 3464222267.
2018-11-17 13:44:58 -05:00
k8s-ci-robot
8996fc1639
Merge pull request #71173 from smarterclayton/revert_bootstrap
Revert "Make bootstrap client cert loading part of rotation"
2018-11-17 10:33:43 -08:00
Clayton Coleman
3464222267
Revert "Make bootstrap client cert loading part of rotation"
This reverts commit 0af19875ad.

Revert "Ensure the bootstrap rotation code is tested by forcing rotation"

This reverts commit de293b2d7d.
2018-11-17 10:24:39 -05:00
k8s-ci-robot
46ebebcc4f
Merge pull request #65763 from x13n/audit-logging
Add option to k8s apiserver to reject incoming requests upon audit failure
2018-11-17 04:39:56 -08:00
k8s-ci-robot
e3420cc46f
Merge pull request #70494 from RenaudWasTaken/pluginwatcher
Ignore non socket files in the kubelet plugin watcher
2018-11-16 22:46:42 -08:00
k8s-ci-robot
3be3510814
Merge pull request #69890 from smarterclayton/bootstrap_retry
Make bootstrap client cert loading part of rotation
2018-11-16 22:46:33 -08:00
k8s-ci-robot
ca696fef26
Merge pull request #69848 from mikedanese/projadmission
migrate service account volume to a projected volume when BoundServiceAccountTokenVolumes are enabled
2018-11-16 22:46:23 -08:00
Anago GCB
9bd9bf71c4 Update CHANGELOG-1.13.md for v1.13.0-beta.1. 2018-11-17 05:16:38 +00:00
jianglingxia
6159bab94a
Merge branch 'master' into jlx201811031619 2018-11-17 12:53:21 +08:00
jianglingxia
0094e05975 fix golint problem of volume cephfs/iscsi/nfs 2018-11-17 12:50:47 +08:00
k8s-ci-robot
ec2e767e59
Merge pull request #71167 from msau42/block-beta
Promote raw block volume support to beta
2018-11-16 20:28:03 -08:00
k8s-ci-robot
df8ad8eae1
Merge pull request #71166 from Random-Liu/fix-kubelet-panic
Fix kubelet panic.
2018-11-16 20:27:53 -08:00
k8s-ci-robot
7e621ccb08
Merge pull request #71063 from Huang-Wei/nodeinfo-clone-panic
fix a scheduler panic due to internal cache inconsistency
2018-11-16 20:27:44 -08:00
k8s-ci-robot
1f3057b7fb
Merge pull request #70898 from Huang-Wei/preemption-issue
ensure scheduler preemptor behaves in an efficient/correct path
2018-11-16 20:27:35 -08:00
k8s-ci-robot
f38cc95505
Merge pull request #62692 from mikedanese/trev2
authn: extend authenticator.Token to support audience validation
2018-11-16 20:27:25 -08:00