Commit Graph

12106 Commits

Author SHA1 Message Date
Clayton Coleman
9d3631e3de Handle deleted pods in replication and endpoint controllers
Pods that are slated for deletion should be excluded from
replication and endpoints immediately.
2015-06-01 19:24:01 -04:00
Clayton Coleman
cfb122a3bf Enable network-tester to test graceful deletion 2015-06-01 19:24:00 -04:00
Clayton Coleman
72ee028cab Gracefully delete pods from the Kubelet
This commit wires together the graceful delete option for pods
on the Kubelet.  When a pod is deleted on the API server, a
grace period is calculated that is based on the
Pod.Spec.TerminationGracePeriodInSeconds, the user's provided grace
period, or a default.  The grace period can only shrink once set.
The value provided by the user (or the default) is set onto metadata
as DeletionGracePeriod.

When the Kubelet sees a pod with DeletionTimestamp set, it uses the
value of ObjectMeta.GracePeriodSeconds as the grace period
sent to Docker.  When updating status, if the pod has DeletionTimestamp
set and all containers are terminated, the Kubelet will update the
status one last time and then invoke Delete(pod, grace: 0) to
clean up the pod immediately.
2015-06-01 19:23:59 -04:00
Chao Xu
66e4f7b053 add v1 swagger-spec; update existing swagger-spec 2015-06-01 16:16:20 -07:00
Clayton Coleman
da7c612bb6 Expire is a new type of watch action 2015-06-01 17:26:48 -04:00
Clayton Coleman
3368e12a6c Ensure TTL is not cleared in possible edge cases 2015-06-01 17:26:47 -04:00
Eric Tune
497f99ff85 Merge pull request #9071 from derekwaynecarr/fix_run
Fix kubectl run broken at HEAD
2015-06-01 14:11:54 -07:00
Andy Goldstein
2a0d7ebb11 Add support for pluggable Docker exec handlers
Add support for pluggable Docker exec handlers. The default handler is
now Docker's native exec API call. The previous default, nsenter, can be
selected by passing --docker-exec-handler=nsenter when starting the
kubelet.
2015-06-01 16:59:59 -04:00
Eric Tune
a58847e45d Merge pull request #9082 from tnguyen-rh/hmm
docs: markdown and simple fixes
2015-06-01 13:58:10 -07:00
Eric Tune
5651bdb237 Merge pull request #8746 from justinsb/e2e_restartpolicy_never
e2e: Specify RestartPolicy=Never in empty_dir test
2015-06-01 13:47:31 -07:00
Eric Tune
8195f13b86 Merge pull request #9063 from piosz/cluster_upgrade
Refactored kube-push.sh script
2015-06-01 13:47:15 -07:00
Eric Tune
43951b04d2 Merge pull request #9016 from goltermann/kube-down-fix
GCE kube-down.sh error fixes
2015-06-01 13:46:54 -07:00
Eric Tune
a687d62b81 Merge pull request #9037 from rjnagal/monitoring
Fix cluster monitoring setup config.
2015-06-01 13:45:24 -07:00
Eric Tune
ccea8fafa5 Merge pull request #8434 from jayunit100/soak_ns_2
Soak ns 2
2015-06-01 13:44:38 -07:00
Eric Tune
7fb79a3a5a Merge pull request #8693 from caesarxuchao/contrib/git-sync
Contrib/git sync
2015-06-01 13:44:07 -07:00
Eric Tune
3c067b766a Merge pull request #8996 from manolitto/aws_cluster_monitoring_fix
aws: fix cluster monitoring (new option "influxdb" instead of "true")
2015-06-01 13:43:43 -07:00
Thien-Thi Nguyen
618965b35a grammar fixes to replication-controller.md 2015-06-01 22:42:53 +02:00
Thien-Thi Nguyen
5f548e61c7 spell ReplicationController like that (camelcase) 2015-06-01 22:42:19 +02:00
Thien-Thi Nguyen
230968e8b1 add article 2015-06-01 22:41:15 +02:00
Thien-Thi Nguyen
dd848da801 s/master elected/master-elected/ 2015-06-01 22:41:15 +02:00
Thien-Thi Nguyen
d64c5061de s/An common/A common/ 2015-06-01 22:40:34 +02:00
Thien-Thi Nguyen
e49467e912 add blank line before list; do s/-/*/ for list-element prefix; upcase first word in sentence 2015-06-01 22:37:08 +02:00
Thien-Thi Nguyen
bbfae80594 fix typo: s/can not/cannot/ 2015-06-01 22:35:59 +02:00
Thien-Thi Nguyen
e35003c8dd fix xref (2 instances) between peer .md files 2015-06-01 22:35:59 +02:00
Thien-Thi Nguyen
4ca310a572 add blank line before list 2015-06-01 22:35:59 +02:00
Thien-Thi Nguyen
9d850a2b81 fix xref between peer .md files 2015-06-01 22:35:59 +02:00
Thien-Thi Nguyen
f4a0195815 add blank line before list; do s/-/*/ for list-element prefix 2015-06-01 22:35:59 +02:00
Thien-Thi Nguyen
8116350b45 add blank line before list; do s/-/*/ for list-element prefix 2015-06-01 22:35:59 +02:00
Thien-Thi Nguyen
c744b99c45 add blank line before list; do s/-/*/ for list-element prefix 2015-06-01 22:35:59 +02:00
Thien-Thi Nguyen
9597e64945 add missing full-stop 2015-06-01 22:35:59 +02:00
Thien-Thi Nguyen
8367fc82c5 add blank line before list; remove its "manual" bullets 2015-06-01 22:35:59 +02:00
Thien-Thi Nguyen
7488154056 remove extraneous word 2015-06-01 22:35:59 +02:00
Piotr Szczesniak
0142e4c9c2 Refactored kube-push.sh script
The script allows also to push binaries only to the master or specified node.
Added support for released tars.

