Commit Graph

94774 Commits

Author SHA1 Message Date
Claudiu Belu
0d24b05434 test images: Switches to buildx
Currently, some of the E2E test images have Windows support, and one of the goals is for most of
them to have Windows support. For that, the Image Builder is currently building those Windows
container images using a few Windows Server nodes (for 1809, 1903, 1909) with Remote Docker
enabled which are hosted on an azure subscription dedicated for CNCF.

With this, the Windows nodes dependency is removed entirely, as the images can be also built with
docker buildx. One additional benefit to this is that adding new supported Windows OS versions
to the E2E test images manifest lists becomes a lot easier (we wouldn't have to create a new Windows
Server node that matches that new OS version, assign DNS name, update certificates, etc.), and it
also becomes easier for other people to build their own E2E windows test images.

However, some dependencies are still required to run on a Windows machine. To solve this, we can
just pull helper images: e2eteam/powershell-helper:6.2.7 and e2eteam/busybox-helper:1.29.0. Their
Dockerfiles and a Makefile for them has been included in this commit. If any change is required to
them, then a new image will be built and tagged under a different version, but they are pretty
straight-forward and shouldn't require changes.

However, there is a small concern when it comes to the build time: Windows servercore images are
very large (for example, mcr.microsoft.com/windows/servercore:ltsc2019 is 4.99GB uncompressed, and
about ~2 GB compressed - those images are already cached on the Windows Server builder nodes, so
this isn't an issue there), and we currently support 1809, 1903, and 1909 (soon to add 2004).
This can lead to build times that are too big.

We have changed the base image to nanoserver (uncompressed size: 250MB), but some images still
require some DLLs or some other dependencies that can be fetched from a servercore image.

A separate job has been defined that would build a scratch windows-servercore-cache image monthly,
and then we can just get those dependencies from this cache, which will be very small.
This would be preferred, as the Windows images update periodically, and those dependencies
could be updated as well.
2020-10-16 10:42:49 +00:00
Kubernetes Prow Robot
b2de4a6159
Merge pull request #95539 from soulxu/issue_95442
Reorder default Filter plugins to have UnschedulableAndUnresolvable f…
2020-10-14 08:09:54 -07:00
Kubernetes Prow Robot
6d01c5a589
Merge pull request #92459 from roycaihw/storage-version/manager
Add storageversion manager interface
2020-10-14 03:19:55 -07:00
He Jie Xu
6e55b88725 Reorder default Filter plugins to have UnschedulableAndUnresolvable first 2020-10-14 09:40:51 +00:00
Kubernetes Prow Robot
8647eece9c
Merge pull request #95113 from Git-Jiro/lint_ttlcontroller
Lint ttl_controller
2020-10-13 22:51:53 -07:00
Kubernetes Prow Robot
9891ac4d4d
Merge pull request #95333 from jayunit100/node_port_udp_fast_test
Node port udp fast test
2020-10-13 18:19:54 -07:00
Kubernetes Prow Robot
5c5d26786e
Merge pull request #94987 from zshihang/fix-upgrade
fix upgrade test
2020-10-13 17:23:54 -07:00
Kubernetes Prow Robot
6c40e16cd8
Merge pull request #95525 from tosi3k/master-log-dump-gke
Fix log dumping for GKE
2020-10-13 16:26:08 -07:00
Kubernetes Prow Robot
1c4f83e8c2
Merge pull request #95340 from Huang-Wei/priority-class-endpoints
PriorityClass lifecycle tests
2020-10-13 16:25:54 -07:00
Kubernetes Prow Robot
6268e6f990
Merge pull request #95069 from farah/split-scheduler
Move scheduler interface to pkg/scheduler/framework
2020-10-13 14:23:54 -07:00
Anago GCB
a0883b0784 CHANGELOG: Update directory for v1.20.0-alpha.2 release 2020-10-13 19:44:14 +00:00
Kubernetes Prow Robot
ea896a2e64
Merge pull request #95224 from Git-Jiro/lint_endpoint
Fix lint errors in pkg/contoller/endpoint
2020-10-13 12:06:27 -07:00
Wei Huang
f8cfbc8ac1
PriorityClass lifecycle tests 2020-10-13 12:06:07 -07:00
Kubernetes Prow Robot
46b5eb3338
Merge pull request #78153 from amimof/feature-kubectl-create-ingress
Feature: kubectl create ingress
2020-10-13 11:04:27 -07:00
Kubernetes Prow Robot
e3d7d067ab
Merge pull request #95066 from SataQiu/wrap-errors-2020092502
Wrap errors for NodeLabel, NodePorts, NodePreferAvoidPods and NodeResourcesBalancedAllocation plugins
2020-10-13 09:46:27 -07:00
Antoni Zawodny
7e895db627 Fix log dumping for GKE 2020-10-13 18:46:08 +02:00
Kubernetes Prow Robot
dc98ed96f6
Merge pull request #95085 from arghya88/wrap-error-taint-toleration-plugin
Wrap errors in taint-toleration, service-affinity plugin
2020-10-13 08:16:26 -07:00
Amir Mofasser
be45584a03
Add create ingress command to cmd/kubectl
Add `create ingress` unit tests


Move src code to staging dir


Update create command to reflect new API


Replaced deprecated `extensions` api with `networking`


Fix `missing strict dependencies`


Update BUILD 


Update BUILD


Fix commit conflict with upstream


Update after review

* Removed obsolete files
* Moved v1beta to v1 api

Fixed gofmt


Fixed deps imports


Merge with PR #94327


Revert changes


Revert go.mod


Revert BUILD


No need to update generated BUILD


Add required deps to BUILD


Update BUILD
2020-10-13 16:54:17 +02:00
Kubernetes Prow Robot
e799c852fb
Merge pull request #95447 from gnufied/fix-disk-detach-failure
Fix vsphere disk detach failure
2020-10-13 03:36:41 -07:00
Kubernetes Prow Robot
da777a6cc0
Merge pull request #95265 from SaiHarshaK/refactor-command-kubectl-create-quota
Remove the dependency between create quota command and generators
2020-10-13 03:36:27 -07:00
Kubernetes Prow Robot
4ca119f521
Merge pull request #94916 from smileusd/upstream_master
split systemd mount from mount
2020-10-13 02:38:26 -07:00
Kubernetes Prow Robot
01f3f67989
Merge pull request #92663 from AndersonQ/68026-golint-/pkg/kubelet/stats
cleanup: fix golint errors in /pkg/kubelet/stats
2020-10-12 23:48:26 -07:00
tashen
27cb5cf4f0 add systemd mount options interface to support the no-systemd mount 2020-10-13 13:46:57 +08:00
Kubernetes Prow Robot
53d9bed6e0
Merge pull request #95463 from andyzhangx/bigdisk-cachemode
fix azure disk attach failure for disk size bigger than 4TB
2020-10-12 21:12:26 -07:00
Kubernetes Prow Robot
475849eafa
Merge pull request #95426 from neolit123/1.20-add-output-to-generate-csr
kubeadm: add some output to the generate-csr command
2020-10-12 19:31:21 -07:00
Ali
09b2e8f638 Move scheduler interface to pkg/scheduler/framework 2020-10-13 13:13:27 +11:00
Hemant Kumar
5627771601 Fix vsphere disk detach failing
Make inability to fetch canonicalPath non-fatal error
Throw error if we can't fetch canonicalPath on attach
2020-10-12 21:58:28 -04:00
Kubernetes Prow Robot
1dff024e64
Merge pull request #91014 from cici37/apiConfig
Move cmd/controller-manager to k8s.io/controller-manager
2020-10-12 15:17:22 -07:00
Kubernetes Prow Robot
1698af78be
Merge pull request #95494 from tosi3k/busybox-tag
Fix the busybox image tag in kubemark hollow nodes
2020-10-12 11:32:59 -07:00
Kubernetes Prow Robot
dee62a7267
Merge pull request #95412 from saikat-royc/snapshot-controller-bump
Upgrade snapshot controller to 3.0.0
2020-10-12 11:32:49 -07:00
Kubernetes Prow Robot
4bbf4111e2
Merge pull request #92507 from ingvagabund/staging-library-go
Initialize k8s.io/component-helpers staging repository
2020-10-12 10:30:48 -07:00
Haowei Cai
184b460369 add a OWNERS file under storageversion 2020-10-12 09:57:54 -07:00
Haowei Cai
c548d016d4 generated 2020-10-12 09:57:54 -07:00
Haowei Cai
48361711a5 add the storageversion.Manager interface 2020-10-12 09:57:54 -07:00
Lubomir I. Ivanov
bae6b93d5c kubeadm: add some output to the generate-csr command
Currently the "generate-csr" command does not have any output.
Pass an io.Writer (bound to os.Stdout from /cmd) to the functions
responsible for generating the kubeconfig / certs keys and CSRs.

If nil is passed these functions don't output anything.
2020-10-12 19:05:45 +03:00
Antoni Zawodny
636bd041fe Fix the busybox image tag in kubemark hollow nodes 2020-10-12 17:50:41 +02:00
Kubernetes Prow Robot
57a46531f5
Merge pull request #95321 from harche/fix_cap
add CAP_NET_RAW capability to CRI stats summery test
2020-10-12 08:14:48 -07:00
Kubernetes Prow Robot
a9bfd8816d
Merge pull request #95478 from xmudrii/update-owners
OWNERS_ALIASES: Add xmudrii to release-engineering-reviewers
2020-10-12 07:14:48 -07:00
andyzhangx
daa4d76643 fix azure disk attach failure for disk size bigger than 4TB
test: add debugging info

fix test failure

remove debugging info

add condition
2020-10-12 01:43:59 +00:00
Kubernetes Prow Robot
c1e5e6a556
Merge pull request #93836 from jayunit100/salt_cleanup_92835
remove __pillar__ refs
2020-10-11 17:58:47 -07:00
Jan Chaloupka
cd89e3bf72 Add PULL_REQUEST_TEMPLATE.md and state the repo does not accept any direct changes 2020-10-11 21:40:29 +02:00
Jan Chaloupka
3802f2022b Run hack/update-vendor.sh 2020-10-11 21:40:24 +02:00
Jan Chaloupka
7530806c9f Add rule for component-helpers into staging/publishing/rules.yaml 2020-10-11 21:40:18 +02:00
Jan Chaloupka
274c536da3 Removing GetPodPriority from pkg/api and importing PodPriority from k8s.io/component-helpers 2020-10-11 21:40:11 +02:00
Jan Chaloupka
95ad020a75 Duplicate a single helper from pkg/apis
Duplicating GetPodPriority code from k8s.io/kubernetes/pkg/api/v1/pod as PodPriority
2020-10-11 21:39:51 +02:00
jay vyas
e7a9a94da8 simpler addition of nodeport basic validation 2020-10-11 11:36:02 -04:00
Marko Mudrinić
ed0373b952
Replace Branch Manager/Patch Release Team with Release Manager 2020-10-11 12:27:14 +02:00
Marko Mudrinić
d938265227
OWNERS_ALIASES: Add xmudrii to release-engineering-reviewers 2020-10-11 12:24:49 +02:00
Kubernetes Prow Robot
7680a85b3b
Merge pull request #95461 from SataQiu/clean-kubeadm-20201010
kubeadm: make new command functions to keep private when they are not required to be public
2020-10-10 20:28:47 -07:00
Kubernetes Prow Robot
fa15799f74
Merge pull request #95456 from andyzhangx/windows-flush
fix azure disk data loss issue on Windows when unmount disk
2020-10-09 22:22:46 -07:00