Commit Graph

860 Commits

Author SHA1 Message Date
Mike Danese
2313c9ada0 move daemonset describe to experimental 2015-09-22 09:13:42 -07:00
Dr. Stefan Schimanski
be57b2871e Watch pods in executor and tell kubelet about graceful terminations
- instantiate framework.Controller for pods in the executor using framework.NewInformer,
  in order to watch pod updates for pods on that host
- forwards updates like graceful termination to the kubelet.

  This might also be the preparation for other updates which are supported by the
  kubelet.
2015-09-22 16:41:43 +02:00
Dr. Stefan Schimanski
e4dcd97ac3 Dequeue pods in scheduler which are terminating 2015-09-22 16:41:43 +02: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
Abhi Shah
fec15efef9 Merge pull request #14317 from ArtfulCoder/netexec1.1
netexec shellCommand endpoint returns the error if shell command fail…
2015-09-21 16:47:35 -07:00
Abhishek Shah
e40f1533f9 netexec shellCommand endpoint returns the error if shell command fails, instead of killing netexec 2015-09-21 16:32:51 -07:00
k8s-merge-robot
3713cbc912 Merge pull request #14169 from mesosphere/sttts-fix-kubelet-writer-npe
Auto commit by PR queue bot
2015-09-21 13:04:25 -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
k8s-merge-robot
1ad9aad8ab Merge pull request #14259 from mesosphere/sttts-cleanup-task-lost
Auto commit by PR queue bot
2015-09-21 07:11:48 -07:00
k8s-merge-robot
0525e6e1e6 Merge pull request #14121 from mesosphere/sttts-extract-suicide-code
Auto commit by PR queue bot
2015-09-21 01:14:00 -07:00
Dr. Stefan Schimanski
132f8892ed Move task-lost message prefix into messages module 2015-09-21 09:51:05 +02:00
Dr. Stefan Schimanski
9d8d0ed075 Fix missing volume writer in executor kubelet instantiation 2015-09-21 09:23:47 +02:00
Dr. Stefan Schimanski
a9d7acea39 Move suicide logic into its own file 2015-09-18 16:54:56 +02: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
Alex Mohr
bdfd469a85 Merge pull request #14137 from caesarxuchao/13823
rebase 13823
2015-09-17 15:25:52 -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
654dd38b1c Merge pull request #14120 from mesosphere/sttts-cleanup-hostname-override
Auto commit by PR queue bot
2015-09-17 14:23:36 -07:00
Kris
f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
Dr. Stefan Schimanski
88466dd21e Cleanup --hostname-override logic in procurment 2015-09-17 18:41:16 +02:00
Filip Grzadkowski
7fe34f2050 Introduce nsenter writer for volume plugins 2015-09-17 16:40:29 +02:00
k8s-merge-robot
b342591032 Merge pull request #13604 from JanetKuo/kubectl-edit
Auto commit by PR queue bot
2015-09-17 03:00:33 -07:00
k8s-merge-robot
a204f31516 Merge pull request #13918 from mesosphere/reconcile-ignore-mirror-pods
Auto commit by PR queue bot
2015-09-17 02:36:31 -07:00
k8s-merge-robot
367e5571bf Merge pull request #13965 from mesosphere/healthz
Auto commit by PR queue bot
2015-09-17 02:13:31 -07:00
Mike Danese
77a06cbf05 Merge pull request #13183 from mikedanese/daemon_kubectl
Add daemonset support to kubectl
2015-09-16 19:02:36 -07:00
k8s-merge-robot
4009021cf4 Merge pull request #14037 from mesosphere/scheduler-slave-registry
Auto commit by PR queue bot
2015-09-16 16:54:40 -07:00
Mike Danese
19421c52e2 Merge pull request #13963 from zhengguoyong/fix-minior-doc
fix the change of minions to nodes
2015-09-16 15:14:10 -07:00
Abhi Shah
c2ffe68d0f Merge pull request #13982 from ArtfulCoder/netexec
Created netexec docker image
2015-09-16 10:00:37 -07:00
k8s-merge-robot
22f698f5b0 Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
Dr. Stefan Schimanski
eb5a5ffc28 Extract slave hostname registry code in its own module
- remove bleeding of registry-internal objects, without any locking
- rename from SlaveStorage to Registry which fits much better to what
  it actually does
