Production-Grade Container Scheduling and Management
Go to file
Taahir Ahmed b4e99584ce serviceaccounts: Add JWT KeyIDs to tokens
This commit fills out the JWT "kid" (KeyID) field on most
serviceaccount tokens we create.  The KeyID value we use is derived
from the public key of keypair that backs the cluster's OIDC issuer.

OIDC verifiers use the KeyID to smoothly cope with key rotations:

  * During a rotation, the verifier will have multiple keys cached
    from the issuer, any of which could have signed the token being
    verified.  KeyIDs let the verifier pick the appropriate key
    without having to try each one.

  * Seeing a new KeyID is a trigger for the verifier to invalidate its
    cached keys and fetch the new set of valid keys from the identity
    provider.

The value we use for the KeyID is derived from the identity provider's
public key by serializing it in DER format, taking the SHA256 hash,
and then urlsafe base64-encoding it.  This gives a value that is
strongly bound to the key, but can't be reversed to obtain the public
key, which keeps people from being tempted to derive the key from the
key ID and using that for verification.

Tokens based on jose OpaqueSigners are omitted for now --- I don't see
any way to actually run the API server that results in an OpaqueSigner
being used.
2019-08-28 14:18:23 -07:00
.github
api Merge pull request #81754 from apelisse/version-fields 2019-08-28 01:37:50 -07:00
build fix typo in build/platforms.bzl 2019-08-26 10:31:21 +08:00
cluster Merge pull request #81532 from MrHohn/cpa-1.7.0 2019-08-27 19:37:32 -07:00
cmd Merge pull request #81903 from jfbai/fix-kubeadm-kubelet-default 2019-08-28 12:01:41 -07:00
docs
Godeps Update vendor k8s-cloud-provider and google API 2019-08-27 15:58:55 -07:00
hack Merge pull request #81931 from RainbowMango/pr_cleanup_staticcheck_issues_for_vsphere 2019-08-28 03:10:10 -07:00
logo
pkg serviceaccounts: Add JWT KeyIDs to tokens 2019-08-28 14:18:23 -07:00
plugin Remove conflict logic from PodTolerationRestriction 2019-08-26 15:31:15 -07:00
staging Merge pull request #81958 from apelisse/ssa-improve-conflict-error 2019-08-28 12:01:54 -07:00
test Merge pull request #81960 from pohly/ephemeral-tests 2019-08-28 12:02:07 -07:00
third_party
translations
vendor Merge pull request #81896 from liggitt/webhook-efficiency 2019-08-28 03:09:38 -07:00
.bazelrc
.generated_files
.gitattributes
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md
CHANGELOG-1.5.md
CHANGELOG-1.6.md
CHANGELOG-1.7.md
CHANGELOG-1.8.md
CHANGELOG-1.9.md
CHANGELOG-1.10.md
CHANGELOG-1.11.md
CHANGELOG-1.12.md
CHANGELOG-1.13.md
CHANGELOG-1.14.md
CHANGELOG-1.15.md
CHANGELOG-1.16.md
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod Update vendor k8s-cloud-provider and google API 2019-08-27 15:58:55 -07:00
go.sum Update vendor k8s-cloud-provider and google API 2019-08-27 15:58:55 -07:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md
SECURITY_CONTACTS
SUPPORT.md
WORKSPACE

Kubernetes

GoDoc Widget CII Best Practices


Kubernetes is an open source system for managing containerized applications across multiple hosts; providing 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 you are a company that 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 Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To start developing Kubernetes

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.
go get -d k8s.io/kubernetes
cd $GOPATH/src/k8s.io/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.

Analytics