Commit Graph

8972 Commits

Author SHA1 Message Date
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
Marek Siarkowicz
5249c5c10d Update list of migrated directories 2021-03-13 02:04:58 +01: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
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
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