Commit Graph

1567 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
46472773cb
Merge pull request #84836 from yuxiaobo96/k8s-checks
Correct spelling mistakes
2019-11-06 12:21:11 -08:00
Davanum Srinivas
0e99cd912b
Script based hyperkube
Update bazel based build and make the containers match as well.
2019-11-06 09:11:26 -05:00
yuxiaobo
81e9f21f83 Correct spelling mistakes
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-11-06 20:25:19 +08:00
Kubernetes Prow Robot
5867ef7c42
Merge pull request #80136 from vorburger/minor-grammar-in-10-kubeadm.conf
very minor grammar fix in 10-kubeadm.conf ('generate' instead of 'generates')
2019-11-05 22:16:59 -08:00
Kubernetes Prow Robot
7b6369c803
Merge pull request #84249 from odinuge/bump-shellcheck
Bump shellcheck to v0.7.0
2019-11-04 06:19:40 -08:00
Benjamin Elder
83c56a0373
remove hack/e2e.go 2019-11-03 19:36:59 -05:00
Kubernetes Prow Robot
510fb38f27
Merge pull request #83671 from yue9944882/flow-control-api-model
Apiserver flowcontrol api models
2019-11-01 22:49:40 -07:00
Kubernetes Prow Robot
2da4678a80
Merge pull request #83578 from Huang-Wei/sched-policy-api-refactor
Scheduler Policy API Refactoring
2019-11-01 19:59:39 -07:00
Wei Huang
703a669db3
autogen files
- make generated_files
- update-bazel.sh & update-vendor.sh)
2019-11-01 14:38:09 -07:00
Sean Sullivan
fe06de1864 Fixes error in go_pkg() 2019-11-01 14:35:04 -07:00
Kubernetes Prow Robot
ecec5cb2a4
Merge pull request #84540 from seans3/kubectl-get-staging
Moves kubectl get subcommand to staging
2019-10-30 21:56:37 -07:00
Kubernetes Prow Robot
e1d3cc74e5
Merge pull request #84329 from jingyih/update_etcd_server_to_3.4
Update default etcd server to 3.4.3
2019-10-30 02:30:52 -07:00
Sean Sullivan
2a3f28863b Moves kubectl get subcommand to staging 2019-10-29 15:51:00 -07:00
yue9944882
6db3edff10 [generated] ./hack/update-all.sh
generated

generated

generated

rule

generated

generated
2019-10-29 12:59:17 +08:00
Jingyi Hu
706cde51c5 Update default etcd server to 3.4.3 2019-10-28 18:29:37 -07:00
Lubomir I. Ivanov
772e2e4e39 kubeadm-validators: bump the latest validated Docker version to 19.03 2019-10-28 22:24:46 +02:00
Matt Matejczyk
686245b876 Fix base image discrepancy when building kubemark.
There are two ways of building kubemark: 1) via Dockerfile and 2) via
bazel.

In CI/CD tests we use the 1) way and use debian:jessie as the base
image.

But if you build kubemark via bazel it will use the discouraged busybox
base image.

