Commit Graph

34 Commits (c5ca042ede886ba4075ecbbc9cac9a55a3c255af)

Author SHA1 Message Date
James DeFelice 70a5cc462b updated cluster/mesos/docker and contrib/mesos for mesos-0.26 compat 2016-01-27 17:13:07 +00: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
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
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
Joe Beda 993c1ee222 Update etcd to 2.2.1 2015-11-04 12:26:57 -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 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
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 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
Paul Weil ed80c2b940 pid mode 2015-09-15 13:51:44 -04:00
derekwaynecarr 06bbe00642 Remove NamespaceExists from configuration 2015-09-03 13:42:09 -04:00
Saad Ali 0c99a91805 Merge pull request #12503 from mesosphere/mesos-docker-build-images
[mesos/docker] Enhance kube-up to better support running in a container (for CI)
2015-08-19 14:53:42 -07:00
Karl Isenberg 053cb26dde [mesos/docker] Expose DOCKER_DAEMON_ARGS 2015-08-18 16:54:05 -07:00
Karl Isenberg 87da2ed6de Update mesos-slave-dind to use Docker 1.8.1 2015-08-17 17:20:55 -07:00
Karl Isenberg 2ea10ec5b7 [mesos/docker] Replace auth/log dirs with MESOS_DOCKER_WORK_DIR
- Mount mesos slave workspaces in MESOS_DOCKER_WORK_DIR
- Clear mesos slave workspace in kube-up
- Add MESOS_DOCKER_IMAGE_DIR to configure docker-in-docker image storage
- Lazily eval auth/log dirs
- Improve mesos slave missing error in detect-minions
2015-08-17 13:50:50 -07:00
Karl Isenberg 1d16b21dd2 [mesos/docker] Configure controller-manager to advertize its externally accessible IP 2015-08-14 20:17:03 -07:00
Karl Isenberg 7afa78a2ef [mesos/docker] Enhance kube-up to better support running in a container (for CI)
- Generate CA & API Server SSL key/cert in keygen docker image
  - Refactor SSL generation
  - Generate service account key & user files on local machine
- Enable kube-up to be run in a container (kubernetes-mesos-test)
- Add timeout env vars
- Pull docker images up front to avoid timeouts
- Remove docker image builds from test-setup
- Nuke logs dir before each kube-up
- Make run_in_docker work without KUBECONFIG defined
- Fix temp dir cleanup
- Add auth mount env var
  - Default to $HOME/tmp/kubernetes/auth
  - Outside of repo (which gets docker mounted when using kubernetes-mesos-test)
  - Inside $HOME (which gets vm mounted when using docker-machine or boot2docker)
- Add log dump dir env var
  - Default to $HOME/tmp/kubernetes/logs (for consistancy with auth dir)
- Enable errtrace
- Increase log level to aid CI debugging
2015-08-13 14:38:43 -07:00
Dr. Stefan Schimanski acce49763a Use Mesos 0.23 for both master and slaves 2015-08-11 17:41:10 +02:00
Karl Isenberg f5fa688908 Add docker-compose cluster that runs with mesos 2015-08-05 10:48:28 -07:00