Commit Graph

1677 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
5e7d62ecfc Merge pull request #97967 from rajibmitra/master
Update cri-tools to v1.20.0
2021-01-13 13:27:15 -08:00
Kubernetes Prow Robot
8abe3714d2 Merge pull request #97853 from claudiubelu/patch-1
pause image: Fixes clean make action
2021-01-12 20:20:35 -08:00
Kubernetes Prow Robot
db14789b82 Merge pull request #97782 from chewong/fix-97780
pause: encode Windows OS version in image tag instead of repository
2021-01-12 13:48:36 -08:00
rajibmitra
69aae7aa6c Update cri-tools to v1.20.0
Signed-off-by: rajibmitra <rajib.jolite@gmail.com>
2021-01-12 19:02:51 +05:30
Kubernetes Prow Robot
be839a4365 Merge pull request #97177 from pacoxu/cleanup/docker-20.10
cleanup: legacy 'ENV name value' syntax deprecated(Docker 20.10)
2021-01-08 20:01:04 -08:00
Ernest Wong
747eec42fe pause: encode Windows OS version in image tag instead of repository
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
2021-01-08 18:02:28 -05:00
Claudiu Belu
b428c7ff33 pause image: Fixes clean make action
The ``.container-$OS-$ARCH`` make subaction is creating files with the same name, and ``clean`` is meant to delete them. However, the ``clean``'s rm regex is not quite correct.
2021-01-08 18:31:04 +02:00
Mike Danese
b624868386 bump repo-infra to 0.2.0
Change-Id: Id4fa13ca3cf092867bb0973294605962a8e5019c
2021-01-07 13:51:03 -08:00
Mike Danese
7d7852d3ef bump bazel to 3.4.1
Change-Id: I7ae75acba5518782a99ede2d896a787238d7b744
2021-01-07 13:51:03 -08:00
Kubernetes Prow Robot
9c894e23ef Merge pull request #97618 from jherrera123/issue-94091-remove-docker-remote-build
Remove docker remote / docker-machine from build scripts
2021-01-06 10:55:52 -08:00
Davanum Srinivas
4b3475bc65 Ensure reproducible builds when build through docker
In d9cfd77149 and
d70d04f92b we added support for
reproducible builds for individual binaries (like kube-apiserver),
however we need to thread this support when we build binaries with
docker as well (say during "make quick-release").

Essentially, if GOLDFLAGS is set explicitly by someone either to a valid
value they would like to use or empty ("") then we pick that up. If it
is not set we should avoid setting GOLDFLAGS to empty. This ensures that
we support the same functionality documented here:
https://github.com/kubernetes/kubernetes/blob/master/build/root/Makefile#L82-L85

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-04 19:16:54 -05:00
Jesus Herrera
d8bedb3980 Remove docker remote/docker-machine from build scripts 2020-12-30 12:37:51 -05:00
Kubernetes Prow Robot
80be1d6c72 Merge pull request #96429 from rajansandeep/coredns180-kubeadm
[kubeadm]: Bump CoreDNS version to 1.8.0
2020-12-29 13:19:48 -08:00
Tim Hockin
6f0f7aad46 Fix Makfile cut-paste comment errors 2020-12-22 21:37:42 -08:00
Kubernetes Prow Robot
6fff9581c2 Merge pull request #97322 from claudiubelu/windows/20h2-pause-image
pause image: Adds 20H2 Windows OS Version base image
2020-12-18 08:46:25 -08:00
Rajas Kakodkar
902f4a9038 bump agnhost VERSION
Signed-off-by: Rajas Kakodkar <rajas.kakodkar@ibm.com>
2020-12-16 17:48:28 +00:00
Claudiu Belu
ad97a5b7a5 pause image: Adds 20H2 Windows OS Version base image
A new Windows image has been released in the second half of 2020 with the tag 20H2.
We are going to need a pause image for it as well.

The image tag can be found here: https://hub.docker.com/_/microsoft-windows-nanoserver
2020-12-14 04:24:07 -08:00
pacoxu
75a2cc2cfd fix legacy 'ENV name value' syntax
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-10 10:38:10 +08:00
Stephen Augustus
a19cc9a245 [go1.15] Use go-runner:buster-v2.2.2 image (built on go1.15.5)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 21:23:25 -05:00
Stephen Augustus
2407a70cc7 [go1.15] Update to go1.15.5
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:49:56 -05:00
Stephen Augustus
eeb31f1a3c [go1.15] build: Update to k/repo-infra@v0.1.3 (supports go1.15.5)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:40:44 -05:00
Sandeep Rajan
40862c3b60 bump coredns to 1.8.0 2020-11-16 15:22:05 -05:00
yue9944882
849be447f5 APF: graduate API and types to beta
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-13 23:20:39 +00:00
Kubernetes Prow Robot
12d9183da0 Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
RuntimeClass GA
2020-11-12 00:44:51 -08:00
Sergey Kanzhelev
06da0e5e74 GA of RuntimeClass feature gate and API 2020-11-11 19:22:32 +00:00
Andrew Sy Kim
359c6e2623 kubelet: add CredentialProviderConfig API
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-10 13:44:06 -05:00
Kubernetes Prow Robot
c84c3c4858 Merge pull request #96124 from adtac/apf1ginkgo
e2e: add APF flowcontrol request drown-out test
2020-11-09 15:14:41 -08:00
Adhityaa Chandrasekar
f79e7cde68 e2e: add APF flowcontrol request drown-out test
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2020-11-06 17:35:14 +00:00
Claudiu Belu
3f7c09e601 pause image: Disable DiagTrack service on Windows image
It has been observed that the DiagTrack service in the pause
image is consuming a non-trivial amount of CPU. We don't need
this service in the pause image, so we should disable it.