This PR fixes that by using debian:jessie everywehre and pinning exact
sha version to make the kubemark image hermetic.
2019-10-24 10:50:10 +02:00
Odin Ugedal
cce1f32ea5
Fix shellcheck failures SC2034 2019-10-23 22:47:46 +02:00
Christoph Blecker
45bc9a77a6
Use --stamp flag in bazel builds 2019-10-18 13:38:55 -07:00
Christoph Blecker
e570e3e88d
Update to use go1.12.12 2019-10-18 10:37:34 -07:00
Kubernetes Prow Robot
57353d5242
Merge pull request #83944 from openSUSE/cri-tools-windows
Add crictl windows binaries to workspace
2019-10-16 09:35:45 -07:00
Kubernetes Prow Robot
cbd0d4ab6e
Merge pull request #83924 from javier-b-perez/release-lib
release: lib: revert docker_registry to constant k8s.gcr.io
2019-10-16 09:35:20 -07:00
Kubernetes Prow Robot
63cf2e260b
Merge pull request #83819 from mrbobbytables/emeritus-jbeda
Move jbeda to emeritus status.
2019-10-15 23:06:20 -07:00
Kubernetes Prow Robot
b08cd34bfe
Merge pull request #83753 from immutableT/configure-kas
Isolate the logic related to the configuration of kube-apiserver into a separate script.
2019-10-15 23:05:48 -07:00
Sascha Grunert
3050dc737b
Add crictl windows binaries to workspace
The windows binaries for as well as the 32bit linux binary was missing
from the workspace, which has been added now.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2019-10-15 14:12:24 +02:00
Javier Pérez Hernández
6df84554fc release: lib: revert docker_registry to constant k8s.gcr.io 2019-10-14 15:51:23 -07:00
Joe Betz
c92bd5e7b5 Upgrade to etcd server 3.3.17 2019-10-13 17:17:15 -07:00
Bob Killen
e65d8bb11f
Move jbeda to emeritus status. 2019-10-11 17:46:18 -04:00
immutablet
b6b55519ca Isolate the logic related to the configuration of kube-apiserver into a separate script. 2019-10-11 11:34:09 -07:00
Davanum Srinivas
138571b23f
Remove hyperkube from release artifacts
Change-Id: Ie09248d6fc688ffffbeb0271824817a5129346a0
2019-10-03 13:33:17 -04:00
Kubernetes Prow Robot
66755bda05
Merge pull request #83139 from cblecker/here-we-go-again
Update to use go1.12.10
2019-09-26 14:40:38 -07:00
Kubernetes Prow Robot
b281315450
Merge pull request #82856 from Random-Liu/update-crictl
Update crictl to v1.16
2019-09-26 14:40:23 -07:00
Christoph Blecker
15bba1feed
Update to use go1.12.10 2019-09-25 17:13:43 -07:00
Lantao Liu
dfd5957713 Update crictl to v1.16.1. 2019-09-25 16:06:39 -07:00
Kubernetes Prow Robot
1bfcfa68a9
Merge pull request #83093 from ixdy/remove-mondo-test-tarball
Stop building the kubernetes-test mondo tarball
2019-09-25 13:52:24 -07:00
Jeff Grafton
967032138f Stop building the kubernetes-test mondo tarball 2019-09-24 10:34:36 -07:00
zouyee
e88b81c1ba fix docker_build_opts bound variable
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-23 17:46:47 +08:00
zouyee
8249e483f4 using echo to print args
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2019-09-23 14:21:07 +08:00
Kubernetes Prow Robot
3a55875465
Merge pull request #81512 from odinuge/preemptible-node-tests
Add support for preemptible instances in node-e2e
2019-09-20 22:55:24 -07:00
Kubernetes Prow Robot
0a8509d121
Merge pull request #82700 from praseodym/add-bazelversion
Add .bazelversion file
2019-09-19 09:17:02 -07:00
Mark Janssen
c9d10d1fef Add .bazelversion file
This will allow developers to use Bazelisk to build Kubernetes with a
known-good Bazel version.
2019-09-19 08:57:12 +02:00
Kubernetes Prow Robot
92107f30ea
Merge pull request #82777 from hongxu-jia/master
fix compiling failure: execvp: /bin/bash: Argument list too long
2019-09-18 22:13:24 -07:00
Hongxu Jia
2ab47f95eb fix compiling failure: execvp: /bin/bash: Argument list too long
Use GNU Make 4.2.1(such as fedora-29) to build k8s in a long directory,
it failed with `execvp: /bin/bash: Argument list too long'
[snip]
$ cd /buildarea1/hjia/wrlinux-1019/I_/suspect_/that_/if_/you_/create_/your_/project_/in_/a_/very_/deep_/directory/build_master-wr_qemux86-64_faw_2019090509/build/tmp-glibc/work/core2-64-wrs-linux/kubernetes/v1.16.0-alpha+git7054e3ead7e1a00ca6ac3ec47ea355b76061a35a-r0/kubernetes-v1.16.0-alpha+git7054e3ead7e1a00ca6ac3ec47ea355b76061a35a/src/import
$ make cross KUBE_BUILD_PLATFORMS=linux/amd64 GOLDFLAGS=""
|+++ [0804 16:38:32] Building go targets for linux/amd64:
|    ./vendor/k8s.io/code-generator/cmd/deepcopy-gen
|make[1]: execvp: /bin/bash: Argument list too long
|make[1]: *** [Makefile.generated_files:184: pkg/kubectl/cmd/testing/zz_generated.deepcopy.go] Error 127
|make: *** [Makefile:557: generated_files] Error 2
...
[snip]

From make manual [1]
$?
  The names of all the prerequisites that are newer than the target, with spaces between them.

While two `$?' was passed to bash in a line, it caused above failure,
drop a duplicated one could workaround the issue.

[1] https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-09-17 14:56:40 +08:00
Han Kang
866ea74326 remove pkg/version and some of redundant copies of it
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Davanum Srinivas
8fbfdf8267
Update default etcd server to 3.3.15 for kubernetes 1.16
Change-Id: I68f1a5e5339d83077a1a9f312c4e6e33848886c5
2019-08-30 21:29:45 -04:00
Kubernetes Prow Robot
235f3ab3d9
Merge pull request #82127 from rajansandeep/bumpto1.6.2
Bump CoreDNS version in Kubeadm to 1.6.2
2019-08-30 09:40:23 -07:00
Kubernetes Prow Robot
7236850194
Merge pull request #82093 from rajansandeep/reconcilecorednscm
Add the ability to migrate CoreDNS configmap in kube-up
2019-08-30 07:59:56 -07:00
Kubernetes Prow Robot
45522ebaca
Merge pull request #82087 from soltysh/cp_back
Move kubectl cp back to k/k
2019-08-30 06:25:58 -07:00
Sandeep Rajan
dce97a142c bump coredns version in kubeadm to 1.6.2 2019-08-29 10:13:05 -04:00
Sandeep Rajan
620b4a0845 update dependencies file 2019-08-29 10:08:29 -04:00
Kubernetes Prow Robot
de4590e949
Merge pull request #81168 from anthonyrisinger/patch-1
Add gen_openapi target to top-level Makefile.
2019-08-29 05:29:55 -07:00
Maciej Szulik
ab1c56ae87
Move kubectl cp back to k/k 2019-08-29 09:00:47 +02:00
Kubernetes Prow Robot
6c9f26ca3a
Merge pull request #80766 from robscott/discovery-api
Adding Discovery API for EndpointSlice
2019-08-28 14:44:09 -07:00
Rob Scott
f80cee9280
Adding discovery/v1alpha1 API for EndpointSlices 2019-08-26 14:50:00 -07:00
hwdef
0fa8d7177f fix typo in build/platforms.bzl 2019-08-26 10:31:21 +08:00
Kubernetes Prow Robot
e1c2c677f1
Merge pull request #78033 from rajansandeep/corednsmigration
Add the ability to migrate CoreDNS configmap in kubeadm
2019-08-20 20:39:16 -07:00
Sandeep Rajan
7980da9f46 bump coredns to 1.5.0 2019-08-20 14:38:23 -04:00
Sandeep Rajan
e617f3769e update build dep 2019-08-20 13:20:18 -04:00
Tim Allclair
7e5a64e011 Vendor staticcheck 2019-08-19 17:16:24 -07:00
Odin Ugedal
e20c2b1f32
Add support for preemptible instances in node-e2e
Preemptible instances are cheaper, and the small chanse of a vm being
killed doesn't matter when running during development. This is a
tradeoff the user should be able to decide on.

