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
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
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
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
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07: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
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
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
k8s-merge-robot
bd67b8a5db
Merge pull request #20192 from Random-Liu/remove-get-api-podstatus
...
Auto commit by PR queue bot
2016-02-05 11:00:42 -08:00
k8s-merge-robot
ae15a4437b
Merge pull request #19944 from mwielgus/simple-cm
...
Auto commit by PR queue bot
2016-02-05 06:41:28 -08:00
k8s-merge-robot
df0bbd45d7
Merge pull request #20615 from Random-Liu/deprecate-hostconfig-at-container-start
...
Auto commit by PR queue bot
2016-02-05 04:54:28 -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
k8s-merge-robot
2084fba199
Merge pull request #18842 from vishh/kubelet_docker
...
Auto commit by PR queue bot
2016-02-04 17:08:34 -08:00
Lantao Liu
8118092d11
Deprecate HostConfig at container start
2016-02-04 15:35:14 -08:00
Vishnu kannan
df1f164b34
Do not fail container creation if the contaienr exits before applyting
...
oom score adjust.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-04 13:39:19 -08:00
Saad Ali
7d70edc91f
Merge pull request #20553 from jonboulle/yifan-gu-rkt_dns
...
rkt: Add DNS support
2016-02-04 10:55:38 -08:00
Lantao Liu
4a386f881f
Deprecate HostConfig at container start
2016-02-04 01:00:03 +00:00
Dan Williams
fabb65c13f
Add a network plugin that duplicates "configureCBR0" functionality
2016-02-03 10:08:08 -06:00
Yifan Gu
e9139bb0e5
kubelet: Rename RunContainerOptionsGenerator to RuntimeHelper.
...
Also add GetClusterDNS() to the interface to let rkt get the
DNS servers, DNS names.
2016-02-03 14:54:08 +01:00
Random-Liu
7b4cdb6f8f
Remove GetAPIPodStatus from runtime interface
2016-02-02 23:41:55 +00:00
k8s-merge-robot
c0fd002fbb
Merge pull request #20019 from thockin/dont-cni-hostnet-pods
...
Auto commit by PR queue bot
2016-02-02 01:43:24 -08:00
harry
1032067ff9
Replace runtime reference by pkg
2016-02-01 21:06:44 +08:00
k8s-merge-robot
9fef5f2938
Merge pull request #19785 from Random-Liu/remove-get-podstatus-and-apipodstatus
...
Auto commit by PR queue bot
2016-01-30 11:35:26 -08:00
k8s-merge-robot
29c640d5ba
Merge pull request #19579 from Random-Liu/add-new-reason-cache
...
Auto commit by PR queue bot
2016-01-30 02:06:49 -08:00