2015-09-16 14:50:31 +02:00
liguangbo
4df68f03a3 change iff to if and only if to improve annotation readability 2015-09-16 08:29:36 +00:00
Sergiusz Urbaniak
d97ccea8c2 scheduler: add healthz endpoint 2015-09-16 09:15:20 +02:00
Janet Kuo
5a608446ba pull "kubectl edit" from openshift upstream 2015-09-15 19:16:23 -07:00
Abhishek Shah
65fbf5a5fb Created netexec docker image 2015-09-15 19:05:03 -07:00
Mike Danese
54b0faf39a rebase onto head 2015-09-15 18:13:28 -07:00
Jeff Lowdermilk
9ed2d842bc Merge pull request #12655 from gmarek/api_ports
Add information about ports opened by Kubelet to API
2015-09-15 17:54:31 -07:00
Jeff Lowdermilk
f00e0b4b18 Merge pull request #13971 from mesosphere/limits
MESOS: reduce log verbosity for pods w/o limits
2015-09-15 17:45:52 -07:00
Jeff Lowdermilk
b2c74a7297 Merge pull request #13254 from soltysh/job_controller_kubectl
Job resource - kubectl part
2015-09-15 17:45:14 -07:00
Jeff Lowdermilk
ebc0b02b7d Merge pull request #13613 from eparis/rework-doc-generation
Rework automatic doc generation
2015-09-15 17:35:47 -07:00
eulerzgy
4d3d3a5e22 fix the change of minions to nodes 2015-09-16 02:30:42 +08:00
gmarek
4b8ddf3d7e Add information about ports opened by Kubelet to API 2015-09-15 14:24:55 -04:00
Sergiusz Urbaniak
0f0b87600e podtask: reduce log verbosity for pods w/o limits 2015-09-15 16:48:17 +02:00
Maciej Szulik
1b46bc010a Job clients, printer and describer 2015-09-15 13:54:51 +02:00
k8s-merge-robot
bf641078eb Merge pull request #13785 from wojtek-t/minion_to_node_2
Auto commit by PR queue bot
2015-09-14 23:23:06 -07:00
James DeFelice
a5307305f1 avoid recovery for mirrored pods on failover 2015-09-14 20:21:19 +00:00
Dr. Stefan Schimanski
857e1ac1ea Remove endpoints of terminating tasks
This change was added to the upstream endpoint controller in 2aaf8bd.
2015-09-14 15:40:11 +02:00
Wojciech Tyczynski
53ae56f205 Replace "minion" with "node" in bunch of places. 2015-09-14 11:07:11 +02:00
k8s-merge-robot
96df310729 Merge pull request #13783 from feihujiang/changeExposePortOperationToNoRequired
Auto commit by PR queue bot
2015-09-12 18:54:34 -07:00
Mike Danese
214f740f03 Merge pull request #13182 from mikedanese/daemon_manager
Add daemon controller
2015-09-11 19:12:21 -07:00
k8s-merge-robot
04837579ad Merge pull request #13460 from derekwaynecarr/run_requests
Auto commit by PR queue bot
2015-09-11 18:19:17 -07:00
k8s-merge-robot
cb481b4a00 Merge pull request #13837 from brendandburns/kubectl2
Auto commit by PR queue bot
2015-09-11 17:18:29 -07:00
Mike Danese
1065872d29 rebase and resolve a huge amount of conflicts to keep this up to date (does this commit have more LOC changed than the original implementation? that would be funny...) 2015-09-11 17:04:34 -07:00
Eric Paris
58d6b29e97 Rework doc generation to simplify and centralize
Just do all doc generation in the hack::util::gen-docs instead of spread
around. We also only track the generated docs in a single file for the
whole tree.
2015-09-11 19:32:08 -04:00
Brendan Burns
9ba13ff361 Address comments 2015-09-11 13:55:16 -07:00
derekwaynecarr
295b8cdf16 Add requests and limits to kubectl run 2015-09-11 10:57:21 -04:00
Brendan Burns
d9e1a00a14 Add caching for swagger schemas 2015-09-10 21:18:52 -07:00
Abhishek Shah
44ce4aa423 Create a LB for a K8S with the LB-IP provided by user. 2015-09-10 21:05:06 -07:00
feihujiang
714a042ce4 Change Expose Command's port operation to no required 2015-09-11 11:37:55 +08:00
k8s-merge-robot
bfc60709b1 Merge pull request #13468 from yifan-gu/rkt_doc
Auto commit by PR queue bot
2015-09-10 20:32:08 -07:00
Daniel Smith
b225c1d47a Run gofmt (separate commit for easy rebases) 2015-09-10 17:17:59 -07:00
Daniel Smith
15b30b8b09 Move version agnostic parts of client
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
Yifan Gu
e7b9c50ba1 kubelet/rkt: add support for different stage1 image.
Also enable grace stop for service files.
2015-09-10 14:58:03 -07:00
tummychow
78ce5da988 Move util.StringSet into its own package
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
k8s-merge-robot
c993cf6509 Merge pull request #13192 from jiangyaoguo/rate-limit-events-in-kubelet
Auto commit by PR queue bot
2015-09-09 14:58:28 -07:00
Jerzy Szczepkowski
6998247e1b Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed.
Implemented removal of Deployments, Daemons & HorizontalPodAutoscalers when Namespace is removed. Added unittest. Fixes #12735.
2015-09-09 10:59:43 +02:00
jiangyaoguo
1460a1fb9e Rate limit events in kubelet
1. Add EvnetRecordQps and EventBurst parameter in kubelet.
2. If  EvnetRecordQps and EventBurst was set, rate limit events in kubelet
with a independent ratelimiter as setted.
2015-09-09 16:57:21 +08:00
feihujiang
84e94e39cd Support setting env vars in kubectl run 2015-09-08 14:31:29 +08:00
James DeFelice
cf908df89c add flags for initial executor cpu and memory resources 2015-09-06 02:16:09 +00:00
k8s-merge-robot
2e2def36a9 Merge pull request #13581 from caesarxuchao/APIGroup-testapi-2
Auto commit by PR queue bot
2015-09-04 20:38:45 -07:00
Chao Xu
9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Eric Paris
bf7646bd9e Update docs based on new spf13/cobra 2015-09-04 19:20:03 -04:00
Quinton Hoole
be19554bae Merge pull request #13383 from hurf/label_drun
Add --dry-run option for label command
2015-09-04 14:03:14 -07:00
Quinton Hoole
fbee3cde22 Merge pull request #13596 from mesosphere/mac-compile-fix
MESOS: Fix compilation of Mesos minion on Mac
2015-09-04 12:37:36 -07:00
Dr. Stefan Schimanski
ada14a524d Fix compilation of Mesos minion on Mac 2015-09-04 16:59:44 +00:00
Quinton Hoole
ded8569524 Merge pull request #12908 from mwielgus/kubectl_get_hpa
HorizontalPodAutoscaler in kubectl get
2015-09-04 09:07:08 -07:00
Piotr Szczesniak
de92c9bac2 Merge pull request #13482 from jlowdermilk/resource-builder-err-msg
Print recognized file extensions in resource builder error
2015-09-04 13:45:41 +02:00
James DeFelice
a1cea8dd87 Flexible resource accounting and pod resource containment:
- new: introduce AllocationStrategy, Predicate, and Procurement to scheduler pkg
- new: --contain-pod-resources flag (workaround for docker+systemd+mesos problems)
- new: --account-for-pod-resources flag (for testing overcommitment)
- bugfix: forward -v flag from minion controller to executor
2015-09-04 00:49:13 +00:00
Abhi Shah
c28b68d254 Merge pull request #13295 from mesosphere/minion-signals
MESOS: refactor process management in the minion controller
2015-09-03 16:37:46 -07:00
Abhi Shah
c9f2d3151b Merge pull request #13155 from derekwaynecarr/enforce_limits
Map cpu limits to cpu-quota in docker run
2015-09-03 16:28:04 -07:00
Abhi Shah
49523500c3 Merge pull request #13566 from mesosphere/reconcile-all-pods
MESOS: task reconciliation must look at NamespaceAll, not NamespaceDefault
2015-09-03 15:35:17 -07:00
k8s-merge-robot
d1c7a5f04e Merge pull request #13362 from mesosphere/proxy-runtime
Auto commit by PR queue bot
2015-09-03 15:26:56 -07:00
James DeFelice
124929e373 refactoring of child process handling code
- tasks subpackage responsible for managing system process lifecycle
- minion propagates SIGTERM to child procs
- child procs will be SIGKILL'd upon parent process death
2015-09-03 21:52:08 +00:00
Abhi Shah
9e59ceaa06 Merge pull request #13549 from mesosphere/incremental-pod-updates
MESOS: Switch to incremental pod config notification
2015-09-03 14:24:38 -07:00
Dr. Stefan Schimanski
216865b80a Switch to incremental pod config notification
This fixes https://github.com/mesosphere/kubernetes-mesos/issues/463, i.e.
https://github.com/kubernetes/kubernetes/pull/13003 which broke contrib/mesos.
2015-09-03 22:49:02 +02:00
k8s-merge-robot
5d8a6049be Merge pull request #12848 from wojtek-t/private_watch_cache
Auto commit by PR queue bot
2015-09-03 13:06:18 -07:00
James DeFelice
d1589b9571 task reconciliation must look at NamespaceAll, not NamespaceDefault 2015-09-03 18:01:45 +00:00
Jeff Lowdermilk
cb65cfa746 Print recognized file extensions in resource builder error 2015-09-03 11:01:13 -07:00
derekwaynecarr
5dc74e8dbf Add support for CFS quota in kubelet 2015-09-03 13:44:28 -04:00
hurf
46e7f5684c Add --dry-run option for label command
With --dry-run option, label command will print the object locally
without update it on server side.
2015-09-03 21:37:11 +08:00
Marcin Wielgus
3f21071064 HorizontalPodAutoscaler in kubectl get 2015-09-03 13:49:06 +02:00
Brendan Burns
395bbc4b1b Fix the build. 2015-09-02 15:45:44 -07:00
Abhi Shah
13784bf9ca Merge pull request #13047 from JanetKuo/kubectl-label-bash-completion
Enable kubectl label resource type bash completion
2015-09-02 15:16:54 -07:00
Abhi Shah
b6aac3633d Merge pull request #13415 from JanetKuo/kubectl-rolling-bash-completion
Enable kubectl rolling-update rc name bash completion
2015-09-02 15:14:21 -07:00
k8s-merge-robot
e8cda9dc92 Merge pull request #13310 from markturansky/volume_config
Auto commit by PR queue bot
2015-09-02 14:05:30 -07:00
Brendan Burns
74ef517097 Merge pull request #6649 from rootfs/wip-cephfs
add Ceph FS volume plugin
2015-09-02 09:48:15 -07:00
James DeFelice
7fbd290167 moved cgroup-root detection to minion service; kube proxy now configured to run in mesos container 2015-09-02 06:13:26 +00:00
Daniel Smith
f7123ac8c6 Merge pull request #10457 from mesosphere/proc_rewrite
MESOS: rewrite Process implementation from scratch, unskip previously failing test
2015-09-01 15:25:12 -07:00
k8s-merge-robot
51d7f85636 Merge pull request #13406 from nikhiljindal/kubectlDeployment
Auto commit by PR queue bot
2015-09-01 13:33:23 -07:00
Huamin Chen
fe559f2726 implement Ceph FS volume plugin and add to e2e volume test
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-01 14:05:17 -04:00
Janet Kuo
b673920ccf Get printer from factory to retrieve handled resources 2015-09-01 10:20:51 -07:00
Janet Kuo
23740d9080 Enable kubectl label resource type bash completion 2015-09-01 10:19:51 -07:00