Commit Graph

82854 Commits

Author SHA1 Message Date
Jan Safranek
d79b7c754f Add in-line filesystem volumes to MakeSecPod 2019-08-01 20:04:11 +00:00
Jan Safranek
bab81b809b Don't create mounter when reconstructing block volume
CSI mounter will create a new directory + json for a filesystem volume,
leading to even more orphaned files/directories.
2019-08-01 20:04:10 +00:00
Masaki Kimura
f1d2d9d670 Move disruptive tests to testsuites and add ones for block volume 2019-08-01 20:04:10 +00:00
Caleb Woodbine
b845fee7f7 Add ConfigMap patch e2e test with validation step
Test originally written by draveness for this PR:
https://github.com/kubernetes/kubernetes/pull/78924

This commit adds a validation step to the test.
2019-08-01 13:00:59 -07:00
Claudiu Belu
103498f538 test images: Adds version and bind-tools to agnhost
Adds bind-tools to the agnhost image. With this, dig will available
in the agnhost image, which can be used in DNS related tests.

Adds the --version flag to the agnhost binary, which will be useful for
debugging purposes (e.g.: when the image version does not match the binary
version).

Bumps version to 2.5.
2019-08-01 12:27:35 -07:00
Kubernetes Prow Robot
acdbbb3993
Merge pull request #80858 from wojtek-t/fix_events_tests
Fix selflinks in events tests
2019-08-01 11:52:56 -07:00
Kubernetes Prow Robot
f5c9d38a3f
Merge pull request #80833 from neolit123/1.16-update-version
kubeadm: update the version constants for 1.16
2019-08-01 11:52:44 -07:00
Kubernetes Prow Robot
b91d64bfc1
Merge pull request #74423 from lmdaly/topology-manager-device-plugin-api-change
Device Plugin API change to include Topology Info in Devices
2019-08-01 11:52:31 -07:00
Kubernetes Prow Robot
93e6fb30f0
Merge pull request #74357 from lmdaly/topology-manager-container-manager
Updates to container manager and internal container lifecycle to accommodate TopologyManager
2019-08-01 11:52:17 -07:00
Maciej Borsz
a620b47e13 Adde 9.0.2 to CHANGELOG.md 2019-08-01 20:15:46 +02:00
Sean Sullivan
acece3c296 Update import statements to reflect code move 2019-08-01 11:15:39 -07:00
Sean Sullivan
0e0ea52339 Move pkg/kubectl/cmd/{command} to staging 2019-08-01 11:01:40 -07:00
Wei Huang
caab8b74ba
EvenPodsSpread: integration test 2019-08-01 10:42:27 -07:00
Kubernetes Prow Robot
270d9529e0
Merge pull request #80844 from zgfh/patch-7
cleanup: log message typo fix
2019-08-01 09:46:51 -07:00
Kubernetes Prow Robot
fc05c9d26b
Merge pull request #80835 from ahg-g/ahg
Nominate Abdullah Gharaibeh to scheduler maintainers.
2019-08-01 09:46:44 -07:00
Kubernetes Prow Robot
b658028078
Merge pull request #77713 from zjj2wry/secret_resync_duration
add secret back to the workqueue with delay time, avoid expired bootstrap tokens not being deleted
2019-08-01 09:46:29 -07:00
Kubernetes Prow Robot
9fdda3f610
Merge pull request #77534 from WanLinghao/psp_refactor
Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/psp_util.go file
2019-08-01 09:46:15 -07:00
Dan Winship
81cd27a51e iptables: simplify version handling 2019-08-01 12:05:31 -04:00
Dan Winship
a735c97356 kube-proxy: drop iptables version check
Kube-proxy's iptables mode used to care whether utiliptables's
EnsureRule was able to use "iptables -C" or if it had to implement it
hackily using "iptables-save". But that became irrelevant when
kube-proxy was reimplemented using "iptables-restore", and no one ever
noticed. So remove that check.
2019-08-01 12:05:31 -04:00
fabriziopandini
59fb766b42 fix-certs-generation-for-external-etcd 2019-08-01 17:51:33 +02:00
Dan Winship
8bced9b130 iptables: don't do feature detection on the iptables-restore binary
The iptables code was doing version detection on the iptables binary
but feature detection on the iptables-restore binary, to try to
support the version of iptables in RHEL 7, which claims to be 1.4.21
but has certain features from iptables 1.6.

The problem is that this particular set of versions and checks
resulted in the code passing "-w" ("wait forever for the lock") to
iptables, but "-w 5" ("wait at most 5 seconds for the lock") to
iptables-restore. On systems with very very many iptables rules, this
could result in the kubelet periodic resyncs (which use "iptables")
blocking kube-proxy (which uses "iptables-restore") and causing it to
time out.

