tobad357
3d530f7f37
Fix for issue #22932 infinite pod restarts
...
This fixes an issue when using CNI where the hash of a Container object will differ between creation and change checks due to the docker image exporting ports
2016-03-16 22:43:39 +08:00
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
8b186991e2
Merge pull request #22607 from Random-Liu/restart-unknown-state-container
...
Auto commit by PR queue bot
2016-03-08 05:02:35 -08:00
Yu-Ju Hong
b1a6ee26ef
Ignore "no such container" error when generating pod status
...
This allows the pod continue to sync if one container in a corrupt state.
2016-03-06 08:46:31 -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
f359bd96a7
Merge pull request #20578 from dcbw/dont-cni-hostnet-pods
...
Auto commit by PR queue bot
2016-03-05 09:03:12 -08:00
Lantao Liu
45064d7a1e
Always restart container in unknown state.
2016-03-05 10:42:26 +00:00
k8s-merge-robot
e9d3be83ae
Merge pull request #22241 from Random-Liu/recover-back-off-behaviour
...
Auto commit by PR queue bot
2016-03-05 00:05:15 -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
Dan Williams
bc62096ad5
Clean up host networking plugin checks for docker manager
...
We can save a docker inspect in podInfraContainerChanged() because
it's only used within the useHostNetwork() block. We can also
consolidate some code in createPodInfraContainer() because if
the pod uses the host network, no network plugin will be involved.
Finally, in syncPodWithSyncResult() we can consolidate some
conditionals because both hairpin setup and getting the container
IP are only relevant when host networking is *not* being used.
More specifically, putting the dm.determineContainerIP() call
into the !useHostNetwork() block is OK since if no network plugin
was called to set the container up, it makes no sense to call
the network plugin to retrieve the IP address that it did not
handle. The CNI plugin even calls back into the docker manager
to GetContainerIP() which grabs the IP from docker, which will
always be "" for host networked containers anyway.
2016-03-04 09:27:14 -06:00
Jeff Lowdermilk
402e44d26e
Merge pull request #22320 from timstclair/network
...
Use the default interface for reporting network stats.
2016-03-03 15:18:34 -08:00
Tim St. Clair
3ad59de829
Garbage collect containers for deleted pods
2016-03-02 14:35:17 -08:00
Random-Liu
a88dad1c3e
Backoff restart container with liveness probing failure
2016-03-01 17:36:12 -08:00
Tim St. Clair
3b9feb561c
Use the default interface for reporting network stats.
2016-03-01 16:17:04 -08:00
Saad Ali
f9b1a33b12
Merge pull request #21953 from timstclair/testing
...
Move kubelet test-only files to test-only packages
2016-03-01 15:48:10 -08:00
k8s-merge-robot
6dee237d85
Merge pull request #21790 from vishh/seccomp
...
Auto commit by PR queue bot
2016-03-01 12:21:47 -08:00
Tim St. Clair
7b6d843309
Move test-only files to test-only packages
2016-03-01 09:11:32 -08:00
Random-Liu
98283d894c
dockertools: fix error exited container list in fake docker client
2016-02-28 13:19:57 -08:00
Fabio Yeon
9eed320088
Merge pull request #21740 from Random-Liu/fix-syncpod-unit-test
...
Fix error logic and leaking goroutine in docker unit test.
2016-02-26 15:51:35 -08:00
Fabio Yeon
7d0684e9c4
Merge pull request #21628 from smarterclayton/suppress_debug_logging
...
Reduce volume of logs generated at v(3)
2016-02-26 15:47:31 -08:00
Fabio Yeon
a56a315d99
Revert "kubelet: fix duplicated status updates at pod cleanup"
2016-02-26 14:39:11 -08:00
Random-Liu
61f7a5d228
Fix bug in fake docker client
2016-02-24 21:23:41 -08:00
Vishnu kannan
5db37b0b2d
Disable seccomp policy by default on docker versions >= v1.10
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-24 10:26:21 -08:00
Random-Liu
3338304c7b
Fix error logic and leaking goroutine in docker unit test.
2016-02-23 01:29:05 -08:00
k8s-merge-robot
24d82b6c4a
Merge pull request #21286 from smarterclayton/fix_keyring
...
Auto commit by PR queue bot
2016-02-21 21:44:27 -08:00
Clayton Coleman
ae2f6a833a
Reduce volume of logs generated at v(3)
...
Node controller is generating a huge amount of logging at v(3) that is
more appropriate for v(5). Split the log into two levels and ensure it
also ends up on one line (so grep works).
The pod manager generates a v(4) pod output on sync that always contains
a newline - since the size of the pod is so excessive in output, kick it
to v(5) for deep debugging (we're pretty happy with this loop).
2016-02-20 15:29:05 -05:00
Clayton Coleman
8c27314915
Unqualified host:port pairs are valid Docker auth fields
...
The dockercfg and .docker/config.json files can contain host:path
combos, which are not correctly parsed by the keyring.
2016-02-18 13:18:34 -05:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07: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
44d12a1389
Merge pull request #20782 from nickschuch/readonly_container_2
...
Auto commit by PR queue bot
2016-02-14 13:18:24 -08:00
k8s-merge-robot
b6056f9a45
Merge pull request #21014 from Random-Liu/unit-test-for-pod-sync-result
...
Auto commit by PR queue bot
2016-02-14 09:53:59 -08:00
Nick Schuch
5d511aeb54
Adds ReadOnlyRootFilesystem support for containers
2016-02-14 15:39:51 +10:00
k8s-merge-robot
24b33964c9
Merge pull request #20954 from Random-Liu/add-missing-pod-sync-result
...
Auto commit by PR queue bot
2016-02-13 20:02:31 -08:00
Random-Liu
ae759dc206
Add unit test for PodSyncResult
2016-02-12 14:15:25 -08:00
Lantao Liu
77b6f14f86
Change pod in probe update to pod uid.
2016-02-12 05:02:31 +00:00
k8s-merge-robot
55267640bc
Merge pull request #20842 from Random-Liu/deprecate-hostconfig-at-container-start
...
Auto commit by PR queue bot
2016-02-10 20:00:08 -08:00
Lantao Liu
c341cee65b
Fix network configuration
2016-02-10 16:51:34 -08:00
Random-Liu
b7292f6672
Add missing PodSyncResult in KillPod
2016-02-09 18:28:26 -08:00
Prashanth Balasubramanian
c3a3a2bacd
Pipe hairpin-mode flag through kubelet, enable on soak.
2016-02-09 12:12:19 -08:00
k8s-merge-robot
fce98f3cf2
Merge pull request #20827 from smarterclayton/fix_manager
...
Auto commit by PR queue bot
2016-02-08 21:13:42 -08:00
Clayton Coleman
5aca495d73
Regression: Kubelet fails on older distro Dockers
...
Changes broke compatibility with released versions of Docker on some
distributions like Fedora and RHEL (value 1.8.1.fc21 is in the wild).
2016-02-08 19:00:01 -05:00
k8s-merge-robot
14653d6b5a
Merge pull request #20169 from vishh/20117
...
Auto commit by PR queue bot
2016-02-08 15:25:45 -08:00
k8s-merge-robot
230f593058
Merge pull request #20383 from smarterclayton/allow_prefix_changes
...
Auto commit by PR queue bot
2016-02-08 12:04:46 -08:00
James DeFelice
1aec798aa0
support optional envvars for pod-infra-container
2016-02-08 13:48:25 +00:00
Daniel Smith
75e1451363
Merge pull request #20742 from kubernetes/revert-20615-deprecate-hostconfig-at-container-start
...
Revert "Deprecate HostConfig at container start"
2016-02-05 14:01:43 -08:00
Lantao Liu
bb9457e7a3
Revert "Deprecate HostConfig at container start"
2016-02-05 12:50:35 -08:00
Random-Liu
45e3a1f596
Remove old reason cache
2016-02-05 19:19:46 +00:00
Random-Liu
2b7d0182ca
Remove ConvertPodStatusToAPIPodStatus from runtime interface
2016-02-05 19:19:46 +00:00