Commit Graph

89002 Commits

Author SHA1 Message Date
Claudiu Belu
fdec0ee121 tests: Create pod for Windows test
A previous commit (#88471) changed the createTestPod function, but didn't update
the service.go consumer, leading to a pod not being created.
2020-02-23 02:09:14 -08:00
Kubernetes Prow Robot
9c1543263b
Merge pull request #88431 from liggitt/publish-1.18
Add release-1.18 publishing rules
2020-02-23 00:32:47 -08:00
Kubernetes Prow Robot
31b8c0d23d
Merge pull request #87656 from ereslibre/do-not-depend-on-cluster-status
kubeadm: deprecate the `ClusterStatus` dependency
2020-02-22 22:30:47 -08:00
Kubernetes Prow Robot
b893aa707e
Merge pull request #88052 from neolit123/1.18-renew-use-ca-in-kubeconfig
kubeadm: update embedded CA in kubeconfig files on renewal
2020-02-22 20:50:47 -08:00
Jordan Liggitt
a6dc7ba138 Add release-1.18 publishing rules 2020-02-22 19:42:34 -05:00
Kubernetes Prow Robot
8ed008a418
Merge pull request #88421 from apelisse/enable-ssa-again
Enable field management for all new objects
2020-02-22 11:04:47 -08:00
Kubernetes Prow Robot
15515e1240
Merge pull request #88294 from immutableT/envelope-metrics
Instrument DEK cache fill and request inter-arrival times.
2020-02-22 08:34:47 -08:00
Taesun Lee
d10e3da92d Fix typos in some error messages, comments
- cmd/kubeadm
- RemoveContnainers -> RemoveContainers
- iterface -> interface
- stategicMergeSlice -> strategicMergeSlice
2020-02-23 00:44:47 +09:00
zhouya0
0acaf5c3e9 Fix kubectl describe ingress annotations not sorted 2020-02-22 22:05:01 +08:00
Kubernetes Prow Robot
57025b652e
Merge pull request #88407 from mm4tt/logexporter_revert
Revert "log-dump.sh: allow to dump extra log files"
2020-02-22 05:56:47 -08:00
zhouya0
5db45e12d5 fix kubectl create deployment image name 2020-02-22 20:23:42 +08:00
Kubernetes Prow Robot
de75bf9443
Merge pull request #88405 from feiskyer/mock-vmset
Swith to mock clients for route/routetable/networkinterface tests
2020-02-22 00:09:02 -08:00
Kubernetes Prow Robot
62b0bbc1c6
Merge pull request #88382 from jpbetz/parallel-mem-client-resource-discovery
Refresh discovery server resources for memCacheClient in parallel
2020-02-22 00:08:47 -08:00
Kubernetes Prow Robot
9a8e869590
Merge pull request #88417 from aramase/conformance-nodeport
check ip family for node port connectivity test
2020-02-21 22:30:56 -08:00
Kubernetes Prow Robot
f2e5ef6121
Merge pull request #88062 from s-ito-ts/golint_garbagecollector
Fix golint errors in pkg/controller/garbagecollector
2020-02-21 22:30:47 -08:00
Kubernetes Prow Robot
5aa2e3ca06
Merge pull request #80605 from odinuge/hugetlb-kubectl-node-describe
Add huge page usage stats (Allocated resources) to kubectl describe node
2020-02-21 20:58:47 -08:00
Hemant Kumar
ea5bea2b9f Respect ignore-volume-az option in admission plugin
We appear to be respecting this options when provisioning the volume
but when PV is admitted the zone/region fields get added back to the
PV and hence defeating the purpose of the option.
2020-02-21 22:12:58 -05:00
Joe Betz
190a72392a Refresh discovery server resources for memCacheClient in parallel 2020-02-21 18:35:38 -08:00
Pengfei Ni
78b18ed6f4 Swith to mock clients for route/routetable/networkinterface tests 2020-02-22 02:32:19 +00:00
Kubernetes Prow Robot
8ac7a5bdc1
Merge pull request #88374 from tanjunchen/remove-TODO-simplify-code
test/e2e/framework/node/:remove TODO and and make some functions private
2020-02-21 18:32:13 -08:00
Kubernetes Prow Robot
8d7a8f647a
Merge pull request #88372 from mattjmcnaughton/mattjmcnaughton/support-injecting-errors-fake-image-manager
Support injecting errors for `FakeImageService`
2020-02-21 18:32:03 -08:00
Kubernetes Prow Robot
26f8535838
Merge pull request #88354 from jiahuif/nodee2e-stack-protector-flags
node-e2e testing: fix alias for stack protector kernel config.
2020-02-21 18:31:51 -08:00
Kubernetes Prow Robot
0e9a8481aa
Merge pull request #88324 from zhouya0/add_init_containers_to_dump_info
Add init containers log to cluster dump info
2020-02-21 18:31:40 -08:00
Kubernetes Prow Robot
23045f9247
Merge pull request #88057 from julianvmodesto/remove-deprecated-rolling-update
Remove deprecated rolling-update command
2020-02-21 18:31:30 -08:00
Kubernetes Prow Robot
d1361c5a91
Merge pull request #87903 from oomichi/e2eskipper
Update conformance requirement check
2020-02-21 18:31:15 -08:00
Kubernetes Prow Robot
c69c91987b
Merge pull request #87811 from mborsz/pv
Remove unnecessary calls to GCE API after PD is created
2020-02-21 18:31:01 -08:00
Kubernetes Prow Robot
2e0760c659
Merge pull request #87611 from claudiubelu/test-images/updates-readme
test images: Adds Image Promoter details in the README
2020-02-21 18:30:48 -08:00
Satyadeep Musuvathy
8c6956e5bb Refactor handling of local traffic detection. 2020-02-21 17:57:34 -08:00
Kubernetes Prow Robot
3631887a28
Merge pull request #87215 from egernst/e2e-scheduler
E2e scheduler: introduce e2e test for PodOverhead
2020-02-21 15:44:47 -08:00
Antoine Pelisse
a54a52c5de Enable field management for all new objects 2020-02-21 15:11:33 -08:00
Anish Ramasekar
c811fc58ef
check ip family for node port connectivity test 2020-02-21 14:43:06 -08:00
Kubernetes Prow Robot
479759ed16
Merge pull request #88377 from Huang-Wei/pts-doc-update
Update API doc for feature PodTopologySpread (a.k.a EvenPodsSpread)
2020-02-21 12:12:25 -08:00
Kubernetes Prow Robot
cd3494193a
Merge pull request #87839 from leakingtapan/cloud-provider
Fix aws provider to return no error when instance is not found for InstanceExistsByProviderID
2020-02-21 12:12:11 -08:00
immutablet
684d6fb0ad Instrument DEK cache fill and request inter-arrival times. 2020-02-21 11:07:53 -08:00
Jiahui Feng
68b7564e7e fix alias for stack protector kernel config.
- fix YAML syntax
- alias -> aliases
- no need for CONFIG prefix
- add renamed config since 4.18
2020-02-21 11:04:48 -08:00
Kubernetes Prow Robot
20e6883a75
Merge pull request #88290 from tallclair/spr-deprecate
Start deprecation process for StreamingProxyRedirects
2020-02-21 10:32:45 -08:00
Kubernetes Prow Robot
0943976757
Merge pull request #83295 from oshothebig/typo
Fix typo in docker_sandbox.go
2020-02-21 10:32:32 -08:00
Eric Ernst
1d896db61c e2e-scheduling: add basic PodOverhead test
Add a test to verify that Overhead is being considered during
predication.

Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2020-02-21 08:42:41 -08:00
Cheng Pan
2568b552c8 Fix aws provider to return no error when instance is not found for InstanceExistsByProviderID 2020-02-21 16:36:27 +00:00
Fabio Bertinatto
cd5cf567d8 Avoid adding labels to nodes in CSI mock driver
It's unnecessary to add labels to nodes because we're already
using NodeSelection to schedule pods on specific nodes.
2020-02-21 14:33:56 +01:00
Matt Matejczyk
c20e604377 Revert "log-dump.sh: allow to dump extra log files"
This reverts commit c43b940586.
2020-02-21 14:27:02 +01:00
Claudiu Belu
bb0a5ab016 tests: Fixes Hybrid cluster network test
Previously, we've centralized several images into agnhost, including
test-webserver.

The Hybrid cluster network test was using the test-webserver image, and
was updated to use agnhost, but without properly making it so it behaves like
test-webserver, resulting in a failing test.
2020-02-21 04:37:45 -08:00
Eric Mountain
4cb28f64ea Fixes for the No ref for container in probes after kubelet restart 2020-02-21 13:32:48 +01:00
tanjunchen
7c3f6fa323 test/e2e/framework/node/:remove TODO and make some functions private 2020-02-21 18:45:09 +08:00
Kubernetes Prow Robot
4e26c35064
Merge pull request #88383 from BenTheElder/get-kube-auth
fix get-kube authorization headers
2020-02-21 02:36:32 -08:00
Claudiu Belu
91dc590cde test images: Adds building README
Adds a README explaining the image building process, including the
Windows Container image building process.
2020-02-21 02:11:26 -08:00
Claudiu Belu
b71fbdb364 Image Promoter: Adds Windows build nodes for Windows test images
We have added and enabled the Image Promoter on the k/k test images, which
will build the conformance images after a PR that affects kubernetes/test/images
merges.

We have added support for image-util.sh to handle external Windows Docker connections
in order to build Windows images.

This PR enables the Image Promoter to use some Windows nodes to build the necessary
Windows images.
2020-02-21 02:09:49 -08:00
Claudiu Belu
fe15a46939 test images: Use multiple Windows nodes to build images
In order to build Windows container images for multiple OS versions,
--isolation=hyperv is required. However, not all clouds / nodes supports
or have it enabled by default, which is why we're going to rely on
having multiple nodes to build the Windows images, until this issue
is addressed.
2020-02-21 02:09:49 -08:00
Claudiu Belu
3cdb7a89cb test images: Adds multiple Windows channels support
This commit adds support for building test images for multiple
Windows versions, as we have to support both LTS and SAC channels.

With this, the format for Windows images in the BASEIMAGE files is:

OS/ARCH/OS_VERSION

Also adds --isolation-hyperv to the Windows docker build command, making sure
that container images for multiple OS versions can be built using the same
Windows node.
2020-02-21 02:09:49 -08:00
Claudiu Belu
296464d968 test images: Adds Windows support (part 1)
Adds Windows support to the test/images/image-util.sh script.

A Windows node with Docker installed is required to build Windows images.
The connection URL to it must be set in the REMOTE_DOCKER_URL env variable.
Additionally, the authentication to the remote docker node is done through
certificates, which must be found in ~/.docker.

By default, the REMOTE_DOCKER_URL env variable is set to "" in the Makefile,
and because of it, the image-util.sh script will skip building and pushing
Windows images.

Added GOOS argument to the go build process in order to be able to build
Windows binaries. Additionally, the OS env variable was added to the images
Makefiles (default value is "linux") in order to maintain default behaviour.

Some images require a different Dockerfile for Windows images, since they
have different ways of installing dependencies. Because of this, if a image
needs to be built for Windows, it will first check for a Dockerfile_windows
file instead of the default one. If there isn't one, it means that the
same Dockerfile can be used for both Windows and Linux.

All Windows images will be based on the image
"mcr.microsoft.com/windows/servercore:ltsc2019". There are a couple of features
that are needed from this image, especially powershell.

Added busybox image for Windows. Most Windows images will be based on it, which
will help reduce the command line differences between Linux and Windows, but
not entirely.

Added Windows support for agnhost image.
2020-02-21 02:09:49 -08:00