We can disable the service by running chntpw in a docker buildx Linux stage
and then copy the SYSTEM file back to the final Windows image.

Co-Authored-By: Mark Rossetti <marosset@microsoft.com>
Co-Authored-By: Davanum Srinivas <davanum@gmail.com>
2020-11-04 10:24:25 +00:00
Kubernetes Prow Robot
1ba27096ae Merge pull request #96058 from verb/1.20-cli-debug-image-mutations
Add tests and set-image option to kubectl debug
2020-11-03 20:04:17 -08:00
Jan Chaloupka
d3726b91e2 Move pkg/kubectl/cmd/auth under staging/src/k8s.io/kubectl/pkg/cmd/auth 2020-11-03 15:34:28 +01:00
Lee Verberne
3cfcf3a74f kubectl debug: add tests for Complete,Validate 2020-11-03 07:03:52 +01:00
Kubernetes Prow Robot
0dbfe2633e Merge pull request #95781 from ii/porter-add-verbose-flag
Add verbose flag to porter so http method can be returned to client
2020-11-02 13:41:33 -08:00
Kubernetes Prow Robot
b2e1165da8 Merge pull request #96063 from thockin/fix-96015-extra-dirs-conversion-gen
Pass all packages to conversion-gen
2020-10-31 03:38:51 -07:00
Tim Hockin
54e2748e13 Pass all packages to conversion-gen
As per #96015 and other reports, conversion-gen does the wrong thing if
dependent packages are not ALSO being re-generated.  It creates new
versions of generated files that have missing conversions.

This change passes all packages as "extras" which will be parsed but not
regenerated (default already does exactly this).
2020-10-30 22:22:57 -07:00
cici37
9465d95ea6 Move CCM to staging k8s.io/cloud-provider 2020-10-29 20:50:23 -07:00
Stephen Heywood
f005b3a5f7 Add json-response flag to porter
Provides a response that includes a body and a method. This response
will enable a client (e2e test) to confirm that a proxy did not alter
the http method.
2020-10-30 14:48:16 +13:00
Kubernetes Prow Robot
23f5fcce57 Merge pull request #95870 from claudiubelu/images/pause-regex-fix
pause image: Stricter registry prefix regex
2020-10-28 11:33:57 -07:00
Claudiu Belu
f8b70860d5 pause image: Stricter registry prefix regex 2020-10-26 07:42:49 -07:00
Kubernetes Prow Robot
0ec6602679 Merge pull request #77398 from claudiubelu/test-images/windows-support-part-2
test images: Adds Windows Container images support (part 2)
2020-10-26 06:19:02 -07:00
Kubernetes Prow Robot
68e4f1ff64 Merge pull request #91452 from claudiubelu/windows/pause-image
Add support for building Windows pause image
2020-10-23 04:05:45 -07:00
Kubernetes Prow Robot
e01e89b10d Merge pull request #95557 from saschagrunert/chown-localtime
Make copied `localtime` file write-able
2020-10-22 22:16:29 -07:00
Kubernetes Prow Robot
163b23f163 Merge pull request #95529 from cici37/cleanup
Add back openapi gen for generic types and clean up doc.go
2020-10-20 11:22:34 -07:00
Claudiu Belu
4dbb55fe85 test images: Adds Windows support (part 2)
Adds Windows support for most of the images.

Adds a README explaining the image building process, including the
Windows Container image building process.
2020-10-19 16:54:28 +00:00
cici37
0d2002229f Add back openapi gen for generic types and clean up doc.go 2020-10-16 10:54:15 -07:00
wojtekt
3d2a80643a Fix metrics reporting in kube-apiserver 2020-10-15 13:50:33 +02:00
Sascha Grunert
b2308f1efe Make copied localtime file write-able
Some distributions have no default write-access to this file, which
means that it's not possible to update the file and rebuild the project
if not write-able. This patch fixes this by adding an additional
`chmod`.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-10-14 13:08:57 +02:00
cici37
ae8ce0d190 Move cmd/controller-manager to k8s.io/controller-manager and cloud specific configs to k8s.io/cloud-provider. 2020-10-08 13:23:16 -07:00
Claudiu Belu
fd1e1138d6 pause image: moves wincat binary location
Co-authored-by: Ben Moss <moss.127@gmail.com>
2020-09-26 07:37:02 -07:00
Ben Moss
82ac28cc52 Adds support for building Windows pause image
We can use docker buildx in order to build and push Windows images from the same Linux
node, as long as the Dockerfile does not have any RUN commands in the Windows step.

We also need to create a non-default builder instance in order to be able to
build and push Windows images.

The Windows images have to be built and pushed directly to the registry. Because of
this, the make target "push" has been removed (the target "all" will build and push
the images).

We need wincat for a few kubectl proxy scenarios.

For Windows containers without Hyper-V isolation, the host OS Version and the
Container OS Version need to match, which is why we added multiple Windows OS Versions
to the building process.

Adds support for Windows OS Versions: 1809, 1903, 1909, 2004.

Bumps pause image version to 3.4.

Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
Co-Authored-By: Ben Moss <bmoss@pivotal.io>

Signed-off-by: Leah Hanson <lhanson@pivotal.io>
2020-09-26 06:26:24 -07:00