Commit Graph

2848 Commits (68a6147454b947a970463ce607d2c012f3893f57)

Author SHA1 Message Date
k8s-merge-robot f71f418a37 Merge pull request #18060 from brendandburns/startup
Auto commit by PR queue bot
2015-12-05 23:36:27 -08:00
k8s-merge-robot ffd5725690 Merge pull request #18008 from ZJU-SEL/multi-nic
Auto commit by PR queue bot
2015-12-05 05:50:33 -08:00
Kevin 4136219d8b centos baremetal: fix centos baremetal kube-up failure and update default download k8s version to v1.1.1 2015-12-05 10:25:54 +08:00
Brendan Burns 15aa0c4415 Add a facility for custom user startup scripts via env variable 2015-12-04 16:13:24 -08:00
Andy Zheng 816b29536a Prepare kube-system pods manifest for trusty nodes.
This change refactors the code of preparing kube-system manifests
for trusty based cluster. The manifests used by nodes do not contain
salt configuration, so we can simply copy them from the directory
cluster/saltbase/salt, make a tarball, and upload to Google Storage.
2015-12-04 15:43:29 -08:00
Brendan Burns 9c0897e98b Fix the scripts to handle master/minion salt setups (e.g. AWS) 2015-12-04 12:52:43 -08:00
Brendan Burns 11635afc2f Merge pull request #18176 from brendandburns/aws2
Fix an incorrect reference to the directive that installs docker
2015-12-03 16:21:28 -08:00
Brendan Burns b4c4a045f7 Fix an incorrect reference to the directive that installs docker 2015-12-03 15:06:33 -08:00
k8s-merge-robot 163b521250 Merge pull request #17024 from eosrei/vagrant-node-rename
Auto commit by PR queue bot
2015-12-03 14:41:28 -08:00
k8s-merge-robot 8c182c2713 Merge pull request #18002 from wiwiwa/systemd
Auto commit by PR queue bot
2015-12-03 09:18:48 -08:00
He Simei cab6c13ea2 ubuntu with multi-nic 2015-12-03 15:31:15 +08:00
samuel shan c55ab7d63e ubuntu: skip download binaries if specified version exists 2015-12-03 10:37:02 +08:00
Brad Erickson 88e6cac544 Minion->Name rename: cluster/vagrant, docs and Vagrantfile 2015-12-02 12:45:12 -08:00
derekwaynecarr d406754e91 Reduce noise when provisioning vagrant clusters 2015-12-02 15:39:24 -05:00
k8s-merge-robot 224aebd2be Merge pull request #17977 from mikedanese/vagrant-fix
Auto commit by PR queue bot
2015-12-02 11:21:27 -08:00
Jan Safranek 85de88892c e2e: Remove specific Gluster repo.
Debian Wheezy image in GCE has already the correct one.
2015-12-02 15:21:01 +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
Mike Danese e2c5c898fb move vagrant to masterless salt 2015-12-01 15:53:50 -08:00
k8s-merge-robot 11574ee990 Merge pull request #17925 from mikedanese/tmp-fix
Auto commit by PR queue bot
2015-12-01 14:43:37 -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
k8s-merge-robot bb86936765 Merge pull request #17803 from davidsiefert/master
Auto commit by PR queue bot
2015-12-01 02:15:11 -08:00
k8s-merge-robot 1dc513d390 Merge pull request #17997 from mesosphere/conformance-script-wrapper
Auto commit by PR queue bot
2015-12-01 00:23:45 -08:00
k8s-merge-robot 7bcd7759fa Merge pull request #17814 from themez/master
Auto commit by PR queue bot
2015-12-01 00:22:51 -08:00
k8s-merge-robot 53a544d980 Merge pull request #17614 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-11-30 20:16:17 -08:00
Karl Isenberg f7248ab393 Add cluster/test-conformance.sh script
- Add support for passing args to conformance tests
2015-11-30 18:47:38 -08:00
k8s-merge-robot 290112bce6 Merge pull request #16841 from jiangyaoguo/keep-kubeproxy-hostname-consistent-with-kubelet
Auto commit by PR queue bot
2015-11-30 18:26:21 -08:00
k8s-merge-robot 794f162ef0 Merge pull request #16662 from linux-on-ibm-z/master
Auto commit by PR queue bot
2015-11-30 17:54:41 -08:00
Prashanth Balasubramanian c553b15534 Ingress test revamp
Fixes a number of harder issues the initial test punted on.
2015-11-30 11:29:04 -08:00
Steve Sloka 034ecbd300 Gave pods their own cache store 2015-11-30 11:21:44 -05:00
Mike Danese 7c413790df don't unpack salt in tmpfs 2015-11-29 18:36:38 -08:00
jiangyaoguo a739fc44c4 keep kubeproxy hostname consistent with kubelet 2015-11-28 10:47:29 +08:00
Harry Zhang eae12de67c Use vxlan as default backend 2015-11-27 14:24:14 +00:00
Brad Erickson 0bd16e0437 Minion->Node rename: kube-util hosting provider helper functions 2015-11-26 09:31:46 -08:00
k8s-merge-robot 777f24b6c5 Merge pull request #17629 from brendandburns/arm
Auto commit by PR queue bot
2015-11-26 06:01:04 -08:00
k8s-merge-robot 0c4f302e5e Merge pull request #17601 from eosrei/shell-var-MINION-to-NODE
Auto commit by PR queue bot
2015-11-26 05:02:44 -08:00
gajju26 94093d9cbc Added support for IBM z Systems architecture (s390x) 2015-11-26 11:25:04 +05:30
ThemeZ 3342e4e1d3 Correct s3 url base for region "cn-north-1" 2015-11-26 11:37:28 +08:00
David Siefert 94d32588f4 Extracting more functions for reuse out of kube-up 2015-11-25 17:29:30 -06:00
Aaron Levy 5c72696aad explicitly check "Ready" condition in validate-cluster 2015-11-25 11:53:32 -08:00
Marek Grabowski 62009344cc Merge pull request #17761 from gmarek/flannel
Rebase of @bprashant Flannel out of the box
2015-11-25 16:04:35 +01:00
k8s-merge-robot e95e3dec42 Merge pull request #17414 from timstclair/apiserver
Auto commit by PR queue bot
2015-11-25 05:28:07 -08:00
Brad Erickson a506030e63 Minion->Node rename: PREEMPTIBLE_NODE 2015-11-25 00:45:10 -08:00
Brad Erickson 53172a5356 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
Brad Erickson e67be19a5b Minion->Node rename: OLD_NODE_TAG, NODE_TAG 2015-11-25 00:45:09 -08:00
Brad Erickson bd06c19aa8 Minion->Node rename: NODE_SIZE 2015-11-25 00:45:09 -08:00
Brad Erickson 8431993a44 Minion->Node rename: NODE_SG_ID, NODE_SG_NAME 2015-11-25 00:45:09 -08:00
Brad Erickson 1846cfc129 Minion->Node rename: NODE_ROOT_DISK_SIZE, NODE_ROOT_DISK_TYPE, etc
NODE_SCOPES
2015-11-25 00:45:09 -08:00
Brad Erickson fc04b55088 Minion->Node rename: NODE_NAMES, NODE_NAME, NODE_PORT 2015-11-25 00:45:09 -08:00
Brad Erickson 6fe68a737e Minion->Node rename: NODE_IP_BASE, NODE_IP_RANGES, NODE_IP_RANGE, etc
NODE_IPS
NODE_IP
NODE_MEMORY_MB
2015-11-25 00:45:09 -08:00
Brad Erickson 83ed2fa22e Minion->Node rename: NODE_DISK_SIZE, NODE_DISK_TYPE, NODE_HOSTNAME, etc
NODE_IDS
NODE_ID
NODE_IMAGE_PROJECT
NODE_IMAGE
2015-11-25 00:45:09 -08:00
Brad Erickson a36d3390bf Minion->Node rename: KUBERNETES_NODE_MEMORY, VAGRANT_NODE_NAMES, etc
ENABLE_NODE_PUBLIC_IP
NODE_ADDRESS
NODE_BLOCK_DEVICE_MAPPINGS
NODE_CONTAINER_ADDRS
NODE_CONTAINER_NETMASKS
NODE_CONTAINER_SUBNET_BASE
NODE_CONTAINER_SUBNETS
NODE_CPU
2015-11-25 00:43:52 -08:00
Brad Erickson ae314ad246 Minion->Node rename: KUBE_NODE_IP_ADDRESSES, KUBE_NODE_IP_ADDRESS 2015-11-25 00:43:52 -08:00
Brad Erickson 68539ae8a4 Minion->Node rename: KUBE_NODE_IMAGE 2015-11-25 00:43:51 -08:00
Brad Erickson 6b91b45eff Minion->Node rename: IAM_PROFILE_NODE, KUBE_ENABLE_NODE_PUBLIC_IP, etc
KUBE_GCE_NODE_IMAGE, KUBE_GCE_NODE_PROJECT, KUBEMARK_NUM_NODES
2015-11-25 00:43:51 -08:00
Prashanth Balasubramanian 9aa0efa393 Turn flannel off by default 2015-11-25 09:43:48 +01:00
Prashanth Balasubramanian ad2d3d4c20 Docs etc 2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian 321bc73264 Flannel server in static pod with private etcd. 2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian 7aa8ebe30f Flannel handshakes with kubelet. 2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian 4cd1ee177b Salt configuration for flanneld 2015-11-25 09:42:59 +01:00
Marek Grabowski 7f72d18550 Revert "Salt changes to enable using non-default Kubelet port" 2015-11-25 09:15:36 +01:00
k8s-merge-robot 2a92571190 Merge pull request #17428 from azr/master
Auto commit by PR queue bot
2015-11-24 20:11:08 -08:00
k8s-merge-robot 60b628a6d6 Merge pull request #17375 from gmarek/kubelet-port-salt
Auto commit by PR queue bot
2015-11-24 19:39:57 -08:00
k8s-merge-robot 4fd6b6df06 Merge pull request #17316 from deads2k/gv-ClientForVersion
Auto commit by PR queue bot
2015-11-24 06:24:28 -08:00
k8s-merge-robot 367f0e03dd Merge pull request #17621 from mikedanese/cleanup-kube-proxy-cgroup
Auto commit by PR queue bot
2015-11-23 15:23:23 -08:00
Brendan Burns d2dbe56820 Add linux/arm to the list of server builds 2015-11-23 13:55:56 -08:00
k8s-merge-robot 46924670d9 Merge pull request #15300 from kevin-wangzefeng/centos_baremetal_auto_troubleshooting
Auto commit by PR queue bot
2015-11-23 13:41:22 -08:00
Tim St. Clair 20ead45af9 Move etcd_util.go to separate package 2015-11-23 11:32:50 -08:00
Mike Danese 65b8d43543 remove code that puts kube-proxy into a special cgroup since it runs in a container now 2015-11-23 10:20:58 -08:00
Sergiusz Urbaniak 9eae47c6e6 scheduler: implement role awareness 2015-11-23 17:27:14 +01:00
k8s-merge-robot fb09627514 Merge pull request #17262 from brendandburns/hyperkube
Auto commit by PR queue bot
2015-11-23 07:49:34 -08:00
gmarek 3ffa01d7cd Salt changes to enable using non-default Kubelet port 2015-11-23 16:02:46 +01:00
k8s-merge-robot 2371cdaac4 Merge pull request #17419 from ZJU-SEL/fix-ubuntu-etcd-flag
Auto commit by PR queue bot
2015-11-23 03:19:17 -08:00
k8s-merge-robot 87527fe40f Merge pull request #17606 from mikedanese/unused
Auto commit by PR queue bot
2015-11-21 20:47:16 -08:00
k8s-merge-robot e47a0b3733 Merge pull request #17240 from yifan-gu/gce_util
Auto commit by PR queue bot
2015-11-21 11:22:12 -08:00
deads2k a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
He Simei e0bcf11abf upgrade k8s to v1.1.2 on ubuntu 2015-11-21 11:29:41 +08:00
He Simei 5ebff99dbf fix etcd flag for ubuntu 2015-11-21 10:17:07 +08:00
Mike Danese a29350e40d delete unused files 2015-11-20 16:17:19 -08:00
Brendan Burns ce90b83689 Update some flags 2015-11-20 11:47:31 -08:00
k8s-merge-robot ac65782e03 Merge pull request #17121 from mikedanese/kube-proxy-static
Auto commit by PR queue bot
2015-11-20 07:19:26 -08:00
k8s-merge-robot 1a57cc8033 Merge pull request #15777 from mesosphere/sttts-replace-ssh-by-net-host-container
Auto commit by PR queue bot
2015-11-20 02:19:25 -08:00
He Simei 208d65ab59 kube-down gracefully 2015-11-19 15:38:27 +08:00
k8s-merge-robot b2ede0872f Merge pull request #17055 from ZJU-SEL/clean-up-ubuntu-deployment
Auto commit by PR queue bot
2015-11-18 23:23:29 -08:00
Mike Danese 1d9d11c836 run kube-proxy in a static pod 2015-11-18 16:52:10 -08:00
Mike Danese ae05eed14a add a way to discover git version from a built release 2015-11-18 11:11:50 -08:00
Adrien Delorme f64024e245 Allow to specify the type of minion disks on GCE 2015-11-18 14:39:42 +01:00
He Simei cc9fff8e92 fix kube-up workflow 2015-11-18 14:54:32 +08:00
He Simei b836f0cf85 fix messy quote thing 2015-11-18 09:47:33 +08:00
Yifan Gu 9bf6bc1817 cluster/gce: Move build-kube-env to util.sh
This allows all 3 distros(coreos, debian, trusty) to share the same
build-kube-env.
2015-11-17 17:23:04 -08: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
gmarek 21e9401a71 Update kubemark/config-default.sh 2015-11-17 14:10:41 +01:00
k8s-merge-robot 840f3dad53 Merge pull request #16960 from andyzheng0831/trusty
Auto commit by PR queue bot
2015-11-17 01:21:15 -08:00
He Simei 8749638b9e clean up deployment script for ubuntu 2015-11-17 09:29:34 +08:00
k8s-merge-robot d8ee518859 Merge pull request #17337 from bigeasy/aws-runtime_config
Auto commit by PR queue bot
2015-11-16 17:05:46 -08: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
Alan Gutierrez c1c789aea6 Fix generation of master `minion.d/grains.conf`.
Remove a comment that disabled the redirection of output destined for
`/etc/salt/minion.d/grains.conf`. Must have been a commented added to
debug the generation of the line, to view it on `STDOUT`.
2015-11-16 16:37:56 -05:00
k8s-merge-robot 3a07af0b28 Merge pull request #17317 from idvoretskyi/patch-3
Auto commit by PR queue bot
2015-11-16 10:46:50 -08:00
k8s-merge-robot ebe5649939 Merge pull request #16824 from mattmoor/master
Auto commit by PR queue bot
2015-11-16 09:12:35 -08:00
Ihor Dvoretskyi 1f54866e8a Update get-kube.sh with libvirt provider
Update get-kube.sh with libvirt provider (with CoreOS as a guest operating system) - https://github.com/kubernetes/kubernetes/blob/master/docs/getting-started-guides/libvirt-coreos.md
2015-11-16 18:14:11 +02:00
k8s-merge-robot 1bcf03f3fb Merge pull request #16646 from aalexand/dns-poll
Auto commit by PR queue bot
2015-11-16 03:57:24 -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
Matt Moore b750d1dddc Drop the beta for GCR v2 images.
beta.gcr.io is no longer needed to pull through v2.
2015-11-14 12:19:02 -08:00
Andy Zheng 5ca070478e Refactor cluster/gce/trusty/node.yaml
The node.yaml has some logic that will be also used by the kubernetes
master on trusty work (issue #16702). This change moves the code
shared by the master and node configuration to a separate script, and
the master and node configuration can source it to use the code.
Moreover, this change stages the script for GKE use.
2015-11-13 16:46:55 -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
k8s-merge-robot abbed4f7e8 Merge pull request #17029 from mesosphere/sttts-enforce-log-dump
Auto commit by PR queue bot
2015-11-13 10:22:57 -08:00
k8s-merge-robot ec61441a80 Merge pull request #17159 from 2opremio/17157-socat-hyperkube-container
Auto commit by PR queue bot
2015-11-12 23:41:09 -08:00
Derek Parker 909fba00a5 docs: fix typo 2015-11-12 11:45:04 -08: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
Alfonso Acosta a9465e77c7 Add socat command to hyperkube image
This is needed to for port forwarding to work in kubelet.
2015-11-12 12:39:35 +00:00
k8s-merge-robot 440bdd27d5 Merge pull request #17087 from justinsb/aws_delete_ebs
Auto commit by PR queue bot
2015-11-12 01:17:40 -08:00
k8s-merge-robot eee8af8991 Merge pull request #17089 from justinsb/aws_refactor_script_size
Auto commit by PR queue bot
2015-11-12 01:17:37 -08:00
Dr. Stefan Schimanski b502032b42 Add MESOS_DOCKER_DUMP_LOGS to enforce log dumping 2015-11-12 01:33:29 +01:00
k8s-merge-robot b873dce298 Merge pull request #16006 from paralin/remove-experimental-api-env
Auto commit by PR queue bot
2015-11-11 16:23:35 -08:00
k8s-merge-robot 142eae0f78 Merge pull request #14912 from thaerlo/master
Auto commit by PR queue bot
2015-11-11 02:17:38 -08:00
k8s-merge-robot b7d4f55df2 Merge pull request #16187 from brendandburns/heapster
Auto commit by PR queue bot
2015-11-11 01:46:35 -08:00
k8s-merge-robot 2c73e43002 Merge pull request #16972 from pmorie/kubelet-makefile
Auto commit by PR queue bot
2015-11-10 23:31:14 -08:00
Justin Santa Barbara 875e3d49df AWS: Create a helper to set salt grain from env var
This is better from a DRY standpoint.

This helps reduce the script size, so we have a little bit of breathing
room vs the 16KB limit.
2015-11-10 23:50:51 -05:00
Justin Santa Barbara d5f62ca67b AWS: Don't use JSON parsing in kube-up
We use the AWS CLI support for --query and --filter instead; should be
more reliable and clearer.

Also set the output format to text, so we don't have to set it every
time and don't risk problems if we forget to set it.

Fixes #16747

We do still have to use JSON parsing in one place: ELB does not support
--filter, so we have to use Python there.
2015-11-10 23:30:42 -05:00
Christian Stewart d61d57adec
Remove ENABLE_EXPERIMENTAL_API and similar in favor of KUBE_RUNTIME_CONFIG.
Addresses #15968

This patch removes KUBE_ENABLE_EXPERIMENTAL_API and similar calls in
favor of specifying desired features in KUBE_RUNTIME_CONFIG. Changes
have also been made to e2e scripts to re-enable using
KUBE_RUNTIME_CONFIG rather than EXPERIMENTAL_API env vars.

This also introduces KUBE_ENABLE_DAEMONSETS and KUBE_ENABLE_DEPLOYMENTS.

Signed-off-by: Christian Stewart <christian@paral.in>
2015-11-10 21:36:34 -05:00
k8s-merge-robot 23cd7d0251 Merge pull request #17067 from mesosphere/jdef_ignore_mesos_docker_km_overlay
Auto commit by PR queue bot
2015-11-10 15:41:26 -08:00
Brendan Burns bd65c733b3 Add some more retry... 2015-11-10 13:06:12 -08:00
k8s-merge-robot fb7520153d Merge pull request #16921 from buzzy/master
Auto commit by PR queue bot
2015-11-10 12:01:51 -08:00
k8s-merge-robot 18c74de9a8 Merge pull request #16986 from pmorie/gce-sc
Auto commit by PR queue bot
2015-11-10 11:15:27 -08:00
k8s-merge-robot 6fbae33eb1 Merge pull request #16918 from justinsb/aws_fix_kubedown_no_instances
Auto commit by PR queue bot
2015-11-10 11:11:56 -08:00
James DeFelice 8cb3e2191e added .gitignore for ignoring generated binaries in cluster/mesos/docker/km/overlay 2015-11-10 18:52:55 +00:00
Harry Zhang 88f65d5dfb Declare function-specific variables with local 2015-11-08 09:20:21 +00:00
k8s-merge-robot 8fd069ded2 Merge pull request #16850 from ZJU-SEL/set-kubectl-path
Auto commit by PR queue bot
2015-11-08 00:15:20 -08:00
Prashanth B 17c5c0922b Merge pull request #16932 from bprashanth/ing_docs
Ingress doc clarifications
2015-11-07 17:07:27 -08:00
Paul Morie 0ac50b4ba6 Revert "Delete Makefile as it is useless"
This reverts commit 8bf5a50439.
2015-11-07 14:19:22 -05:00
k8s-merge-robot 7d7aa9ec1f Merge pull request #16939 from ihmccreery/versioning-cleanup
Auto commit by PR queue bot
2015-11-07 09:21:24 -08:00
k8s-merge-robot 157f663f5b Merge pull request #16867 from justinsb/aws_log_upload_urls
Auto commit by PR queue bot
2015-11-07 00:00:28 -08:00
He Simei ba5b65ece2 set valid kubectl path for ubuntu 2015-11-07 10:47:18 +08:00
k8s-merge-robot da158f9bcf Merge pull request #16922 from justinsb/aws_update_vivic
Auto commit by PR queue bot
2015-11-06 13:01:17 -08:00
Prashanth Balasubramanian 10d1d4c791 Ingress doc clarifications 2015-11-06 12:01:52 -08:00
Isaac Hollander McCreery e5449f7d42 Cleanup for versioning 2015-11-06 11:35:16 -08:00
k8s-merge-robot b719d7a45e Merge pull request #15070 from justinsb/aws_print_region_if_not_matching
Auto commit by PR queue bot
2015-11-06 10:31:29 -08:00
Paul Morie ff88cc4df9 Allow security context in GCE clusters 2015-11-06 13:01:54 -05:00
Justin Santa Barbara 4c02b85c7a AWS: Update Ubuntu Vivid AMIs
Pick up some updates, and reduce need for users to update manually.
2015-11-06 11:58:39 -05:00
Daniele Testa dd2a77f73a Always use $SSH_OPTS on SSH connections 2015-11-06 16:57:18 +00:00
Justin Santa Barbara 84bab0dae5 AWS: kube-down was failing with no instances
The new delete-ASG logic wasn't correct if there were no instances
2015-11-06 10:43:13 -05:00
k8s-merge-robot 449d467d36 Merge pull request #16655 from ZJU-SEL/patch-makefile
Auto commit by PR queue bot
2015-11-06 01:43:24 -08:00
k8s-merge-robot 0b183f43fd Merge pull request #16574 from hurf/stop_doc
Auto commit by PR queue bot
2015-11-05 19:43:21 -08:00
k8s-merge-robot 75dadbc117 Merge pull request #16763 from zmerlynn/bump-containervm
Auto commit by PR queue bot
2015-11-05 14:55:40 -08:00
k8s-merge-robot 3a6c9df1f5 Merge pull request #16719 from mikedanese/enable-deploy
Auto commit by PR queue bot
2015-11-05 13:11:31 -08:00
Justin Santa Barbara 5bde574eca AWS: Log the download URLs after we upload to S3
This is helpful if you want to manually update a cluster.
2015-11-05 14:39:18 -05:00
k8s-merge-robot 1831a057f1 Merge pull request #16694 from jbeda/update-etcd
Auto commit by PR queue bot
2015-11-05 03:27:26 -08:00
k8s-merge-robot 4ac9a6e888 Merge pull request #16735 from justinsb/aws_kube_up_improvements
Auto commit by PR queue bot
2015-11-04 17:56:18 -08: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
k8s-merge-robot 8e5f3a3f9b Merge pull request #16761 from roberthbailey/supervisord
Auto commit by PR queue bot
2015-11-04 02:28:38 -08:00
k8s-merge-robot f030b74be0 Merge pull request #16678 from goltermann/subnet
Auto commit by PR queue bot
2015-11-03 23:23:20 -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
Robert Bailey d5bb12134e Replace monit with supervisord in documentation. 2015-11-03 16:20:02 -08:00
Zach Loafman 4b29260bc6 Bump ContainerVM to container-vm-v20151103 2015-11-03 15:44:36 -08:00
Justin Santa Barbara 2d5671aec2 AWS: Fix kube-up comments per code review 2015-11-03 13:12:17 -05:00
Dawn Chen 956561810f Remove monit related salt files. 2015-11-03 09:31:50 -08:00
Dawn Chen 29614d3fe0 Enable supervisord for other cloud providers. 2015-11-03 09:30:24 -08:00
Justin Santa Barbara 41743ce87a AWS: Delete ASGs by following instances
We can't tag ASGs, but we can see what instances are running in an ASG,
and we can match those by our tags.

So look for our running instances, and look for the ASGs that created
them, and delete those.

This can be defeated (most notably if users change the ASG size to 0),
but it is safer that other deletion methods.
2015-11-03 11:58:05 -05:00
Justin Santa Barbara cf86ecc604 AWS: Only match minions in the current ASG
i.e. don't assume there is only one ASG any more
2015-11-03 11:58:05 -05:00
Justin Santa Barbara d64643fe26 AWS: Experimental support for multiple subnets/AZs in kube-up
By setting KUBE_SHARE_MASTER=true we reuse an existing master, rather
than creating a new one.

By setting KUBE_SUBNET_CIDR=172.20.1.0/24 you can specify the CIDR for a
new subnet, avoiding conflicts.

Both these options are documented only in kube-up and clearly marked as
'experimental' i.e. likely to change.

By combining these, you can kube-up a cluster normally, and then kube-up
a cluster in a different AZ, and the new nodes will attach to the same
master.

KUBE_SHARE_MASTER is also useful for addding a second node
auto-scaling-group, for example if you wanted to mix spot & on-demand
instances.
2015-11-03 11:57:59 -05:00
Justin Santa Barbara df3897c4ab Split main kube-up function into sub-functions
Makes it a little easier to read, also lets us reuse a master in the
next commit without a complex diff.
2015-11-03 10:16:32 -05:00
Justin Santa Barbara 1607ac1a7a AWS: use filters in get_igw_id & get_subnet_id
Also remove unused get_route_table_id
2015-11-03 10:09:51 -05: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
Mike Danese 7206a5615f enable deployments by default in test clusters 2015-11-02 23:07:58 -08:00
Paul Morie b38e114889 Suppress output from running which sw_vers 2015-11-02 23:32:42 -05:00
Andy Zheng b3133a1c16 Update docker version in trusty node to 1.8.3
This change is for using the latest qualified docker in trusty nodes.
2015-11-02 15:58:27 -08:00
Mike Danese 08a7ffb299 Merge pull request #16689 from jlowdermilk/cluster-common
Fix last current-context command in cluster/common.sh
2015-11-02 14:39:55 -08:00
Mike Danese 8fc36e6068 Merge pull request #16624 from mikedanese/enable-fix
build kube-env in build-kube-env, not in verify-prereqs
2015-11-02 14:06:48 -08:00
Jeff Lowdermilk d55666043b Fix last current-context command in cluster/common.sh 2015-11-02 14:05:55 -08:00
Mike Danese 8ecfd967d5 use current-context from .kube/config when getting cluster credentials 2015-11-02 13:11:29 -08:00
Mike Danese 172eab6b21 build kube-env in build-kube-env, not in verify-prereqs 2015-11-02 10:31:43 -08:00
Harry Zhang 8bf5a50439 Delete Makefile as it is useless 2015-11-02 05:26:25 +00:00
aalexand 26439bb225 Fix GCE DNS readiness polling.
If the `hostname` commands used in the polling loop fail, their stdout
is going to be empty and so `getent hosts` command will actually
succeed.  For the loop to work as expected, make sure the subcommands
return a string which is an invalid host name.
2015-10-31 17:02:13 -07:00
Alex Robinson c31a22227d Merge pull request #16345 from jlowdermilk/kubeconfig-kube-up
Load or generate auth from kubeconfig on kube-up
2015-10-30 16:36:18 -07:00
Mike Danese d90b76aaeb bump etcd version to 2.2.1 in Makefile 2015-10-30 14:34:55 -07:00
goltermann 06b78f69e4 Update default node size and number of nodes for GKE E2E tests. 2015-10-30 12:27:13 -07:00
Jeff Lowdermilk de4f29f1f5 Load or generate auth from kubeconfig on kube-up
Allows loading existing auth from kubeconfig on kube-up if a
valid KUBE_CONTEXT is specified, instead of always force
regenerating auth (basic or token) when creating a new cluster.
2015-10-30 10:19:40 -07:00
Alex Robinson 887b9dd78a Merge pull request #16232 from bprashanth/salt
Cluster-loadbalancing addon
2015-10-30 09:45:16 -07:00
hurf ce35bb4208 Remove trace of "kubectl stop"
Remove doc and use of "kubectl stop" since it's deprecated.
2015-10-30 14:12:20 +08:00
Prashanth Balasubramanian 962cc11f73 Cluster-loadbalancing addon 2015-10-29 15:07:25 -07:00
Zach Loafman f0e6ae4b8f Merge pull request #12393 from jsafrane/devel/gce-tests
Update e2e scripts to run storage tests on GCE/Vagrant
2015-10-29 07:46:17 -07:00
Alex Robinson f0ebe4066f Update fluentd-gcp to include all recent improvements that are in the
new google-fluentd 1.5.4-1 build.
2015-10-29 11:54:07 +00:00
k8s-merge-robot 4b76b26225 Merge pull request #16317 from thockin/gcloud_preview
Auto commit by PR queue bot
2015-10-29 04:17:12 -07:00
Jan Safranek fe0741bffe Configure cluster for e2e tests.
When KUBE_E2E_STORAGE_TEST_ENVIRONMENT is set to 'true', kube-up.sh script
will:

- Install the right packages for all storage volumes.
- Use devicemapper as docker storage backend. 'aufs', the default one on
Debian, does not support extended attibutes required by Ceph RBD and Gluster
server containers.

Tested on GCE and Vagrant, e2e tests for storage volumes passes without any
additional configuration.
2015-10-29 11:03:34 +01:00
k8s-merge-robot 720dc87967 Merge pull request #14803 from zhengguoyong/minion-libvird
Auto commit by PR queue bot
2015-10-29 00:55:57 -07:00
k8s-merge-robot 63af7c227e Merge pull request #16069 from zmerlynn/nfs-1.1
Auto commit by PR queue bot
2015-10-28 22:39:09 -07:00
k8s-merge-robot f13ed3ff75 Merge pull request #16056 from paralin/fix-aws-reboot-failure
Auto commit by PR queue bot
2015-10-28 22:07:37 -07:00
k8s-merge-robot 71f57ea6fb Merge pull request #16303 from jvalencia/master
Auto commit by PR queue bot
2015-10-28 02:01:01 -07:00
Zach Loafman 17fd5f2536 NFS: Revamp example, add nfs-common to debian saltbase
This ensures nfs-common is installed on GCE, and provides a more
functional explanation/example. I launched two replication controllers
so that there were busybox pods to poke around at the NFS volume, and
so that the later wget actually works (the original example would have
to work on the node, or need some other access to the container
network). After switching to two controllers, it actually makes more
sense to use PV claims, and it's probably a configuration that makes
more sense for indirection for NFS anyways.
2015-10-27 16:58:04 -07:00
Juan Valencia 8f5a2deada Fixed #16188 2015-10-27 09:17:28 -07:00
Justin Santa Barbara 1ab663e912 AWS: Log the region when we don't recognize it.
This will help users see when they've typoed the region name (#14278)
2015-10-27 10:18:52 -04:00
Tim Hockin b6506c6af0 Kill a few more uses of 'gcloud preview' 2015-10-26 14:48:41 -07:00
Sergiusz Urbaniak 67bccf8ed5 mesos/docker: bump mesosslave image version 2015-10-26 15:41:38 -05:00
eulerzgy 2a65559596 change minion to node for libvirt-coreos 2015-10-26 19:04:00 +08:00
k8s-merge-robot 3298eff212 Merge pull request #15936 from justinsb/aws_enable_deployments
Auto commit by PR queue bot
2015-10-24 11:43:05 -07:00
k8s-merge-robot 74a1f7e86f Merge pull request #16131 from brendandburns/aws2
Auto commit by PR queue bot
2015-10-23 23:19:47 -07:00