Commit Graph

62 Commits (458eb5284abd6933c620ba8ea383032f225e0885)

Author SHA1 Message Date
Karl Isenberg 36f216179f Vendor github.com/karlkfi/intemp (bash library) 2016-01-05 18:02:33 -08:00
Karl Isenberg ff0a2871f3 Fix buffer_output to actually handle interrupts 2016-01-05 17:57:04 -08:00
Karl Isenberg acef0404e5 Simplify docker run execution in a way that still handles SIGINT & SIGTERM 2016-01-05 17:55:52 -08:00
Karl Isenberg 3d96de594c Use intemp v1.0.2 that doesn't require TMPDIR 2016-01-04 19:17:58 -08:00
Karl Isenberg 1a6509083f Make TMPDIR optional 2016-01-04 19:17:57 -08:00
Karl Isenberg 4ca42f075c Fix buffer_output 2016-01-04 19:17:57 -08:00
Karl Isenberg 54010e5119 Fix typo 2016-01-04 19:17:57 -08:00
Karl Isenberg 1938414706 Extract kubernetes-keygen to its own repo: mesosphere/kubernetes-keygen
- Move keygen image mesosphere/kubernetes-mesos-keygen -> mesosphere/kubernetes-keygen:v1.0.0
- Remove resolveip in favor of github.com/karlkfi/resolveip (resolveip.sh)
- Remove util-temp-dir.sh in favor of github.com/karlkfi/intemp (intemp.sh)
- Refactor bash code to use intemp (extract functions to scripts)
- Remove util-ssl.sh in favor of mesosphere/kubernetes-keygen
2016-01-04 19:17:57 -08:00
Sergiusz Urbaniak 67e98fcfa8 executor, scheduler: make default pod roles configurable
Currently if a pod is being scheduled with no meta.RolesKey label
attached to it, per convention the first configured mesos (framework)
role is being used.

This is quite limiting and also lets e2e tests fail. This commit
introduces a new configuration option "--mesos-default-pod-roles" defaulting to
"*" which defines the default pod roles in case the meta.RolesKey pod
label is missing.
2015-12-14 15:18:39 +01:00
k8s-merge-robot b69018eab2 Merge pull request #17844 from eosrei/kube-util-minion-node
Auto commit by PR queue bot
2015-12-02 03:06:27 -08:00
k8s-merge-robot 7644d34759 Merge pull request #15775 from mesosphere/sur-k8sm-482-resource-roles
Auto commit by PR queue bot
2015-12-01 05:36:52 -08:00
Brad Erickson 0bd16e0437 Minion->Node rename: kube-util hosting provider helper functions 2015-11-26 09:31:46 -08:00
Brad Erickson 53172a5356 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
Brad Erickson fc04b55088 Minion->Node rename: NODE_NAMES, NODE_NAME, NODE_PORT 2015-11-25 00:45:09 -08:00
Brad Erickson ae314ad246 Minion->Node rename: KUBE_NODE_IP_ADDRESSES, KUBE_NODE_IP_ADDRESS 2015-11-25 00:43:52 -08:00
Sergiusz Urbaniak 9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
Dr. Stefan Schimanski 2d6c2eb897 e2e: replace ssh with net=host hostexec pod and kubectl exec
- document needed packages in hostexec image
- add RunHostCmdOrDie
- kube-proxy e2e: port from ssh to hostexec
  - use preset NodeName to schedule test pods to different nodes
  - parallel launch of pods
  - port from ssh to hostexec
  - add timeout because nc might block on udp
  - delete test container without grace period