More info here:
https://cloud.google.com/compute/docs/instances/preemptible

The default setting is false, so unless setting
PREEMPTIBLE_INSTANCES=true, everything will behave as before.

Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-08-17 13:09:45 +02:00
Kubernetes Prow Robot
ef397e5b36
Merge pull request #79604 from liggitt/crd-v1
promote CRD to v1
2019-08-16 21:44:08 -07:00
Jordan Liggitt
aa05715c0e generated 2019-08-16 13:13:40 -04:00
Benjamin Elder
54c6744f8c update go to 1.12.9 2019-08-15 17:37:06 -07:00
Christoph Blecker
f2a4522be1
Update to go 1.12.8 2019-08-13 20:20:45 -07:00
C Anthony Risinger
dd90405b26
Add gen_openapi target to top-level Makefile.
Could be further expanded with `gen_deepcopy`, `gen_defaulter`, `gen_conversion`, and `gen_bindata` targets, if useful.
2019-08-08 09:36:04 -07:00
Kubernetes Prow Robot
62f1c4065b
Merge pull request #81029 from dims/drop-cloud-controller-manager-from-release-artifacts
Drop cloud-controller-manager artifacts from k/k release
2019-08-08 06:27:31 -07:00
Kubernetes Prow Robot
0fff574fb3
Merge pull request #80461 from jsafrane/debug-prow
Fix symlinks in bazel-release
2019-08-07 20:09:53 -07:00
Jan Safranek
cba7337a5c Update WORKSPACE to fix symlink permissions
Updating to get https://github.com/kubernetes/repo-infra/pull/124
2019-08-07 16:54:08 +02:00
Jan Safranek
2b49ca185e Fix symlinks in bazel-release
kubernetes.tar.gz should contain all symlinks that are in cluster/
subdirectory.
2019-08-07 16:52:04 +02:00
Walter Fender
ebb65c5f4c Get network-proxy working with GCE.
Got the proxy-server coming up in the master.
Added certs and have it comiung up with those certs.
Added a daemonset to run the network-agent.
Adding support for agent running as a sameon set on every node.

Added quick hack to test that proxy server/agent were correctly
tunneling traffic to the kubelet.

Added more WIP for reading network proxy configuration.
Get flags set correctly and fix connection services.
Adding missing ApplyTo
Added ConnectivityService.
Fixed build directives. Added connectivity service configuration.
Fixed log levels.
Fixed minor issues for feature turned off.
Fixed boilerplate and format.
Moved log dialer initialization earlier as per Liggits suggestion.
Fixed a few minor issues in the configuration for GCE.
Fixed scheme allocation
Adding unit test.
Added test for direct connectivity service.

Switching to injecting the Lookup method rather than using a Singleton.
First round of mikedaneses feedback.
Fixed deployment to use yaml and other changes suggested by MikeDanese.

Switched network proxy server/agent which are kebab-case not camelCase.
Picked up DIAL_RSP fix.
Factored in deads2k feedback.
Feedback from mikedanese
Factored in second round of feedback from David.
Fix path in verify.
Factored in anfernee's feedback.
First part of lavalamps feedback.
Factored in more changes from lavalamp and mikedanese.

Renamed network-proxy to konnectivity-server and konnectivity-agent.
Fixed tolerations and config file checking.
Added missing strptr
Finished lavalamps requested rename.
Disambiguating konnectivity service by renaming it egress selector.

Switched feature flag to KUBE_ENABLE_EGRESS_VIA_KONNECTIVITY_SERVICE
2019-08-06 23:09:49 -07:00
Davanum Srinivas
adbd1800c8 Drop cloud-controller-manager artifacts from k/k release 2019-08-06 13:51:27 -04:00
Kubernetes Prow Robot
81f021b7a5
Merge pull request #80876 from seans3/move-kubectl-cmd
Move /pkg/kubectl/cmd/{command} to staging
2019-08-02 02:36:07 -07:00
Kubernetes Prow Robot
c981c65c90
Merge pull request #80231 from liggitt/admissionreview-v1
Promote admissionreview to v1
2019-08-01 17:20:05 -07:00
Jordan Liggitt
308c23cf89 Generated 2019-08-01 17:17:42 -04:00
Sean Sullivan
dc743f7edd Update BUILD files reflecting code move to staging 2019-08-01 13:12:31 -07:00
Jordan Liggitt
93c02e164f Switch to json test output 2019-07-31 17:43:02 -04:00
Kubernetes Prow Robot
8c8c4113f0
Merge pull request #80749 from yastij/split-coredns-dep
split coredns dependency to decouple kubeadm and kube-up
2019-07-31 05:29:13 -07:00
Benjamin Elder
9ed53eb8bf upgrade repo infra to f85734f673056977d8ba04b0386394b684ca2acb 2019-07-30 11:40:09 -07:00
Yassine TIJANI
f3b1b24ef0 split coredns dependency to decouple kubeadm and kube-up
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-30 16:15:58 +02:00
Kubernetes Prow Robot
52bf191b25
Merge pull request #80631 from justaugustus/releng-owners
build: Add Release Engineering OWNERS
2019-07-26 16:52:35 -07:00
Stephen Augustus
081dd8154b build: Add Release Engineering OWNERS
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2019-07-26 09:59:26 -04:00
hui luo
97087c66f7 Allow customize registry name of base and release images
default behavior does not change, it uses k8s.gcr.io by default
added two vars: KUBE_DOCKER_REGISTRY, KUBE_BASE_IMAGE_REGISTRY.
KUBE_BASE_IMAGE_REGISTRY is for base image registry of server binaries
KUBE_DOCKER_REGISTRY is for released images registry

user can interact with them by:
`KUBE_DOCKER_REGISTRY=### KUBE_BASE_IMAGE_REGISTRY=### make quick-release`

