Production-Grade Container Scheduling and Management
Go to file
Francesco Romani 19ae360af9 e2e: node: inline getSampleDevicePluginPod
Starting golangci-lint >= 1.45, the tool is complaining
about the function being unused:
```bash
test/e2e_node/device_plugin_test.go:82:6: func `getSampleDevicePluginPod` is unused (unused)
func getSampleDevicePluginPod() *v1.Pod {
     ^

Please review the above warnings. You can test via "./hack/verify-golangci-lint.sh"
If the above warnings do not make sense, you can exempt this warning with a comment
 (if your reviewer is okay with it).
In general please prefer to fix the error, we have already disabled specific lints
 that the project chooses to ignore.
See: https://golangci-lint.run/usage/false-positives/}
```

thing is the code is not changed lately, and manual inspection trivially
confirms it is used.
Older versions of golangci-lint (tested with
```
golangci-lint has version 1.41.1 built from a2074809 on 2021-06-19T16:01:50Z
```)
indeed do NOT complain about the function, so this seems a golangci-lint
bug.

To move forward, we can disable the warning, but this leaves a sour
taste.
Instead, since the function is pretty trivias, was used just once and the caller
was undoing some of the work done by the function, we just inline it,
which solves the linter warning and makes the code a bit better.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2022-05-04 17:05:00 +02:00
.github Fix typo in bug report template 2022-02-28 12:34:43 +03:00
api Revert "Introduce APIs to support multiple ClusterCIDRs (#108290)" 2022-04-13 13:58:19 +01:00
build etcd: Update container repo to gcr.io/etcd-development/etcd 2022-04-13 19:04:01 -04:00
CHANGELOG CHANGELOG: Update directory for v1.24.0-rc.1 release 2022-04-26 16:45:00 +00:00
cluster windows GCE: Bumps containerd version to 1.6.2 2022-04-20 06:53:26 -07:00
cmd etcd: Update to v3.5.3 2022-04-13 19:04:00 -04:00
docs OWNERS cleanup - Jan 2021 Week 1 2022-01-10 08:14:29 -05:00
hack Merge pull request #109484 from liggitt/go-min-version 2022-04-14 09:20:47 -07:00
LICENSES Correctly attribute some datastructures from gotestsum repository 2022-04-01 14:49:15 -04:00
logo
pkg Disable JobTrackingWithFinalizers due to unresolved bug 2022-04-14 15:08:14 -04:00
plugin Revert "Introduce APIs to support multiple ClusterCIDRs (#108290)" 2022-04-13 13:58:19 +01:00
staging Merge pull request #109721 from andyzhangx/needresize-windows 2022-05-03 05:13:55 -07:00
test e2e: node: inline getSampleDevicePluginPod 2022-05-04 17:05:00 +02:00
third_party Correctly attribute some datastructures from gotestsum repository 2022-04-01 14:49:15 -04:00
vendor Bump cAdvisor to v0.44.1 2022-04-25 17:18:38 -07:00
.generated_files
.gitattributes
.gitignore Add the last zz_generated.openapi.go file 2022-02-28 10:17:54 -08:00
.golangci.yaml hack: integrate logcheck into golangci-lint 2022-03-24 11:21:03 +01:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod Bump cAdvisor to v0.44.1 2022-04-25 17:18:38 -07:00
go.sum Bump cAdvisor to v0.44.1 2022-04-25 17:18:38 -07:00
LICENSE
Makefile
Makefile.generated_files
OWNERS for ./OWNERS, ensure approvers are in reviewers and emeritus approvers are not in reviewers 2022-02-03 22:43:04 -08:00
OWNERS_ALIASES Remove johnbelamaric as sig-network reviewer and approver 2022-03-23 13:41:49 -07:00
README.md update the repository to incorporate project health best practices from clomonitor.io 2022-02-18 18:11:35 +00:00
SECURITY_CONTACTS
SUPPORT.md

Kubernetes (K8s)

GoPkg Widget CII Best Practices


Kubernetes, also known as K8s, is an open source system for managing containerized applications across multiple hosts. It provides basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If your company wants to help shape the evolution of technologies that are container-packaged, dynamically scheduled, and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using K8s

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To use Kubernetes code as a library in other applications, see the list of published components. Use of the k8s.io/kubernetes module or k8s.io/kubernetes/... packages as libraries is not supported.

To start developing K8s

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
mkdir -p $GOPATH/src/k8s.io
cd $GOPATH/src/k8s.io
git clone https://github.com/kubernetes/kubernetes
cd kubernetes
make
You have a working Docker environment.
git clone https://github.com/kubernetes/kubernetes
cd kubernetes
make quick-release

For the full story, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide, and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.

Community Meetings

The Calendar has the list of all the meetings in Kubernetes community in a single location.

Adopters

The User Case Studies website has real-world use cases of organizations across industries that are deploying/migrating to Kubernetes.

Governance

Kubernetes project is governed by a framework of principles, values, policies and processes to help our community and constituents towards our shared goals.

The Kubernetes Community is the launching point for learning about how we organize ourselves.

The Kubernetes Steering community repo is used by the Kubernetes Steering Committee, which oversees governance of the Kubernetes project.

Roadmap

The Kubernetes Enhancements repo provides information about Kubernetes releases, as well as feature tracking and backlogs.