Brian Grant
c6b4518aed
Merge pull request #22666 from pmorie/pod-ip-flake-redux
...
Fix flake in pod IP as env var e2e
2016-03-11 09:42:40 -08:00
Paul Morie
5194c12d9e
Fix flake in pod IP as env var e2e
2016-03-10 16:32:03 -05:00
k8s-merge-robot
55530bc8f7
Merge pull request #22664 from bprashanth/cleanup-hairpin
...
Auto commit by PR queue bot
2016-03-08 05:36:18 -08:00
Prashanth Balasubramanian
544d0a5c05
Cleanup hairpin flag in the kubelet.
2016-03-07 11:55:09 -08:00
Xiaogang Xin
e2eccddc6f
kubernetes/kubernetes#22625 Fix issue of out-of-date `Terminating` mirror pod status
...
- During `kubelet` `syncPod`, check mirror pod `DeletionTimestamp` value to determine whether re-create mirror pod for running static pod.
2016-03-07 13:42:41 +08:00
k8s-merge-robot
fa0bf812d6
Merge pull request #22467 from Random-Liu/push-down-runtime-version-check
...
Auto commit by PR queue bot
2016-03-05 22:34:19 -08:00
k8s-merge-robot
357a9d1fdf
Merge pull request #22033 from yifan-gu/rkt_get_status
...
Auto commit by PR queue bot
2016-03-05 10:46:47 -08:00
k8s-merge-robot
663f7b8a4c
Merge pull request #22487 from vishh/node-status-cpu-hardcap
...
Auto commit by PR queue bot
2016-03-05 02:32:33 -08:00
Random-Liu
07b21c50fa
Add Status in runtime interface and use it for runtime health check.
2016-03-04 21:26:41 -08:00
Abhishek Shah
a3c00aadd5
Specify hostname, subdomain via annotation on podspec.
...
The hostname is a DNS A record, if the subdomain maps to a service name
in the same namespace
2016-03-04 13:28:33 -08:00
Vishnu kannan
c54ba12faa
Update node status to include the absense of cpu hardcapping.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-04 10:33:56 -08:00
k8s-merge-robot
c8038a7751
Merge pull request #22311 from vishh/22198
...
Auto commit by PR queue bot
2016-03-03 20:55:20 -08:00
k8s-merge-robot
eb15cd9f7e
Merge pull request #21851 from timstclair/gc
...
Auto commit by PR queue bot
2016-03-03 11:39:12 -08:00
k8s-merge-robot
3f16f5f2b8
Merge pull request #22233 from yujuhong/pleg_health
...
Auto commit by PR queue bot
2016-03-03 11:01:26 -08:00
Vishnu kannan
f9129b02a5
Start for real background tasks in container manager.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-02 14:55:26 -08:00
Tim St. Clair
3ad59de829
Garbage collect containers for deleted pods
2016-03-02 14:35:17 -08:00
Yu-Ju Hong
4846c1e1b2
pleg: add an internal clock for testability
...
Also add tests for the health check.
2016-03-01 17:53:03 -08:00
Yu-Ju Hong
94368df91a
kubelet: monitor the health of pleg
...
PLEG is reponsible for listing the pods running on the node. If it's hung
due to non-responsive container runtime or internal bugs, we should restart
kubelet.
2016-03-01 17:24:27 -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
Saad Ali
4183ac174b
Merge pull request #21408 from krousey/unversioned_breakup
...
Move restclient to it's own package
2016-02-29 14:03:09 -08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
Yu-Ju Hong
866c52c8a9
kubelet: fix duplicated status updates at pod cleanup
...
cleanupTerminatedPods is responsible for checking whether a pod has been
terminated and force a status update to trigger the pod deletion. However, this
function is called in the periodic clenup routine, which runs every 2 seconds.
In other words, it forces a status update for each non-running (and not yet
deleted in the apiserver) pod. When batch deleting tens of pods, the rate of
new updates surpasses what the status manager can handle, causing numerous
redundant requests (and the status channel to be full).
This change forces a status update only when detecting the DeletionTimestamp is
set for a terminated pod. Note that for other non-terminated pods, the pod
workers should be responsible for setting the correct status after killling all
the containers.
2016-02-28 13:20:40 -08:00
Yifan Gu
168ec8b80f
kubelet: Sort the container statuses in convertStatusToAPIStatus().
2016-02-26 11:27:03 -08:00
Sami Wagiaalla
8c21967dd8
Only call Detacher after the final unmount
2016-02-25 14:11:07 -05:00
k8s-merge-robot
dcbeacded0
Merge pull request #21521 from mesosphere/jdef_kubelet_options1
...
Auto commit by PR queue bot
2016-02-24 18:35:10 -08:00
Marek Grabowski
4f12103354
Revert "kubelet: fix duplicated status updates at pod cleanup"
2016-02-24 17:57:57 +01:00
Yu-Ju Hong
a68f534264
kubelet: fix duplicated status updates at pod cleanup
...
cleanupTerminatedPods is responsible for checking whether a pod has been
terminated and force a status update to trigger the pod deletion. However, this
function is called in the periodic clenup routine, which runs every 2 seconds.
In other words, it forces a status update for each non-running (and not yet
deleted in the apiserver) pod. When batch deleting tens of pods, the rate of
new updates surpasses what the status manager can handle, causing numerous
redundant requests (and the status channel to be full).
This change forces a status update only when detecting the DeletionTimestamp is
set for a terminated pod. Note that for other non-terminated pods, the pod
workers should be responsible for setting the correct status after killling all
the containers.
2016-02-23 01:03:04 -08:00
Prashanth Balasubramanian
c97e8df65b
Stricter checking of HAIRPIN_FLAG in salt.
2016-02-21 14:43:43 -08:00
Prashanth Balasubramanian
2e8ff81de1
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-20 22:40:54 -08:00
k8s-merge-robot
807344da0b
Merge pull request #21235 from davidopp/affinity-docs
...
Auto commit by PR queue bot
2016-02-20 11:15:02 -08:00
Daniel Smith
a8b943dddd
Revert "Put the container bridge in promiscuous mode."
2016-02-19 23:14:53 -08:00
James DeFelice
6c09689c60
add functional Option type to Kubelet, add SetNodeStatus Option, migrate node statue update funcs to slice of callbacks
2016-02-20 02:09:54 +00:00
Prashanth Balasubramanian
a694a7ae4b
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-19 14:59:16 -08:00
k8s-merge-robot
057b8352ec
Merge pull request #21182 from vishh/repoTagsRename
...
Auto commit by PR queue bot
2016-02-19 08:56:09 -08:00
David Oppenheimer
053f1c6008
Update user guide and scheduler documentation to describe node affinity.
...
Register image priority locality function, which the original PR that introduced
it forgot to do. Change zone and region labels to beta.
2016-02-18 17:09:41 -08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
Vishnu kannan
8d0370ede3
Do not set container runtime health check until on kubelet init.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 16:40:48 -08:00
Vishnu kannan
2623fdde17
Improve the naming of fields in ContainerImage struct used in NodeStatus.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 15:45:22 -08:00
k8s-merge-robot
180d34ed52
Merge pull request #21120 from Random-Liu/minor-probe-manager-refactor
...
Auto commit by PR queue bot
2016-02-15 19:41:45 -08:00
k8s-merge-robot
d6b4ff3884
Merge pull request #20909 from Clarifai/instance-type-label
...
Auto commit by PR queue bot
2016-02-13 18:51:42 -08:00
Rudi Chiarito
b3863eae82
Add instance-type label to cloud providers
...
Fully implemented for AWS and GCE
2016-02-12 15:02:03 -05:00
Lantao Liu
77b6f14f86
Change pod in probe update to pod uid.
2016-02-12 05:02:31 +00: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
k8s-merge-robot
c6ed624bfb
Merge pull request #19503 from markturansky/attacher_interface
...
Auto commit by PR queue bot
2016-02-09 20:50:41 -08:00
k8s-merge-robot
b97214304c
Merge pull request #20942 from Random-Liu/fix-bug-in-sync-loop
...
Auto commit by PR queue bot
2016-02-09 20:24:02 -08:00
Random-Liu
e3ea0b1cbb
Stop using pod from livenessManager in main sync loop
2016-02-09 16:32:54 -08:00
Prashanth Balasubramanian
c3a3a2bacd
Pipe hairpin-mode flag through kubelet, enable on soak.
2016-02-09 12:12:19 -08:00
Paul Morie
c6ab0a8677
Remove unused getRuntimePodStatus func from Kubelet
2016-02-08 16:46:11 -05:00
James DeFelice
1aec798aa0
support optional envvars for pod-infra-container
2016-02-08 13:48:25 +00:00
markturansky
a242a3d5fe
Added Attacher/Detacher interfaces and support to kubelet
2016-02-07 16:55:58 -05:00