Signed-off-by: Hui Luo <luoh@vmware.com>
2019-07-25 17:43:01 -07:00
Kubernetes Prow Robot
3c332a9487
Merge pull request #80125 from sttts/sttts-bazel-openapi-fix
bazel: add openapi generation for non-main spec and fix main spec
2019-07-19 14:25:50 -07:00
Javier Pérez Hernández
b6508bc9e8 build: bazel: release tars should use arch in the name 2019-07-17 13:59:10 -07:00
Javier Pérez Hernández
df60ae1917 release: generate release docker tag with default values 2019-07-16 09:10:00 -07:00
Javier Pérez Hernández
12cf78e2d3 release: accept empty KUBE_DOCKER_IMAGE_TAG 2019-07-15 14:59:39 -07:00
Michael Vorburger
67a0ef373d very minor grammar fix in 10-kubeadm.conf ('generate' instead of 'generates') 2019-07-14 13:48:20 +02:00
Dr. Stefan Schimanski
53a7dcdee9 bazel: add openapi generation for non-main spec and fix main spec 2019-07-13 16:18:32 +02:00
Kubernetes Prow Robot
6cd0392ced
Merge pull request #79843 from sttts/sttts-sample-apiserver-openapi
apiserver: wire OpenAPI into sample-apiserver
2019-07-12 18:57:04 -07:00
Kubernetes Prow Robot
5f54216b08
Merge pull request #80047 from javier-b-perez/docker-name
release lib: docker save remove special name for amd64
2019-07-12 16:47:04 -07:00
Dr. Stefan Schimanski
e920d9bc14 Makefile.generated_files: build code-generator+sample-apiserver OpenAPI schemas 2019-07-12 20:52:21 +02:00
Dr. Stefan Schimanski
1bdcabd638 sample-apiserver: add openapi spec 2019-07-12 20:52:21 +02:00
Kubernetes Prow Robot
824dfe9389
Merge pull request #79966 from tao12345666333/go-1.12.7
Update to go 1.12.7
2019-07-11 20:17:07 -07:00
Kubernetes Prow Robot
3dd8add5d2
Merge pull request #79549 from liggitt/admission-webhooks-v1
Promote admission webhook API to v1
2019-07-11 17:01:34 -07:00
Jintao Zhang
dfa46f8d47 Update to go 1.12.7
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-07-12 07:16:25 +08:00
Javier Pérez Hernández
bfecc725e8 release lib: docker save remove special name for amd64 2019-07-11 10:58:32 -07:00
Kubernetes Prow Robot
f2093cc383
Merge pull request #79366 from yastij/dep-path-update-yaml
reference paths to bump dependencies
2019-07-10 18:49:06 -07:00
Kubernetes Prow Robot
d74ec66be4
Merge pull request #79947 from BenTheElder/bentheelder-builds
promote bentheelder to build/ approver, move zmerlynn and jbeda to emeritus
2019-07-10 16:24:53 -07:00
Jordan Liggitt
b15aed6409 Generated 2019-07-10 17:38:09 -04:00
Benjamin Elder
357bebc987 move jbeda to emeritus 2019-07-10 12:51:29 -07:00
Benjamin Elder
5abbf34e84 move zmerlynn to emeritus 2019-07-10 11:35:34 -07:00
Yassine TIJANI
4bed9b7046 reference paths to update to bump dependencies
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-07-10 20:11:40 +02:00
Kubernetes Prow Robot
886af6aa26
Merge pull request #79807 from dims/force-python2-for-bazel-release
build_defs/pkg/make_deb.py needs python2
2019-07-09 20:20:50 -07:00
Benjamin Elder
b396449e2d promote bentheelder to build/ approver 2019-07-09 13:57:31 -07:00
Davanum Srinivas
3b949f2a43
Add comments as to why we force python2 2019-07-09 16:33:46 -04:00
Javier B Perez
6afd8931b2
kube-cross makefile add REGISTRY
REGISTRY is the docker registry where to push the image.
2019-07-08 17:41:13 -07:00
Davanum Srinivas
c7137aeda6
build_defs/pkg/make_deb.py needs python2
Force us to use python2 especially for scenarios where both python2 and
3 are both installed as `make bazel-release` fails currently.

Change-Id: I70bc45909ca87e5cf7ccdbddf60740a8a3e7e58b
2019-07-04 12:22:04 -04:00
Kubernetes Prow Robot
e79dcc2174
Merge pull request #79284 from johnSchnake/conformanceGoRunner
Adds an optional golang runner to the conformance test image
2019-07-02 15:41:11 -07:00
Javier Pérez Hernández
5e93584633 release lib: save release docker tag in tarfile 2019-07-02 10:58:15 -07:00
John Schnake
b3f5a086ab Adds an optional golang runner to the conformance test image
Adds a go app which runs the e2e tests with ginkgo.

 - Supports all the existing env vars of the bash script
 - Improved flow control to avoid and better report issues
regarding the process PID
 - Adds flags for modifying where to find the test binary and
ginkgo binary so that you can run it locally
 - Adds 3 flags for specifying extra args before the double-dash,
