mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Implement a flag that defines the frequency at which a node's out of disk condition can change its status. Use this flag to suspend out of disk status changes in the time period specified by the flag, after the status is changed once. Set the flag to 0 in e2e tests so that we can predictably test out of disk node condition. Also, use util.Clock interface for all time related functionality in the kubelet. Calling time functions in unversioned package or time package such as unversioned.Now() or time.Now() makes it really hard to test such code. It also makes the tests flaky and sometimes unnecessarily slow due to time.Sleep() calls used to simulate the time elapsed. So use util.Clock interface instead which can be faked in the tests.
PLEASE NOTE: This document applies to the HEAD of the source tree
If you are using a released version of Kubernetes, you should refer to the docs that go with that version.
The latest release of this document can be found [here](http://releases.k8s.io/release-1.1/docs/admin/README.md).Documentation for other releases can be found at releases.k8s.io.
Kubernetes Cluster Admin Guide
The cluster admin guide is for anyone creating or administering a Kubernetes cluster. It assumes some familiarity with concepts in the User Guide.
Admin Guide Table of Contents
- Components of a cluster
- Cluster Management
- Administrating Master Components 1. The kube-apiserver binary
- Administrating Kubernetes Nodes 1. The kubelet binary
- Administrating Addons 1. DNS
- Networking 1. OVS Networking
- Example Configurations 1. Multiple Clusters 1. High Availability Clusters 1. Large Clusters 1. Getting started from scratch
- Troubleshooting