derekwaynecarr
7bab6999d4
Allow KillPod to take a gracePeriodOverride
2016-05-06 12:14:43 -04:00
feisky
831203c19b
Remove RunInContainer interface in Kuberlete Runtime interface
2016-05-01 20:21:15 +08:00
Abhishek Shah
8a3ed48808
Added Hostname and Subdomain field to Pod.Spec
2016-04-28 10:56:56 -07:00
Vishnu kannan
e566948a75
Track image storage usage for docker containers
...
add image fs info to summary stats API.
Adding node e2e test for image stats.
Signed-off-by: Vishnu kannan <vishnuk@google.com >
2016-04-25 16:00:34 -07:00
Euan Kemp
7d34b0b09d
kubelet: Remove redundant Container.Created
...
This has been supplanted by a) the DockerJSON.CreatedAt field and b) the
ContainerStatus.CreatedAt, where the first is used for creating the
second.
The `.Created` field was only written to as far as I can see.
2016-04-25 12:19:24 -07:00
Euan Kemp
a6718f5969
rkt: Implement pod FinishedAt
...
This is implemented via touching a file on stop as a hook in the systemd
unit. The ctime of this file is then used to get the `finishedAt` time
in the future.
In addition, this changes the `startedAt` and `createdAt` to use the api
server's results rather than the annotations it previously used.
It's possible we might want to move this into the api in the future.
Fixes #23887
2016-04-22 15:34:55 -07:00
Yifan Gu
dfb6dd010f
rkt: Fix hostnetwork.
...
Mount hosts' /etc/hosts, /etc/resolv.conf, set host's hostname
when running the pod in the host's network.
Besides, do not set the DNS flags when running in host's network.
2016-04-14 18:44:09 -07:00
harry
f9e2f522b4
Add cache for api version
...
Expose runtime interface
2016-04-12 22:34:59 -04:00
k8s-merge-robot
6a87dba0b8
Merge pull request #22733 from resouer/flow-control
...
Automatic merge from submit-queue
Add flow control pkg
minor fix ref #15634
Refactor pkg names in back off related files
2016-04-11 06:18:51 -07:00
k8s-merge-robot
a2145d7b1c
Merge pull request #23613 from Random-Liu/remove-out-of-date-code
...
Automatic merge from submit-queue
Kubelet: Remove nsinit related code and bump up minimum docker apiversion
Docker has native exec support after 1.3.x. We never need this code now.
As for the apiversion, because Kubernetes supports 1.8.x - 1.10.x now, we should bump up the minimum docker apiversion.
@yujuhong I checked the [changes](https://github.com/docker/engine-api/blob/master/types/versions/v1p20/types.go ), we are not relying on any of those changes. So #23506 should work with docker 1.8.x+
2016-04-03 07:34:26 -07:00
harry
5fe773d37c
Add flow control pkg
...
Refactor pkg names in flow control related files
2016-04-03 11:28:03 +08:00
derekwaynecarr
eeeccd0a67
A pod never terminated if a container image registry was unavailable
2016-04-01 13:42:23 -04:00
Random-Liu
1459a17dbe
Remove nsinit related code and bump up minimum docker apiversion
2016-03-29 18:21:50 -07:00
Yifan Gu
d4dc037bf7
rkt: Add '--hostname' support for rkt.
...
Add GeneratePodHostNameAndDomain() to RuntimeHelper to
get the hostname of the pod from kubelet.
Also update the logging flag to change the journal match from
_HOSTNAME to _MACHINE_ID.
2016-03-28 17:06:14 -07:00
saadali
79012f6d53
Rename volume.Builder to Mounter and volume.Cleaner to Unmounter
2016-03-25 11:29:58 -07:00
k8s-merge-robot
566d23e880
Merge pull request #23205 from yifan-gu/append_image_tag
...
Auto commit by PR queue bot
2016-03-22 07:30:52 -07:00
Jordan Liggitt
1d4c56c2f6
Move TestRuntimeCache into non-test file
2016-03-21 16:21:55 -04:00
Yifan Gu
89feb6fc53
rkt: Append tag to the returned image name.
2016-03-18 16:40:44 -07:00
Avesh Agarwal
40e5d292c1
Fix parallel image pullers event messages with reasons constants.
2016-03-12 00:41:02 -05: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
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
Lantao Liu
45064d7a1e
Always restart container in unknown state.
2016-03-05 10:42:26 +00: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
Tim St. Clair
7b6d843309
Move test-only files to test-only packages
2016-03-01 09:11:32 -08:00
k8s-merge-robot
6b8e0d45f0
Merge pull request #21349 from Random-Liu/cleanup-should-container-be-restarted
...
Auto commit by PR queue bot
2016-02-27 09:50:26 -08:00
Yifan Gu
168ec8b80f
kubelet: Sort the container statuses in convertStatusToAPIStatus().
2016-02-26 11:27:03 -08:00
Random-Liu
33280abf42
Cleanup and add unit test for ShouldContainerBeRestarted
2016-02-23 00:42:52 -08:00
Minhan Xia
973b01ee29
fix cascading backoff
2016-02-22 18:25:42 -08: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
Yifan Gu
8964469e4a
rkt: Remove ShouldContainerBeRestartedOldVersion().
2016-02-09 00:15:58 +08:00
James DeFelice
1aec798aa0
support optional envvars for pod-infra-container
2016-02-08 13:48:25 +00:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01: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
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
Jeff Lowdermilk
ae2aece9af
Merge pull request #20202 from caesarxuchao/skip-update
...
skip update when deleting with grace-period=0
2016-02-02 18:24:57 -08:00
Jeff Lowdermilk
caa9433234
Merge pull request #20433 from lavalamp/fix-bad-rv
...
Add timeout, fix potential startup hang
2016-02-02 17:27:23 -08:00
Random-Liu
7b4cdb6f8f
Remove GetAPIPodStatus from runtime interface
2016-02-02 23:41:55 +00:00
Chao Xu
a6d96a04d0
make kubelet.HandlePodsDeletion aware of api.Pod
2016-02-02 13:01:17 -08:00
Yu-Ju Hong
ff04de4fc0
Remove RuntimeCache from sync path
...
This change removes RuntimeCache in the pod workers and the syncPod() function.
Note that it doesn't deprecate RuntimeCache completely as other components
still rely on the cache.
2016-02-01 21:32:41 -08:00
Daniel Smith
4a7d70aef1
extend fake clock
2016-02-01 15:36:15 -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
Random-Liu
f116a5eb8f
Remove temporary function GetPodStatusAndAPIPodStatus()
2016-01-30 00:39:26 -08:00
Random-Liu
e93febfd61
Start returning PodSyncResult in SyncPod
2016-01-30 00:25:50 -08:00
Alex Mohr
c52122cab5
Merge pull request #19675 from apcera/kubelet-report-runtime-version
...
Update container runtime to properly report the engine and version
2016-01-21 10:31:19 -08:00