extra args after the double-dash, and the seperator to use between
values in those env vars. This allows setting arbitrary, complex
values for use on the command such as flags which include spaces
or other characters.
2019-07-01 16:26:13 -05:00
Jordan Liggitt
cf3e75de70 Remove internal object printing from kubectl 2019-06-28 10:54:50 -07:00
Davanum Srinivas
df3f9f1047
updating github.com/go-bindata/go-bindata to v3.1.1
Change-Id: I66c047a4e5e72632042f43a9f4b33ab9f5bf7ef1
2019-06-20 11:30:30 -04:00
Kubernetes Prow Robot
bd35a48815
Merge pull request #78958 from tao12345666333/go-1.12.6
Update to go 1.12.6
2019-06-19 18:37:00 -07:00
Michael Vorburger ⛑️
2f2de85740
link scripts in build/README.md
This makes it easier to click through and learn what these do, for someone getting started browsing this developer doc.
2019-06-14 13:43:52 +02:00
Jintao Zhang
37f091eadf update to go 1.12.6
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-06-13 10:49:57 +08:00
Kubernetes Prow Robot
d1e828f8df
Merge pull request #78667 from dims/ensure-src-tar-has-kubernetes-prefix
Ensure kubernetes-src.tgz has kubernetes/ prefix
2019-06-04 09:04:06 -07:00
Davanum Srinivas
263dda1f08
Ensure kubernetes-src.tgz has kubernetes/ prefix
There's a difference between the kubernetes-src.tgz build from
`make bazel-release` and `make quick-release`. The quick-release does
not have a `kubernetes/` prefix and hence essentiall tarbomb(s) the
directory when someone tries to untar it.

Change-Id: I8e87639d85dd01aec534b58f1d5740bd48ac922f
2019-06-03 18:11:08 -04:00
Erick Fejta
747545c14b Create tars locally 2019-05-28 10:55:08 -07:00
Erick Fejta
bf09f4ba4f Update bazel-toolschains for bazel <= 0.25.1 rbe support 2019-05-14 13:22:41 -07:00
Kubernetes Prow Robot
bb8204ef79
Merge pull request #77596 from YoubingLi/bugfix
Fixes 77527 - The usage about build unstripped binaries
2019-05-13 10:26:14 -07:00
Youbing Li
359d0e31ea Fixes 77527 - Update Makefile about the usage of building unstripped binaries 2019-05-08 22:51:11 -04:00
Christoph Blecker
31ffa88a14
Update to go 1.12.5 2019-05-08 15:43:01 -07:00
Erick Fejta
26e096a4cd Swap in fejta, out ixdy in build/OWNERS 2019-04-29 22:42:45 -07:00
Erick Fejta
ffaaa90cc6 Add --config=ci for bazel 2019-04-29 14:03:37 -07:00
Erick Fejta
1ae0d95ff6 Use gcr.io/k8s-testimages/bazel-krte during remote execution 2019-04-27 22:15:20 -07:00
Erick Fejta
35683d7342 Use suggested canonical form 2019-04-26 17:27:34 -07:00
Kubernetes Prow Robot
ffd5d1a2c0
Merge pull request #75997 from grayluck/iptables-cve
Bump debian-iptables versions to v11.0.2.
2019-04-25 16:10:39 -07:00
Erick Fejta
f33e903885 Run in privileged remote containers 2019-04-24 21:07:52 -07:00
Kubernetes Prow Robot
137aa9f1b2
Merge pull request #76815 from fejta/bzl
Add --config=remote and --config=remote-cache modes for bazel
2019-04-23 07:52:39 -07:00
Erick Fejta
8f1d45f750 Add --config=remote and --config=remote-cache modes for bazel 2019-04-19 06:50:40 +00:00
Christoph Blecker
759121309f
Update to go 1.12.4 2019-04-14 21:01:00 -07:00
Davanum Srinivas
437a7333e3
remove unnecessary vendoring of cmd/cfssl
During dc9def6f93, which was a revert for
7a10073e4a we forgot to remove the extra
thing we started vendoring. So let's drop the cmd/cfssl

Change-Id: I308dc41cdb9b990f2b4ab8d59ad0445d5ac02e8c
2019-04-12 14:10:05 -04:00
Pengfei Ni
1406e2b70f Update cri-tools to v1.14.0 2019-04-08 10:59:18 +08:00
Kubernetes Prow Robot
0c32c22b2e
Merge pull request #75546 from fabriziopandini/e2e-kubeadm-first-class
Implement make test-e2e-kubeadm
2019-04-05 04:59:19 -07:00
Kubernetes Prow Robot
ef5094c391
Merge pull request #75891 from tallclair/debian-owners
Update debian base image OWNERS
2019-04-04 21:07:17 -07:00
yankaiz
5549a330c2 Bump debian-iptables versions to v11.0.2. 2019-04-04 16:46:37 -07:00
Tim Allclair
10d8d2f974 Update debian base image OWNERS 2019-04-04 15:54:37 -07:00
Jordan Liggitt
2ea3cbdcbc Update hack scripts to use go mod 2019-04-03 10:19:39 -04:00
Jordan Liggitt
8ead4b059f Add kubernetes/kubernetes tools.go imports 2019-04-03 09:15:39 -04:00
Michelle Au
d2aa8178f2 Remove alpha CRD install 2019-04-02 10:59:11 -07:00
Kubernetes Prow Robot
4db3fccd6f
Merge pull request #75845 from grayluck/iptables-cve
Bump debian-iptables for security fixes
2019-04-01 13:19:22 -07:00
Jeff Grafton
3fed7760f8 bazel: update repo-infra dependency to fix bazel 0.24+ (requires 0.23+) 2019-03-29 14:23:38 -07:00
yankaiz
36a94bd464 Bump debian-iptables for security fixes 2019-03-28 13:27:31 -07:00
fabriziopandini
2cb2a979d4 e2e-kubeadm-first-class 2019-03-28 16:29:56 +01:00
Javier Pérez Hernández
d554690110 Bump debian-base images version to v1.0.0
Change-Id: I6b924f0102f3c8490c6f71efb471ebe08827d712
2019-03-25 12:10:14 -07:00
Kubernetes Prow Robot
aedafe7435
Merge pull request #75325 from SataQiu/fix-makefile-20190313
Fix a minor bug for `make update`
2019-03-20 09:53:50 -07:00
Kubernetes Prow Robot
bcbf1bcfa9
Merge pull request #75422 from dims/move-to-golang-1.12.1-official-image
Move to golang 1.12.1 official image
2019-03-18 17:54:20 -07:00
Dan Williams
bfd8ad3268 build/gci: bump CNI version to 0.7.5 2019-03-18 17:16:42 -05:00
Jordan Liggitt
52bb829b20 Bump kube-cross image to 1.12.1-2 2019-03-18 15:51:19 -04:00
Davanum Srinivas
da16e413c1
Move to golang 1.12.1 official image
We used 1.12.0 + hack to download 1.12.1 binaries as we were in a rush
on friday since the images were not published at that time. Let's remove
the hack now and republish the kube-cross image

