Skip to content

Latest commit

 

History

History
183 lines (106 loc) · 9.09 KB

README.md

File metadata and controls

183 lines (106 loc) · 9.09 KB

Table of Contents

The developer guide is for anyone wanting to either write code which directly accesses the Kubernetes API, or to contribute directly to the Kubernetes project. It assumes some familiarity with concepts in the User Guide and the Cluster Admin Guide.

The process of developing and contributing code to the Kubernetes project

Setting up your dev environment, coding, and debugging

  • Development Guide (development.md): Setting up your development environment.

  • Testing (testing.md): How to run unit, integration, and end-to-end tests in your development sandbox.

  • Conformance Testing (conformance-tests.md) What is conformance testing and how to create/manage them.

  • Hunting flaky tests (flaky-tests.md): We have a goal of 99.9% flake free tests. Here's how to run your tests many times.

  • Logging Conventions (logging.md): klog levels.

  • Profiling Kubernetes (profiling.md): How to plug in go pprof profiler to Kubernetes.

  • Instrumenting Kubernetes with a new metric (instrumentation.md): How to add a new metrics to the Kubernetes code base.

  • Coding Conventions (coding-conventions.md): Coding style advice for contributors.

  • Document Conventions (The Kubernetes documentation) Document style advice for contributors.

  • Running a cluster locally (running-locally.md): A fast and lightweight local cluster deployment for development.

Developing against the Kubernetes API

  • The REST API documentation explains the REST API exposed by apiserver.

  • Annotations (Annotations): are for attaching arbitrary non-identifying metadata to objects. Programs that automate Kubernetes objects may use annotations to store small amounts of their state.

  • API Conventions (api-conventions.md): Defining the verbs and resources used in the Kubernetes API.

  • API Client Libraries (Client Libraries): A list of existing client libraries, both supported and user-contributed.

Writing plugins

  • Authentication (Authentication): The current and planned states of authentication tokens.

  • Authorization Plugins (Authorization): Authorization applies to all HTTP requests on the main apiserver port. This doc explains the available authorization implementations.

  • Admission Control Plugins (admission_control)

Building releases

See the kubernetes/release repository for details on creating releases and related tools and helper scripts.

SIG Developer Guide Contributions

SIG Release

  • Cherry Picks cherry-picks.md How cherry picks are managed on release branches within the kubernetes/kubernetes repository.

  • Getting Kubernetes Builds getting-builds.md

  • Targeting enhancements, Issues and PRs to Release Milestones release.md

SIG Instrumentation

SIG Storage

  • NOTE Flexvolume is deprecated. Out-of-tree CSI driver is the recommended way to write volume drivers in Kubernetes. See this doc here for more information.

  • CSI Drivers Doc CSI drivers doc This site documents how to develop, deploy, and test a Container Storage Interface (CSI) driver on Kubernetes.

  • Flexvolume flexvolume.md Flexvolume enables users to write their own drivers and add support for their volumes in Kubernetes.

SIG Scalability

SIG Scheduling

SIG Architecture

SIG API Machinery

SIG Testing

SIG Node

SIG CLI