Production-Grade Container Scheduling and Management
Go to file
Madhav Jivrajani cff40a7bcc Add info about source code location in JSON logging
- Add `EncodeCaller` field in `encoderConfig`
- Use `ShortCallerEncoder` as `EncodeCaller
- Add CallerKey to encoderConfig
- Get frame of calling function based on what logging function is called (Info, Error, dPanic)
- Using obtained frame (if obtainable), set the Caller in the zapcore.Entry to indicate source code info
- Update tests to reflect the new format

Fix call frame depth implementation

- Implement zapLogger.WithCallDepth to implement the logr.CallDepthLogger interface
- Add a custom time encoder that use timeNow() stub instead of calling it manually in a zap Entry
- Update json logger unit tests and klog integration tests

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2021-06-19 19:11:40 +05:30
.github
api Merge pull request #90368 from serathius/remove-legacy-metrics 2021-06-05 08:44:38 -07:00
build Merge pull request #102062 from serathius/etcd-server 2021-06-10 08:23:27 -07:00
CHANGELOG CHANGELOG: Update directory for v1.22.0-alpha.3 release 2021-06-08 17:44:00 +00:00
cluster Merge pull request #102495 from jeremyje/fb177 2021-06-11 17:03:01 -07:00
cmd Merge pull request #102805 from ahg-g/ahg-deprecate 2021-06-11 08:45:00 -07:00
docs
hack Merge pull request #102768 from BenTheElder/tune-kube_timeout 2021-06-11 11:42:59 -07:00
LICENSES Update corefile-migration to v1.0.12. 2021-06-13 00:06:37 -05:00
logo
pkg Merge pull request #102550 from CKchen0726/fix_log_error_for_mr98753 2021-06-14 10:55:41 -07:00
plugin BoundServiceAccountTokenVolume ga 2021-05-13 20:45:47 -07:00
staging Add info about source code location in JSON logging 2021-06-19 19:11:40 +05:30
test Merge pull request #102687 from mengjiao-liu/rename-master-to-controlplane 2021-06-14 09:49:16 -07:00
third_party
translations
vendor Update corefile-migration to v1.0.12. 2021-06-13 00:06:37 -05:00
.generated_files
.gitattributes
.gitignore
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
go.mod Update corefile-migration to v1.0.12. 2021-06-13 00:06:37 -05:00
go.sum Update corefile-migration to v1.0.12. 2021-06-13 00:06:37 -05: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
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.