Change-Id: I3ffff3283b6ca755320adfca3c8f4a36dc1c2b9e
2019-03-16 07:36:24 -04:00
Benjamin Elder
dbae27393f update bazel to go 1.12.1 2019-03-15 10:58:11 -07:00
Benjamin Elder
1bee729248 update kube-cross version 2019-03-15 10:53:39 -07:00
Benjamin Elder
e4d447deed install go1.12.1 in the cross image 2019-03-15 10:48:26 -07:00
SataQiu
e0c8cc172d fix a minor bug for update 2019-03-13 17:27:37 +08:00
Kubernetes Prow Robot
8fd6342684
Merge pull request #74799 from lubinsz/pr_bazel
Add bazel-test-integration support for Arm64
2019-03-12 23:53:31 -07:00
Bin Lu
973a3c7233 Add bazel-test-integration for Arm64
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-03-08 14:01:15 +08:00
Tim Allclair
820a1dc96b Add node.k8s.io/v1beta1 API 2019-03-07 11:57:12 -08:00
Tim Allclair
63f61a6714 Migrate RuntimeClass to internal API 2019-03-07 11:07:54 -08:00
Kubernetes Prow Robot
18cc11566f
Merge pull request #75038 from soltysh/makefile_update
Add examples how to run make test-cmd specific tests
2019-03-07 08:40:59 -08:00
Kubernetes Prow Robot
0b48018a39
Merge pull request #71192 from roycaihw/crd-publish-openapi
Publish CRD openapi
2019-03-07 03:54:58 -08:00
Maciej Szulik
a3fe72b9a8
Add examples how to run make test-cmd specific tests 2019-03-07 10:05:20 +01:00
Kubernetes Prow Robot
bd8eeaaaaf
Merge pull request #74468 from ixdy/bazel-cgo-crossbuild
bazel: improve multi-arch support for docker image artifacts
2019-03-06 20:35:11 -08:00
Jeff Grafton
a259fd2f69 bazel maintain support for arch-less-named tarballs 2019-03-06 12:56:10 -08:00
Jeff Grafton
8495f7c9ed bazel: add docker_push rules 2019-03-06 12:35:33 -08:00
Jeff Grafton
5b7602a525 bazel: refactor core docker images to use multi_arch_container 2019-03-06 11:54:49 -08:00
Jeff Grafton
d7c2c2a606 bazel: refactor multi-arch container builds into starlark 2019-03-06 11:40:33 -08:00
Kubernetes Prow Robot
9f7560de70
Merge pull request #74153 from ixdy/bazel-kubernetes-src-tarball-new
bazel: make kubernetes-src.tar.gz actually include all srcs
2019-03-05 21:42:00 -08:00
Haowei Cai
301928e1a2 Makefile.generated_files: generate apiextension-apiserver openapi definition 2019-03-05 08:11:33 -08:00
Jeff Grafton
e7888f2cf0 bazel: add a small TODO comment 2019-03-03 21:09:23 -08:00
Jeff Grafton
84a5a176a5 bazel: add target for multi-arch docker tags on server images
These aren't used in the images saved in the release tars, but could be
used for images that are pushed to gcr.io.
2019-03-03 21:09:23 -08:00
Kubernetes Prow Robot
36e934d0a9
Merge pull request #74632 from cblecker/go-1.12
Update to use golang 1.12
2019-03-01 03:47:06 -08:00
Christoph Blecker
f1d2fee259
Upgrade to go1.12.0 2019-02-28 14:10:08 -08:00
Michael Taufen
98edbf41bc upload Windows startup scripts to GCS for CI 2019-02-25 16:44:57 -08:00
Jeff Grafton
cbea3c3108 Always build the full kubernetes-src tarball 2019-02-25 15:33:53 -08:00
Jeff Grafton
e2ebf254ea Create vendor->staging symlinks in kubernetes-src.tar.gz 2019-02-25 15:33:53 -08:00
Jeff Grafton
a92c26d843 bazel: create genrules to produce debs and RPMs without arch-specific names 2019-02-23 15:44:34 -08:00
Kubernetes Prow Robot
0133d14170
Merge pull request #72939 from runyontr/test-cmd-what
Test cmd what
2019-02-23 02:54:36 -08:00
Jeff Grafton
4485b5c649 Add lots of comments 2019-02-22 18:50:21 -08:00
Jeff Grafton
0cd986d364 Add config modes to .bazelrc for crossbuilding 2019-02-22 18:50:21 -08:00
Jeff Grafton
6a12517493 Use for_platforms with //:_binary-artifacts-and-hashes 2019-02-22 18:50:21 -08:00
Jeff Grafton
02987016cc Mark lots of things with tag 'manual' 2019-02-22 18:50:21 -08:00
Jeff Grafton
4b50d9352f Make release-tars multiplatform 2019-02-22 18:50:21 -08:00
Jeff Grafton
bc316e3dc1 Add auto-defined ALL_PLATFORMS field and support for dicts in for_platforms 2019-02-22 18:50:21 -08:00
Jeff Grafton
dfdfc2e5b8 Make debs, rpms, and docker images multiarch 2019-02-22 18:50:18 -08:00
Jeff Grafton
7a938eb541 Create work-around wrappers for pure attribute on go_binary and go_test
This enables cgo when cross-compiling certain tests and binaries to
Linux, while disabling cgo for Windows and Darwin.
2019-02-22 18:08:34 -08:00
Jeff Grafton
52aab6ffef Refactor CNI, CRI, and image dependencies into workspace.bzl 2019-02-22 18:08:34 -08:00
Jeff Grafton
6bce28c0bc Update repo-infra dependency 2019-02-22 18:08:34 -08:00
Thomas Runyon
a502b96326 changed cleanup function name to not overwrite actualy cleanup() function 2019-02-22 21:01:54 -05:00
Kubernetes Prow Robot
fd7acc3275
Merge pull request #74065 from ixdy/break-up-test-tarball
break up the test tarball
2019-02-22 17:58:23 -08:00
Kubernetes Prow Robot
3afa003126
Merge pull request #73555 from bsalamat/priority_to_ga
Graduate PriorityClass API to GA
2019-02-22 16:14:49 -08:00
Bobby (Babak) Salamat
1dac6d03e3 generated files 2019-02-22 10:51:15 -08:00
Jeff Grafton
c5c0e422ae add comments to explain fancy bash expressions 2019-02-21 13:17:58 -08:00
Jeff Grafton
3469579a63 bazel: create split test tarballs 2019-02-21 13:17:55 -08:00
Jeff Grafton
640a879e0b bash build system: create split test tarballs 2019-02-21 13:17:25 -08:00
Thomas Runyon
f97170ea38 Merge remote-tracking branch 'upstream/master' into test-cmd-what 2019-02-21 11:35:23 -05:00
Jordan Liggitt
f139218ac0 generated files 2019-02-20 23:32:46 -05:00
Jeff Grafton
e216995ef1 Update repo-infra, bazel-skylib, rules_docker, and rules_go dependencies
Also require bazel 0.18.0+
2019-02-12 17:55:10 -08:00
Kubernetes Prow Robot
66149bd61d
Merge pull request #73033 from Liujingfang1/kustomizeSubcommand
add kustomize as a subcommand in kubectl
2019-02-12 15:10:36 -08:00
Jingfang Liu
8d6ab20753 add kustomize as a subcommand in kubectl 2019-02-11 16:43:57 -08:00
Kubernetes Prow Robot
b50c643be0
Merge pull request #73540 from rlenferink/patch-5
Updated OWNERS files to include link to docs
2019-02-08 09:05:56 -08:00
Kubernetes Prow Robot
a7966022d7
Merge pull request #73714 from tallclair/debian-base
Bump debian-* base image versions to latest
2019-02-07 19:44:44 -08:00
Benjamin Elder
bccf95b10c add bentheelder to reviewers 2019-02-06 16:26:51 -08:00
Roy Lenferink
b43c04452f Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
Tim Allclair
1b9d0c1094 Bump debian-* base image versions to latest 2019-02-04 11:58:51 -08:00
Thomas Runyon
31aac97a85 Merge remote-tracking branch 'upstream/master' into test-cmd-what 2019-02-01 11:40:18 -05:00
Tim Allclair
861cdd82b5 Bump debian-* base images for security fixes 2019-01-29 13:44:42 -08:00
Thomas Runyon
aeb92ee754 Source hack/lib/init.sh for running make test-cmd 2019-01-29 13:10:55 -05:00
Kubernetes Prow Robot
8e69630881
Merge pull request #71821 from MikeSpreitzer/fix-conversion-gen-doc
Update doc for k8s.io/code-generator/cmd/conversion-gen
2019-01-29 08:12:13 -08:00
Kubernetes Prow Robot
34425974c8
Merge pull request #73117 from war-turtle/fixShellCheck
Fixes shellcheck warning in build/common.sh
2019-01-29 06:57:28 -08:00
Mike Spreitzer
4982cbb2d8 Update doc for k8s.io/code-generator/cmd/conversion-gen
Added explanation of the `k8s:conversion-gen-external-types` comment
tag.