Introduced new push methods and implemented them for GCE.
2015-06-01 21:21:00 +02:00
Chao Xu
28c1d7ac5b remove ports.name 2015-06-01 11:37:03 -07:00
Chao Xu
1f8404cb6a let the contrib/git-sync use a for-loop, rather than relying on the pod's restart policy, to periodically pull from the repo 2015-06-01 11:13:51 -07:00
Chao Xu
94c6c121cc update contrib/git-sync/demo to v1beta3 2015-06-01 11:13:51 -07:00
derekwaynecarr
b69f1ff5bd Name is a required parameter for kubectl run, default-name is not 2015-06-01 14:05:05 -04:00
Rohit Jnagal
2ffb875129 Merge pull request #9007 from jeffmendoza/nginx-doc
Clarify simple nginx example doc.
2015-06-01 10:43:04 -07:00
Rohit Jnagal
ebd4506a59 Merge pull request #9004 from bakins/rkt-aws
Add AWS instructions for rkt on CoreOS
2015-06-01 10:34:57 -07:00
Eric Tune
1d2138ce44 Merge pull request #8994 from AntonioMeireles/etcd2011_fix
CoreOS cloud-configs - get nodes working in CoreOS 695.0.0+
2015-06-01 10:29:51 -07:00
Eric Tune
8b498aee4a Merge pull request #8495 from gmarek/fix_ratelimit
Move evicting pods to separate thread to allow for correct ratelimitting.
2015-06-01 10:29:37 -07:00
Eric Tune
5b3e01d2fd Merge pull request #8653 from matschaffer/s3-creation-wait
Check that s3 bucket has been created
2015-06-01 10:29:03 -07:00
Eric Tune
3db1f69eea Merge pull request #8764 from eparis/sd_notify
API server explicitly notify systemd of successful startup
2015-06-01 10:28:49 -07:00
Eric Tune
760caea187 Merge pull request #8863 from mfojtik/fix-default-registry-matcher
Add 'docker.io' and 'index.docker.io' to default registry matcher
2015-06-01 10:28:34 -07:00
Eric Tune
e0886e0411 Merge pull request #9033 from derekchiang/patch-1
Fix a broken link to Marathon
2015-06-01 10:27:56 -07:00
Eric Tune
be2e61d069 Merge pull request #8986 from ZJU-SEL/fix-util.sh
Add trap-add in util.sh
2015-06-01 10:27:49 -07:00
Eric Tune
9a9721540b Merge pull request #9046 from rjnagal/ux
Add clarifications to gce getting started guide.
2015-06-01 10:27:35 -07:00
Eric Tune
1f526a5f89 Merge pull request #9027 from jlowdermilk/kubectl-deprecate-minion
Stop supporting the minion alias for nodes in kubectl
2015-06-01 10:26:51 -07:00
Brian Akins
7b3db82faa Add AWS instructions. 2015-06-01 10:17:01 -07:00
Jeff Mendoza
8aea326b89 Clarify simple nginx example doc. 2015-06-01 10:13:16 -07:00