Yifan Gu
4309cafff1
rkt: return non error if the pod doesn't exist in GetPodStatus().
...
Previously, GetPodStatus() will return error if the pod is never
created. However we've never seen the sync loop fail because in the
beginning of the loop, if the pod is not found, it will be created.
This works fine except the pod that keeps crashing. Because the above
logic will keep restarting the pod as if it's never created.
This PR fixes the bug.
2015-09-28 19:30:57 -07:00
Brian Grant
efd19143f7
Revert "Refactor image manager for client/server implementation of the container runtime"
2015-09-25 15:24:18 -07:00
Brian Grant
2c92672827
Merge pull request #14227 from gmarek/fake_docker
...
Fix 'ContainersMap' feature in fake-docker-client.
2015-09-25 13:20:33 -07:00
Brian Grant
bbc90cd9ff
Merge pull request #14035 from feiskyer/kubelet/client/server
...
Refactor image manager for client/server implementation of the container runtime
2015-09-25 13:18:53 -07:00
Salvatore Dario Minonne
32f56619a7
Partial fix for issue #14263
2015-09-25 15:29:00 +02:00
Brian Grant
bd3a3f1443
Revert "cni network plugin"
2015-09-24 23:24:21 -07:00
Brian Grant
7e42781d40
Merge pull request #14395 from vishh/kubelet-init
...
Require cpu and memory cgroups to be mounted
2015-09-24 22:43:25 -07:00
Brian Grant
17ecefe9f7
Merge pull request #13766 from rajatchopra/cni
...
cni network plugin
2015-09-24 22:42:31 -07:00
Vishnu kannan
77be271ed0
Linux container manager initialization will now fail if cpu and memory cgroups are not mounted.
2015-09-24 15:34:42 -07:00
Eric Tune
1ffa7cbc4f
Merge pull request #14290 from sdodson/container-inspect-ll4
...
Bump Container Inspect to loglevel 4
2015-09-23 16:42:07 -07:00
Eric Tune
c9c5937050
Merge pull request #14435 from yujuhong/runonce_test
...
Replace testDocker with container.fakeRuntime in runonce_test
2015-09-23 16:22:34 -07:00
Eric Tune
de38de0c1a
Merge pull request #14064 from brendandburns/flakes
...
Increase a bunch of timeouts to reduce flakes
2015-09-23 12:56:27 -07:00
Brendan Burns
77fd388485
Increase a bunch of timeouts to reduce flakes
2015-09-23 11:09:03 -07:00
Yu-Ju Hong
8319a5c822
Replace testDocker with container.fakeRuntime in runonce_test
...
runonce_test should not be testing docker-specific logic.
2015-09-23 09:24:51 -07:00
Rajat Chopra
fef621a254
TODO added to optimize Status call to plugin
2015-09-23 09:19:31 -07:00
gmarek
66ca7fcc92
Functionally revert #12894
2015-09-23 12:15:38 +02:00
gmarek
0a3f7787e7
Fix 'ContainersMap' feature in fake-docker-client.
2015-09-23 09:08:18 +02:00
Eric Tune
f92da0c714
Merge pull request #14323 from brendandburns/flakes2
...
Fix a flake in the kubelet test.
2015-09-22 13:36:22 -07:00
Rajat Chopra
4dc7485d94
cni network plugin
2015-09-22 11:16:41 -07:00
k8s-merge-robot
e535e27e82
Merge pull request #14279 from pweil-/ipc-followup
...
Auto commit by PR queue bot
2015-09-22 07:28:07 -07:00
Dawn Chen
a010e91913
Merge pull request #14292 from yujuhong/revert_node
...
Revert node status manager
2015-09-21 23:13:18 -07:00
k8s-merge-robot
c96c76b729
Merge pull request #13780 from smarterclayton/pod_logs
...
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
Brendan Burns
e845c6a4e6
Fix a flake in the kubelet test.
2015-09-21 16:45:21 -07:00
Clayton Coleman
c2e90cd154
Support extended pod logging options
...
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.
Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
Yu-Ju Hong
077158ef86
Rebase to use unversioned api
2015-09-21 11:14:14 -07:00
Yu-Ju Hong
cadc279505
Revert "kubelet: move all node status related methods to a separate file"
...
This reverts commit e7d1e47f31
.
2015-09-21 11:06:38 -07:00
Yu-Ju Hong
d7b9f8905f
Revert "Move node information retreival to nodeManager"
...
This reverts commit 2369cd6401
.
2015-09-21 11:00:04 -07:00
Yu-Ju Hong
7bdf9bfdfa
Revert "Move and fix nodeManager related unit tests"
...
This reverts commit 865dc19957
.
2015-09-21 10:58:54 -07:00
Scott Dodson
5de183cce7
Bump Container Inspect to loglevel 4
2015-09-21 13:28:43 -04:00
Paul Weil
20361e33f2
use infra container ns for ipc
2015-09-21 12:47:19 -04:00
k8s-merge-robot
843134885e
Merge pull request #12470 from simon3z/add-host-ipc
...
Auto commit by PR queue bot
2015-09-21 09:15:01 -07:00
Quinton Hoole
851e3c1c24
Merge pull request #14218 from kubernetes/revert-13417-kubelet_tolerates_dead_cloud_api
...
Revert "Update node status even if cloudprovider API dies"
2015-09-18 19:01:41 -07:00
k8s-merge-robot
5d67c2ce1f
Merge pull request #12894 from nikhiljindal/PodCondition
...
Auto commit by PR queue bot
2015-09-18 18:59:51 -07:00
Tim Hockin
6df2139d5a
Revert "Update node status even if cloudprovider API dies"
2015-09-18 17:44:24 -07:00
k8s-merge-robot
8d7038eef0
Merge pull request #13825 from rootfs/path_len
...
Auto commit by PR queue bot
2015-09-18 14:44:33 -07:00
Tim Hockin
9698e957a6
Merge pull request #12717 from tamnd/fixdockercfg
...
Fix new docker config format for private registries
2015-09-18 14:43:38 -07: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
Huamin Chen
29bd6e738d
review feedback
...
Signed-off-by: Huamin Chen <hchen@redhat.com >
2015-09-18 10:50:30 -04:00
nikhiljindal
6523ec142b
Adding more fields to PodCondition
2015-09-18 05:26:13 -07:00
k8s-merge-robot
1a88be1aef
Merge pull request #13417 from jfoy/kubelet_tolerates_dead_cloud_api
...
Auto commit by PR queue bot
2015-09-18 00:56:38 -07:00
k8s-merge-robot
73d71d6a67
Merge pull request #14096 from mvdan/util-duration
...
Auto commit by PR queue bot
2015-09-18 00:20:43 -07:00
Nikhil Jindal
9e5ed1dc69
Merge pull request #13880 from yujuhong/fix_annotations
...
Fix source annotation in kubelet
2015-09-17 23:28:41 -07:00
Daniel Martí
586cb9126a
Move pkg/util.Time to pkg/api/unversioned.Time
...
Along with our time.Duration wrapper, as suggested by @lavalamp.
2015-09-17 17:51:27 -07:00
Tim St. Clair
1d0577286f
Move the prober test from the docker manager_test.go to prober_test.go
2015-09-17 17:04:20 -07:00
Alex Mohr
bdfd469a85
Merge pull request #14137 from caesarxuchao/13823
...
rebase 13823
2015-09-17 15:25:52 -07:00
Jack Foy
ab9b53bdab
Update node status even if cloudprovider API dies
...
kubelet will log errors when the cloudprovider API is unavailable, but
will continue to persist node updates using last-known addresses.
Without this change, all nodes are marked as NotReady, and eventually
controller-manager evicts all pods.
2015-09-17 15:16:18 -07:00
k8s-merge-robot
c1eb1a1b2f
Merge pull request #13791 from fgrzadkowski/fix_secrets_in_docker
...
Auto commit by PR queue bot
2015-09-17 15:13:29 -07:00
k8s-merge-robot
0749339357
Merge pull request #14045 from jiangyaoguo/add-message-for-reason-cache
...
Auto commit by PR queue bot
2015-09-17 14:54:47 -07:00
Kris
f4ad00d9ae
Moving Status object to a common package
2015-09-17 14:09:53 -07:00
k8s-merge-robot
7cee028497
Merge pull request #13778 from smarterclayton/unready_endpoints
...
Auto commit by PR queue bot
2015-09-17 11:36:17 -07:00