Added explanation of how the developer can selectively override the
generated conversion functions.

Also updated description in Makefile.generated_files.
2019-01-28 13:46:25 -05:00
war-turtle
b1b7d0dbae fixing shellcheck warning in build/common.sh 2019-01-26 19:21:17 +05:30
Thomas Runyon
1a821ff5cf Merge remote-tracking branch 'upstream/master' into test-cmd-what
Conflicts:
	test/cmd/legacy-script.sh
2019-01-26 07:40:33 -05:00
Jeff Grafton
e273db831c Update to go1.11.5 2019-01-25 11:38:58 -08:00
Jordan Liggitt
1a15d80967 generated 2019-01-23 16:34:44 -05:00
Benjamin Elder
b716edb284 make build/copy-output.sh pass shellcheck 2019-01-16 00:39:13 -08:00
Benjamin Elder
f41efc3ea8 make build/util.sh pass shellcheck 2019-01-16 00:37:13 -08:00
Benjamin Elder
b5767bcf89 make build/make-build-image.sh pass shellcheck 2019-01-16 00:34:36 -08:00
Benjamin Elder
742504db39 make build/make-clean.sh pass shellcheck 2019-01-16 00:33:28 -08:00
Benjamin Elder
2d6ead8c7d make build/package-tarballs.sh pass shellcheck 2019-01-16 00:32:28 -08:00
Benjamin Elder
eba69c5267 make build/release-in-a-container.sh pass shellcheck 2019-01-16 00:31:15 -08:00
Benjamin Elder
4aa7126ee1 make build/release-images.sh pass shellcheck 2019-01-16 00:29:09 -08:00
Benjamin Elder
caf9d94d69 make build/release.sh pass shellcheck 2019-01-16 00:27:43 -08:00
Benjamin Elder
b99045333e make build/run.sh pass shellcheck 2019-01-16 00:25:52 -08:00
Benjamin Elder
621b78b3f6 make build/shell.sh pass shellcheck 2019-01-16 00:24:27 -08:00
Benjamin Elder
b64df60dca make build/build-image/rsyncd.sh pass shellcheck 2019-01-16 00:22:25 -08:00
Thomas Runyon
163844cb13 Added ability to execute subsets of cli tests 2019-01-15 16:20:50 -05:00
Jordan Liggitt
ef4983fb52 Update generated files 2019-01-15 13:33:06 -05:00
Jeff Grafton
e34a0619ea Only build tests with bazel test --config=unit 2019-01-08 14:47:32 -08:00
Jeff Grafton
3fd6f97f55 bazel: update openapi-gen to use new kazel-generated dictionaries 2019-01-08 14:47:32 -08:00
Jeff Grafton
06d5c50eb2 Update to latest kazel and update generated files
Also switch from github.com/kubernetes/repo-infra to k8s.io/repo-infra.
2019-01-08 14:47:26 -08:00
Jeff Grafton
4503d573d3 Use new codegen config options in kazel and fix boilerplate check for generated bzl 2019-01-08 14:40:56 -08:00
Jeff Grafton
7397a6278b Update to go1.11.4 2018-12-15 12:25:05 -08:00
Eli Uriegas
d443402f35 bump golang to 1.11.3 (CVE-2018-16875)
Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
2018-12-14 18:27:21 +00:00
Kubernetes Prow Robot
e689d515f7
Merge pull request #71634 from ereslibre/allow-to-build-images-offline
Allow to build docker images offline (do not always use `docker build --pull`)
2018-12-05 01:18:05 -08:00
Kubernetes Prow Robot
07faaeff6d
Merge pull request #71686 from BenTheElder/cni-version
add CNI_VERSION to build/workspace.bzl, use it to dedupe version
2018-12-04 16:03:09 -08:00
Kubernetes Prow Robot
a9b69dc381
Merge pull request #71615 from jpbetz/etcd-3.3.10-0-image
Update default etcd server to 3.3.10 for kubernetes 1.14
2018-12-04 02:54:34 -08:00
Benjamin Elder
4cd93dada4 add CNI_VERSION to build/workspace.bzl, use it to dedupe version 2018-12-03 20:19:47 -08:00
Rafael Fernández López
68e6fa0f8d
Allow to build docker images offline (do not always use docker build --pull)
Passing `KUBE_BUILD_PULL_LATEST_IMAGES=n` will disable building the artifacts
with `--pull`, so they can be built in an offline environment.

