Production-Grade Container Scheduling and Management
Go to file
Patrick Ohly 508cd60760 dynamic resource allocation: avoid apiserver complaint about list content
This fixes the following warning (error?) in the apiserver:

E0126 18:10:38.665239   16370 fieldmanager.go:210] "[SHOULD NOT HAPPEN] failed to update managedFields" err="failed to convert new object (test/claim-84; resource.k8s.io/v1alpha1, Kind=ResourceClaim) to smd typed: .status.reservedFor: element 0: associative list without keys has an element that's a map type" VersionKind="/, Kind=" namespace="test" name="claim-84"

The root cause is the same as in e50e8a0c91:
nothing in Kubernetes outright complains about a list of items where the item
type is comparable in Go, but not a simple type. This nonetheless isn't
supposed to be done in the API and can causes problems elsewhere.

For the ReservedFor field, everything seems to work okay except for the
warning. However, it's better to follow conventions and use a map. This is
possible in this case because UID is guaranteed to be a unique key.

Validation is now stricter than before, which is a good thing: previously,
two entries with the same UID were allowed as long as some other field was
different, which wasn't a situation that should have been allowed.
2023-01-27 11:33:05 +01:00
.github Make root approval non-recursive 2022-10-10 08:26:53 -04:00
api dynamic resource allocation: avoid apiserver complaint about list content 2023-01-27 11:33:05 +01:00
build Update CNI version to 1.2.0 2023-01-18 13:24:40 +05:30
CHANGELOG CHANGELOG: Update directory for v1.27.0-alpha.1 release 2023-01-24 22:30:09 +00:00
cluster Merge pull request #115191 from jkh52/zero-one-one 2023-01-20 17:56:02 -08:00
cmd logging: fix names of keys 2023-01-23 14:24:29 +01:00
docs Make root approval non-recursive 2022-10-10 08:26:53 -04:00
hack hack: update logtools to v0.4.1 2023-01-23 14:24:29 +01:00
LICENSES vendor: removed unused dep github.com/elazarl/goproxy 2023-01-18 18:31:50 +00:00
logo logo: better alignment of layers 2022-10-19 12:17:25 -07:00
pkg dynamic resource allocation: avoid apiserver complaint about list content 2023-01-27 11:33:05 +01:00
plugin Merge pull request #114817 from TommyStarK/plugin-pkg-admission/replace-deprecated-pointer-function 2023-01-04 14:30:44 -08:00
staging dynamic resource allocation: avoid apiserver complaint about list content 2023-01-27 11:33:05 +01:00
test Merge pull request #115283 from daman1807/master 2023-01-24 09:04:17 -08:00
third_party Make root approval non-recursive 2022-10-10 08:26:53 -04:00
vendor update kube-openapi 2023-01-23 15:32:33 -08:00
.generated_files remove clearly unnecessary lingering BUILD file references 2022-10-04 16:47:25 -07:00
.gitattributes gitattributes: json and yaml files LF line endings 2022-12-22 11:36:07 +00:00
.gitignore Remove refs to .make 2022-10-04 08:58:52 -07:00
.go-version releng: Update images, dependencies and version to Go 1.19.5 2023-01-12 13:43:57 +01:00
.golangci.yaml kubeadm: fix gocritic lint errors 2023-01-08 11:23:26 +08:00
CHANGELOG.md Revert "Add link to to file" 2023-01-05 15:53:04 +08:00
code-of-conduct.md
CONTRIBUTING.md
go.mod update kube-openapi 2023-01-23 15:32:33 -08:00
go.sum update kube-openapi 2023-01-23 15:32:33 -08:00
LICENSE
Makefile
OWNERS Add sig-architecture-approvers and dep-approvers to root dir 2022-10-10 13:43:04 -04:00
OWNERS_ALIASES Add bart0sh as a sig-node reviewer 2023-01-11 13:23:46 +01:00
README.md remove gopkg widget 2022-10-18 16:52:38 -07:00
SECURITY_CONTACTS
SUPPORT.md

Kubernetes (K8s)

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.