- PrivilegedPod e2e: port from ssh to hostexec
- NodePort e2e: port from ssh to hostexec
- cluster/mesos/docker: Enable privileged pods
2015-11-17 20:48:34 +01:00
k8s-merge-robot a999c0fbe4 Merge pull request #13943 from mesosphere/static-pods
Auto commit by PR queue bot
2015-11-16 13:53:23 -08:00
k8s-merge-robot 96ae38c036 Merge pull request #16802 from extesy/patch-1
Auto commit by PR queue bot
2015-11-15 06:07:10 -08:00
James DeFelice 3d3577b9f3 rewrite of static pod json zipper
- add busybox static pod to mesos-docker cluster
- customize static pods with binding annotations
- code cleanup
- removed hacky podtask.And func; support minimal resources for static pods when resource accounting is disabled
- removed zip archive of static pods, changed to gzip of PodList json
- pod utilities moved to package podutil
- added e2e test
- merge watched mirror pods into the mesos pod config stream
2015-11-13 23:30:26 +00:00
Dr. Stefan Schimanski 3009555dd5 cluster/mesos/docker: increase dind loop device size to 10GB
For the conformance tests 5 GB turned out to be not enough.
2015-11-13 19:41:57 +01:00
Dr. Stefan Schimanski 58f57f8a18 Move MESOS_DOCKER_SKIP_BUILD default to config-default.sh 2015-11-12 14:15:43 +01:00
Dr. Stefan Schimanski 3d2ae0e67f Move MESOS_DOCKER_DUMP_LOGS default to config-default.sh 2015-11-12 14:14:48 +01:00
Dr. Stefan Schimanski b502032b42 Add MESOS_DOCKER_DUMP_LOGS to enforce log dumping 2015-11-12 01:33:29 +01:00
James DeFelice 8cb3e2191e added .gitignore for ignoring generated binaries in cluster/mesos/docker/km/overlay 2015-11-10 18:52:55 +00:00
Joe Beda 993c1ee222 Update etcd to 2.2.1 2015-11-04 12:26:57 -08:00
Oleg Anashkin 1fcb0019b9 Fix running mesos-docker configuration on Darwin
When following https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/mesos-docker.md guide on Mac it builds binaries under Darwin platform, therefore km/build.sh can't find km binary because it was only looking for Linux. This change makes it also look for Darwin binaries too.
2015-11-04 11:37:08 -08:00
Karl Isenberg 34ca69cd50 Upgrade mesos/docker cluster to docker-compose 1.5.0
- Migrate to the new env var interpolation syntax (backwards incompatibile)
2015-11-03 16:58:13 -08:00
k8s-merge-robot 9b953d75d2 Merge pull request #16111 from mesosphere/sttts-sandbox-overlay
Auto commit by PR queue bot
2015-11-03 03:00:57 -08:00
Dr. Stefan Schimanski 1cebf2f014 Add MESOS_DOCKER_OVERLAY_DIR variable to set overlay volume dir 2015-11-03 11:27:41 +01:00
Dr. Stefan Schimanski 4062e2be2f Add executor sandbox overlay mechanism to distribute nsenter and socat 2015-11-03 11:27:40 +01:00
Sergiusz Urbaniak 67bccf8ed5 mesos/docker: bump mesosslave image version 2015-10-26 15:41:38 -05:00
James DeFelice cbc6c64157 bump executor log verbosity for easier debugging 2015-10-16 14:16:10 +00:00
James DeFelice 5b726867a1 mesos/docker support for profiling 2015-10-15 21:25:11 +00:00
Jeff Grafton fbd58294b2 Update test helpers and dev doc to use etcd v2.0.12. 2015-10-13 16:05:56 -07:00
Dr. Stefan Schimanski 1435077820 Set executor cpu resources to an integer to avoid rounding errors
This avoid that we either waste cpu resources due to rounding or that we report
to much to the kubelet such that the e2e tests think they can schedule more than
resources are available.

This fixes https://github.com/mesosphere/kubernetes-mesos/issues/437
2015-10-10 21:19:08 +02:00
Dr. Stefan Schimanski 31ab4f1222 Enable resource limits in Mesos slaves 2015-10-10 21:19:08 +02:00
Karl Isenberg f86c09aec5 Update mesos/docker cluster docker base images
- ubuntu 14.04.3
- golang 1.4.3
2015-10-09 10:08:02 -07:00
Karl Isenberg a8e4c72ad5 Update mesos/docker cluster mesos version to 0.24 2015-10-09 10:07:55 -07:00
Dr. Stefan Schimanski 11e592879a Use mesos-slave-dind docker image with overlay-over-overlay smoketest 2015-10-09 13:30:52 +01:00
Abhishek Shah a1b6dbe870 Removed DenyEscalatingExec from the list of default admission controllers. 2015-10-06 13:35:32 -07:00
Dr. Stefan Schimanski b041d4ec11 Enlarge port range for mesos/docker e2e tests 2015-10-04 10:58:18 +02:00
Dr. Stefan Schimanski df91307265 Enable experimental api in mesos/docker cluster
This is necessary to pass the conformance tests which include the daemonset
e2e test.
2015-10-01 06:50:07 +02:00
Dr. Stefan Schimanski ec69cb22bd Fix escaping in mesos-slave command line 2015-09-22 15:02:21 +02:00
Dr. Stefan Schimanski df997e2bb9 Add support for NUM_MINION to mesos/docker cluster 2015-09-18 11:34:27 +02:00
k8s-merge-robot e18c9639b5 Merge pull request #13908 from mesosphere/speedup-mesos-docker-build
Auto commit by PR queue bot
2015-09-17 02:36:43 -07:00
Paul Weil ed80c2b940 pid mode 2015-09-15 13:51:44 -04:00
Dr. Stefan Schimanski d1f558757c Only km is needed in mesos-docker km container 2015-09-14 09:56:23 +02:00
derekwaynecarr 06bbe00642 Remove NamespaceExists from configuration 2015-09-03 13:42:09 -04:00
Karl Isenberg 47d3d85603 [mesos/docker] Lazily pull images to speed up kube-up 2015-08-21 14:10:00 -07:00