By default, `KUBE_BUILD_PULL_LATEST_IMAGES` is `y`, so the default behavior
is kept unchanged.
2018-12-03 20:34:22 +01:00
Joe Betz
862b945e5a Update default etcd server to 3.3.10 for kubernetes 1.13 2018-12-03 11:03:49 -08:00
Duffie Cooley
8e08cbc3c4
Bump the version of kubernetes-cni to 0.6.0
This will resolve the kubernetes-anywhere e2e test.
In commit: https://github.com/kubernetes/kubernetes/pull/71540
I bumped the required version of kubernetes-cni to 0.6.0 but didn't
start packaging it. This resolve that.

Signed-off-by: Duffie Cooley <dcooley@heptio.com>
2018-11-30 23:20:19 -08:00
Duffie Cooley
2d7b386193
Add conntrack as a dependency of kubelet
FIXES: https://github.com/kubernetes/kubeadm/issues/1287

- This commit integrates the work of @jdetiber to fix bazel build
//build/rpms and also addresses an issue where not all common versions
of rpmbuild have the %{_sysctldir} macro.

- Since that macro points to /usr/lib/sysctl.d this commit just points
directly to that dir.

- This also adds conntrack as a dependency of kubelet for both rpm and
deb builds.

Signed-off-by: Duffie Cooley <dcooley@heptio.com>
2018-11-29 10:08:07 -08:00
Jason DeTiberus
3ee10e9ceb
Fix bazel //build/rpms
- Also update the kubernetes-cni requirement for both debs and rpms
  to match release packaging.
2018-11-28 16:51:59 -08:00
k8s-ci-robot
3bf41a210b
Merge pull request #69820 from ixdy/fork-multiarch-register
Use a forked copy of multiarch/qemu-user-static scripts instead of a privileged container
2018-11-07 19:10:15 -08:00
k8s-ci-robot
c2aa35866c
Merge pull request #70665 from cblecker/go-1.11.2
Update to use go1.11.2
2018-11-06 04:54:17 -08:00
Jeff Grafton
3778646d34 Update to rules_go 0.16.2 2018-11-05 15:35:31 -08:00
Christoph Blecker
b71e74626e
Bump golang version to 1.11.2 2018-11-03 14:10:45 -07:00
Haowei Cai
dcc062d812 Add UPDATE_API_KNOWN_VIOLATIONS=true to Makefile.generated_files
One can run:
    make generated_files UPDATE_API_KNOWN_VIOLATIONS=true
to update the checked-in known API violation exceptions list.

Also updated README and the error message on how to resolve the
failure.
2018-11-01 17:43:16 -07:00
k8s-ci-robot
f29d646210
Merge pull request #70385 from ixdy/bazel-starlark-repo-rules
bazel: use starlark implementations of http_archive and http_file
2018-10-29 18:53:13 -07:00
k8s-ci-robot
c1f1cf168d
Merge pull request #70383 from ixdy/update-repo-infra
bazel: bump repo-infra dependency
2018-10-29 18:53:04 -07:00
k8s-ci-robot
f698f0fe17
Merge pull request #70245 from ixdy/debian-base-instead-of-busybox
Use debian-base instead of busybox as base image for server images
2018-10-29 15:54:20 -07:00