Production-Grade Container Scheduling and Management
Go to file
Patrick Ohly 5e9076da93 e2e: grab controller and scheduler metrics via port forwarding
The previous approach with grabbing via a nginx proxy had some
drawbacks:
- it did not work when the pods only listened on localhost (as
  configured by kubeadm) and the proxy got deployed on a different
  node
- starting the proxy raced with starting the pods, causing
  sporadic test failures because the proxy was not set up
  properly unless it saw all pods when starting the e2e.test
- the proxy was always started, whether it is needed or not
- the proxy was left running after a test and then the next
  test run triggered potentially confusing messages when
  it failed to create objects for the proxy

The new approach is similar to "kubectl port-forward" + "kubectl get
--raw". It uses the port forwarding feature to establish a TCP
connection via a custom dialer, then lets client-go handle TLS and
credentials.

Somehow verifying the server certificate did not work. As this
shouldn't be a big concern for E2E testing, certificate checking gets
disabled on the client side instead of investigating this further.
2021-06-16 12:02:40 +02:00
.github .github: update enhancement issue template to point to KEPs 2021-02-24 16:03:40 +05:30
api Update generated files for endPort promotion to Beta 2021-06-15 11:05:15 -03:00
build Merge pull request #102062 from serathius/etcd-server 2021-06-10 08:23:27 -07:00
CHANGELOG Fix broken KEP link for issue #101008 2021-06-15 03:36:39 +05:30
cluster Merge pull request #100488 from liggitt/protobuf 2021-06-15 14:49:42 -07:00
cmd Merge pull request #102431 from serathius/loggingconfig 2021-06-16 02:21:59 -07:00
docs hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
hack switch go-flow-levee to tagged version 2021-06-15 19:37:20 -07:00
LICENSES Update protobuf,grpc,etcd dependencies 2021-06-15 10:06:09 -04:00
logo
pkg Merge pull request #102431 from serathius/loggingconfig 2021-06-16 02:21:59 -07:00
plugin Allow write on events to edit role 2021-06-14 23:13:29 +02:00
staging Merge pull request #102431 from serathius/loggingconfig 2021-06-16 02:21:59 -07:00
test e2e: grab controller and scheduler metrics via port forwarding 2021-06-16 12:02:40 +02:00
third_party remove unused third_party/intemp 2021-03-08 21:17:37 -08:00
translations hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
vendor Update to etcd v3.5.0 client 2021-06-15 22:50:46 -04:00
.generated_files
.gitattributes
.gitignore Rename _examples to examples 2021-01-25 10:20:46 -08:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod Update to etcd v3.5.0 client 2021-06-15 22:50:46 -04:00
go.sum Update to etcd v3.5.0 client 2021-06-15 22:50:46 -04:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES owners: update puerco/cpanato and clean up old members 2021-06-11 16:43:44 +02:00
README.md Update godoc reference widget to pkg.go.dev 2021-01-26 09:34:07 -05: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.