Tim Hockin
e671fea954
Remove hack/tools/Makefile
2022-02-26 12:57:10 -08:00
Aditi Sharma
2e7b7832f8
Detect CNI installtion in local-up-cluster.sh
...
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2022-02-23 21:35:58 +05:30
Kubernetes Prow Robot
d5c26190ac
Merge pull request #108160 from adisky/fix-pull-node-e2e
...
[Fix pull-local-node-e2e] Install CNI and Enable containerd for kubekins docker
2022-02-22 04:35:47 -08:00
Aditi Sharma
98b19dc2e8
Add support to install cni and enable cri
...
to run pull-kubernetes-local-e2e on containerd
we need to install cni and enable cri for docker
installed in kubekins image
2022-02-22 09:22:19 +05:30
Kubernetes Prow Robot
ffd6482eed
Merge pull request #106630 from howardjohn/protogen/full-package-name
...
go-to-protobuf: use full path for go_package
2022-02-18 10:20:23 -08:00
Kubernetes Prow Robot
a47c65929a
Merge pull request #107810 from zlabjp/levee-v1-secret
...
Add v1.Secret to go-flow-levee analysis targets
2022-02-15 14:19:18 -08:00
Eddie Zaneski
040d575e9f
Update sig-cli OWNERS
...
Signed-off-by: Eddie Zaneski <eddiezane@gmail.com>
2022-02-14 10:55:35 -07:00
Kubernetes Prow Robot
21c0f6f6ff
Merge pull request #107677 from pohly/scheduler-integration-benchmark
...
scheduler integration benchmark improvements
2022-02-14 01:23:28 -08:00
Kubernetes Prow Robot
a07241e3e0
Merge pull request #107737 from gnufied/enable-node-restriction-default
...
Enable node restriction plugin by default for local clusters
2022-02-11 12:57:59 -08:00
Jordan Liggitt
bd405cd8b0
Add check for unused API compatibility fixture files
2022-02-10 17:40:25 -05:00
Kubernetes Prow Robot
a3207872a3
Merge pull request #107481 from shu-mutou/deprecate-dashboard-addon
...
Remove dashboard cluster addon
2022-02-10 05:35:48 -08:00
Davanum Srinivas
45f30d8a10
use zip instead of git-archive
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-02-07 19:02:03 -05:00
Patrick Ohly
535d885c29
test: fix info message for etcd startup
...
The output redirection in the info message did not match the actual
invocation (stdout and stderr swapped).
2022-02-07 08:59:19 +01:00
Patrick Ohly
259a8ad0b7
test: allow controlling etcd log level
...
When running an integration test that measures performance, like for example
test/integration/scheduler_perf, running etcd with debug level output is
undesirable because it creates additional load on the system and isn't
realistic.
The default is still "debug", but ETCD_LOGLEVEL=warn can be used to override
that.
2022-02-07 08:59:19 +01:00
Kubernetes Prow Robot
7f9fb6eaf0
Merge pull request #107877 from endocrimes/dani/default-no-docker
...
make test-e2e-node: default to containerd
2022-02-06 15:32:52 -08:00
John Howard
38478f7137
Regenerate CRI protos
2022-02-04 16:13:29 -08:00
Mike Spreitzer
3e44d95857
Fixed typo in hack/serve-prom-scrapes.sh
2022-02-04 01:33:06 -05:00
Kubernetes Prow Robot
a5e70054bd
Merge pull request #107162 from ardaguclu/invalidate-cache-after-delete
...
Add manually invalidate cache documentation into delete
2022-02-02 23:51:45 -08:00
Kubernetes Prow Robot
d4b49be81a
Merge pull request #105300 from nckturner/ccm-flags
...
Allow cloud controller manager flags to be set in ./hack/local-up-cluster.sh
2022-02-01 23:02:21 -08:00
Danielle Lancashire
9e5fac5bb2
make: test-e2e-node: default to containerd
...
Since removing dockershim, `make test-e2e-node` will fail by default as
there is no provided container runtime endpoint.
This commit defaults us to using containerd's default socket path as the
local test target, rather than failing hard.
2022-02-01 16:36:06 +01:00
Kubernetes Prow Robot
6dd234d85c
Merge pull request #107386 from ZeusPerez/fix-kubetest-errors-when-executing-local-provider
...
Fix kubetest errors when executing local provider
2022-01-31 19:56:17 -08:00
Nick Turner
5adc316c13
Allow cloud controller manager flags to be set
2022-01-31 05:00:38 +00:00
Takashi Kusumi
3b9aeb0267
Add v1.Secret to go-flow-levee analysis targets
2022-01-27 11:59:35 +09:00
Kubernetes Prow Robot
dbb5e3fe86
Merge pull request #107663 from hakman/remove_container-runtime_test_scripts
...
Clean up logic for deprecated flag --container-runtime in scripts
2022-01-25 22:30:25 -08:00
Arda Güçlü
43d8b3459b
Add manually invalidate cache documentation into delete
...
When CRDs are deleted, discovery local cache is not invalidated.
This brings about `resource not found` error when new CRD with same name is created
with different fields(ie. changing scope from cluster-wide to namespaced).
Because this already deleted CRD still stays in serverresources.json and kubectl tries to use it.
This local cached files have 10 minutes TTL. After deletion, if user waits 10 minutes,
files will be expired and deleted and there will be no errors. However, 10 minutes is a long time
and cache needs to be invalidated after deletion occurs.
This PR adds a document into delete command by noting that there might be a need to invalidate discovery
cache when CRD is deleted. In addition to that this PR adds a test to catch this behavior.
2022-01-26 09:01:46 +03:00
Kubernetes Prow Robot
38e9a29620
Merge pull request #106932 from SergeyKanzhelev/removeDynamicKubeletConfig
...
Remove dynamic kubelet config
2022-01-25 19:20:25 -08:00
Davanum Srinivas
74569840f7
pull-kubernetes-update ci job needs etcd installed
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-01-24 16:41:52 -05:00
Hemant Kumar
86fdba352d
Always enable node restriction plugin by default
2022-01-24 16:08:36 -05:00
Davanum Srinivas
59f92a41f6
Add a script to help with running make update using docker
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-01-24 11:21:01 -05:00
ZeusPerez
ddec2a9125
Apply changes requested in the pull-kubernetes-verify failed check
2022-01-20 17:25:52 +01:00
Ciprian Hacman
d01e9cedb1
Clean up logic for deprecated flag --container-runtime in scripts
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-20 11:19:08 +02:00
Sergey Kanzhelev
7e7bc6d53b
remove DynamicKubeletConfig logic from kubelet
2022-01-19 22:38:04 +00:00
Kubernetes Prow Robot
feb758027c
Merge pull request #106907 from cyclinder/remove_dockershim_flags
...
Clean up dockershim flags in the kubelet
2022-01-18 09:09:09 -08:00
Kubernetes Prow Robot
824145d31b
Merge pull request #107516 from MikeSpreitzer/fix-test-integration
...
Make KUBE_TEST_ARGS come last, so that -args can be used
2022-01-18 07:11:09 -08:00
Shu Muto
e86ca57669
Remove dashboard from local-up-cluster.sh
2022-01-18 14:45:57 +09:00
cyclinder
07999dac70
Clean up dockershim flags in the kubelet
...
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-14 16:02:50 +02:00
Kubernetes Prow Robot
3bd422dc76
Merge pull request #107293 from dims/jan-1-owners-cleanup
...
Cleanup OWNERS files - Jan 2021 Week 1
2022-01-13 10:30:30 -08:00
Mike Spreitzer
e3fa01ff22
Make KUBE_TEST_ARGS come last, so that --args can be used
2022-01-13 00:13:59 -05:00
Kubernetes Prow Robot
935052185c
Merge pull request #107450 from atiratree/local-up-cleanup
...
remove iptables cleanup from local-up-cluster.sh
2022-01-11 21:52:36 -08:00
Kubernetes Prow Robot
8f453c9d79
Merge pull request #107044 from pohly/cli-invalid-command
...
cli: avoid logging command line errors in more cases
2022-01-11 09:46:37 -08:00
Filip Křepinský
1bc56fc71e
remove iptables cleanup from local-up-cluster.sh
...
- remove root warning
2022-01-11 14:15:31 +01:00
Patrick Ohly
798bdab3d0
kubectl: add integration test for result reporting
...
This currently covers two cases:
- "kubectl list" (the regression from https://github.com/kubernetes/kubernetes/issues/107012 )
- "kubectl get pods/no-such-pod" (no particular reason except that the output
should be deterministic)
In contrast to some other tests that check for strings inside the
output (run_deprecated_api_tests) or compare after
sorting (run_kubectl_version_tests), stdout, stderr and the return code must
match exactly.
This ensures that there is no extra, unexpected output and that the right
output stream is used.
2022-01-11 09:04:56 +01:00
Davanum Srinivas
9682b7248f
OWNERS cleanup - Jan 2021 Week 1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-01-10 08:14:29 -05:00
ZeusPerez
5d52b4ef9a
Add PATH when looking for executable locations
2022-01-06 19:03:47 +01:00
Kubernetes Prow Robot
47ff335d4c
Merge pull request #106975 from SergeyKanzhelev/openspecapiscriptsupportfilesremoval
...
support removal of files by the ./hack/update-openapi-spec.sh
2022-01-06 06:45:13 -08:00
Paco Xu
22705c2420
Delete .staticcheck_failures
2022-01-05 15:45:56 +08:00
Kubernetes Prow Robot
abfbbe4dda
Merge pull request #107119 from hakman/remove_dockerless
...
Remove dockerless build tag and DockerLegacyService interface
2022-01-04 11:27:21 -08:00
Aditi Sharma
e3b92ad551
Remove docker as container runtime for local-up
...
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2021-12-21 11:37:43 +05:30
Ciprian Hacman
6cdb1c225d
Clean up dockerless build tag
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2021-12-18 12:18:25 +02:00
Sergey Kanzhelev
0d79a5f20c
support removal of files by the ./hack/update-openapi-spec.sh
2021-12-16 18:47:56 +00:00
Davanum Srinivas
497e9c1971
Cleanup OWNERS files (No Activity in the last year)
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-15 10:34:02 -05:00
Kubernetes Prow Robot
1d66302c42
Merge pull request #106458 from dims/lint-yaml-in-owners-files
...
Lint/Beautify yaml in OWNERS files
2021-12-10 06:39:12 -08:00
Kubernetes Prow Robot
15e5f2a19a
Merge pull request #106291 from sbs2001/fix_invalid_comment
...
Remove invalid comment in legacyregistry
2021-12-09 19:03:10 -08:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:26 -05:00
Davanum Srinivas
a5c670102c
Cleanup owners files to make parsing automatable
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:03 -05:00
Kubernetes Prow Robot
1d44a54505
Merge pull request #106559 from thockin/kfind-no-testdata
...
testdata dirs are not useful go code
2021-12-07 22:07:45 -08:00
Jordan Liggitt
f30c5738ea
Unversion and normalize openapi v3 fixtures
2021-11-24 10:03:36 -05:00
Jonathan Lebon
3ebd93cd02
test-e2e-node: support pure SSH mode
...
Right now, `run_remote.go` only supports GCE instances. But actually
running the tests is completely independent of GCE and could work just
as well on any SSH-accessible machine.
This patch adds a new `--mode` switch, which defaults to `gce` for
backwards compatibility, but can be set to `ssh`. In that mode, the GCE
API is not used at all, and we simply connect to the hosts given via
`--hosts`.
This is still better than `run_local.go` because the latter mixes build
environment with test environment, which doesn't fit well with
container-optimized operating systems.
This is part of an effort to setup the e2e node tests on Fedora CoreOS
(see https://github.com/coreos/fedora-coreos-tracker/issues/990 ).
Patch best viewed with whitespace ignored.
2021-11-22 10:13:15 -05:00
Jonathan Lebon
e0723c1e64
test-e2e-node: add SSH_OPTIONS
...
This allows overriding the default options.
2021-11-22 10:13:13 -05:00
Kubernetes Prow Robot
ed07515ee0
Merge pull request #106431 from Namanl2001/image-config-dir
...
enabling runtime-config to be passed via make file for node-e2e testing purposes
2021-11-20 08:22:59 -08:00
Tim Hockin
c6a8961534
testdata dirs are not useful go code
...
Minor. This removes a few "testdata" dirs from .make/all_go_dirs.mk
-hack/make-rules/helpers/go2make/testdata/dir-with-gofiles
-test/conformance/testdata
-test/instrumentation/testdata/pkg/kubelet/metrics
-test/instrumentation/testdata/staging/src/k8s.io/metrics
-test/typecheck/testdata/bad
-test/typecheck/testdata/good
-test/typecheck/testdata/good/testdata
-vendor/k8s.io/kubectl/pkg/cmd/edit/testdata
This list of dirs is used to figure out which directories need codegen,
and none of these do.
2021-11-19 11:25:53 -08:00
Kubernetes Prow Robot
9b180d8913
Merge pull request #105481 from claudiubelu/tests/e2e-prepull-images
...
tests: Prepull images
2021-11-18 17:22:51 -08:00
Shivam Sandbhor
6652c54d83
Remove invalid comment in legacyregistry
...
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-11-18 15:05:00 +05:30
Kubernetes Prow Robot
1367cca8fd
Merge pull request #106448 from aojea/hlee/issue-103721/staticcheck
...
use golangci-lint
2021-11-17 09:25:54 -08:00
Kubernetes Prow Robot
557b5feb08
Merge pull request #106305 from shivanshu1333/fix/master/schedularMigration
...
migrated schedular to structured logging
2021-11-17 05:05:54 -08:00
Antonio Ojea
272b31da50
use golangci-lint and remove legacy verify-staticcheck.sh
2021-11-17 13:58:53 +01:00
Tim Hockin
3bca4e6d67
Move golangci-lint config to a file
...
Make verify-golangci-lint.sh work across modules and take an optional
argument for a package.
2021-11-17 08:56:57 +01:00
Hanna Lee
7ea01c0bdb
Add staticcheck to verify-golangci-lint.sh
2021-11-17 08:56:01 +01:00
Jefftree
ae1984a89d
Generate openapi v3 static files
2021-11-16 17:38:54 -08:00
Namanl2001
64a9988fce
small nit
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-11-16 22:23:52 +05:30
Kubernetes Prow Robot
552c2964bc
Merge pull request #106418 from SataQiu/hack-ignore-generated-files
...
Exclude generated files from the static check
2021-11-15 13:05:00 -08:00
Namanl2001
b990d8109a
adding runtime-config
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-11-16 01:27:16 +05:30
Kubernetes Prow Robot
1c127d3682
Merge pull request #105706 from uthark/oatamanenko/upgrade-etcd-3.5.1
...
Upgrade etcd to 3.5.1
2021-11-15 10:04:59 -08:00
Kubernetes Prow Robot
da73a24f6a
Merge pull request #106123 from pohly/log-go-runner-windows
...
package log runner as part of Kubernetes releases
2021-11-15 09:04:48 -08:00
SataQiu
7dedd412f0
exclude generated files from the static check
2021-11-15 18:07:45 +08:00
Neha Lohia
fa1b6765d5
move pkg/util/node to component-helpers/node/util ( #105347 )
...
Signed-off-by: Neha Lohia <nehapithadiya444@gmail.com>
2021-11-12 07:52:27 -08:00
Shivanshu Raj Shrivastava
b60e95444e
migrated schedular to structured logging
2021-11-12 13:42:12 +05:30
Kubernetes Prow Robot
3ca3daac76
Merge pull request #103415 from tiloso/staticcheck-kubelet
...
Fix staticcheck failure in pkg/kubelet/cm/cpuset
2021-11-11 15:15:13 -08:00
Kubernetes Prow Robot
0abc054933
Merge pull request #106190 from MikeSpreitzer/integration-scrape-etcd
...
Add periodic etcd scraping to integration tests
2021-11-09 15:30:38 -08:00
Kubernetes Prow Robot
8e02b78873
Merge pull request #102534 from wangyysde/create-hpav2stable
...
Create HPA v2 Stable API
2021-11-09 10:27:48 -08:00
Kubernetes Prow Robot
3ae56ab320
Merge pull request #106174 from markusthoemmes/buildx-check
...
Make the docker buildx check call --help
2021-11-09 04:31:46 -08:00
wangyysde
d2abddd909
rename v2beta2 to v2
...
Signed-off-by: wangyysde <net_use@bzhy.com>
Generation swagger.json.
Use v2 path for hpa_cpu_field.
run update-codegen.sh
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-11-09 10:34:54 +08:00
Mike Spreitzer
4ca4ccdcc2
Add serving of scrapes as Prometheus metrics
2021-11-08 15:28:05 -05:00
Mike Spreitzer
dc07025470
Add periodic etcd scraping to integration tests
...
.. to help understand where and why things go bad.
2021-11-05 21:32:58 -04:00
Claudiu Belu
35e23afa50
tests: Prepull images commonly used test images
...
Some tests have a short timeout for starting the pods (1 minute), but if
those tests happen to be the first ones to run, and the images have to be
pulled, then the test could timeout, especially with larger images. This
commit will allow us to prepull commonly used E2E test images, so this issue
can be avoided.
2021-11-05 14:22:50 -07:00
Kubernetes Prow Robot
aa964e097c
Merge pull request #106150 from pohly/log-runner-kubemark
...
kubemark: replace deprecated --log-file parameter with runner
2021-11-05 04:01:52 -07:00
Markus Thömmes
671cd6c606
Make the docker buildx check call --help
2021-11-05 09:49:07 +01:00
Patrick Ohly
c3cd9a3902
kubemark: static binary, replace deprecated --log-file parameter
...
The --log-file parameter will be deprecated as of Kubernetes 1.23 and should be
avoided. The replacement for distroless images is the image with go-runner, a
tool that handles output redirection.
For kubemark to run in that image it must be built as static binary.
2021-11-04 20:52:56 +01:00
Patrick Ohly
d2a8a81639
Package kube-log-runner as part of Kubernetes releases
...
kube-log-runner was formerly known as go-runner when it was originally introduced
in 393e0952e9
It was moved to kubernetes/release/images/build/go-runner later but is now
needed again in Kubernetes itself as replacement for the deprecated --log-file
klog feature: when bringing up a Windows node, kube-proxy.exe and kubelet.exe must be wrapped
with the helper binary to redirect output.
It got renamed to avoid a naming conflict with
test/conformance/image/go-runner and because the name was too vague.
Other downstream Kubernetes users may have a similar need, therefore it makes
sense to provide a prebuilt binary also in the release archives.
2021-11-04 10:00:26 +01:00
Kubernetes Prow Robot
8facd72986
Merge pull request #106020 from ahrtr/replace_ioutil_with_io_os_hack
...
Replace ioutil with io and os for hack
2021-11-03 20:50:03 -07:00
Kubernetes Prow Robot
70e7876bef
Merge pull request #106099 from BenTheElder/bazel-linger-no-more
...
cleanup lingering bazel related scripts/references
2021-11-02 18:00:27 -07:00
Kubernetes Prow Robot
b489b03946
Merge pull request #105575 from endocrimes/dani/cleanup-launcher
...
Allow the e2e_node runner to receive a KubeletConfiguration rather than requiring flags
2021-11-02 18:00:10 -07:00
Benjamin Elder
71071d13ab
remove make rule for test-e2e-kubeadm
...
this target depended on a broken binary and is clearly unused
kubeadm e2e development should be done with: https://github.com/kubernetes/kubeadm/tree/main/kinder
2021-11-02 12:04:14 -07:00
Benjamin Elder
a4476c8548
remove bazel from make clean, bazel is not in any supported branches
2021-11-02 11:41:32 -07:00
Benjamin Elder
69c3e1934c
don't search under ./bazel-*, bazel is not in use.
2021-11-02 11:40:59 -07:00
Benjamin Elder
aa4d83961a
remove hack/{update,verify}-bazel.sh
...
With Kubernetes 1.19.X no longer supported, there are no supported branches using bazel. Developers should not have errant bazel files, this will be left to reviewers to catch.
2021-11-02 11:38:42 -07:00
Danielle Lancashire
a4cf3a90a2
e2e_node: support passing kubelet-config-file to local runs
2021-11-02 15:10:29 +01:00
Danielle Lancashire
6e9e436026
e2e_node: kubelet config: move to file where possible
2021-11-02 15:10:28 +01:00
Danielle Lancashire
4097a3d472
e2e_node: allow customizing the base kubeletconfig
...
This commit forces Kubelet Configuration files to always be generated
and when possible will use the kubeletconfig file that has been provided
by the test orchestrator
2021-11-02 15:09:56 +01:00
ahrtr
6e3cf5eca2
replace ioutil with io and os for hack
2021-10-30 14:44:41 +08:00
Namanl2001
6d6bb48240
passing image-config-dir
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-10-30 01:23:02 +05:30
Kubernetes Prow Robot
03c76decb2
Merge pull request #105947 from thockin/worktree-head
...
Always pass HEAD to worktree
2021-10-28 09:21:02 -07:00
Tim Hockin
6545958921
Always pass HEAD to worktree
...
Without this, repeated runs can end up using the same SHA (because of
the "helpful" branch creation.
2021-10-27 15:43:48 -07:00
Kubernetes Prow Robot
7c715dbc68
Merge pull request #105637 from Namanl2001/ssh
...
adding `--ssh-key` and `--ssh-user` for kubetest2
2021-10-26 16:33:45 -07:00
Namanl2001
d721796259
reverted previous commit change
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-10-20 01:05:41 +05:30
Namanl2001
c6e0564f53
adding quote in SSH_KEY
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-10-19 23:30:01 +05:30
Namanl2001
dda8248a0e
trying quoting
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-10-19 21:59:05 +05:30
Oleg Atamanenko
965f10f539
Upgrade etcd to 3.5.1
2021-10-18 23:09:27 -07:00
Namanl2001
85d16760f0
adding defaultGceKey in remote/ssh.go
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-10-19 00:07:36 +05:30
CIPHERTron
27eb281e32
add new line
2021-10-17 21:25:41 +05:30
CIPHERTron
683e5bb2e1
sort directories
2021-10-17 20:32:39 +05:30
CIPHERTron
195cd8a575
rearrange direcctories
2021-10-17 15:34:06 +05:30
CIPHERTron
0de2040ada
mark kube-proxy structured logs as migrated
2021-10-17 12:49:39 +05:30
Kubernetes Prow Robot
c2bff66b95
Merge pull request #104783 from YuviGold/fix-shellcheck-output-streams
...
Fix shellcheck output streams
2021-10-14 12:58:55 -07:00
Namanl2001
b99c2f4894
SSH_USER:-
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-10-14 23:59:57 +05:30
Yuval Goldberg
bcb5d29e90
Fix shellcheck output streams
...
Resolves https://github.com/kubernetes/kubernetes/issues/102975
shellcheck errors are printed to stdout by default, hence they need to be redirected
to stderr in order to be well parsed for Junit representation by `juLog` function.
2021-10-14 15:53:47 +03:00
Namanl2001
be3c851085
ssh key
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-10-13 01:02:38 +05:30
Namanl2001
ec7ad7e9fb
adding key and user
...
Signed-off-by: Namanl2001 <namanlakhwani@gmail.com>
2021-10-12 22:31:12 +05:30
Kubernetes Prow Robot
a7c67c03ff
Merge pull request #105399 from mopsfelder/ppc64le
...
Allow fast builds on ppc64le
2021-10-11 22:21:46 -07:00
David Eads
156fefa36a
add verify script to catch most validation mutations
2021-10-08 14:37:55 -04:00
Umanga Chapagain
1dd30f6e05
update hack/verify-structured-logging.sh
...
hack/verify-structured-logging.sh now tests migrated packages
for use of unstructured logging functions and all other packages
for use of correct structured logging patterns.
Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2021-10-05 17:50:05 +05:30
Umanga Chapagain
f4ff6984cf
update hack/tools to pull latest logcheck
...
Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2021-10-05 15:55:58 +05:30
Kubernetes Prow Robot
04f747d09f
Merge pull request #104782 from kerthcet/cleanup/remove-cc-v1beta1
...
remove scheduler component config v1beta1
2021-10-04 08:53:08 -07:00
Kubernetes Prow Robot
f31453fe5b
Merge pull request #104894 from pacoxu/windows-arm
...
add windows arm support on client-side since go 1.17 supports
2021-10-04 04:19:07 -07:00
Murilo Opsfelder Araujo
1589605a7c
Allow fast builds on ppc64le
...
On a ppc64le host, fast build was failing:
# make KUBE_FASTBUILD=true quick-release
+++ [0908 15:56:36] Verifying Prerequisites....
+++ [0908 15:56:36] Building Docker image kube-build:build-fd009aaa81-5-v1.23.0-go1.17-buster.0
+++ [0908 15:56:44] Syncing sources to container
+++ [0908 15:56:48] Running build command...
+++ [0908 15:56:56] Building go targets for linux/ppc64le:
./vendor/k8s.io/code-generator/cmd/prerelease-lifecycle-gen
> non-static build: k8s.io/kubernetes/./vendor/k8s.io/code-generator/cmd/prerelease-lifecycle-gen
touch: cannot touch '_output/bin/prerelease-lifecycle-gen': No such file or directory
make[2]: *** [Makefile.generated_files:209: _output/bin/prerelease-lifecycle-gen] Error 1
make[1]: *** [Makefile:552: generated_files] Error 2
make: *** [Makefile:512: cross] Error 1
!!! [0908 15:56:58] Call tree:
!!! [0908 15:56:58] 1: build/../build/common.sh:476 kube::build::run_build_command_ex(...)
!!! [0908 15:56:58] 2: build/release.sh:36 kube::build::run_build_command(...)
make: *** [Makefile:454: quick-release] Error 1
This error happened because the _output/bin/ directory didn't exist at
the moment the file _output/bin/prerelease-lifecycle-gen was touched, so
the path didn't exist.
The _output/bin symlink was not created by kube::golang::place_bins()
because kube::golang::setup_platforms() assumed
KUBE_CLIENT_PLATFORMS=linux/amd64 despite being on a ppc64le host.
Fix build error by not assuming host_arch=amd64 when on ppc64le in
kube::golang::setup_platforms().
Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com>
2021-10-01 09:31:10 -03:00
Elana Hashman
132fa1cbf3
Revert "Build non-static binaries with PIE buildmode"
2021-09-29 11:36:20 -07:00
kerthcet
75a255d2ed
remove scheduler component config v1beta1
...
Signed-off-by: kerthcet <kerthcet@gmail.com>
2021-09-28 13:13:17 +08:00
Kubernetes Prow Robot
40c9203472
Merge pull request #105171 from liggitt/gomodule-staticcheck
...
Make staticcheck package-compatible
2021-09-21 10:34:23 -07:00
Jordan Liggitt
00622da45e
Make staticcheck package-compatible
2021-09-21 12:19:57 -04:00
Kubernetes Prow Robot
b92b799881
Merge pull request #102309 from pacoxu/track-unwanted-dependencies-1
...
add update-unwanted-dependencies.sh to track unwanted dependencies
2021-09-20 10:18:10 -07:00
pacoxu
b99e1e4aa9
use reference as we cannot distinguishing direct/indirect with go mod graph
2021-09-20 22:14:34 +08:00
Antonio Ojea
1846e42f7b
alllocal-cluster-up: ow to specify the kubelet resolv.conf
2021-09-19 12:06:52 +02:00
pacoxu
22ccb37e88
add update-unwanted-dependencies.sh to track unwanted dependencies
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-09-17 13:21:38 +08:00
Patrick Ohly
de47d00865
pin-dependency.sh: enhance forking of a dependency
...
This addresses a problem that occurred when trying the following replacement:
hack/pin-dependency.sh k8s.io/klog/v2=github.com/pohly/klog/v2 flush-log-sink
That itself worked, but update-vendor.sh then failed:
=== tidying go.mod/go.sum in staging/src/k8s.io/code-generator/examples
go: k8s.io/apimachinery@v0.0.0 requires
k8s.io/klog/v2@v2.4.1-0.20210909144920-0b91caa8c854: invalid version: unknown revision 0b91caa8c854
go: k8s.io/apimachinery@v0.0.0 requires
k8s.io/klog/v2@v2.4.1-0.20210909144920-0b91caa8c854: invalid version: unknown revision 0b91caa8c854
2021-09-14 11:30:17 +02:00
Kubernetes Prow Robot
c79f7c1add
Merge pull request #104711 from claudiubelu/update-pause-3.6
...
update pause image references to use 3.6
2021-09-13 19:09:08 -07:00
Kubernetes Prow Robot
cdcf2a239e
Merge pull request #104399 from tkashem/apf-v1beta2
...
apf: introduce v1beta2
2021-09-13 18:01:08 -07:00
Paco Xu
9a2a4f1051
add windows arm support on client-side since go 1.17 supports
2021-09-10 15:42:45 +08:00
Abu Kashem
e2b8701545
apf: ebable v1beta2
2021-09-09 08:28:53 -04:00
Kubernetes Prow Robot
95390e6476
Merge pull request #103023 from tiloso/staticcheck-apiserver-clientgo
...
Fix staticcheck in k8s.io/{apiserver/pkg/storage,client-go/rest/watch}
2021-09-08 18:50:10 -07:00
tiloso
830a137d2e
Fix staticcheck in apiserver and client-go pkgs
2021-09-07 21:53:41 +02:00
Vikram Jadhav
5f674101bb
Added update and verify scripts for automated mock generation
2021-09-03 17:40:11 +00:00
Claudiu Belu
18936d4785
updates pause image references
...
The pause:3.6 image has been published.
Also updates older / incorrect references.
2021-08-29 21:50:05 -07:00
Antonio Ojea
2fee0c45e6
skip hack/tools/vendor folder
...
The makefiles scripts create a variable with all the go files
that are part of the Kubernetes source tree, including staging.
As today, this variable has a size of < 100kb
wc .make/all_go_dirs.mk
2326 2326 98905 .make/all_go_dirs.mk
This variable is passed as argument in the Makefiles, where it
is expanded. In Linux, there is a limit to the max size of
the arguments MAX_ARG_STRLEN.
If the arguments go above 128k, you get a nice:
execvp: /usr/bin/env: Argument list too long
If you, for whatever reason, do some go mod vendor inside the
hack/tools folder, these files will be added to the variable
and most probably you'll go above the limit and get that error.
Then, you'll learn a lot about Makefils, shell expansion, strace,
execpve, ARG_MAX and MAX_ARG_STRLEN,until you realize what is
the real problem :).
2021-08-26 20:02:43 +02:00
tiloso
2b86541313
Fix staticcheck failure in pkg/kubelet/cm/cpuset
2021-08-26 08:50:08 +02:00
Stephen Augustus
f11a3cd58f
hack/boilerplate: Tolerate new build tag format (//go:build
)
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:49 -04:00
Stephen Augustus
e8d2bff6ba
[go1.17] Update to go1.17
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:41 -04:00
Antonio Ojea
06f2d678ee
update and verify netparse
...
Add script to verify that net.ParseIP and net.ParseCIDR are
not being used.
Add another script to automatically replace those functions
for the ones forked in k8s.io/utils/net
2021-08-20 10:42:09 +02:00
Jordan Liggitt
a26f7f2b58
Add non-vendor version ldflags
2021-08-14 11:20:26 -04:00
Kubernetes Prow Robot
98e526390d
Merge pull request #103724 from claudiubelu/update-e2e-test-images-url
...
Update e2e test images url
2021-08-12 09:10:13 -07:00
Kubernetes Prow Robot
9c7426e14f
Merge pull request #104315 from yselkowitz/goflags-fix
...
Fix build with multiple GOFLAGS
2021-08-12 04:59:47 -07:00
Kubernetes Prow Robot
8156c82fa1
Merge pull request #99887 from yangjunmyfm192085/run-test26
...
Fix error path in file /verify-prerelease-lifecycle-tags.sh.
2021-08-11 18:37:48 -07:00
Yaakov Selkowitz
67e14290aa
Fix build with multiple GOFLAGS
...
The tag extraction from GOFLAGS doesn't do anything if -tags is not
present in GOFLAGS. Not only does that mean non-sensical tags are
passed, but because GOFLAGS is a space-separated variable, the build
will fail because the build flags because -tags must be comma-separated.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2021-08-11 19:23:41 -04:00
Davanum Srinivas
f63dbd481f
Warn if docker buildx is not available
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-10 14:42:11 -04:00
Patrick Ohly
808659cc42
pin-dependencies.sh: support switching repos
...
Sometimes it is useful to fork a dependency in a different repo and
then use that forked code in Kubernetes. Normally one would do `go mod
edit -replace ...=/local/path` but that has drawbacks:
- repos under staging are not updated
- sharing the modified Kubernetes with others is harder, for example
in a WIP or RFC PR
The revised pin-dependencies.sh supports this with an optional
=<replacement> part in the dependency parameter.
Determining the revision upfront with `go mod download` also makes the
script simpler.
2021-08-09 16:54:30 +02:00
Kubernetes Prow Robot
0427b17395
Merge pull request #104164 from dims/allow-override-of-cgo-enabled
...
Allow override of KUBE_CGO_OVERRIDES (for switching on/off of `CGO_ENABLED`)
2021-08-05 16:37:26 -07:00
Kubernetes Prow Robot
4842242e7a
Merge pull request #103987 from ehashman/cherry-pick-release-note
...
Add release note block to cherry-pick script
2021-08-05 14:11:10 -07:00
Kubernetes Prow Robot
79c7584764
Merge pull request #103986 from GM1957/fix-scripts
...
fixing scripts from https://github.com/google/protobuf/releases to ht…
2021-08-05 08:17:59 -07:00
Kubernetes Prow Robot
58cde6c442
Merge pull request #103874 from liggitt/move-conformance
...
Move conformance image
2021-08-05 08:17:34 -07:00
Davanum Srinivas
af2129b77d
Allow override of CGO_ENABLED=0
...
When building inside a docker container, we fail to pass along enough
information for KUBE_CGO_OVERRIDES. The original PR was geared towards
building the binary from the command line
- dca376a03e
- e4ded2b3ec
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-08-05 10:45:14 -04:00
Kubernetes Prow Robot
e4efd1e360
Merge pull request #103710 from nckturner/configure-cloud-routes-local-hack
...
Make --configure-cloud-routes configurable in local-up-cluster
2021-08-04 22:12:04 -07:00
Tim Hockin
09dc055984
Update golang.org/x/time/rate ( #104014 )
...
* Add failing test case
* Update golang.org/x/time/rate
* Call update-internal-modules from update-vendor
2021-07-29 16:13:38 -07:00
Elana Hashman
fec260d083
Add release note block to cherry-pick script
2021-07-28 14:46:05 -07:00
Tanmoy Bhowmick
260b5ef155
fixing scripts from https://github.com/google/protobuf/releases to https://github.com/protocolbuffers/protobuf/releases
2021-07-29 02:24:39 +05:30
Caleb Woodbine
bbb368b701
Update e2e test images url
...
Removes any reference from the registry gcr.io/kubernetes-e2e-test-images in
kubernetes/kubernetes, replacing it with k8s.gcr.io/kubernetes-e2e-test-images.
In some cases, the images had to be updated since a few things have changed since
their original implementation, most notably being the fact that some of the images
have been centralized into the agnhost image.
Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-07-27 22:01:43 -07:00
Jordan Liggitt
4115bef826
Update references to test/conformance/image
2021-07-23 11:26:54 -04:00
Nick Turner
1887ddfc96
Make --configure-cloud-routes configurable in local-up-cluster
...
- Allow --configure-cloud-routes to be set in hack/local-up-cluster.sh
using the env var $CONFIGURE_CLOUD_ROUTES.
2021-07-15 08:21:32 +00:00
Davanum Srinivas
75748c185e
enable verify-golangci-lint.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-07-14 08:53:33 -04:00
Davanum Srinivas
b74fe232e3
update golangci-lint to newer version
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-07-14 08:41:21 -04:00
Mikhail Mazurskiy
bc475373b2
Drop direct dependency on gotest.tools
2021-07-10 13:31:32 +10:00
Elana Hashman
642eff0c69
Rename NodeSwapEnabled flag to NodeSwap
2021-07-09 11:39:52 -07:00
Kubernetes Prow Robot
24a614cb4c
Merge pull request #103556 from dims/update-license-gathering-script-for-forked-code
...
Update license gathering script for forked code
2021-07-08 08:51:06 -07:00
Kubernetes Prow Robot
a2b1f00a8b
Merge pull request #103522 from atiratree/fix-translations-location
...
fix translations location in update-translations.sh
2021-07-08 05:58:53 -07:00
Davanum Srinivas
40f1db8d2d
update license gathering script for forked code
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-07-08 07:48:19 -04:00
Kubernetes Prow Robot
ac554af79b
Merge pull request #103142 from serathius/etcd-3.5.0
...
Upgrade etcd to 3.5.0
2021-07-07 12:40:22 -07:00
atiratree
1e0f695afa
fix translations location in update-translations.sh
2021-07-07 20:01:25 +02:00
Kubernetes Prow Robot
561959f682
Merge pull request #102823 from ehashman/kep-2400-swap
...
Alpha node swap support
2021-07-06 22:11:11 -07:00
atiratree
66dbfbce10
update-translations.sh: add fix translations option (-k)
2021-07-05 22:39:11 +02:00
atiratree
079d8aeb1e
fix update-translations.sh
2021-07-05 22:39:07 +02:00
Stephen Augustus
c24dfe528a
cluster,hack: Use community infra GCS bucket for retrieving CI builds
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-07-03 17:04:54 -04:00
Kubernetes Prow Robot
7e00f5d401
Merge pull request #103118 from wangyysde/remove-errors-from-check_conformance_test_requirements.go
...
use native error instead of github.com/pkg/errors
2021-07-01 07:39:55 -07:00
wangyysde
e2e1c94f06
use native error instead of github.com/pkg/errors
...
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-07-01 10:54:09 +08:00
Kubernetes Prow Robot
044fd6fdf6
Merge pull request #99829 from palnabarun/migrate-to-go-embed
...
Replace go-bindata with //go:embed
2021-06-30 10:37:03 -07:00
Rishabh Jain
584eb5e947
Update local-cluster-up.sh to auto-detect darwin and skip kubelet and kube-proxy
2021-06-30 20:30:03 +05:30
Elana Hashman
9eeec68d67
Update local-up-cluster.sh swap warning
2021-06-29 11:57:35 -07:00
Nabarun Pal
d98b2dd2d6
generated: remove usage of go-bindata
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 19:16:48 +05:30
Nabarun Pal
43c2e454a0
hack: remove bindata generation logic for translations
...
also, remove generated bindata
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 13:36:28 +05:30
Nabarun Pal
5ece28b77a
kubectl: move translations to i18n package to kubectl staging directory
...
Go 1.16's embed directive doesn't allow embeding files from parent
directories. Hence, moving the translations data to inside the i18n package.
Logically speaking as well, kubectl related artifacts should be inside
the kubectl package.
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-29 13:36:26 +05:30
pacoxu
669fb50136
upgrade staticcheck to v0.2.0 and update the static failure packages
2021-06-28 18:04:16 +08:00
Kubernetes Prow Robot
7163f8f810
Merge pull request #100771 from njuptlzf/fix_staticcheck_storage
...
Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/storage
2021-06-25 01:16:45 -07:00
Mike Spreitzer
179e48c4be
Add missing comments in APF API types
2021-06-25 00:27:40 -04:00
Marek Siarkowicz
ebe550bd48
Upgrade etcd to 3.5.0
2021-06-24 09:15:17 +02:00
njuptlzf
93365919b5
Fix staticcheck failures
2021-06-23 23:27:43 +08:00
Kubernetes Prow Robot
2d0821c2a0
Merge pull request #102960 from BenTheElder/nodataracesplease
...
enable race detector by default in make test
2021-06-18 19:26:49 -07:00
Benjamin Elder
8942cba24d
log if we're running with -race
2021-06-18 14:49:53 -07:00
Benjamin Elder
68d8bcb64f
remove redundant bits from test-dockerized.sh
2021-06-18 14:49:53 -07:00
Benjamin Elder
4ee729ce5f
disable race detector in test-cmd.sh
2021-06-18 14:49:53 -07:00
Benjamin Elder
55d2868e9d
don't redundantly set KUBE_RACE in test-integration.sh
2021-06-18 14:49:52 -07:00
Benjamin Elder
3c44b86ad6
enable race detector by default in make test
2021-06-18 14:49:52 -07:00
Kubernetes Prow Robot
d89c11a0d4
Merge pull request #102629 from tiloso/staticcheck-cluster-apimachinery-apiserver
...
Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver}
2021-06-18 09:52:06 -07:00
Benjamin Elder
207f9e8b71
switch go-flow-levee to tagged version
...
this is actually a no-op source wise, but we want to prefer tagged versions
2021-06-15 19:37:20 -07:00
Kubernetes Prow Robot
95a62217ca
Merge pull request #102888 from BenTheElder/more-timeout-sad
...
bump KUBE_TIMEOUT to 180s
2021-06-15 17:04:23 -07:00
Benjamin Elder
14085c50d3
bump KUBE_TIMEOUT to 180s
...
observed some timeouts with 170s still
2021-06-15 12:25:00 -07:00
Jordan Liggitt
19db126d76
Exercise egress configuration in local-up-cluster
2021-06-15 09:53:07 -04:00
Kubernetes Prow Robot
3dd561ade4
Merge pull request #102768 from BenTheElder/tune-kube_timeout
...
Increase KUBE_TIMEOUT default to a passing default
2021-06-11 11:42:59 -07:00
Benjamin Elder
77c04d2284
Increase KUBE_TIMEOUT default to a passing default
...
Next we can stop overriding it in CI, so local and CI runs match more closely, see: https://github.com/kubernetes/kubernetes/issues/102607
2021-06-09 23:33:24 -07:00
Marek Siarkowicz
12447bc803
Upgrade etcd server version to 3.5.0-rc.0
2021-06-09 17:00:05 +02:00
Kubernetes Prow Robot
d849d9d057
Merge pull request #102697 from mlevesquedion/update-levee-analyzer-version
...
Update version of go-flow-levee for verify-govet-levee check.
2021-06-08 18:37:46 -07:00
Michaël Lévesque-Dion
a94aa0ea9a
Update version of go-flow-levee for verify-govet-levee check.
2021-06-08 12:02:46 -04:00
Adhityaa Chandrasekar
3c8e56bef9
scheduler: graduate CC to v1beta2, deprecate plugins
...
Signed-off-by: Adhityaa Chandrasekar <adtac@google.com>
2021-06-07 12:42:55 +00:00
tiloso
c5d70e9db1
Fix staticcheck in cluster & k8s.io/{apimachinery,apiserver}
2021-06-05 22:15:15 +02:00
Sascha Grunert
39d9e98a6f
Build non-static binaries with PIE buildmode
...
We now add the `-buildmode pie` flag when building non-static binaries,
which enables the ASLR security mechanism.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-27 14:51:36 +02:00
Kubernetes Prow Robot
02d0878690
Merge pull request #100435 from lauchokyip/fixSort
...
Fixed sort-by not sorting Resources as expected
2021-05-26 09:29:38 -07:00
Chok Yip Lau
e43e9696cc
Fixed sort-by not sorting Resources as expected
2021-05-25 21:37:52 -04:00
Kubernetes Prow Robot
91200bac44
Merge pull request #102252 from smarterclayton/pod_termination
...
e2e: Flag questionable durations in container status on termination
2021-05-25 15:57:27 -07:00
Sascha Grunert
b167fc24d7
Update pause image to v3.5
...
Update dependencies and the test images to use pause 3.5. We also
provide a changelog entry for the new container image version.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-25 09:04:46 +02:00
Clayton Coleman
2d361d4306
e2e: Flag questionable durations in container status on termination
...
The e2e that create/deletes pods rapidly and verifies their status
was reporting a very long timing:
timings total=12.211347385s t=491ms run=2s execute=450402h8m25s
in a few scenarios. Add error checks that clarify when this happens
and why. Report p50/75/90/99 latencies on teardown as observed from
the test for baseline for future changes.
2021-05-24 11:48:42 -04:00
Kubernetes Prow Robot
04a0dcec8d
Merge pull request #99371 from tiloso/staticcheck-apimachinery-util
...
Fix staticcheck in k8s.io/apimachinery/pkg/util
2021-05-21 07:38:46 -07:00
Kubernetes Prow Robot
02be0dd784
Merge pull request #102046 from tnqn/shell-error
...
Fix exit code check in hack/grab-profiles.sh
2021-05-18 19:15:03 -07:00
Quan Tian
20f320c6bd
Fix exit code check in hack/grab-profiles.sh
...
[ $? ] is True regardless of whether the last command succeeds or not,
which causes the script to not work.
2021-05-17 14:47:05 +08:00
AbdulBasitAlvi
29cfc68911
bug(staging_api_apps_v1): add descriptions to apps/v1/types.go files
...
#### What type of PR is this?
/kind bug
#### What this PR does / why we need it:
This PR adds descriptions for the following:
1. Metadata and List of Struct `StatefulSetLists`
2. Metadata of Struct `StatefulSet`
#### Which issue(s) this PR fixes:
Ref #99675
2021-05-16 07:09:40 +05:00
Kubernetes Prow Robot
68e97062de
Merge pull request #100008 from wangyysde/issue99675
...
Add descriptions to api/extensions/v1beta1/types.go
2021-05-12 14:45:28 -07:00
Jian Zeng
6c9ab10872
feat: set some auth flags for KCM and KS
...
Set `--authentication-kubeconfig` and `--authorization-kubeconfig` to enable
metrics to be grabbed from the secure port.
Signed-off-by: Jian Zeng <zengjian.zj@bytedance.com>
2021-05-12 22:47:53 +08:00
wangyysde
fb4b86bb98
Add descriptions to api/extensions/v1beta1/types.go
...
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-05-11 22:03:27 +08:00
Kubernetes Prow Robot
aca84a38cc
Merge pull request #99754 from CaoDonghui123/fixissues5
...
Add descirptions to /kube-aggregator/pkg/apis/apiregistration/*/types.go
2021-05-10 12:43:49 -07:00
Kubernetes Prow Robot
1d2b1ed354
Merge pull request #101395 from tanjing2020/container_manager_test
...
no_proxy inherits the system settings to adapt to some special scenarios
2021-05-07 21:29:17 -07:00
caodonghui
1e7d26a02d
Add descirptions to /kube-aggregator/pkg/apis/apiregistration/*/types.go files
2021-05-08 10:52:41 +08:00
Kubernetes Prow Robot
d76d217b0f
Merge pull request #97867 from lauchokyip/fixstaticerrors
...
Fix staticcheck on vendor/k8s.io/apiserver/pkg/server/httplog
2021-05-07 10:47:03 -07:00
Kubernetes Prow Robot
b5b3d1962c
Merge pull request #99842 from mowangdk/upgrade_struct_annotation
...
Upgrade struct annotation
2021-05-06 10:21:59 -07:00
Kubernetes Prow Robot
bd6f5c2e64
Merge pull request #100993 from mozillazg/fix-staticcheck-failed-registry-rest-resttest
...
Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/rest/resttest
2021-05-06 07:07:16 -07:00
yingqi.ge
3adf656f83
Add description to policy types.go
2021-05-06 15:33:09 +08:00
mozillazg
92ece853be
Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/rest/resttest
2021-05-06 07:49:22 +08:00
Kubernetes Prow Robot
136009fd69
Merge pull request #99811 from lauchokyip/fixtype
...
Added descriptions to api/apiserverinternal/v1alpha1/types.go
2021-05-05 07:11:15 -07:00
Chok Yip Lau
27aab303ff
Added description to staging/src/k8s.io/api/apiserverinternal/v1alpha1/types.go
2021-05-04 17:09:44 -04:00
Kubernetes Prow Robot
9126048c9c
Merge pull request #101707 from enj/enj/i/bad_cadata
...
client-go transport: assert that final CA data is valid
2021-05-04 07:29:11 -07:00
Monis Khan
440ea3ef49
client-go transport: assert that final CA data is valid
...
Signed-off-by: Monis Khan <mok@vmware.com>
2021-05-03 21:08:01 -04:00
Kubernetes Prow Robot
68669a30dc
Merge pull request #101704 from liggitt/api-testdata
...
Update testdata generation command
2021-05-03 17:21:54 -07:00
Kubernetes Prow Robot
55635497d3
Merge pull request #101687 from siddhartha97/add-feature
...
Ensures Authentication types have descriptions
2021-05-03 13:00:09 -07:00
Jordan Liggitt
529197ca8f
Update testdata generation command
2021-05-03 08:53:30 -04:00
Kubernetes Prow Robot
1c064a55c9
Merge pull request #101670 from logicalhan/patch-1
...
Add myself as a dep reviewer
2021-04-30 23:45:59 -07:00
Siddhartha Chowdhuri
4425fd6bfe
Added changes
2021-04-30 18:29:28 -07:00
Kubernetes Prow Robot
032a6fd494
Merge pull request #100233 from umangachapagain/imagepolicy-desc
...
add missing description to api/imagepolicy/v1alpha1/types.go
2021-04-30 15:24:00 -07:00
Kubernetes Prow Robot
25a9b583a9
Merge pull request #99760 from navist2020/fix_descriptons
...
Add descriptions to api/authorization/*/types.go
2021-04-30 12:06:12 -07:00
Han Kang
0f6cea3b51
Add myself as a dep reviewer
...
Change-Id: I80406ca92d30c1f8d5a95f21794205d01a2f6eab
2021-04-30 07:59:19 -07:00
David Eads
ad0cff7b61
add --all-namespaces to kubectl annotate,label
2021-04-26 13:04:19 -04:00
tanjing2020
3890772bd6
no_proxy inherits the system settings to adapt to some special scenarios
2021-04-25 14:39:36 +08:00
Kubernetes Prow Robot
14066e9798
Merge pull request #101411 from saschagrunert/buildid
...
Stop unsetting the golang buildid
2021-04-23 19:28:09 -07:00
Kubernetes Prow Robot
43b9491055
Merge pull request #101057 from wangyysde/remove-chaos-chance
...
removing kubelet's flag chaos-chance
2021-04-23 19:27:52 -07:00
Kubernetes Prow Robot
f43f95aa78
Merge pull request #97697 from cblecker/cpp-gh
...
Use gh tool instead of hub for cherry pick script
2021-04-23 01:48:01 -07:00
Sascha Grunert
746ec78ebf
Stop unsetting the golang buildid
...
Golang fixed the issue with the non-reproducible buildid already in
v1.15.3:
c5f6920212
a3e965ce8a
This means we can now use the internal buildid instead of the unset one.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-04-23 10:21:00 +02:00
Kubernetes Prow Robot
135fc06929
Merge pull request #101301 from liggitt/master-module-darwin
...
Drop post-vendor sorting of modules.txt
2021-04-22 15:55:40 -07:00
Kubernetes Prow Robot
3061f6149f
Merge pull request #101171 from KnVerey/kubectl-describe-chunk-size
...
Add `--chunk size` flag to `kubectl describe`
2021-04-22 13:19:23 -07:00
Jordan Liggitt
cec87c73b1
Drop post-vendor sorting of modules.txt
...
This was required prior to https://go-review.googlesource.com/c/go/+/174527 to ensure
consistent ordering across platforms, but is not required in go 1.13+.
2021-04-22 11:07:29 -04:00
Christoph Blecker
d60cb5b378
Use gh tool instead of hub for cherry pick script
2021-04-22 07:59:32 -07:00
Katrina Verey
8ad6fd6ddb
Add --chunk-size support to kubectl describe
2021-04-21 11:44:15 -07:00
David Eads
2fb8420756
update test-cmd to avoid removed beta APIs
2021-04-19 10:06:37 -04:00
Kubernetes Prow Robot
b91ec70329
Merge pull request #100205 from mauriciopoppe/enable-delve-in-e2e-tests
...
Use a debugging tool in E2E tests
2021-04-14 17:15:49 -07:00
wangyysde
4467082ddb
removed kubelet's flag chaos-chance
2021-04-13 14:09:55 +08:00
tiloso
627218a8e2
Fix staticcheck in k8s.io/apimachinery/pkg/util
2021-04-12 18:06:11 +02:00
Kubernetes Prow Robot
2ccc7292e7
Merge pull request #100430 from mozillazg/fix-staticcheck-failed-apimachinery-serializer
...
Fix staticcheck failures for vendor/k8s.io/apimachinery/pkg/runtime
2021-04-10 20:29:27 -07:00
Huang Huang
02d20442a5
Fix staticcheck failures for vendor/k8s.io/client-go/transport ( #100429 )
...
* Fix staticcheck failures for vendor/k8s.io/client-go/transport
* avoid the possibility of a hang
2021-04-10 20:29:15 -07:00
Kubernetes Prow Robot
cf9d74439b
Merge pull request #100706 from dims/move-from-kube-dns-to-core-dns-for-local-up-cluster.sh
...
Move from kube-dns to core-dns for local-up-cluster.sh
2021-04-09 05:20:29 -07:00
Kubernetes Prow Robot
3fd31f12ee
Merge pull request #100570 from tiloso/staticcheck-clientgo-discovery
...
Fix staticcheck in k8s.io/client-go/discovery
2021-04-09 05:19:12 -07:00
Kubernetes Prow Robot
a9ed98588e
Merge pull request #99596 from SataQiu/fix-update-vendor-20210301
...
Fix the bug that hack/update-vendor.sh exits with error but no indication of failure
2021-04-08 15:58:48 -07:00
Kubernetes Prow Robot
86fdf7b56e
Merge pull request #99487 from chymy/fix-staticcheck0226
...
Fix staticcheck failures for pkg/controller/replicaset and pkg/kubelet/dockershim
2021-04-08 14:28:17 -07:00
Mauricio Poppe
5f4f322ad4
make program an array and keep ginkgo_args as it is
2021-04-01 22:33:14 +00:00
Davanum Srinivas
be631ec410
Move from kube-dns to core-dns for local-up-cluster.sh
...
Still leave room for folks to run the older kube-dns if they choose to,
but it's about time we move local-up to what we tell everyone to use!
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-04-01 09:50:18 -04:00
Kubernetes Prow Robot
6572fe4d90
Merge pull request #100550 from dims/add-new-iptables-rule-for-local-up-cluster.sh
...
Add new iptables rule for local-up-cluster.sh
2021-03-29 13:24:09 -07:00
Kubernetes Prow Robot
e33a80bf2a
Merge pull request #100544 from dims/set-some-kube-proxy-params-for-local-up-cluster
...
Set some kube-proxy parameters for local-up-cluster.sh
2021-03-29 13:23:57 -07:00
Kubernetes Prow Robot
816bdd3011
Merge pull request #100569 from dims/set-jwks-uri-in-local-up-cluster.sh
...
Set jwks uri in local-up-cluster.sh
2021-03-29 12:17:57 -07:00
Kubernetes Prow Robot
26fc02a9e2
Merge pull request #100606 from dims/providerless-tag-for-client-go-auth-plugins
...
Providerless tag for client go auth plugins
2021-03-29 07:46:45 -07:00
Davanum Srinivas
1ac2d6f7fa
providerless tag for client-go auth plugins
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-28 20:07:59 -04:00
Davanum Srinivas
44d143f6e1
Add new iptables rule for local-up-cluster.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-28 11:19:02 -04:00
Benjamin Elder
7ede8a2647
add a verify equivilant to prometheus visibility rules
2021-03-25 14:42:10 -07:00
tiloso
dc16cf4285
Fix staticcheck in k8s.io/client-go/discovery
2021-03-25 22:29:37 +01:00
Davanum Srinivas
91ca1b12bb
Set jwks uri in local-up-cluster.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-25 17:09:58 -04:00
Davanum Srinivas
5238a8675d
Set some kube-proxy parameters for local-up-cluster.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-24 15:42:39 -04:00
Davanum Srinivas
4edf95ed84
verify using go list
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-22 16:07:59 -04:00
mozillazg
15688b6342
Fix staticcheck failures for vendor/k8s.io/apimachinery/pkg/runtime
2021-03-21 19:41:40 +08:00
Kubernetes Prow Robot
74f72c4738
Merge pull request #100320 from ehashman/kubelet-logs-migrated
...
Mark kubelet structured logs as migrated
2021-03-18 16:30:48 -07:00
Elana Hashman
3aa1c58342
Mark kubelet structured logs as migrated
2021-03-18 08:34:46 -07:00
Mauricio Poppe
f301e3189a
enable debug mode of E2E tests
2021-03-18 02:52:09 +00:00
Aaron Crickenberger
2be0bd2569
hack/verify: add verify-e2e-test-ownership.sh
...
add a script to enforce that all e2e tests have one and only one sig
owner defined according to specific policies
2021-03-17 16:47:17 -04:00
Umanga Chapagain
3e2236287d
pass all packages at once to logcheck
...
passing all packages at once to logcheck reduces the time
taken by linter.
Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2021-03-15 20:30:44 +05:30
Umanga Chapagain
3100871aee
add missing description to api/imagepolicy/v1alpha1/types.go
...
Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2021-03-15 11:20:53 +05:30
Marek Siarkowicz
5249c5c10d
Update list of migrated directories
2021-03-13 02:04:58 +01:00
chymy
c28be0baab
Fix staticcheck failures for pkg/controller/replicaset and pkg/kubelet/dockershim
2021-03-11 22:16:05 -05:00
zhongjun.li
cbc0d55912
logcheck: check Windows files
2021-03-11 17:40:07 +08:00
Kubernetes Prow Robot
eb0c118a9d
Merge pull request #99759 from jpbetz/apply-extract
...
Add Extract support to client-go apply builders
2021-03-11 00:18:36 -08:00
Kubernetes Prow Robot
23af91b293
Merge pull request #97779 from tiloso/staticcheck-test-integration-gs
...
Fix staticcheck in test/integration/{garbagecollector,scheduler_perf}
2021-03-10 16:04:23 -08:00
Joe Betz
987657a80f
Add extract apply function generation
2021-03-10 06:13:51 -08:00
Kevin Delgado
a1fac8cbd9
Server-Side Apply: Status Wiping/Reset Fields
...
Adds and implements ResetFieldsProvder interface in order to ensure that
the fieldmanager no longer owns fields that get reset before the object
is persisted.
Co-authored-by: Kevin Wiesmueller <kwiesmul@redhat.com>
Co-authored-by: Kevin Delgado <kevindelgado@google.com>
2021-03-10 01:02:18 +00:00
Kubernetes Prow Robot
d62a9b2179
Merge pull request #99773 from saschagrunert/build-memory
...
Change KUBE_PARALLEL_BUILD_MEMORY to 20 GiB
2021-03-09 16:08:07 -08:00
Kubernetes Prow Robot
e9115a041c
Merge pull request #97168 from PurelyApplied/levee-config-owned-by-sig-security
...
Transfer ownership of logging analysis configuration to sig-security.
2021-03-09 16:07:17 -08:00
Morten Torkildsen
21fba79d45
Promote PDBs to GA
2021-03-09 10:29:11 -05:00
Kubernetes Prow Robot
0df8c69731
Merge pull request #99960 from knabben/fix-runtime-config
...
Enabling runtime config on E2E node tests
2021-03-08 16:28:00 -08:00
Amim Knabben
0341e4c2f3
Enabling runtime config on E2E node tests
2021-03-08 15:45:06 -05:00
Benjamin Elder
b1162745b2
ignore vendor in update-bazel.sh, ignore bazel in update-vendor.sh
2021-03-07 15:34:44 -08:00
Benjamin Elder
67b3235c7a
remove bazel from boilerplate
2021-03-07 15:27:45 -08:00
Benjamin Elder
5a83303fd6
drop bazel from generate-bindata.sh
2021-03-07 14:24:15 -08:00
Benjamin Elder
8f3cbc923a
drop bazel logic from hack/lib/golang.sh
2021-03-07 13:11:29 -08:00
Benjamin Elder
45f910e79e
update hack/tools README.md
...
bazel tools are no-more
2021-03-07 13:10:43 -08:00
Benjamin Elder
f32bfe10b7
drop bazel from make verify QUICK=true
...
it's faster than ever, but also more pointless than ever. most future development has no need to run this
2021-03-07 13:03:17 -08:00
Benjamin Elder
ac02163991
update verify-bazel.sh comments
2021-03-07 13:02:39 -08:00
Benjamin Elder
0e8def03aa
remove hack/update-workspace-mirror.sh
...
this was used to mirror certain bazel dependencies.
2021-03-07 12:56:45 -08:00
Benjamin Elder
b0144538da
cleanup verify-gofmt.sh
...
- clarify comments
- simplify to just use gofmt from path
- setup go env instead of just verify go version
2021-03-07 12:51:33 -08:00
Benjamin Elder
e55e41b86a
update print-workspace-status.sh comment
2021-03-07 12:47:37 -08:00
Benjamin Elder
03576473ce
don't search bazel output paths for binaries
2021-03-07 12:47:00 -08:00
Kubernetes Prow Robot
ed978f6549
Merge pull request #99882 from BenTheElder/clean-bazel
...
cleanup bazel build files in-tree with make clean
2021-03-07 10:07:42 -08:00
Kubernetes Prow Robot
90851a0fb5
Merge pull request #99905 from BenTheElder/shellchecked
...
update verify-shellcheck to v0.7.1, fix nits, multi-arch digest pinning, fix new lint errors
2021-03-06 22:17:53 -08:00
Joe Betz
293e07a836
Add Apply functions to client-gen
2021-03-06 20:49:06 -05:00
Kubernetes Prow Robot
36244f31ef
Merge pull request #99662 from swetharepakula/eps-ga-api-changes
...
Graduate EndpointSlice API to GA
2021-03-06 15:23:54 -08:00
Benjamin Elder
f643388cb4
allo overriding docker in shellcheck
2021-03-06 13:28:58 -08:00
Benjamin Elder
a0cd54a7f1
fix trivial shell quoting issues surfaced by shellcheck v0.7.1
2021-03-06 13:19:17 -08:00
Benjamin Elder
7705d8c3de
upgrade shellcheck to v0.7.1, use multi-arch digest
2021-03-06 13:14:28 -08:00
Kubernetes Prow Robot
849f82d2a9
Merge pull request #99874 from ehashman/env-for-node-e2e
...
Add golang env setup to node e2e
2021-03-06 12:50:45 -08:00
Benjamin Elder
5e682d1a43
fix shellcheck success / failure messages
2021-03-06 10:49:13 -08:00
Kubernetes Prow Robot
f55a4ce84f
Merge pull request #99090 from adisky/logcheck3
...
Add tool to check use of unstructured logs
2021-03-06 02:49:41 -08:00
JunYang
72271dcc9c
Fix error path in file /verify-prerelease-lifecycle-tags.sh.
...
Signed-off-by: JunYang <yang.jun22@zte.com.cn>
2021-03-06 15:32:07 +08:00
Benjamin Elder
c39ff2a05c
cleanup bazel build files in-tree in make clean
...
now that bazel is removed, this automates cleanup.
2021-03-05 18:03:00 -08:00
Elana Hashman
7c2e147c4f
Add golang env setup to node e2e
2021-03-05 16:04:44 -08:00
Swetha Repakula
a9891b4b9b
Graduate EndpointSlice API to GA
...
* Removes discovery v1alpha1 API
* Replaces per Endpoint Topology with a read only DeprecatedTopology
in GA API
* Adds per Endpoint Zone field in GA API
2021-03-05 12:02:41 -08:00
Aditi Sharma
2ad5601a83
Add scripts to use klog/logcheck
...
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2021-03-05 08:17:34 +00:00
Kubernetes Prow Robot
466e730259
Merge pull request #99816 from BenTheElder/no-shellcheck-failures
...
banish .shellcheck_failures
2021-03-04 18:35:12 -08:00
Kubernetes Prow Robot
9cea3f88ef
Merge pull request #99810 from BenTheElder/fix-junit-deps
...
disable colors in zeitgeist so as not to break shell2junit
2021-03-04 18:35:03 -08:00
Benjamin Elder
60d50f4ce8
banish .shellcheck_failures
...
we've eliminated these. don't allow any regression.
this should also be much faster now.
2021-03-04 16:32:17 -08:00
Benjamin Elder
fbfbe289c4
use sed to drop escape codes from zeitgeist output
2021-03-04 14:59:52 -08:00
Kubernetes Prow Robot
03d242665d
Merge pull request #99012 from jpbetz/apply-client-go-builders2
...
Apply Builders for client-go's typed client
2021-03-04 14:40:55 -08:00
Benjamin Elder
c54bfc4adf
disable colors in zeitgeist so as not to break shell2junit
2021-03-04 13:58:13 -08:00
Kubernetes Prow Robot
e959ecc1e6
Merge pull request #99681 from shiyajuan123/master
...
add descriptions to these event/types.go files
2021-03-04 11:01:07 -08:00
Joe Betz
09cc895c84
Add apply configuration generator
2021-03-04 10:29:54 -08:00
Kubernetes Prow Robot
2e39df89ac
Merge pull request #97743 from dims/support-m1-macbook-darwin/arm64-as-client
...
Support M1 MacBooks darwin/arm64 on the client-side
2021-03-04 04:18:09 -08:00
Sascha Grunert
abf85d70c2
Change KUBE_PARALLEL_BUILD_MEMORY to 20 GiB
...
A benchmark with go1.16 on amd64 resulted in an overall maximum memory
usage of 15GiB. This means we now lower the `KUBE_PARALLEL_BUILD_MEMORY`
to `20` to still have some room left.
The benchmark has been done with the following `Dockerfile`:
```dockerfile
FROM k8s.gcr.io/build-image/kube-cross:v1.16.0-1
RUN apt-get update && apt-get install -y time
WORKDIR /go/src/k8s.io/kubernetes
RUN git clone https://github.com/kubernetes/kubernetes
ENV KUBE_PARALLEL_BUILD_MEMORY=0
RUN /usr/bin/time -v make -C kubernetes cross-in-a-container
```
The value of interest from the output:
```
Maximum resident set size (kbytes): 1847108
```
The RSS is not the only value we have to consider. During the runtime I
measured the usage of the cached memory, which gets peaks up to 15GiB.
Test machine specs:
- CPU: 2 x Intel Scalable Gold 5120 28-Core Processor @ 2.2GHz
- RAM: 384GB
- Disk: 1 x 3.8TB NVME
- OS: Debian 10 (buster)
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-03-04 12:11:20 +01:00
Kubernetes Prow Robot
9ed4d94e69
Merge pull request #99724 from thockin/fix-xargs-mutually-exclusive-in-update-vendor
...
Fix hack/update-vendor.sh to not warn on xargs
2021-03-04 02:08:44 -08:00
navist2020
bb88381bf1
Add descriptions to api/authorization/*/types.go
2021-03-04 14:52:36 +08:00
Kubernetes Prow Robot
9658145f8a
Merge pull request #99655 from liggitt/min-go-version
...
Update go version check to 1.16+
2021-03-03 20:13:59 -08:00
Kubernetes Prow Robot
7b0ad65d4d
Merge pull request #99288 from supriya-premkumar/ineffassign
...
Adds ineffassign to GO linter script.
2021-03-03 14:40:46 -08:00
Kubernetes Prow Robot
e5538fa94f
Merge pull request #98210 from cici37/fix
...
Fix flag passing in CCM
2021-03-03 14:40:01 -08:00
Tim Hockin
9f56205bbb
Fix hack/update-vendor.sh to not warn on xargs
...
xargs -L and -n are strictly incompatible with -I. Use shell loops
instead. This does not seem to have any net impact other than making
warnings go away.
2021-03-03 14:19:28 -08:00
Supriya Premkumar
e52e5e486c
Adds ineffassign to GO linter script.
...
Changes:
- Enables ineffassign check in the verify scripts.
- Fixes lint errs.
2021-03-03 08:28:10 -08:00
shiyajuan123
e726ce97fb
add descriptions to these event/types.go files
2021-03-03 19:06:50 +08:00
Stephen Augustus
093967606b
hack/tools: Update zeitgeist to v0.2.0 to drop import cycle
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-03 05:42:05 -05:00
Davanum Srinivas
f719624654
Support M1 MacBooks darwin/arm64 on the client-side
...
testing using:
```
build/run.sh make generated_files && make quick-release-images
```
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-02 20:50:00 -05:00
Kubernetes Prow Robot
28feb8e30d
Merge pull request #96882 from saschagrunert/parallel-build-configurable
...
Make parallel build memory threshold configurable
2021-03-02 16:51:19 -08:00
Kubernetes Prow Robot
267afe2358
Merge pull request #99526 from chymy/fix-staticcheck-failed
...
Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/generic
2021-03-02 14:47:32 -08:00
Kubernetes Prow Robot
3c514ae588
Merge pull request #99621 from nikhita/fix-verify-description
...
hack/verify-description.sh: correctly look for versioned API types
2021-03-02 12:16:27 -08:00
Jordan Liggitt
5e9189289e
Update go version check to 1.16+
2021-03-02 15:11:46 -05:00
Kubernetes Prow Robot
e4e9c31218
Merge pull request #98572 from justaugustus/go116
...
[go1.16] Update to go1.16
2021-03-02 08:57:19 -08:00
Nikhita Raghunath
4b9b926e5d
hack/verify-description.sh: correctly look for versioned API types
...
`find_files` had incorrect regexes which led to `genswaggertypedocs`
never being invoked. This commit updates the regex to correctly
look for versioned API types.go files.
Since `genswaggertypedocs` was never invoked, there are many API types
with missing descriptions. This commit lists these `types.go` files
in `hack/.descriptions_failures`.
The `verify-description.sh` script skips running `genswaggertypedocs`
on the files listed in `hack/.descriptions_failures`.
2021-03-02 21:50:40 +05:30
Kubernetes Prow Robot
f79795d718
Merge pull request #99521 from dekkagaijin/build
...
Prevent CGO and STATIC_OVERRIDES from trampling themselves if evaluated multiple times
2021-03-02 01:23:31 -08:00
Jordan Liggitt
ecef45df84
[go1.16] bump golang.org/x/... dependencies
...
hack/pin-dependency.sh golang.org/x/crypto latest
hack/pin-dependency.sh golang.org/x/net latest
hack/pin-dependency.sh golang.org/x/exp latest
hack/pin-dependency.sh golang.org/x/sys latest
hack/pin-dependency.sh golang.org/x/time latest
hack/pin-dependency.sh golang.org/x/tools latest
hack/lint-dependencies.sh
hack/pin-dependency.sh dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037
hack/pin-dependency.sh golang.org/x/mobile v0.0.0-20201217150744-e6ae53a27f4f
hack/pin-dependency.sh golang.org/x/mod v0.3.1-0.20200828183125-ce943fd02449
hack/lint-dependencies.sh
hack/update-internal-modules.sh
hack/update-vendor.sh
Co-authored-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:01 -05:00
Stephen Augustus
3c2824e3db
[go1.16] go.mod: update to go1.16
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
cici37
edc5b58e23
Update BUILD and staticcheck.
2021-03-01 10:22:06 -08:00
SataQiu
00ca55dd05
fix the bug that hack/update-vendor.sh exits with error but no indication of failure
2021-03-01 23:16:47 +08:00
Benjamin Elder
d296698b1a
remove BUILD copy from verify-openapi-spec.sh
2021-02-28 15:57:13 -08:00
Benjamin Elder
d9ef7cbe8c
drop bazel related tools from hack/tools module
2021-02-28 15:17:29 -08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Benjamin Elder
95e4a6bcda
remove now-unecessary logic from hack/verify-bazel.sh
2021-02-28 15:16:53 -08:00
Benjamin Elder
a1f2787897
automate removing bazel in hack/update-bazel.sh
2021-02-28 15:16:53 -08:00
Kubernetes Prow Robot
a185bafa0c
Merge pull request #99549 from BenTheElder/conformance-make
...
conformance.yaml: generate with make
2021-02-28 05:30:39 -08:00
Benjamin Elder
c1c3fdefe3
port conformance yaml generation to hack
2021-02-28 00:54:54 -08:00
chymy
3bab70b06a
Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/generic
...
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-02-27 03:25:24 -05:00
Jake Sanders
a3cfb0f2ce
Prevent CGO and STATIC_OVERRIDES from trampling themselves if sourced multiple times
2021-02-26 20:49:46 -08:00
chymy
04515b9c0a
Fix static failures for vendor/k8s.io/apiserver/pkg/endpoints/handlers
2021-02-26 21:01:55 -05:00
Kubernetes Prow Robot
d6c7476ab3
Merge pull request #99155 from soltysh/convert_release
...
Add kubectl-convert to client-binaries
2021-02-22 17:24:15 -08:00
Maciej Szulik
0a0c80c553
Add kubectl-convert to client-binaries
2021-02-22 17:01:34 +01:00
Stephen Augustus
5fb57eec1a
generated: Run ./hack/update-internal-modules.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-22 08:48:04 -05:00
Stephen Augustus
71008247dc
hack: Use zeitgeist instead of cmd/verifydependencies
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-22 08:48:02 -05:00
Stephen Augustus
68b9e70f3d
hack/tools: Add zeitgeist@e06e277 for verifying external dependencies
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-22 08:30:57 -05:00
Kubernetes Prow Robot
0a5e4a0d9b
Merge pull request #99120 from dims/use-golangci-lint-to-find-unused-code
...
Use golangci-lint to find unused/dead code (Experimental!)
2021-02-20 19:19:42 -08:00
Davanum Srinivas
865fd2f04f
Use golangci-lint to find unused/dead code
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-02-19 12:12:02 -05:00
Maciej Szulik
3dab7462d1
Drop batch/v2alpha1 API
2021-02-12 17:51:12 +01:00
Joakim Roubert
3dd3211c81
Fix shellcheck failures in cluster/gce/gci/configure.sh
...
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2021-02-10 19:23:31 +01:00
Kubernetes Prow Robot
0f3aada51e
Merge pull request #90405 from joakimr-axis/joakimr-axis_util.sh
...
Fix shellcheck warnings/errors in cluster/gce/util.sh
2021-02-10 10:02:16 -08:00
tiloso
e1ceac0783
Fix staticcheck in test/integration/{scheduler_perf,garbagecollector}
2021-02-10 10:55:09 +01:00
Joakim Roubert
8bf2836e41
Fix remaining shellcheck issues in cluster/gce/util.sh
...
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2021-02-10 10:07:45 +01:00
Benjamin Elder
7f1c6740f7
suggest homebrew when bash is too old on macOS
2021-02-09 22:40:01 -08:00
Kubernetes Prow Robot
b87ae556b3
Merge pull request #95865 from joakimr-axis/joakimr-axis_master-helper.sh
...
Fix shellcheck issues in cluster/gce/gci/master-helper.sh
2021-02-09 17:43:00 -08:00
Kubernetes Prow Robot
d6c26a826a
Merge pull request #95281 from SaiHarshaK/staticcheck_test
...
fix staticcheck failures for test/e2e and test/integration
2021-02-09 03:40:38 -08:00
Kubernetes Prow Robot
141630d090
Merge pull request #98861 from tonistiigi/non-amd64-cross-compile
...
avoid hardcoding amd64 specifics on cross compiling
2021-02-09 00:45:53 -08:00
Kubernetes Prow Robot
2b7c61b1bb
Merge pull request #98205 from pacoxu/build/pauses
...
update pause image to 3.4.1 and also update the change log
2021-02-08 18:20:58 -08:00
Kubernetes Prow Robot
017d4dd832
Merge pull request #98739 from logicalhan/so-stable
...
Wire up static-analysis so that it executes in the normal 'hack' flow
2021-02-08 15:19:10 -08:00
Tonis Tiigi
fd01467c0c
avoid hardcoding amd64 specifics on cross compiling
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-02-07 21:08:00 -08:00
Sai Harsha Kottapalli
a2ef69060a
fix staticcheck failures for test/e2e and test/integration
2021-02-07 23:47:23 +05:30
Han Kang
db107b190c
remove the rest of the bazel test wiring for metrics stability
2021-02-05 10:48:48 -08:00
pacoxu
0c152cbbbe
update pause to 3.4.1 for tests(e2e)
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-05 21:32:53 +08:00
Han Kang
73d797d474
Wire up static-analysis so that it executes in the normal 'hack' flow
2021-02-04 18:48:03 -08:00
Kubernetes Prow Robot
81d8ccfa8e
Merge pull request #97224 from tanjing2020/fix_SA2002
...
fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints
2021-02-04 13:23:03 -08:00
Kubernetes Prow Robot
2d9e9290e7
Merge pull request #98508 from tonistiigi/arm64-cross
...
enable cross-compile CC config for non-amd64
2021-02-02 18:00:28 -08:00
Kubernetes Prow Robot
ee2b7a5049
Merge pull request #98049 from pacoxu/enhancements/redir-links
...
fix all keps links 404 for kep folder migration
2021-02-01 21:48:28 -08:00
Kubernetes Prow Robot
e161051c83
Merge pull request #98668 from liggitt/gotestsum
...
Install gotestsum if needed for junit results
2021-02-01 14:52:36 -08:00
Jordan Liggitt
031e1c562c
Install gotestsum if needed for junit results
2021-02-01 12:16:07 -05:00
Kubernetes Prow Robot
101cdbf932
Merge pull request #97295 from tiloso/staticcheck-test-integration
...
Fix staticcheck in test/integration/{examples,framework}
2021-02-01 04:49:48 -08:00
pacoxu
a10bdfed09
fix all keps links 404 for kep folder migration
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-01 19:41:59 +08:00
pacoxu
8811275ea4
update pause image 3.4.1 for hack testdatas only
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-01 15:09:25 +08:00
Kubernetes Prow Robot
081f68d685
Merge pull request #97999 from llhuii/hack-version-script-fix-err-to-stdout
...
hack/lib/version.sh: fix error log to stderr
2021-01-31 08:39:48 -08:00
llhuii
36aa8a24ce
hack/lib/version.sh: fix error log to stderr
...
Since this invalid Semantic Version messages redirecting to stdout
will be captured by line 790 at hack/lib/golang.sh:
`goldflags="${GOLDFLAGS=-s -w -buildid=} $(kube::version::ldflags)"`
This happens when only no valid tag exists in repo
2021-01-31 00:40:53 +08:00
tanjing2020
c38a06bca6
fix staticcheck failures on vendor/k8s.io/apiserver/pkg/endpoints
2021-01-29 11:39:25 +08:00
Kubernetes Prow Robot
d7cb340bc6
Merge pull request #83268 from odinuge/e2e_node_timeout
...
Add timeout config for node_e2e tests
2021-01-28 19:33:40 -08:00
Kubernetes Prow Robot
125a5f10a6
Merge pull request #96599 from tanjing2020/master
...
fix staticcheck:pkg/volume/testing
2021-01-28 18:43:40 -08:00
Davanum Srinivas
02eaf0f23d
remove references to golint in hack/tools
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-28 15:43:12 -05:00
Davanum Srinivas
8cec5fbd28
Remove golint based verifications
...
After a couple years of seeing changes spawned from this issue, I don't think this is a good use of contributors' or reviewers' time. golint is very opinionated about:
exported type and function names, leading to PRs attempting to change exported things people use downstream
missing documentation on interface implementation functions, which leads to not-very-useful copy/paste of interface godoc
the govet and staticcheck verify jobs are much more useful since they catch correctness issues
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-28 15:43:09 -05:00
Tonis Tiigi
f19f22b43e
enable cross-compile CC config for non-amd64
...
Currently target CC can only be set if the host platform
is linux/amd64 . If target is already set in the environment
it is always safe to use it and enable cgo.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-01-28 07:11:04 -08:00
Li Bo
bb150cdd4f
change minimum bash version to 4.2
2021-01-26 20:12:58 +08:00
Chok Yip Lau
eaaa803d48
Fix staticcheck on vendor/k8s.io/apiserver/pkg/server/httplog
2021-01-25 21:16:28 -05:00
Tim Hockin
33ad2fe019
Build: Don't find into _name dirs
...
This is a no-op now that _examples is renamed.
2021-01-25 10:20:49 -08:00
Tim Hockin
876c9f0d8c
Rename _examples to examples
...
The alternative to this would be to special-case code-generator. Since
it legit wants codegen, it seems wrong to make it be _examples (which tools
should ignore).
Make examples an "internal module" so the main go.mod for
k8s.io/code-generator does not get too polluted.
2021-01-25 10:20:46 -08:00
Tim Hockin
1b07b0d648
Fix bug in golint script when no files
...
The script would get a 1 return code from grep when there are no files
in a directory, after filtering generated filenames. This would cause
the script to exit unexpectedly.
2021-01-25 10:15:59 -08:00
Tim Hockin
105e8f8467
Rename *-hack-tools.sh -> *-internal-modules.sh
...
Prep to add more such modules
2021-01-25 10:15:59 -08:00
Tim Hockin
3aa319c894
Don't generate LICENSES for hack/tools
2021-01-25 10:15:59 -08:00
Tim Hockin
91c401c964
Update-vendor: canonicalize pwd
2021-01-25 10:15:59 -08:00
Tim Hockin
187def4d4f
Make: Retool how we cache go dirs
...
Now we can use /dev/null as an argument when running tools manually
2021-01-25 10:15:59 -08:00
Tim Hockin
ee170145b2
Make: prefix magic go-deps variables with GODEPS
...
This makes them easier to see and find.
Driving towards `make --warn-undefined-variables`.
2021-01-25 10:15:58 -08:00
Kubernetes Prow Robot
f5bb2c19b9
Merge pull request #97882 from ialidzhikov/staticcheck/x509
...
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/authentication/request/x509
2021-01-25 09:26:54 -08:00
Kubernetes Prow Robot
bfe42562a1
Merge pull request #98309 from dims/ensure-bash-version-at-least-5.x
...
Ensure bash version at least 5.x
2021-01-23 22:02:53 -08:00
Davanum Srinivas
feecef7795
Ensure bash version at least 5.x
...
Co-authored-by: Stephen Augustus <justaugustus@users.noreply.github.com>
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-22 13:08:53 -05:00
Kubernetes Prow Robot
7eef3ed8c7
Merge pull request #98003 from lauchokyip/fixlint2
...
Fix golint errors for k8s.io/cli-runtime/pkg/genericclioptions/
2021-01-21 09:57:40 -08:00
Kubernetes Prow Robot
6040a06a2e
Merge pull request #97841 from feranwq/patch-92402-2
...
fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck
2021-01-21 09:57:27 -08:00
Kubernetes Prow Robot
a64c7ed1dc
Merge pull request #97930 from JieJhih/golint/fs
...
fix golint in volume fs
2021-01-19 13:14:00 -08:00
Kubernetes Prow Robot
73d4c245ef
Merge pull request #98160 from sfowl/pyyaml-safe-load
...
Change yaml.load() to safe_load()
2021-01-19 04:07:45 -08:00
Sam Fowler
368ebbeddf
Change yaml.load() to safe_load()
2021-01-19 15:58:12 +10:00
Kubernetes Prow Robot
294c352380
Merge pull request #98017 from lanzao/patch01
...
Fix golint issues in client/custom_metrics/scheme
2021-01-15 06:31:51 -08:00
lanzao
a833a0321c
Fix golint issues in client/custom_metrics/scheme
2021-01-15 10:17:12 +08:00
Chok Yip Lau
9a3148291d
Fix golint errors for kubectl/pkg/cmd/certificates/certificates.go
2021-01-13 09:17:00 -05:00
Chok Yip Lau
c5b95f60fa
Fix golint errors for k8s.io/cli-runtime/pkg/genericclioptions/
2021-01-13 05:28:09 -05:00
Kubernetes Prow Robot
3722cef5e5
Merge pull request #97947 from Haleygo/fix/replace-cfssl-resource
...
fix:replace cfssl resources and upgrade them to 1.5.0
2021-01-12 21:10:37 -08:00
Kubernetes Prow Robot
bbde53e300
Merge pull request #97959 from carlory/patch-1
...
set GOOS=linux for the staticcheck tool
2021-01-12 18:24:35 -08:00
Kubernetes Prow Robot
e414d4e5c2
Merge pull request #96315 from twosigma/dnsdomainteste2e
...
Ensuring default DNS cluster-domain of Kubelet is cluster.local
2021-01-12 10:28:35 -08:00
Kubernetes Prow Robot
ef3337a443
Merge pull request #97786 from pacoxu/staticcheck/apiserver-storage
...
fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/
2021-01-12 08:20:26 -08:00
feranwq
ddba6a79d4
fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck
2021-01-12 19:03:13 +08:00
帝俊
7c487f9964
set GOOS=linux for the staticcheck tool
2021-01-12 18:00:36 +08:00
Haleygo
b2796cea93
fix:replace cfssl resources and upgrade them to 1.5.0
...
Signed-off-by: Haleygo <hui.wang@daocloud.io>
2021-01-12 14:05:20 +08:00
JieJhih Jhang
f1829a7744
fix golint in volume fs
2021-01-12 06:35:52 +08:00
Sascha Grunert
9428ad78fd
Make parallel build memory threshold configurable
...
The amount of memory required to build binaries in parallel is right now
set to 40GiB. We now make this variable to be able to build artifacts in
parallel even with a lower amount of memory.
This enables SIG Release to speed-up the build time drastically in
Google Cloud Build (GCB).
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2021-01-11 11:59:57 +01:00
ialidzhikov
5771ea733f
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/authentication/request/x509
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-10 00:32:42 +02:00
pacoxu
aaa7084a4a
fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/
2021-01-07 11:27: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
Kubernetes Prow Robot
6af5fdcf98
Merge pull request #94396 from habibrosyad/patch-92402-10
...
fix vendor/k8s.io/apimachinery/pkg/runtime staticcheck
2021-01-06 08:43:52 -08:00
Kubernetes Prow Robot
b39494ce35
Merge pull request #97374 from geegeea/golint
...
Fix golint issues in pkg/kubelet/types
2021-01-05 17:10:03 -08:00
Kubernetes Prow Robot
3209dabb0d
Merge pull request #97466 from geegeea/lint-kubelet
...
Fix golint issues in api/admission and api/admissionregistration
2021-01-05 09:01:59 -08:00
ialidzhikov
8a0bce0021
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/admission/initializer
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-02 22:41:13 +02:00
Jesus Herrera
d8bedb3980
Remove docker remote/docker-machine from build scripts
2020-12-30 12:37:51 -05:00
Gurleen Grewal
2414bce4c3
Fix golint issues in pkg/kubelet/types
2020-12-23 19:21:31 -08:00
Gurleen Grewal
73f24d6beb
Fix golint issues in api/admission and api/admissionregistration
2020-12-22 12:13:41 -08:00
Kubernetes Prow Robot
81e82b8453
Merge pull request #97167 from geegeea/golint-cleanup-events
...
Fix golint issues in pkg/credentialprovider/plugin
2020-12-16 13:04:31 -08:00
tiloso
3cbdc711de
Fix staticcheck in test/integration/{examples,framework}
...
Part of #92402 , fixes staticcheck failures SA1006, SA1019 and SA2002 in
test/integration/examples and test/integration/framework.
2020-12-14 21:54:37 +01:00
Qiming Teng
e1ec14162f
Fix OpenAPI spec generator script
2020-12-14 10:10:33 +08:00
Kubernetes Prow Robot
58a1f1658d
Merge pull request #96997 from PurelyApplied/update-levee-config
...
[KEP-1933] Update config for go-flow-levee analysis
2020-12-10 14:53:22 -08:00
Patrick Rhomberg
42fb39f116
Use full aliases. Add sig/security label.
2020-12-09 23:43:48 +00:00
Patrick Rhomberg
3559d752e3
Transfer ownership of logging analysis configuration to sig-security.
2020-12-09 19:15:46 +00:00
Kubernetes Prow Robot
018942a92a
Merge pull request #96903 from JornShen/local_up_resume_readonly_port
...
local-up-cluster kubelet option opening readonly port
2020-12-08 20:04:32 -08:00
Kubernetes Prow Robot
58287f3cb6
Merge pull request #96660 from KobayashiD27/staticcheck_in_endpoints_request
...
fix staticchekc failer in apiserver/pkg/endpoints/request
2020-12-08 18:34:57 -08:00
Kubernetes Prow Robot
cb8ad64243
Merge pull request #96632 from sbueringer/pr-fix-staticcheck-apiserver-server
...
fix staticcheck: vendor/k8s.io/apiserver/pkg/server/{options,storage}
2020-12-08 17:30:07 -08:00
Kubernetes Prow Robot
5664482714
Merge pull request #96402 from lala123912/cc_4
...
fix staticcheck:vendor/k8s.io/kubectl/pkg/cmd/scale
2020-12-08 17:28:35 -08:00
Gurleen Grewal
7a0b5acf00
Fix golint issues in pkg/credentialprovider/plugin
2020-12-08 15:11:44 -08:00
Patrick Rhomberg
a3d483e965
Update cross-referencing for PRs.
2020-12-04 22:42:18 +00:00
Patrick Rhomberg
66c54ffc43
Refer to KEP rather than directly to documentation link.
2020-12-04 22:39:36 +00:00
jornshen
da808767b7
local-up-cluster kubelet option opening readonly port
2020-12-02 09:46:24 +08:00
Patrick Rhomberg
6488e89f96
Update config for go-flow-levee analysis
...
* Remove \b boundary for sinks; Unicode backspace \b != regexp boundary \b.
* Specify those source type fields that have not yet been tagged.
* Add exclusions for current false-positive set.
2020-12-01 23:35:32 +00:00
Stephen Augustus
1c89ce14c0
[go1.15] hack/tools: 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
Kobayashi Daisuke
fa68cda13f
fix staticchekc failer in apiserver/pkg/endpoints/request
2020-11-18 15:28:35 +09:00
Stefan Bueringer
6190b87927
rollback httplog change
2020-11-17 12:56:47 +01:00
Stefan Bueringer
ed0adcb65e
fix staticcheck: vendor/k8s.io/apiserver/pkg/server
2020-11-17 11:58:13 +01:00
tanjing2020
3398401c06
fix staticcheck:pkg/volume/testing
...
pkg/volume/testing/testing.go:417:16: possible nil pointer derefence (SA5011)
2020-11-17 14:45:13 +08:00
lala123912
5710e1b162
fix staticcheck:vendor/k8s.io/kubectl/pkg/cmd/scale
...
vendor/k8s.io/kubectl/pkg/cmd/scale/scale.go:212:2: this value of err is never used (SA4006)
2020-11-14 12:17:11 +08:00
Kubernetes Prow Robot
36f571404f
Merge pull request #96527 from adtac/apfbeta
...
promote API priority and fairness types and APIs to beta
2020-11-13 19:33:04 -08: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
3b2746c9ea
Merge pull request #95614 from wilsonehusin/golint-client-go-transport
...
Fix golint failures in client-go/transport
2020-11-13 07:34:31 -08:00
Kubernetes Prow Robot
e38b1b94f8
Merge pull request #96399 from andrewsykim/service-config
...
move service controller config to k8s.io/cloud-provider/controllers/service/config
2020-11-12 11:21:57 -08:00
Kubernetes Prow Robot
9d2a2263cd
Merge pull request #96387 from mrunalp/cri_add_beta
...
Add CRI v1 proto
2020-11-12 11:21:31 -08:00
Kubernetes Prow Robot
d1c41e70ff
Merge pull request #96331 from mithuns/fix-lint-runtime-serializer-protobuf
...
Fix go lint on folder apimachinery/pkg/runtime/serializer/protobuf
2020-11-12 05:32:49 -08:00
Kubernetes Prow Robot
12d9183da0
Merge pull request #95718 from SergeyKanzhelev/runtimeClass2
...
RuntimeClass GA
2020-11-12 00:44:51 -08:00
Kubernetes Prow Robot
d233111f5b
Merge pull request #94196 from andrewsykim/registry-creds
...
kubelet: add alpha credential provider plugins
2020-11-11 19:59:11 -08:00
Sergey Kanzhelev
06da0e5e74
GA of RuntimeClass feature gate and API
2020-11-11 19:22:32 +00:00
Alay Patel
8d7dd4415e
add cronjob_controllerv2.go
2020-11-10 17:32:06 -05:00
Mrunal Patel
9fcede9d5b
Add CRI v1 proto
...
Add CRI v1 proto and generated code.
We need both v1 and v1alpha2 side by side so that
containerd and CRI-O could be updated. Once the runtimes
are updated and in the CI, we can switch the kubelet
to use v1 in 1.21 .
We are jumping to v1, so we have to avoid multiple hops to get
to GA. The package could stay v1 and declare CRI support to
be at beta and eventually GA.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2020-11-10 14:17:17 -08:00
Andrew Sy Kim
b1e0decce1
move service controller config to k8s.io/cloud-provider/controllers/service/config
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-10 14:59:44 -05:00
Andrew Sy Kim
91aae6ea48
hack/.golint: ignore golint for new kubelet and credentialprovider APIs package
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-10 13:44:07 -05:00
Kubernetes Prow Robot
26f09b77a8
Merge pull request #96028 from masap/local_up_cluster2
...
local-up-cluster.sh: Pass CLUSTER_CIDR to kube-proxy
2020-11-10 07:17:00 -08:00
Kubernetes Prow Robot
6e95025994
Merge pull request #92165 from RenaudWasTaken/v1-pod-resources
...
Graduate the Pod Resources API to G.A
2020-11-09 18:24:41 -08:00
Kubernetes Prow Robot
995e531a63
Merge pull request #93764 from cici37/ccmwrap
...
Adding flexibility to CCM
2020-11-09 13:44:28 -08:00
Mithun Singh
d4cbad8256
Fix go lint on folder apimachinery/pkg/runtime/serializer/protobuf
2020-11-09 11:26:49 -08:00
Kubernetes Prow Robot
55f95bc893
Merge pull request #96323 from msscaroso/fix-lint-runtime-serializer-json
...
Fix go lint on folder apimachinery/pkg/runtime/serializer/json
2020-11-09 10:32:27 -08:00
Kubernetes Prow Robot
2343b8a68b
Merge pull request #95872 from 22dm/kube-proxy-comment-fix
...
Fix the kube-proxy document
2020-11-08 19:23:37 -08:00
liuhongyu
d38ff93e4b
remove kube-proxy/config/v1alpha1 from .golint_failures
2020-11-07 11:02:16 +08:00
Marcio Caroso
4b8b9c92bf
Fix go lint on folder apimachinery/pkg/runtime/serializer/json
2020-11-06 20:45:27 -03:00
Javier Diaz-Montes
c8da7128eb
Ensuring default DNS cluster-domain of Kubelet is cluster.local
...
Currently e2e tests run under test-e2e-node have a cluster-domain
equals to "". This change makes test-e2e-node consistent with other
e2e tests. For example, in hack/ginkgo-e2e.sh, cluster-domain
defaults to cluster.local and it can be changed by defining KUBE_DNS_DOMAIN.
2020-11-06 13:42:13 -05:00
cici37
895a0a8d5e
Adding config extension to CCM.
2020-11-06 02:42:44 -08:00
Kubernetes Prow Robot
226ea6b49d
Merge pull request #96231 from deads2k/clean-up-feature
...
update features to indicate beta in comment
2020-11-05 15:17:04 -08:00
Kubernetes Prow Robot
38f14f3874
Merge pull request #95876 from saschagrunert/proto
...
Propose seccomp/apparmor protobuf type definitions for CRI graduation
2020-11-05 06:31:08 -08:00
David Eads
73f7a9b394
update features to indicate beta in comment
2020-11-05 07:21:19 -05:00
Kubernetes Prow Robot
1328d8c8c6
Merge pull request #96235 from PurelyApplied/exclude-levee-in-verify-all
...
Exclude KEP-1933 from verify-all.sh until after alpha status.
2020-11-04 18:11:25 -08:00
Kubernetes Prow Robot
ff225efc10
Merge pull request #96095 from masap/local_up_cluster4
...
local-up-cluster.sh: Use config file instead of flags for kubelet
2020-11-04 13:25:30 -08:00
Patrick Rhomberg
e67ab309b7
Exclude KEP-1933 from verify-all.sh until after alpha status.
2020-11-04 20:18:57 +00:00
Kubernetes Prow Robot
6a3fd8f3d7
Merge pull request #96204 from knight42/fix/curl-bearer-token
...
fix: pass bearer token to curl using --header instead of --oauth2-bearer
2020-11-04 10:38:53 -08:00
knight42
00e4234cc9
fix: pass bearer token to curl using -H instead of --oauth2-bearer
...
The flag `--oauth2-bearer` might have no effect in some environment.
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-11-05 01:15:19 +08:00
Kubernetes Prow Robot
792b4b1e32
Merge pull request #94661 from PurelyApplied/PoC-bazel-analysis-rebased
...
[KEP-1933] Provide hack/ testing target for static analysis.
2020-11-04 01:58:03 -08:00
Kubernetes Prow Robot
b00665c61b
Merge pull request #96073 from masap/local_up_cluster3
...
local-up-cluster.sh: Remove ineffective parameters
2020-11-03 14:58:04 -08:00
Masashi Honma
29c9fb6102
local-up-cluster.sh: Use config file instead of flags for kubelet
...
Because /tmp/kubelet.log shows trailing log twice.
Flag --address has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --rotate-certificates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --feature-gates has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cpu-cfs-quota has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --enable-controller-attach-detach has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroups-per-qos has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cgroup-root has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-hard has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-soft has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --eviction-pressure-transition-period has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --pod-manifest-path has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --authorization-mode has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --authentication-token-webhook has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --client-ca-file has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cluster-dns has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --cluster-domain has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --runtime-request-timeout has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Flag --port has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
2020-11-04 07:42:31 +09:00
Patrick Rhomberg
90b85bf3fa
KEP-1933: add static analysis target to hack/
...
* Add static analysis to hack/verify-govet-levee.sh for defense against
accidental logging of credentials.
* Add binary dependency to hack/tools/tools.go and associated go.mod, go.sum.
* Add analysis configuration to hack/testdata/levee/
2020-11-03 20:03:26 +00:00
Sascha Grunert
7b9d7fd953
Propose seccomp/apparmor protobuf type definitions for CRI graduation
...
With the graduation of the Container Runtime Interface (CRI) we will
have a unique chance to change the protobuf protocol. We now use native
types for seccomp and AppArmor to make the API more clear and concise to
be used.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2020-11-03 20:17:17 +01:00
Kubernetes Prow Robot
cf4a33c549
Merge pull request #95761 from ingvagabund/move-rbac-under-component-helpers
...
Move pkg/registry/rbac code imported by kubectl under component helpers
2020-11-02 11:56:29 -08:00
Kubernetes Prow Robot
8e6a98992d
Merge pull request #93859 from habibrosyad/patch-92402-2
...
fix vendor/k8s.io/apimachinery/pkg/api/meta staticcheck
2020-11-02 10:24:14 -08:00
Jan Chaloupka
a5920f7edb
Move helpers from pkg/registry/rbac/reconciliation and pkg/registry/rbac/validation under k8s.io/component-helpers
2020-11-02 17:51:16 +01:00
Kubernetes Prow Robot
d1c296431e
Merge pull request #96059 from knight42/refactor/migrate-health-check
...
refactor: migrate health checks of control-plane off insecure port in tests
2020-11-02 08:21:08 -08:00
M. Habib Rosyad
979fba1cb0
fix vendor/k8s.io/apimachinery/pkg/api/meta staticcheck
2020-11-01 15:38:57 +07: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
Masashi Honma
0cfb6a16e7
local-up-cluster.sh: Remove ineffective parameters
...
Because kube-apiserver shows these warnings, this patch removes parameters
which has no effect.
Flag --insecure-bind-address has been deprecated, This flag has no effect now and will be removed in v1.24.
Flag --insecure-port has been deprecated, This flag has no effect now and will be removed in v1.24.
2020-10-31 16:04:32 +09: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
knight42
3c4d6859c8
refactor: migrate health checks of control-plane off insecure port in tests
...
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-10-31 11:39:25 +08:00
Kubernetes Prow Robot
bf67247124
Merge pull request #93258 from zshihang/token
...
mv TokenRequest and TokenRequestProjection to GA
2020-10-30 16:36:51 -07:00
Kubernetes Prow Robot
4b65f70652
Merge pull request #95740 from cici37/moveCCM
...
Move cloud-controller-manager to staging k8s.io/cloud-provider
2020-10-30 13:48:51 -07:00
Kubernetes Prow Robot
3662e1e344
Merge pull request #96025 from haircommander/fix-API_PORT
...
hack/local-up-cluster.sh: fix API_PORT
2020-10-29 21:04:15 -07:00
cici37
9465d95ea6
Move CCM to staging k8s.io/cloud-provider
2020-10-29 20:50:23 -07:00
Shihang Zhang
ff641f6eb2
mv TokenRequest and TokenRequestProjection to GA
2020-10-29 20:47:01 -07:00
Masashi Honma
181a724dc3
local-up-cluster.sh: Pass CLUSTER_CIDR to kube-proxy
...
This patch fixes the local-up-cluster.sh to pass CLUSTER_CIDR to kube-proxy.
Previously, CLUSTER_CIDR was passed only to controller manager and cloud
controller manager.
2020-10-30 09:50:02 +09:00
Kubernetes Prow Robot
4d4570979a
Merge pull request #95982 from masap/local_up_cluster1
...
local-up-cluster.sh: Pass SERVICE_CLUSTER_IP_RANGE to controller manager
2020-10-29 17:40:36 -07:00
Peter Hunt
174548659f
hack/local-up-cluster.sh: fix API_PORT
...
commit kubernetes/kubernetes@cfc2b33 causes a local cluster to not come up because it sets the default insecure port to 8080, which is no longer valid
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2020-10-29 17:17:58 -04:00
Kubernetes Prow Robot
1968e96165
Merge pull request #95856 from knight42/refactor/disable-apiserver-insecure-port
...
refactor(apiserver): disable insecure port
2020-10-29 10:47:58 -07:00
knight42
cfc2b330a7
refactor(apiserver): ignore the insecure flags
...
Leave the insecure flags intact but stop serving on insecure port.
2020-10-29 23:20:17 +08:00
Masashi Honma
8e84f3d78d
local-up-cluster.sh: Pass SERVICE_CLUSTER_IP_RANGE to controller manager
...
Previously, SERVICE_CLUSTER_IP_RANGE was passed only to kube-apiserver.
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-29 17:47:19 +09:00
Kubernetes Prow Robot
ec0ef23599
Merge pull request #95923 from deads2k/remove-deprecated
...
remove the deprecated client that we stopped generating
2020-10-28 12:50:11 -07:00
Kubernetes Prow Robot
17312ea4a9
Merge pull request #95810 from ruiwen-zhao/staticcheck_fix
...
Fix staticcheck failures on apiserver/plugin/pkg/{authenticator, auth…
2020-10-28 07:45:55 -07:00
David Eads
1f349b5d05
remove the deprecated client that we stopped generating
2020-10-28 10:43:31 -04:00
Joakim Roubert
434611b3fb
Fix shellcheck issues in cluster/gce/gci/master-helper.sh
...
Based on PR 88582 by gavinfish that was closed due to inactivity.
Contains a few updates.
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-10-27 08:58:48 +01:00
Renaud Gaubert
a989bece00
Add podresources v1 API
2020-10-26 12:10:18 -07:00
Ben Hu
4e62298c1b
Fix static checks for pkg/controller/podautoscaler
2020-10-23 18:53:07 +00:00
ruiwen-zhao
bdedc4ce34
Fix staticcheck failures on apiserver/plugin/pkg/{authenticator, authorizer}
2020-10-22 21:47:17 +00:00
Wilson Husin
889ffb04d0
Fix golint failures in client-go/transport
...
Signed-off-by: Wilson Husin <whusin@vmware.com>
2020-10-21 01:01:29 -07:00
Abhisek Banerjee
462326afba
Support cross compilation only on amd64.
...
Based on a patch to Bottlerocket by Ben Cressey <bcressey@amazon.com>
41a72fe214/packages/kubernetes-1.17/0001-always-set-relevant-variables-for-cross-compiling.patch
2020-10-21 00:13:01 +00:00
bnrjee
6b672863c7
Always set relevant variables for cross compiling
...
Based on a patch to Bottlerocket by Ben Cressey <bcressey@amazon.com>
41a72fe214/packages/kubernetes-1.17/0001-always-set-relevant-variables-for-cross-compiling.patch
2020-10-21 00:13:01 +00:00
Kubernetes Prow Robot
a8a779133a
Merge pull request #95502 from suramrit/lintCorrection
...
Fix golint errors by adding definition comments for pkg/apis/apiserverinternal
2020-10-20 12:56:33 -07:00
Kubernetes Prow Robot
e0f7d0ce3e
Merge pull request #95659 from makhov/fix-verify-sh
...
fix unbound variable issue in verify.sh
2020-10-20 11:22:44 -07:00
Kubernetes Prow Robot
3b868e1a71
Merge pull request #92829 from marload/patch-0706-04
...
Refactoring: Reduce unnecessary lines
2020-10-19 19:12:07 -07:00
Kubernetes Prow Robot
a5dceab0ce
Merge pull request #95580 from jayunit100/jayunit100/pillarnodelocal
...
support multiple bind records (fie nodelocaldns test regression)
2020-10-16 22:24:12 -07:00
Kubernetes Prow Robot
c913d4ed2a
Merge pull request #95640 from lala123912/staticcheck_2
...
vendor/k8s.io/metrics/pkg/client/custom_metrics: fix static check
2020-10-16 16:00:12 -07:00
Aleksei Makhov
1777a356c8
fix unbound variable issue in verify.sh
2020-10-16 21:39:25 +03:00
jayunit100
aefe930562
support multiple bind records (fie nodelocaldns test regression), by
...
first replacing PILLAR_ and then replacing other vars.
2020-10-16 14:28:55 -04:00
Kubernetes Prow Robot
23e5a85648
Merge pull request #93627 from hasheddan/verify-py3
...
run make verify with python3 to fix publishing bot issue
2020-10-16 08:01:25 -07:00
lala123912
324e969a6c
fix staticcheck
...
vendor/k8s.io/metrics/pkg/client/custom_metrics/multi_client.go:49:4: ineffective break statement. Did you mean to break out of the outer loop? (SA4011)
vendor/k8s.io/metrics/pkg/client/custom_metrics/versioned_client.go:38:2: var codecs is unused (U1000)
2020-10-16 16:08:53 +08:00
Kubernetes Prow Robot
297b021f49
Merge pull request #95230 from Git-Jiro/fix_vendor_client_go
...
Fix staticchecks in vendor/k8s.io/client-go
2020-10-15 06:04:37 -07:00
Martin Schimandl
13c017056c
Fix staticchecks in vendor/k8s.io/client-go
2020-10-15 07:27:02 +02:00
Kubernetes Prow Robot
7ff41c1ba0
Merge pull request #94588 from MaXinjian/shellcheck-typo
...
Fix typo in comment of hack/verify-shellcheck.sh
2020-10-14 11:15:49 -07: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
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
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
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
Suramrit Singh
e0249c4b0b
- fix golint errors by adding defition comments
...
- remove /pkg/apiserverinternal from .golint_failures
2020-10-12 15:03:53 -07: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
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
Anderson Queiroz
8c724d7933
cleanup: fix golint errors in /pkg/kubelet/stats
2020-10-08 21:59:42 +02:00