David McMahon
dae84f5306
Update the latestReleaseBranch to release-1.2 in the munger.
2016-03-08 18:59:28 -08:00
Dawn Chen
a90ac42dd8
Kill docker daemon after configing cbr0 if flag --babysit-daemon is true so that babysitter process can restart it again with proper configurations and checkpoint file.
2016-03-01 16:46:31 -08:00
Chao Xu
7a85d54d4e
fix links
2016-02-29 13:27:29 -08:00
Yu-Ju Hong
a07d1411a8
Change default --max-pods in kubelet to 110
...
Also increase maximum dead containers to 240
2016-02-23 15:37:36 -08:00
Jeff Lowdermilk
c406665b2b
Plumb node labels through salt
...
Expose node-labels flag on kubelet for gce via a startup script
env var.
2016-02-22 15:31:34 -08:00
Prashanth Balasubramanian
2e8ff81de1
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-20 22:40:54 -08:00
Daniel Smith
a8b943dddd
Revert "Put the container bridge in promiscuous mode."
2016-02-19 23:14:53 -08:00
Prashanth Balasubramanian
a694a7ae4b
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-19 14:59:16 -08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
mqliang
641ba92aa3
move minGCAge to ImageGCPolicy and make it configurable
2016-02-15 22:54:54 +08:00
derekwaynecarr
e5e691ed5f
Default lockfile to empty string while alpha
2016-02-12 10:50:17 -05:00
Vishnu kannan
c3b5d5774c
Update flag values for cgroups managed by kubelet.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 17:33:29 -08:00
Vishnu kannan
51e4ccf106
Updating the default values for the cgroups hierarchies that kubelet
...
creates for managing the nodes.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 16:02:36 -08:00
Vishnu kannan
38efc837b9
Make container runtime's cgroup configurable.
...
Use the real cgroups for metrics generation.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 16:02:34 -08:00
Mike Danese
e0ab7f43e7
autogenerated
2016-02-10 11:41:05 -08:00
Prashanth Balasubramanian
c3a3a2bacd
Pipe hairpin-mode flag through kubelet, enable on soak.
2016-02-09 12:12:19 -08:00
Phillip Wittrock
3de94cd23c
Supply volume fs metrics to server/stats/handler.go
...
* Metrics will not be expose until they are hooked up to a handler
* Metrics are not cached and expose a dos vector, this must be fixed before release or the stats should not be exposed through an api endpoint
2016-02-05 16:00:24 -08:00
Marcin Wielgus
bf0c881263
Set Docker custom metric label for cAdvisor if custom metric volume is mounted
2016-02-05 12:00:02 +01:00
CJ Cullen
04eb90a5d4
Make tunneler hold tunnels open and healthcheck vs. reopening every 5 minutes.
...
Also add a test for the Update() logic.
Reordered tunnels vs. storage initialization (prevent a nil ptr panic)
2016-02-02 12:00:29 -08:00
k8s-merge-robot
4eaffd2477
Merge pull request #19900 from vishh/kubelet-cpu-cfs
...
Auto commit by PR queue bot
2016-02-01 15:18:30 -08:00
k8s-merge-robot
8c821700f3
Merge pull request #19389 from justinsb/internal_cidr
...
Auto commit by PR queue bot
2016-01-26 03:58:48 -08:00
Mike Danese
1fc630caa0
add ip validation to componentconfig command line
2016-01-21 13:33:30 -08:00
Justin Santa Barbara
58191c446c
Allow non-masquerade-cidr to be passed to the kubelet
...
Removing the hard-coding of 10.0.0.0/8
Issue #11204
2016-01-21 15:18:31 -05:00
Vishnu kannan
214b85e708
Enable CPU CFS quota by default.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-01-21 10:33:28 -08:00
Mike Danese
fe8ae1a28a
autogenerated
2016-01-15 16:05:49 -08:00
Mike Danese
1162cfd3b1
kubelet: move most of kubelet server configuration to a config object.
...
This is part of migrating kubelet configuration to the componentconfig api
group and is preliminary to retrofitting client configuration and
implementing full fledged API group mechinary.
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-15 15:31:59 -08:00
Mike Danese
35a3785cf6
kubelet: use ConfigurationMap instead of json
2016-01-14 09:32:42 -08:00
Tim St. Clair
e2ffd007f7
Implement node Allocatable
...
Add `kube-reserved` and `system-reserved` flags for configuration
reserved resources for usage outside of kubernetes pods. Allocatable is
provided by the Kubelet according to the formula:
```
Allocatable = Capacity - KubeReserved - SystemReserved
```
Also provides a method for estimating a reasonable default for
`KubeReserved`, but the current implementation probably is low and needs
more tuning.
2016-01-12 17:00:43 -08:00
Phillip Wittrock
f1c8384ff4
Node labels: Remove node-labels-file command line option. Change --node-label format from key=value to key:value to be consitent with how the header key:value is specified on command line.
2016-01-12 12:57:12 -08:00
Madhusudan.C.S
059c2aa799
Mitigate node out of disk status oscillation by delaying it.
...
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.
2016-01-04 12:23:38 -08:00
Ravi Sankar Penta
a9b0696166
Update auto generated docs for kubelet
...
Add node-ip flag to know-flags.txt
2016-01-03 10:18:58 -08:00
Chakravarthy Nelluri
fa76de79e5
Add support for flex volume. Flex volume adds support for thirdparty(vendor)
...
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
Chao Xu
2b2f285777
run hack/update-generated-docs.sh
2015-12-21 10:41:30 -08:00
gmarek
4060eba626
Use KubeletPort from API object, salt changes, take 2
...
This reverts commit a7425bf070
, reversing
changes made to 4a9b0fc715
.
2015-12-07 10:31:11 +01:00
k8s-merge-robot
c7cddbefc9
Merge pull request #17697 from dchen1107/event
...
Auto commit by PR queue bot
2015-11-26 13:42:05 -08:00
Prashanth Balasubramanian
9aa0efa393
Turn flannel off by default
2015-11-25 09:43:48 +01:00
Prashanth Balasubramanian
ad2d3d4c20
Docs etc
2015-11-25 09:42:59 +01:00
jiangyaoguo
e3ea9d7c40
add separate client for events in kubelet
2015-11-25 01:28:34 +08:00
Dawn Chen
0b734cec93
Have a sane default for RegistryPullQPS
2015-11-23 17:14:15 -08:00
Rohith
c2526c93fa
- adding the -node-label flag to the kubelet which allows for a initial tagging / labelling of the node on cluster registration
...
- the labels can come from a series of key=pair value or file:///path_to_file which contains key pairs
2015-11-18 23:20:58 +00:00
Jeff Lowdermilk
70d89a3541
Merge pull request #13571 from yujuhong/lifecycle_v0
...
kubelet: add a generic pod lifecycle event generator
2015-11-16 14:59:40 -08:00
Matt Moore
b750d1dddc
Drop the beta for GCR v2 images.
...
beta.gcr.io is no longer needed to pull through v2.
2015-11-14 12:19:02 -08:00
Tim Hockin
dab591b629
Run update-gendocs
2015-11-13 13:57:57 -08:00
Yu-Ju Hong
ac778e8203
Adjust the sync/backoff period
...
Set resyncInterval to one minute now that we rely on the generic pleg to trigger
pod syncs on container events. When there is an error during syncing, pod
workers need to wake up sooner to retry. Set the sync error backoff period to
10 second in this case.
2015-11-13 09:57:25 -08:00
Avesh Agarwal
f111033641
Fix defaults for MaxPods and MaxOpenFiles.
...
Fix go formatting and docs.
2015-11-10 12:20:54 -05:00
derekwaynecarr
b403e30d1a
Kubelet serialize image pulls had incorrect default
2015-11-03 15:24:01 -05:00
Andy Goldstein
325e0ce68b
Fix kubelet help typo
...
Fix double percent (%%) typo for image-gc-high-threshold and
image-gc-low-threshold help text.
2015-10-26 10:37:46 -04:00
feisky
13dce74adb
Gendocs for docs/admin/kube-*
2015-10-25 19:24:23 +08:00
Jordan Liggitt
9d6b52881d
Add authentication/authorization interfaces to kubelet, always include /metrics with /stats
2015-10-09 03:10:00 -04:00
Federico Simoncelli
f21d9ac9e4
Support pods with containers using host ipc
...
Add a HostIPC field to the Pod Spec to create containers sharing
the same ipc of the host.
This feature must be explicitly enabled in apiserver using the
option host-ipc-sources.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-09-18 21:13:39 +02:00