We already have code to grab the lock file by hand when using a
version of iptables-restore that doesn't support "-w", and it works
fine. So just use that instead, and only pass "-w 5" to
iptables-restore when iptables reports a version that actually
supports it.
2019-08-01 11:49:50 -04:00
Kubernetes Prow Robot
9c22ff1966
Merge pull request #80841 from rjaini/azs_adfs
feat: enhance Azure cloud provider code to support both AAD and ADFS authentication.
2019-08-01 08:17:08 -07:00
Kubernetes Prow Robot
d9ec8eea90
Merge pull request #80603 from smarterclayton/cri_api_owners
OWNERS: api-approvers should be approvers on cri-api
2019-08-01 08:16:55 -07:00
Kubernetes Prow Robot
e40cfd984d
Merge pull request #80378 from davidz627/fix/gceAM
Add a field 'RequiredAccessModes' to the driver info object that is propagated to pvc creation
2019-08-01 08:16:42 -07:00
Kubernetes Prow Robot
8ad68ce414
Merge pull request #79827 from hainesc/wrong-indent
Fix wrong indentation in shell
2019-08-01 08:16:29 -07:00
Kubernetes Prow Robot
e8559f7565
Merge pull request #75229 from andrewsykim/kubelet-node-address-external
kubelet: lookup node address for external provider if none is set
2019-08-01 08:16:16 -07:00
Jeffrey Sica
5bc4deafa0 prune owners 2019-08-01 11:13:03 -04:00
Jordan Liggitt
c64d6a39aa Only output json format from tests when building junit reports 2019-08-01 11:03:20 -04:00
Panagiotis Georgiadis
f946a2500b kubeadm reset: replace Errorf with Warningf 2019-08-01 16:40:47 +02:00
Maciej Borsz
e442a427f5 Update kube-addon-manager to v9.0.2. 2019-08-01 16:15:51 +02:00
AdamDang
799fb862a5
Typo fix: DaemonsSet->DaemonSet
Typo fix: DaemonsSet->DaemonSet
2019-08-01 22:11:15 +08:00
wojtekt
bc00248e71 Fix selflinks in tests 2019-08-01 15:50:03 +02:00
wojtekt
cfa16959e2 Fix selflinks in events tests 2019-08-01 15:39:47 +02:00
Danielle Lancashire
d4c189d52b
csi: Fix socket extension comment
The CSI socket has used a sock extension since 179d8e108e. This removes
the stale TODO for updating it.
2019-08-01 14:52:46 +02:00
Kubernetes Prow Robot
a1727472b2
Merge pull request #79195 from xychu/fix-shellchecks-d
Fix shellcheck failures in test/cmd/{d,l}.*.sh
2019-08-01 05:46:14 -07:00
Aldo Culquicondor
d935b1054c Remove Configurator interface
The Configurator has been used as a holder for listers that tests need,
which is not its purpose. By making the tests obtain listers from more
appropriate places, such as informers, there is no need for various
accessors to the Configurator.

Also, FakeConfigurator is not being used anymore, so there's no need for
an interface instead of a plain pointer.

Signed-off-by: Aldo Culquicondor <acondor@google.com>
2019-08-01 08:36:38 -04:00
Ted Yu
5efeda3718 Return early in ApplyScoreWeights if there are no scores 2019-08-01 04:59:18 -07:00
Olivier Lemasle
5c61056432 Make discovery wait for a finite time
Add a timeout to discovery in `kubeadm join`,
when using a discovery file.
2019-08-01 13:17:45 +02:00
Kubernetes Prow Robot
4ce69dd32e
Merge pull request #80848 from cwdsuzhou/Aug/fix_ut
Fix some unreasonable places int csi ut
2019-08-01 03:30:14 -07:00
WanLinghao
92b0310cc5 Refactor and clean up e2e framework utils, this patch handles test/e2e/framework/kubelet_stats.go file 2019-08-01 17:40:02 +08:00
Fabio Bertinatto
c5d9af2bda Update predicates to use cached CSINode in scheduler 2019-08-01 10:15:20 +02:00
Fabio Bertinatto
09d2cdf384 Add independent cache for CSINode in scheduler 2019-08-01 10:08:51 +02:00
Kubernetes Prow Robot
86ebaaa023
Merge pull request #80816 from msau42/update-hostpath-csi
fix snapshotter rbac rules
2019-08-01 00:52:41 -07:00
Kubernetes Prow Robot
e4dfed624a
Merge pull request #80427 from mlmhl/kubemark-e2e
fix kubemark e2e test script
2019-08-01 00:52:28 -07:00
Kubernetes Prow Robot
ac1cde5577
Merge pull request #78009 from hainesc/develop
Use reservoir sampling to select one host from priority list
2019-08-01 00:52:15 -07:00
caiweidong
7b5dac03ce Fix some unreasonable places int csi ut 2019-08-01 14:19:11 +08:00
caiweidong
7dee721a3e Fix host path test clean up 2019-08-01 13:58:06 +08:00
Lee Verberne
a25ad6d36f Print ephemeral containers in kubectl describe 2019-08-01 05:37:50 +00:00
Kubernetes Prow Robot
3758426884
Merge pull request #80798 from xlgao-zju/ignore-not-found
do not return error, when the ds is not found
2019-07-31 22:37:03 -07:00
Kubernetes Prow Robot
0775e6b2db
Merge pull request #80591 from danwinship/no-localhost-snat
hostport: Don't masquerade localhost-to-localhost traffic
2019-07-31 22:36:50 -07:00