Production-Grade Container Scheduling and Management
Go to file
Clayton Coleman 386f94ff03
test/utils/image: Support a single repository
In downstream contexts, it's extremely useful to be able to combine
all the "testable" images in Kubernetes into a single repo so that
a user could mirror these offline in one chunk, and audit the set of
images for changes. For instance, within OpenShift we would like to
have a single place we can place all the images used by all the tests
with a single authentication scheme. While some images are not "real"
and can't be mirrored (for instance, the images that point to an
auth protected registry), that is not the majority.

This code makes it possible to specify an environment variable
KUBE_TEST_REPO that maps the static strings of the registry to a
single repository by placing the uniqueness in a tag. For instance:

KUBE_TEST_REPO=quay.io/openshift/community-e2e-images

would translate `k8s.gcr.io/prometheus-to-sd:v0.5.0` to `quay.io/openshift/community-e2e-images:e2e-30-k8s-gcr-io-prometheus-to-sd-v0-5-0-6JI59Yih4oaj3oQOjRfhyQ`.

The tag is a safe form of the name, plus the index (the constant within
manifest.go), plus a hash of the full input. The length of the tag is
constrained to the minimum of hash + index + the safe name.

The public method is changed to return two maps - index to original
name and index to test repo name. These maps would be the same if
the env var is not set.
2021-01-12 15:22:30 -05:00
.github
api Autogenerated 2020-12-30 16:00:41 +01:00
build Merge pull request #97177 from pacoxu/cleanup/docker-20.10 2021-01-08 20:01:04 -08:00
CHANGELOG Merge pull request #97911 from heqg/changeLog-Fixtypo 2021-01-12 04:40:25 -08:00
cluster Merge pull request #97742 from benhxy/apiserver-cipher 2021-01-08 13:44:29 -08:00
cmd Merge pull request #97919 from neolit123/1.21-fix-coredns-migration-preflight 2021-01-12 06:12:25 -08:00
docs
hack Merge pull request #96315 from twosigma/dnsdomainteste2e 2021-01-12 10:28:35 -08:00
LICENSES Update github.com/miekg/dns to pick up fix for CVE-2019-19794. 2020-12-19 15:52:09 -06:00
logo
pkg Merge pull request #97754 from wzshiming/fix-kubectl-convert 2021-01-12 09:27:54 -08:00
plugin Merge pull request #97293 from roycaihw/storage-version/gc-rbac 2021-01-11 08:39:07 -08:00
staging Merge pull request #97786 from pacoxu/staticcheck/apiserver-storage 2021-01-12 08:20:26 -08:00
test test/utils/image: Support a single repository 2021-01-12 15:22:30 -05:00
third_party test images: Removes -p yes flag from qemu-user-static script call 2020-11-04 23:01:24 +00:00
translations add initial translation for pt_BR 2020-12-11 17:06:42 +01:00
vendor bump github.com/heketi/heketi v10.2.0 2021-01-11 11:07:05 -05:00
.bazelrc
.bazelversion
.generated_files
.gitattributes
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md Remove stale analytics links from docs 2020-11-18 07:04:48 -06:00
go.mod bump github.com/heketi/heketi v10.2.0 2021-01-11 11:07:05 -05:00
go.sum bump github.com/heketi/heketi v10.2.0 2021-01-11 11:07:05 -05:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Requesting reviewers status for SergeyKanzhelev 2020-12-15 22:59:57 +00:00
README.md Use K8s in the README 2020-11-12 11:23:23 -08:00
SECURITY_CONTACTS
SUPPORT.md
WORKSPACE

Kubernetes (K8s)

GoDoc 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.