Commit Graph

3511 Commits

Author SHA1 Message Date
Abhi Shah
9c0e777567 Merge pull request #17952 from upmc-enterprises/dns_fix 2015-12-14 20:42:53 -08:00
Minhan Xia
b4c72e56ce enforce node quorum to prevent es split brain problem 2015-12-14 18:16:04 -08:00
Minhan Xia
f0c176dd6a add validation for fluentd pods 2015-12-14 16:23:11 -08:00
k8s-merge-robot
6cd73690e1 Merge pull request #18669 from luxas/kube2sky_remove_amd_only
Auto commit by PR queue bot
2015-12-14 13:58:21 -08:00
k8s-merge-robot
03d9f1b85a Merge pull request #18561 from ZJU-SEL/configurable-config-file
Auto commit by PR queue bot
2015-12-14 13:56:54 -08:00
k8s-merge-robot
a702364470 Merge pull request #18351 from fgrzadkowski/simple_single_node
Auto commit by PR queue bot
2015-12-14 13:54:26 -08:00
k8s-merge-robot
1ab03bea80 Merge pull request #18273 from thockin/ethtool
Auto commit by PR queue bot
2015-12-14 13:54:05 -08:00
Lucas Käldström
cff9c2f94c Don't restrict kube2sky to build only for amd64, make possible for arm too 2015-12-14 20:44:12 +02:00
Prashanth Balasubramanian
b5303b9978 Tell kubernetes-master not to wait on flannel. 2015-12-14 09:47:09 -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
gmarek
2b6c78818b Allow creation of clusters larger than 500 nodes in GCE, take 2.
The change from the take 1 is to remove the suffix from the name of the
last MIG.
2015-12-14 14:02:26 +01:00
k8s-merge-robot
9067833a31 Merge pull request #18382 from yujuhong/resource_usage
Auto commit by PR queue bot
2015-12-13 21:23:29 -08:00
Thomas Ploch
189f2436e3 [AWS] Wrong assignment of KUBE_MASTER_IP with Elastic IP
Currently when using a custom elastic IP, the ENV var `KUBE_MASTER_IP` gets
the output of `$(assign-elastic-ip $ip $master_id)` assigned.

This is wrong since the command returns a string:
`Attaching IP 99.999.999.999 to instance i-9999999`

This patch fixes the assignment by calling `get_instance_public_ip` again.
2015-12-12 13:53:01 +01:00
Jeff Grafton
7ac3b7d665 Print output from cert creation cmds on failure 2015-12-11 18:13:31 -08:00
nikhiljindal
724b098855 Deleting unused master.ClusterName param 2015-12-11 13:39:19 -08:00
Filip Grzadkowski
f2d56c4198 Simplify local docker setup. 2015-12-11 15:53:44 +01:00
k8s-merge-robot
abf9a90030 Merge pull request #17848 from sdminonne/libvirt_service_account
Auto commit by PR queue bot
2015-12-11 00:59:23 -08:00
He Simei
1571edfb94 propagate config file 2015-12-11 16:50:05 +08:00
k8s-merge-robot
1b90941841 Merge pull request #18456 from thockin/bump-flannel-ver
Auto commit by PR queue bot
2015-12-11 00:34:39 -08:00
k8s-merge-robot
eb2fc232d5 Merge pull request #18198 from brendandburns/aws2
Auto commit by PR queue bot
2015-12-11 00:14:00 -08:00
Zach Loafman
9492fd6a80 Revert "Allow creation of clusters larger than 500 nodes" 2015-12-10 16:07:17 -08:00
Tim Hockin
6b830cf229 Fix a couple flannel invocations I missed 2015-12-10 11:48:46 -08:00
Brendan Burns
b9aa71089e Merge pull request #18436 from gmarek/1000-kube-up
Allow creation of clusters larger than 500 nodes
2015-12-10 11:43:56 -08:00
k8s-merge-robot
1b70a403bb Merge pull request #18512 from fgrzadkowski/local_script
Auto commit by PR queue bot
2015-12-10 11:33:41 -08:00
k8s-merge-robot
fda0f913df Merge pull request #18472 from mikedanese/unbound
Auto commit by PR queue bot
2015-12-10 11:33:25 -08:00
k8s-merge-robot
0f399211f7 Merge pull request #18258 from antoineco/ec2
Auto commit by PR queue bot
2015-12-10 11:14:49 -08:00
Andy Zheng
75e23a3845 Add release support for trusty kube-system manifests.
This is a follow-up work for PR 18115. It adds release support for
kube-system manifests.
2015-12-10 10:47:01 -08:00
k8s-merge-robot
8847c6dba8 Merge pull request #17877 from ZJU-SEL/vxlan
Auto commit by PR queue bot
2015-12-10 07:24:41 -08:00
Filip Grzadkowski
c77d95bcc2 Address remaining comments from #18425 2015-12-10 16:01:22 +01:00
k8s-merge-robot
184171c583 Merge pull request #17615 from hpcloud/source-config-default
Auto commit by PR queue bot
2015-12-10 05:14:02 -08:00
He Simei
86d5a23238 make --config for kubelet configurable 2015-12-10 19:52:02 +08:00
gmarek
0c6126911b Allow creation of clusters larger than 500 nodes 2015-12-10 12:13:26 +01:00
k8s-merge-robot
87bf85a625 Merge pull request #18489 from ZJU-SEL/config-apiserver-advertise-addr
Auto commit by PR queue bot
2015-12-10 02:35:41 -08:00
k8s-merge-robot
f326c4d775 Merge pull request #18425 from fgrzadkowski/local_script
Auto commit by PR queue bot
2015-12-10 02:35:22 -08:00
k8s-merge-robot
d8cd5fa3bd Merge pull request #17091 from justinsb/aws_strip_comments
Auto commit by PR queue bot
2015-12-09 21:39:32 -08:00
He Simei
c46957ed5e specify advertise-address for api-server 2015-12-10 10:49:11 +08:00
Zach Loafman
8b21b76df8 Fix defaulting in cluster/saltbase/install.sh 2015-12-09 16:42:58 -08:00
Zach Loafman
f1f250c6b4 Merge pull request #18377 from roberthbailey/gcloud-prompts
Use gcloud install instead of gcloud update for components to remove the annoying prompt
2015-12-09 15:13:04 -08:00
Andy Zheng
317f778a05 Update the commandline of kubelet in Trusty nodes.
This change is to pick up the fix in PR #18178. It avoids confusing
cadvisor when systemd is present in an instance but does not act
as the init system.
2015-12-09 14:57:32 -08:00
Mike Danese
96d1b8d1b2 import util.sh and logging.sh since two functions are unbound 2015-12-09 14:55:58 -08:00
Zach Loafman
e264db4349 Merge pull request #17580 from mikedanese/stage-image
add an option to push/pull component images from a registry using kube-up
2015-12-09 13:49:45 -08:00
k8s-merge-robot
d0965bc440 Merge pull request #18115 from andyzheng0831/trusty
Auto commit by PR queue bot
2015-12-09 13:26:33 -08:00
k8s-merge-robot
5b24758f84 Merge pull request #18398 from mamikonyana/kubectl_config_option
Auto commit by PR queue bot
2015-12-09 08:44:34 -08:00
Wojciech Tyczynski
fcca8b7e49 Merge pull request #18380 from roberthbailey/rsa-tarball-retries
Add retries to fetch the easy-rsa bundle from GCS.
2015-12-09 14:28:20 +01:00
k8s-merge-robot
89250980eb Merge pull request #18376 from ixdy/list-resources-script
Auto commit by PR queue bot
2015-12-09 03:37:36 -08:00
Filip Grzadkowski
bd7cd74048 Add a script to run local docker based cluster 2015-12-09 12:27:15 +01:00
Peeyush Gupta
4774e7146e Add support for ppc64le architecture. 2015-12-09 12:12:13 +05:30
Arsen Mamikonyan
693213656b Add --config=/etc/kubernetes/manifests to kubelet 2015-12-08 15:33:47 -08:00
Mike Danese
4ace8280a0 add an option to push/pull component images from a registry using kube-up 2015-12-08 14:19:30 -08:00
Robert Bailey
628ac539e8 Add retries to fetch the easy-rsa bundle from GCS.
Fixes #18335.
2015-12-08 11:44:11 -08:00
Jeff Grafton
96f302d771 Quote string to preserve newlines in output 2015-12-08 11:27:49 -08:00
Robert Bailey
48a84bae68 Use gcloud install instead of gcloud update for components to remove
the annoying prompt.

Fixes #18374
2015-12-08 11:26:04 -08:00
Robert Roland
ebeb7bc524 Removing quoting of the PROXY_SETTING value.
When PROXY_SETTING is empty, you end up an empty
command of "", as witnessed by this bash debug
output when +x is enabled:

    + '' /home/ubuntu/kube/make-ca-cert.sh 10.0.0.232 IP:10.0.0.232,IP:192.168.3.1,DNS:kubernetes,DNS:kubernetes.default,DNS:kubernetes.default.svc,DNS:kubernetes.default.svc.cluster.local

Given the example:

    PROXY_SETTING="http_proxy=http://server:port https_proxy=https://server:port"

You would not want this quoted on the script executed
on the remote master or minion node.

Enabling +e, for additional tracing and to
abort on any failure in the remote SSH session.

Adding a DEBUG parameter into config-default.sh allowing additional
debug information to be present in the logs during node rollout, using
bash's "set -x" when DEBUG=true
2015-12-08 07:53:02 -08:00
Robert Roland
6698ac6dcc Need to source the config-default.sh file before modifying the /etc/default/docker file, otherwise the DOCKER_OPTS set there do not get applied to new minion nodes. 2015-12-08 07:52:11 -08:00
gmarek
d62b910c88 Enable Masters Kubelet registration in gce-test by default 2015-12-08 10:28:09 +01:00
Justin Santa Barbara
428e4156e2 AWS: Strip more comments from instance user-data
To stay under the 16KB limit
2015-12-07 22:27:33 -05:00
Yu-Ju Hong
c1a0502487 Change the kubelet --max-pods limit to 110 for test clusters
This allows resource usage monitoring test to launch 100 test pods per node, in
addition to the add-on pods.

Also reduce the test time length since the results over the shorter period are
representative enough.
2015-12-07 15:41:40 -08:00
Salvatore Dario Minonne
ea1c97c717 adding service account to libvirt 2015-12-07 14:33:12 +01:00
gmarek
4060eba626 Use KubeletPort from API object, salt changes, take 2
This reverts commit a7425bf070, reversing
changes made to 4a9b0fc715.
2015-12-07 10:31:11 +01:00
Tim Hockin
340d29a48c Add ethtool to hyperkube 2015-12-06 23:04:33 -08:00
Antoine Cotten
926148c5ee Add warning about AWS EC2 't2' instance type 2015-12-06 19:56:13 +01:00
Wojciech Tyczynski
dca6f5ac5a Merge pull request #18074 from jsafrane/devel/e2e-rbd
e2e: Remove specific Gluster repo.
2015-12-06 09:43:10 +01:00
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
Vishnu kannan
af1ef55008 Disable google cloud monitoring sinks in heapster by default. 2015-10-23 16:21:00 -07:00
Dawn Chen
038f871c43 Merge pull request #16071 from brendandburns/heapster
Make heapster config creation dynamic
2015-10-23 09:25:59 -07:00
Saad Ali
76c5e0e553 Revert "Use KubeletPort reported in NodeStatus instead of cluster-wide master config" 2015-10-22 21:25:38 -07:00
Brendan Burns
d32e713b77 Make AWS node sizes dynamic in the number of nodes. 2015-10-22 20:22:00 -07:00
k8s-merge-robot
a6b8e112ac Merge pull request #12919 from gmarek/use_api_ports
Auto commit by PR queue bot
2015-10-22 19:53:41 -07:00
Brendan Burns
90d9e6e935 Make heapster config creation dynamic 2015-10-22 12:05:49 -07:00
Justin Santa Barbara
ff44cd113a AWS: Wire-up ENABLE_DEPLOYMENT env var
The AWS equivalent of a558fca24b
2015-10-21 21:57:38 -04:00
k8s-merge-robot
7f7f9e343e Merge pull request #15984 from mikedanese/aws-extensions
Auto commit by PR queue bot
2015-10-21 16:45:12 -07:00
k8s-merge-robot
9b667d1690 Merge pull request #16003 from mikedanese/extensions
Auto commit by PR queue bot
2015-10-21 16:43:57 -07:00
Jeff Lowdermilk
03ee15a460 Merge pull request #15888 from paralin/allow-more-than-num-minions
cluster/validate-cluster.sh: Allow for greater than NUM_MINIONS
2015-10-21 16:35:16 -07:00
Christian Stewart
baa61c14da
cluster/aws: Fix #14162 reboot docker failure
Fixes AWS ubuntu deployment due to extra-$(uname) vs extra-virtual
package being installed. See issue #14162

Signed-off-by: Christian Stewart <christian@paral.in>
2015-10-21 17:43:21 -04:00
Jeff Lowdermilk
a65d8d696e Merge pull request #15920 from justinsb/ubuntu_install_netcat_traditional
AWS: install netcat-traditional, instead of netcat-openbsd
2015-10-21 13:16:01 -07:00
gmarek
60404a55fc Make Node.yaml use KUBELET_PORT instead of hardcoded 10250 2015-10-21 17:19:31 +02:00
gmarek
6d6cd8e46a Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config. 2015-10-21 17:19:31 +02:00
Marek Grabowski
fdd2677d23 Merge pull request #15941 from piosz/hpa-cleanup
Removed flag ENABLE_HORIZONTAL_POD_AUTOSCALER which is no longer used
2015-10-21 12:09:41 +02:00
k8s-merge-robot
0aa62edaf5 Merge pull request #13897 from darron/patch-1
Auto commit by PR queue bot
2015-10-21 02:20:03 -07:00
Mike Danese
dbb84c963d enable all extensions in e2e test clusters 2015-10-20 20:29:25 -07:00
Mike Danese
e9ff8e7f97 fix extensions enabling in aws kube-up 2015-10-20 15:59:30 -07:00
Christian Stewart
fec326f35e
cluster/validate-cluster.sh: Allow for greater than NUM_MINIONS.
Fixes #15887. Print a warning when there are more nodes than expected.

Signed-off-by: Christian Stewart <christian@paral.in>
2015-10-20 18:27:23 -04:00
Abhishek Shah
de44e4cbc6 update skydns config so that it does not rely on /etc/hosts 2015-10-20 11:19:08 -07:00
k8s-merge-robot
c8dd1200c4 Merge pull request #15822 from ZJU-SEL/minor-clean-reconfDocker
Auto commit by PR queue bot
2015-10-20 11:08:02 -07:00
Piotr Szczesniak
57a5f8d5a5 Removed flag ENABLE_HORIZONTAL_POD_AUTOSCALER which is no longer used 2015-10-20 13:59:00 +02:00
Justin Santa Barbara
726c7afab7 AWS: install netcat-traditional, instead of netcat-openbsd
We want to match the version of netcat that is installed on GCE.  We
were having problems with netcat-openbsd having slightly different
timeout behaviour (on UDP packets; when there was no listener).
2015-10-19 22:50:06 -04:00
Mike Danese
cce7635b3b Merge pull request #15780 from cheld/fix-vagrant-up
disabled parallel provisioning in vagrant
2015-10-19 10:25:44 -07:00
k8s-merge-robot
bd1c26c152 Merge pull request #15765 from mqliang/importAlias-kSelector
Auto commit by PR queue bot
2015-10-19 08:03:15 -07:00
k8s-merge-robot
0e1b78fb6e Merge pull request #15728 from a-robinson/dockerlog
Auto commit by PR queue bot
2015-10-19 06:59:38 -07:00
k8s-merge-robot
44a9877bd4 Merge pull request #15750 from yehuis4/master
Auto commit by PR queue bot
2015-10-19 01:06:34 -07:00
Kevin
c16f41f50d change minion to node in centos baremetal scripts
and remove unused variable `MINIONS_ARRAY` in config-default
2015-10-19 11:07:59 +08:00
Kevin
dd82721764 refactor cluster verify logic, use valicate-cluster.sh
when validate-cluster.sh returned error, check services status on master and nodes
2015-10-19 11:07:39 +08:00
He Simei
d45fc707dd minor clean upstart script for ubuntu 2015-10-18 18:37:01 +08:00
k8s-merge-robot
5755e52b10 Merge pull request #15790 from mikedanese/azure-bankruptcy
Auto commit by PR queue bot
2015-10-18 01:32:36 -07:00
k8s-merge-robot
1bba475a9d Merge pull request #15735 from mesosphere/jdef-fix-tasks-and-profiling
Auto commit by PR queue bot
2015-10-17 02:20:18 -07:00
k8s-merge-robot
b2dcbb6439 Merge pull request #15721 from andyzheng0831/trusty
Auto commit by PR queue bot
2015-10-17 01:06:38 -07:00
Mike Danese
8e8437dad8 declare azure/ubuntu/saltstack bankruptcy 2015-10-16 18:21:21 -07:00
k8s-merge-robot
b255e7c478 Merge pull request #15793 from ihmccreery/fix-push
Auto commit by PR queue bot
2015-10-16 17:02:10 -07:00
k8s-merge-robot
3a3d4b360c Merge pull request #15370 from mbruzek/ci-update
Auto commit by PR queue bot
2015-10-16 14:26:12 -07:00
k8s-merge-robot
fd176642d3 Merge pull request #15789 from dchen1107/fix
Auto commit by PR queue bot
2015-10-16 13:35:31 -07:00
Isaac Hollander McCreery
ef3d56433b Fix KUBE_TAR_URL issue and fix root cause; fixes #15738 2015-10-16 13:09:52 -07:00
Isaac Hollander McCreery
a379e52c57 Factor find-release-tars into cluster/common 2015-10-16 13:09:52 -07:00
Dawn Chen
1ef70419f2 Enable registry master kubelet by default for gce. 2015-10-16 11:48:03 -07:00
Christoph Held
cf8c30d330 disabled parallel provisioning, because master needs additional time for salt before cluster validation 2015-10-16 17:13:54 +02:00
James DeFelice
cbc6c64157 bump executor log verbosity for easier debugging 2015-10-16 14:16:10 +00:00
y00278980
2a0e1dd9e2 Fix some problems:
1. cluster/saltbase/pillar/README.md L8 quoted the wrong line number of cluster/gce/configure-vm.sh
2. spelling mistake of 'retruns'
2015-10-16 21:29:05 +08:00
k8s-merge-robot
d4249b6930 Merge pull request #15749 from yifan-gu/fix_coreos_gce
Auto commit by PR queue bot
2015-10-16 05:02:09 -07:00
mqliang
bea0fc7cb6 Del capatical local packagename for kSelector 2015-10-16 16:09:09 +08:00
k8s-merge-robot
3e5f792f69 Merge pull request #15173 from justinsb/aws_enable_experimental
Auto commit by PR queue bot
2015-10-15 21:44:37 -07:00
Yifan Gu
e2b9b002fc gce/coreos: update node.yaml.
Add cbr0 configuration option for kubelet.
Add docker options
Remove rkt metadata service (it's no longer required for using
rkt)
2015-10-15 17:57:41 -07:00
nikhiljindal
a558fca24b Enabling deployments on GCE when the corresponding env var is set to true 2015-10-15 16:54:17 -07:00
James DeFelice
5b726867a1 mesos/docker support for profiling 2015-10-15 21:25:11 +00:00
k8s-merge-robot
5174ca21f6 Merge pull request #15717 from ihmccreery/fix-jenkins-upgrade-versioning
Auto commit by PR queue bot
2015-10-15 14:02:31 -07:00
Eric Tune
5a1a0b3040 Merge pull request #15428 from mikedanese/gc
Add e2e test for pod garbage collection
2015-10-15 13:58:00 -07:00
Alex Robinson
40d1a01fa8 Set Docker's default log level to warning to reduce log spam. 2015-10-15 13:49:28 -07:00
Andy Zheng
59e5e07763 Fix a bug in trusty node.yaml config
The --log-level="\debug\" flag in DOCKER_OPTS may not be correctly
interpreted in some cases. We turn on this flag only for testing
clusters. In addition to fixing the docker flag, this change
also removes the confusing numbers from the lines of separating
upstart jobs.
2015-10-15 13:43:25 -07:00
k8s-merge-robot
ae0ea6496e Merge pull request #15278 from combk8s/logCapital
Auto commit by PR queue bot
2015-10-15 13:37:39 -07:00
Isaac Hollander McCreery
79df5f58ff kubernetes-upgrade-1.0-1.1-gke configs using ci/latest-1.1 2015-10-15 10:30:09 -07:00
Mike Danese
ef015c3574 add config-vm flag to enable terminated pod garbage collection. 2015-10-15 08:19:39 -07:00
k8s-merge-robot
5d66bf9741 Merge pull request #15519 from ihmccreery/upgrade-versioning
Auto commit by PR queue bot
2015-10-15 06:30:12 -07:00
k8s-merge-robot
7ef2a1b293 Merge pull request #15427 from brendandburns/controllerversion
Auto commit by PR queue bot
2015-10-15 05:38:33 -07:00
k8s-merge-robot
b799d57e7b Merge pull request #15642 from dchen1107/docker
Auto commit by PR queue bot
2015-10-15 03:02:17 -07:00
combk8s
59b392c4fa Capitalize the first letter in some log files 2015-10-15 11:03:56 +08:00
Brendan Burns
0c730f4ea7 update 2015-10-14 18:22:19 -07:00
Isaac Hollander McCreery
60c316b54a Upgrades and upgrade tests take versions of the form release/stable instead of stable_release:
- Refactor common and gce/upgrade.sh to use arbitrary published releases
- Update hack/get-build to use cluster/common code
- Use hack/get-build.sh in cluster upgrade test logic
2015-10-14 10:16:21 -07:00
Jeff Grafton
fbd58294b2 Update test helpers and dev doc to use etcd v2.0.12. 2015-10-13 16:05:56 -07:00
Abhishek Shah
f2c8d1bdd5 New SkyDNS build (Oct 13, 2015, 8c72f8c). Set ns-rotate to false. rtimeout is now defaulting to 2 seconds. SkyDNS container includes its sources in /skydns_sources.tar.gz 2015-10-13 14:11:56 -07:00
Dawn Chen
03fb74400b Upgrade to docker 1.8.3 2015-10-13 11:05:09 -07:00
k8s-merge-robot
f6bed84af7 Merge pull request #15252 from brendandburns/flakes3
Auto commit by PR queue bot
2015-10-13 09:53:13 -07:00
k8s-merge-robot
4008c65323 Merge pull request #15135 from ZJU-SEL/upgrade-flannel
Auto commit by PR queue bot
2015-10-13 07:07:18 -07:00
k8s-merge-robot
57b1f8798e Merge pull request #15404 from mesosphere/smoke-test-args
Auto commit by PR queue bot
2015-10-13 05:11:46 -07:00
Marek Grabowski
98a0cc63f3 Merge pull request #15377 from gmarek/fix-jenkins
Prefix hollow-cluster-master name with instance prefix
2015-10-13 10:03:27 +02:00
Brendan Burns
5d67b1525f Add some retry to static ip creation 2015-10-12 14:43:02 -07:00
Dawn Chen
92fcbb6b54 Merge pull request #15182 from thockin/registry-doc
Add a README for private registry
2015-10-12 14:41:53 -07:00
Dawn Chen
b1417c8042 Merge pull request #14814 from zhengguoyong/rackspace
change minion to node for rackspace
2015-10-12 13:24:37 -07:00
gmarek
b88eb80a59 Prefix hollow-cluster-master name with instance prefix 2015-10-12 20:15:59 +02:00
Jerzy Szczepkowski
e3c6750942 Merge pull request #15463 from piosz/enable-ir-e2e
Enabled InitialResources e2e in autoscaling suite
2015-10-12 12:17:47 +02:00
k8s-merge-robot
5730332b60 Merge pull request #15299 from kevin-wangzefeng/centos_enable_admission_control
Auto commit by PR queue bot
2015-10-12 02:47:28 -07:00
Piotr Szczesniak
35cf8cc76c Enabled InitialResources e2e in autoscaling suite 2015-10-12 11:30:47 +02:00
k8s-merge-robot
8e25b7c7bf Merge pull request #15341 from vishh/grafana-update
Auto commit by PR queue bot
2015-10-10 14:21:01 -07:00
k8s-merge-robot
f051cb71b1 Merge pull request #14260 from mesosphere/sttts-kubelet-capacity
Auto commit by PR queue bot
2015-10-10 13:09:06 -07:00
k8s-merge-robot
834ce9ddb5 Merge pull request #15189 from ixdy/resource-check
Auto commit by PR queue bot
2015-10-10 12:26:21 -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
k8s-merge-robot
8580804f77 Merge pull request #15138 from mattmoor/limited-beta-rewrite
Auto commit by PR queue bot
2015-10-10 11:41:34 -07:00
k8s-merge-robot
fa557f6101 Merge pull request #15409 from caesarxuchao/extension/v1beta1
Auto commit by PR queue bot
2015-10-10 09:03:43 -07:00
Karl Isenberg
49a5f89921 Merge pull request #15255 from mesosphere/mesos-docker-versions
MESOS: Update mesos/docker cluster docker images
2015-10-10 00:32:55 -07:00
Mike Danese
392f33e417 Merge pull request #14054 from mikedanese/register-master
register master kubelet with the apiserver
2015-10-09 17:12:37 -07:00
Chao Xu
cc4ec80ec7 in scripts, experimental/v1alpha1->extensions/v1beta1 2015-10-09 15:19:13 -07:00
Karl Isenberg
a73463f3a6 Support passing args to cluster/test-smoke.sh 2015-10-09 14:44:23 -07: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
Matt Bruzek
ed64773c9c Fixing the errors with verify-boilerplate. 2015-10-09 11:13:28 -05:00
Matt Bruzek
0d577b8e03 Update the code to be in sync and pass CI tests. 2015-10-09 09:54:52 -05:00
Dr. Stefan Schimanski
11e592879a Use mesos-slave-dind docker image with overlay-over-overlay smoketest 2015-10-09 13:30:52 +01:00
Mike Danese
fa60bbe8e6 add flag to kubelet to ignore the cidr passed down by the apiserver on the master 2015-10-08 21:21:19 -07:00
k8s-merge-robot
9305a98ffc Merge pull request #15205 from a-robinson/purge
Auto commit by PR queue bot
2015-10-08 20:40:26 -07:00
k8s-merge-robot
0655c9d8ad Merge pull request #15209 from ixdy/gce-cluster-init-timeout
Auto commit by PR queue bot
2015-10-08 19:17:13 -07:00
Vishnu kannan
64218c5edb Update grafana to v2.1.1. Default dashboards in Grafana will be setup
automatically.
2015-10-08 17:01:16 -07:00
k8s-merge-robot
0c089dcf11 Merge pull request #15265 from andyzheng0831/trusty
Auto commit by PR queue bot
2015-10-08 14:51:10 -07:00
k8s-merge-robot
27ff98c8f3 Merge pull request #15288 from roberthbailey/hyperkube-config
Auto commit by PR queue bot
2015-10-08 14:20:54 -07:00
Tim Hockin
0b50b7e00f Add a README for private registry
It's not perfect but it is better than no docs.
2015-10-08 12:33:43 -07:00
k8s-merge-robot
074da2e05d Merge pull request #15208 from mikedanese/v3-bump
Auto commit by PR queue bot
2015-10-08 11:22:15 -07:00
Abhishek Shah
d92d4124dd changed localhost to 127.0.0.1 for dns healthcheck 2015-10-08 09:34:07 -07:00
Justin Santa Barbara
33d0541a00 AWS: Add configuration for ENABLE_EXPERIMENTAL
We need this for some tests; not all the options are fully plumbed in,
but should enable experimental/v1alpha1, as needed for jobs tests.

In particular, ENABLE_NODE_AUTOSCALER is not yet actually implemented.
2015-10-08 10:15:10 -04:00
k8s-merge-robot
30ad675fa1 Merge pull request #15287 from ZJU-SEL/fix-ubuntu-upstart-script
Auto commit by PR queue bot
2015-10-08 06:03:23 -07:00
Piotr Szczesniak
952a058357 Merge pull request #15153 from wojtek-t/common_resync_period
Extend resyncPeriods in controllers in production.
2015-10-08 14:07:04 +02:00
Kevin
74b3250eeb enable admission-control in kube-apiserver config 2015-10-08 19:34:41 +08:00
Marek Grabowski
674e8212f6 Merge pull request #15292 from gmarek/fix-jenkins
Run 1000 node Kubemark experiments on Jenkins
2015-10-08 12:15:29 +02:00
gmarek
a16350853e Run 1000 node Kubemark experiments on Jenkins 2015-10-08 12:09:14 +02:00
Piotr Szczesniak
7bbb7a2d9f Merge pull request #15219 from wojtek-t/change_default_to_test
Unify default and test configuration in GCE
2015-10-08 11:12:23 +02:00
Wojciech Tyczynski
df79026b79 Extend resyncPeriods in controllers in production. 2015-10-08 09:10:09 +02:00
Robert Bailey
1c212b88e7 Stop using the deprecated --portal-net flag in the docker
single/multi-node examples.
2015-10-07 23:07:08 -07:00
He Simei
3e9905bb07 fix incorrect upstart script for ubuntu 2015-10-08 13:57:22 +08:00
He Simei
c41eda7309 kube-down gracefully 2015-10-08 13:30:37 +08:00
He Simei
51f1570710 upgrade flannel to 0.5.3 2015-10-08 13:28:58 +08:00
Quinton Hoole
1b7f8f540e Bring up a 4000 node kubemark cluster in Jenkins.
This is a bit of a hack of the existing scripts, but the quickest way to get this cluster up.
Will restructure e2e.sh to do this in a more sane way in a separate PR.
2015-10-07 16:46:32 -07:00
Andy Zheng
3a5f3f0615 Enable privileged containers in Trusty nodes
This change also removes an outdated TODO comment.
2015-10-07 15:10:14 -07:00
Janet Kuo
4b8f91fd0e Merge pull request #15190 from dchen1107/fix
unset Kubelet flag for manifest_url for master node.
2015-10-07 14:48:35 -07:00
Dawn Chen
c29296f9a8 Set manifest-url-header when enable_manifest_url is set 2015-10-07 13:27:03 -07:00
Jeff Grafton
0e29d81904 Print error messages to stderr 2015-10-07 11:19:32 -07:00
Wojciech Tyczynski
d16995b24b Unify default and test configuration in GCE 2015-10-07 12:47:28 +02:00
Filip Grzadkowski
c1345ce2d9 Merge pull request #15068 from wojtek-t/fix_default_limits
Tweak limits for system pods in manifest files.
2015-10-07 09:41:28 +02:00
Jeff Grafton
efd3968335 Add a timeout for GCE cluster initialization 2015-10-06 19:39:55 -07:00
Mike Danese
2b22b252f3 bump kube-ui to v3 2015-10-06 18:34:03 -07:00
Alex Robinson
55278545a4 Also delete firewall rules and static IP addresses from stranded GCE LBs 2015-10-06 18:28:06 -07:00
Alex Robinson
9f80b87843 Fix hard-coded project IDs and region in script for deleting stranded LBs 2015-10-06 18:24:41 -07:00
Jeff Grafton
004c3bc7ad Add script to use gcloud to print GCP resources used. 2015-10-06 17:38:34 -07:00
Dawn Chen
37720e8899 unset Kubelet flag for manifest_url for master node. 2015-10-06 17:33:29 -07:00
Matt Moore
eeb4eeb17c Move pause and fluentd-elasticsearch to GCR v2.
This scopes down the initially ambitious PR:
https://github.com/kubernetes/kubernetes/pull/14960 to replace just
`pause` and `fluentd-elasticsearch` to come through `beta.gcr.io`.

The v2 versions have been pushed under new tags, `pause:2.0` and
`fluentd-elastisearch:1.12`.

NOTE: `beta.gcr.io` will still serve images using v1 until they are repushed with v2.  Pulls through `gcr.io` will still work after pushing through `beta.gcr.io`, but will be served over v1 (via compat logic).
2015-10-06 16:39:07 -07:00
k8s-merge-robot
57a08b5563 Merge pull request #15148 from piosz/registry-addon
Auto commit by PR queue bot
2015-10-06 14:43:45 -07:00
Abhi Shah
aa9957e754 Merge pull request #15035 from ArtfulCoder/admissionChange
Removed DenyEscalatingExec from the list of default admission control…
2015-10-06 14:25:12 -07:00
Janet Kuo
f4bbb32bd9 Merge pull request #15024 from mikedanese/expcontroller
enable all experimental controllers in controller-manager with one flag
2015-10-06 14:20:11 -07:00
Abhishek Shah
a1b6dbe870 Removed DenyEscalatingExec from the list of default admission controllers. 2015-10-06 13:35:32 -07:00
Piotr Szczesniak
ee815a87d9 Disabled cluster registry addon by default 2015-10-06 10:53:29 +02:00
Alex Robinson
1efee0b49e Merge pull request #8255 from iterion/default_dhcp_option_set
AWS: Create DHCP Option Set on kube-up
2015-10-05 16:29:48 -07:00
Alex Robinson
32b9d8aad0 Merge pull request #14823 from wojtek-t/move_events_to_separate_etcd
Move events to a separate etcd instance
2015-10-05 16:28:04 -07:00
Mike Danese
833be48d61 enable all experimental flags with one controller 2015-10-05 14:54:19 -07:00
Alex Robinson
0b6bcab091 Merge pull request #15049 from Juniper/opencontrail-provisioning
Add opencontrail networking provisioning support in kubernetes via salt based provisioning
2015-10-05 14:40:11 -07:00
Adam Sunderland
1c77179652 Adding DHCP Option Setup
Fix Spacing
2015-10-05 14:13:40 -05:00
Alex Robinson
0aa5c16f38 Merge pull request #14646 from mesosphere/sttts-fix-kubeproxy-test
Fix e2e tests for providers without SSH to the nodes
2015-10-05 11:56:09 -07:00
Alex Robinson
8b68089ac4 Merge pull request #15071 from justinsb/aws_include_distro_when_not_recognized
AWS: Log the distro when we don't recognize it
2015-10-05 11:19:38 -07:00
Justin Santa Barbara
d898834037 AWS: Log the distro when we don't recognize it
Similar to #15070, we should log the distro if we're going to tell the
user we can't match it (so the user can see if they have typoed it, and
so it will hopefully be included to us in error reports)
2015-10-05 09:25:59 -04:00
Justin Santa Barbara
f763c59743 AWS: Increase the timeout for S3 bucket creation
The current timeout of 5 seconds is needlessly short, given that we
fail kube-up if the (eventually consistent?) bucket creation takes
longer.

Raise it to 120 seconds.

Possibly related to issue #14278
2015-10-05 09:17:12 -04:00
Wojciech Tyczynski
2a74d1d6ca Tweak limits in manifest files. 2015-10-05 14:45:43 +02:00
Wojciech Tyczynski
0f1cbe37a4 Events in separate etcd 2015-10-05 10:54:24 +02:00
Piotr Szczesniak
94080973b1 Bumbed Heapster to v0.18.2 and changed its config
The new version fixes problem with missing metrics.
The new config decreases load on GCM/InfluxDB.

Increased stats resolution from default 5s to 30s.
Decreased sink frequency from 2m to 1m.
2015-10-05 09:51:01 +02:00
thaerlo
6e6c5375d2 Changed config-default.sh: deleting the DenyEscalatingExec option from ADMISSION_CONTROL, so kube-apiserver can start correctly.
Changed util.sh: provision-* functions so every flannel interface is created after starting the etcd service and reconfDocker.sh with the "i" option is launched after every flannel interface is up and running.
2015-10-04 22:03:54 -04:00
Dr. Stefan Schimanski
b041d4ec11 Enlarge port range for mesos/docker e2e tests 2015-10-04 10:58:18 +02:00
Ananth Suryanarayana
d50d7763da Add opencontrail networking provisioning support in kubernetes salt based provisioning
OpenContrail is an open-source based networking software which provides virtualization support for the cloud.

This change-set adds ability to install and provision opencontrail software for networking in kubernetes based cloud environment.

There are basically 3 components

o kube-network-manager -- plugin between contrail components and kubernets components
o provision_master.sh -- OpenContrail software installer and provisioner in master node
o provision_minion.sh -- OpenContrail software installer and provisioner in minion node(s)

These are driven via salt configuration files

One can provision opencontrail by just setting "export NETWORK_PROVIDER=opencontrail"
Optionally, OPENCONTRAIL_TAG, and OPENCONTRAIL_KUBERNETES_TAG can be used to
specify opencontrail and contrail-kubernetes software versions to install and provision.

Public-IP Subnet provided by contrail can be configured via OPENCONTRAIL_PUBLIC_SUBNET
environment variable

At this moment, plan is to add support for aws, gce and vagrant based platforms

For more information on contrail-kubernetes, please visit https://github.com/juniper/contrail-kubernetes For more information on opencontrail, please visit http://www.opencontrail.org
2015-10-03 08:03:02 -07:00
k8s-merge-robot
02f878cf5b Merge pull request #14553 from mesosphere/sttts-fix-daemonsets-on-mesos
Auto commit by PR queue bot
2015-10-02 19:16:08 -07:00
k8s-merge-robot
e29eab2a75 Merge pull request #14804 from brendandburns/fix3
Auto commit by PR queue bot
2015-10-02 17:09:38 -07:00
Abhishek Shah
2d3a688ab7 reduce cpu requirement for etcd, after 2 etcd pods are being run 2015-10-02 10:31:04 -07:00
gmarek
b283fdde12 Avoid overriding kubemark config variables by kubemark/util.sh script 2015-10-02 12:45:16 +02:00
gmarek
bc76b1616f Add SSL to communication in Kubemark 2015-10-02 10:39:24 +02:00
Brendan Burns
b9293a093b Merge pull request #14478 from ZJU-SEL/upgrade-ubuntu-1.0.6
Fix unknown admission control failure for ubuntu deployment
2015-10-01 15:22:49 -07:00
gmarek
9a74980da2 Make kubemark work on Jenkins 2015-10-01 15:26:39 +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
He Simei
d593c42e42 deprecate unknown admission control 2015-10-01 12:45:36 +08:00
He Simei
be14f720c4 upgrade k8s to 1.0.6 for ubuntu 2015-10-01 12:45:36 +08:00
k8s-merge-robot
ff5c0f95c1 Merge pull request #14663 from vishh/grafana
Auto commit by PR queue bot
2015-09-30 21:30:50 -07:00
Brendan Burns
1b7e52edb4 Merge pull request #14507 from derekwaynecarr/enable_experiemental_apis
Enable experimental API in vagrant setups
2015-09-30 17:12:57 -07:00
Brendan Burns
5545630641 Merge pull request #13185 from xsamurai/master
Changed SSH_USER to core instead ubuntu, also applied fixes from #11975
2015-09-30 11:29:46 -07:00
Brendan Burns
2a6c7a1e79 Merge pull request #14715 from zhengguoyong/capital
set capital in some glog files
2015-09-30 11:28:05 -07:00
Brendan Burns
9cf5cc6641 Add a utility to clean up stranded load balancers. 2015-09-30 11:16:03 -07:00
Mike Danese
ed23abe181 Merge pull request #14690 from mikedanese/fix-2
trim mig template name if it's over the gce validated length limit
2015-09-30 10:52:43 -07:00
Marek Grabowski
ce0b8a3083 Merge pull request #14821 from gmarek/small-fix
Make kubemark docker image a bit smaller
2015-09-30 13:30:11 +02:00
gmarek
d2bf875ce5 Make kubemark docker image a bit smaller 2015-09-30 13:14:02 +02:00
eulerzgy
bf603f698d change minion to node for rackspace 2015-09-30 16:17:25 +08:00
Wojciech Tyczynski
96ec9bcc24 Merge pull request #14766 from brendandburns/perf
Add a second etcd instance for use with events.
2015-09-30 09:51:55 +02:00
eulerzgy
71b96422f4 set capital in some files 2015-09-30 14:46:20 +08:00
Abhi Shah
29c3c23aa0 Merge pull request #14625 from ArtfulCoder/dnstest
adjust read timeout for skydns. default is too high. (changed 4 seconds-> 2seconds)
2015-09-29 22:04:09 -07:00
Tim Hockin
6eb7d8cf1b Merge pull request #13759 from upmc-enterprises/pod_dns
Allow pods to have dns
2015-09-29 21:21:33 -07:00
Brendan Burns
afb54a20c5 Merge pull request #14689 from mikedanese/fix-1
sanitize + in KUBE_VERSION during gce upgrade
2015-09-29 19:54:39 -07:00
Brendan Burns
892a56bcf4 Merge pull request #14479 from linzichang/update-flags
Update apiserver flags in libvirt-coreos
2015-09-29 19:30:36 -07:00
Brendan Burns
a4581c7cd5 Add a second etcd instance for use with events. 2015-09-29 13:13:59 -07:00
Mike Danese
05355145b9 trim mig template name if it's over the gce validated length limit 2015-09-29 11:52:35 -07:00
gmarek
7cfb3479e0 Small fixes to Kubemark scripts 2015-09-29 10:24:46 +02:00
k8s-merge-robot
3742958995 Merge pull request #14225 from ZJU-SEL/kube-down-gracefully
Auto commit by PR queue bot
2015-09-28 21:34:34 -07:00
Mike Danese
5b58a6cb34 sanitize + in KUBE_VERSION during gce upgrade 2015-09-28 17:35:34 -07:00
Vishnu kannan
76d7cbc9cf 1. Make grafana accessible via api-server proxy
2. Add a persistent storage for grafana.
3. Do not enable LoadBalancer by default for Grafana service. This breaks in many deployments.
2015-09-28 17:17:07 -07:00
Abhishek Shah
5d2f3e6683 adjust read timeout for skydns. default is too high (2 seconds.) 2015-09-28 14:07:25 -07:00
Marek Grabowski
f8a9943d90 Merge pull request #14651 from mwielgus/cluster_request
Add cpu/mem reservation metrics for autoscaler in kube-up
2015-09-28 17:40:05 +02:00
Zichang Lin
d4e2acf7ad Update apiserver flags in libvirt-coreos 2015-09-28 20:35:59 +08:00
Marcin Wielgus
659c18110a Add cpu/mem reservation metrics to autoscaler kube-up 2015-09-28 14:12:18 +02:00
gmarek
dd3bd73948 Initial Kubemark commit 2015-09-28 11:39:05 +02:00
Jian Huang
f80120d5ef Fix the issue of generate BASIC_AUTH_FILE file. 2015-09-28 12:02:18 +08:00
Steve Sloka
717660aa35 Allow pods to have dns 2015-09-25 17:22:38 -04:00
Brian Grant
3cbd5f01a0 Merge pull request #13044 from roberthbailey/kubelet-healthcheck
Healthcheck the kubelet on the secure port rather than the read-only port.
2015-09-25 11:11:51 -07:00
derekwaynecarr
804b50d73c Enable experimental API in vagrant setups 2015-09-25 11:16:57 -04:00
Marcin Wielgus
039acb8c1d Merge pull request #14463 from nikhiljindal/DeploymentOnGCE
Allow enabling deployment controller on GCE and GKE
2015-09-25 13:47:36 +02:00
Brian Grant
1b8727ada1 Merge pull request #13072 from mikaelh/master
Elastic IP need to be assigned after the instance is in running state
2015-09-24 17:39:26 -07:00
Brian Grant
3778c00330 Merge pull request #14442 from mesosphere/smoke-tests
Add script to run minimal e2e tests to validate cluster deployment
2015-09-24 17:00:01 -07:00
Brian Grant
dc9a094e1f Merge pull request #14251 from zhengguoyong/del-whitespace2
delete the front whitespace of the annotation
2015-09-24 16:52:42 -07:00
Brian Grant
e7fa5d4df8 Merge pull request #12646 from Huawei-PaaS/ubuntu_verify_cluster_timeout
remove duplicated cluster verify logic in ubuntu deployments scripts.
2015-09-24 16:44:45 -07:00
Chao Xu
ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune
ff1156d4c1 Merge pull request #13930 from ArtfulCoder/privileged
allow privileged pods
2015-09-24 13:42:31 -07:00
nikhiljindal
ed5d24ed52 Allow enabling deployment controller on GCE and GKE 2015-09-24 11:37:16 -07:00
Jerzy Szczepkowski
c8238c079a E2E tests for horizontal pod autoscaler.
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
Eric Tune
57c5a5e439 Merge pull request #14333 from roberthbailey/gke-e2e-firewall-names
Use the cluster name instead of the minion tag as the prefix for the firewall rules created in gke e2e tests
2015-09-23 16:40:41 -07:00
Eric Tune
de9ffd32e8 Merge pull request #14377 from derekwaynecarr/improve_vagrant_node_stability
Vagrant salt-minion should have low oom_score_adj and restart policy
2015-09-23 16:31:10 -07:00
Eric Tune
305a7d3f94 Merge pull request #14410 from lhuard1A/remove_etcd_discovery
[libvirt-coreos cluster] Get rid of the etcd discovery mechanism in favor of static configuration
2015-09-23 16:26:38 -07:00
Karl Isenberg
f429d690c1 Add script to run minimal e2e tests to validate cluster deployment 2015-09-23 12:23:07 -07:00
eulerzgy
6e92c9393a change minion to node 2015-09-23 17:49:22 +08:00
Lénaïc Huard
8b99dd6fb1 Get rid of the etcd discovery mechanism in favor of static configuration
In order to make the etcd instances of the VMs join into a single cluster,
we used to use the discovery mechanism.
This made the cluster bootstrap dependent on an external etcd cluster instance.

74601ea replaced the dependency on discovery.etcd.io by a local etcd cluster.

This change completely gets rid of the dynamic discovery mechanism in favor
of the static configuration method.

This should be both safe and light since it completely removes the need of having
an external etcd cluster running somewhere (either discovery.etcd.io, or locally).
2015-09-23 11:34:55 +02:00
Abhishek Shah
09465c9a2a allow privileged pods 2015-09-22 13:44:08 -07:00
derekwaynecarr
c1b2f62299 Vagrant salt-minion should have low oom_score_adj and restart policy 2015-09-22 16:02:30 -04:00
Lénaïc Huard
6fad7d3520 Revert "Add local etcd discovery support for libvirt-coreos"
This reverts commit 74601eabbe.
2015-09-22 18:30:39 +02:00
Dr. Stefan Schimanski
ec69cb22bd Fix escaping in mesos-slave command line 2015-09-22 15:02:21 +02:00
Robert Bailey
69c987228b Use the cluster name instead of the minion tag as the prefix for
the firewall rules created in e2e tests. This allows the teardown
code to run without needing to inspect the managed instance group
for the cluster (which may no longer exist) and should make e2e
teardown much more resilient.
2015-09-21 20:21:26 -07:00
Vishnu kannan
989aaef94f Upgraded heapster to v0.18.1, influxDB to v0.8.9, and Grafana to v2.0. 2015-09-21 15:42:24 -07:00
eulerzgy
f6ce2eb4be delete the front whitespace of the annotation 2015-09-21 19:14:26 +08:00
Piotr Szczesniak
9a1ec3dfb5 Added GCM support for Initial Resources plugin 2015-09-21 09:01:54 +02:00
He Simei
c4bc4e26be kube-down gracefully when api-server is no longer accessible 2015-09-19 18:36:03 +08:00
k8s-merge-robot
83192aac45 Merge pull request #13964 from liguangbo/fix_make_ca_cert_proxy
Auto commit by PR queue bot
2015-09-19 00:15:54 -07:00
Nikhil Jindal
8754eea749 Merge pull request #14160 from zhengguoyong/minions
change minions to nodes
2015-09-18 17:37:33 -07:00
k8s-merge-robot
cad5f03311 Merge pull request #14185 from tmrts/formatting
Auto commit by PR queue bot
2015-09-18 15:16:00 -07:00
Tamer Tas
cb5f921df1 Add newline to the end of bash scripts 2015-09-18 19:35:05 +03:00
eulerzgy
9d14d1115f change minions to nodes 2015-09-19 00:01:49 +08:00
k8s-merge-robot
1a46238bf2 Merge pull request #13962 from ZJU-SEL/enhance-deploy-ubuntu
Auto commit by PR queue bot
2015-09-18 08:40:30 -07:00
liguangbo
c907bac6c8 Fix easy-rsa download time out in ubuntu deployment script 2015-09-18 17:37:04 +08:00
Dr. Stefan Schimanski
df997e2bb9 Add support for NUM_MINION to mesos/docker cluster 2015-09-18 11:34:27 +02:00
He Simei
b1907f5b1e export KUBE_VERSION 2015-09-18 14:14:20 +08:00
k8s-merge-robot
ef33c2faa4 Merge pull request #13659 from linzichang/fix-ip-conflict
Auto commit by PR queue bot
2015-09-17 16:03:39 -07:00
k8s-merge-robot
48275aa944 Merge pull request #14004 from mbruzek/enable-ssl-squash
Auto commit by PR queue bot
2015-09-17 16:00:09 -07:00
Alex Mohr
e8b53628a5 Merge pull request #12671 from mikeln/master
Much smaller hyperkube image creation
2015-09-17 14:24:19 -07:00
Matt Bruzek
7a387a87a1 Changes necessary to enable ssl for the Juju charms
Squashed commit of the following:

commit dedaccffdc1d797b5f23e0004280c2fcc0ecffa9
Merge: 24c3585 f03a267
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Tue Sep 15 17:07:42 2015 -0500

    Merge branch 'master' of github.com:kubernetes/kubernetes into enable-ssl

commit 24c358566cc0963fb86dc057db15739f031ba6f6
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Tue Sep 15 16:44:58 2015 -0500

    Fixing problems with verify-boilerplate.

commit a64443352c64498255ac98fc0da1a7d8d5934485
Merge: f152794 ee3f662
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Tue Sep 15 15:43:08 2015 -0500

    Merge branch 'enable-ssl' of github.com:mbruzek/kubernetes into enable-ssl

    Conflicts:
    	cluster/juju/util.sh

commit f152794502c017ae7d3cff0351d8bf44b7311883
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 14:12:21 2015 -0500

    Fixes for problems found in testing.

commit 94effa4827d5f30c60621e9133c4526c187e40b4
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 12:34:37 2015 -0500

    Making updates for changes in master branch.

commit a81795b44e57d54b8b4ae486ca6ea8164ac8fc6b
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:39:36 2015 -0500

    pep8 fix

commit 53a862caea02c4b35f8cd19b1549fda29e040f12
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:37:31 2015 -0500

    Adding diagnostic log messages and reloading nginx.

commit 96411a924fb05e2e58534cce94d9a1e51d7db9af
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:19:31 2015 -0500

    Making the check user logic cleaner.

commit a0243b34cdda2f865e559bd4812c5a78ab6f6f05
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:18:04 2015 -0500

    Open port 6443 for ssl enablement.

commit e8423614763aa6d650089c735c3dc1893bf73993
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:16:54 2015 -0500

    Generating certificates and adding config options.

commit 6570a818e252f2cb156a577094ba987dec834fe1
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:14:56 2015 -0500

    Removing the http configuration adding https config.

commit e624bd79f8840b71b141a111bca7c6091b677575
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:13:04 2015 -0500

    Changed the distribution nginx config slightly.

commit c497911170268ee75bed53afeb5fa32ff44c82af
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:57:17 2015 -0500

    Adding the crt and key to the apiserver flags.

commit 6c1e76c5de31eb4d0f800065ce4bc96a82801846
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:56:15 2015 -0500

    Adding the cert and key configuration parameters.

commit 55da910d473efa0be0af5efccf2336612525986e
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:49:46 2015 -0500

    Adding a requirements file to install path.py with pip -r

commit 27a39686af89e134268be50ce5e4fc36cffdf2b3
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Fri Aug 21 16:34:56 2015 -0500

    Making the install hook idempotent.

commit ee3f66287ba045592f932c3a41aeb8e0167a9235
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 14:12:21 2015 -0500

    Fixes for problems found in testing.

commit 3dfdbb0e21d79da66617f7a29e6dd8d977528057
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 12:34:37 2015 -0500

    Making updates for changes in master branch.

commit df9c297fe27c63713fc0d7dbd461b2d47133614c
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:39:36 2015 -0500

    pep8 fix

commit 645b25d9cc84555ca7af5c75e3f0b1300aaa9f48
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:37:31 2015 -0500

    Adding diagnostic log messages and reloading nginx.

commit 57654320bd73dc4dd52d6d56021d40a97c6ed893
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:37:02 2015 -0500

    Removing xtrace.

commit a0e8cd98353e7cd411786bc8836fe99a77cde3ba
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:19:31 2015 -0500

    Making the check user logic cleaner.

commit 6c6eb7ff02d6dbf66d3175b715e957b00a861525
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:18:04 2015 -0500

    Open port 6443 for ssl enablement.

commit 29f18cc95ff96de1a48f72af2cff2e37420a43c7
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:16:54 2015 -0500

    Generating certificates and adding config options.

commit c9bdaa499552980153ff263a1ab9b4fa73a0536a
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:14:56 2015 -0500

    Removing the http configuration adding https config.

commit ec33e66a159a4b44207353b16741c7fad2e4ee0d
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 11:13:04 2015 -0500

    Changed the distribution nginx config slightly.

commit 96dc16879c0dd230569ceb928f9f7bf92ff8ab3f
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:57:17 2015 -0500

    Adding the crt and key to the apiserver flags.

commit 308799502c0a22f214408395f5efa4821d075374
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:56:15 2015 -0500

    Adding the cert and key configuration parameters.

commit 7f407a4356de8703ff2f237432084f35910d8abd
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Wed Sep 9 10:49:46 2015 -0500

    Adding a requirements file to install path.py with pip -r

commit f800ae1152076758d4db203fdbecf6d945c0e892
Author: Matt Bruzek <matthew.bruzek@canonical.com>
Date:   Fri Aug 21 16:34:56 2015 -0500

    Making the install hook idempotent.

Resolving verification problems.
2015-09-17 15:23:02 -05:00
k8s-merge-robot
37c4e2eba3 Merge pull request #13808 from derekwaynecarr/add_cockpit
Auto commit by PR queue bot
2015-09-17 08:36:34 -07: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
k8s-merge-robot
e3ecb748b9 Merge pull request #14005 from technosophos/master
Auto commit by PR queue bot
2015-09-17 01:08:08 -07:00
k8s-merge-robot
445fde3dc5 Merge pull request #13447 from pweil-/pid-mode
Auto commit by PR queue bot
2015-09-16 23:34:35 -07:00
Alex Mohr
943d7160d5 Merge pull request #14033 from gosharplite/patch-8
nslookup in different namespace
2015-09-16 14:31:22 -07:00
Robert Bailey
da94ed7957 Healthcheck the kubelet on the secure port rather than the read-only port. 2015-09-16 12:15:29 -07:00
k8s-merge-robot
3dcb75c599 Merge pull request #13986 from derekwaynecarr/move_to_flannel
Auto commit by PR queue bot
2015-09-16 09:36:09 -07:00
k8s-merge-robot
14ccba8924 Merge pull request #13886 from a-robinson/logtags
Auto commit by PR queue bot
2015-09-16 05:51:32 -07:00
k8s-merge-robot
8385c148ba Merge pull request #13936 from andyzheng0831/trusty
Auto commit by PR queue bot
2015-09-16 05:29:18 -07:00
Tony Hsu
bab127e094 nslookup in different namespace
Since skydns is created in namespace 'kube-system' and kubernetes service is created in namespace 'default', if busybox is created in namespace 'kube-system' then nslookup will work with 'kubernetes.default'.
2015-09-16 17:44:02 +08:00
k8s-merge-robot
d5b33614c3 Merge pull request #14001 from kubernetes/revert-13866-test-grace-period
Auto commit by PR queue bot
2015-09-15 20:21:45 -07:00
derekwaynecarr
b59441f8c4 Add Fedora Cockpit to vagrant setup to administer/introspect kubernetes 2015-09-15 21:28:41 -04:00
Jeff Lowdermilk
a1294e6401 Merge pull request #13762 from runningwild/PR
More fixes to rkt support
2015-09-15 17:34:06 -07:00
Alex Robinson
8040f75594 Update fluentd-gcp to use a new google-fluentd build with my recent
changes to fluent-plugin-google-cloud to attach Kubernetes metadata to
logs.

Along with this, separate logs from containers in the cluster out from
logs from the daemons running on the node by instantiating two instances
of the output plugin, one which uses the new metadata (for containers)
and one which doesn't (for things like docker and the kubelet).
2015-09-15 23:14:43 +00:00
Matt Butcher
ac51f7e586 Allow DOCKER_OPTS to be overriden for Vagrant 2015-09-15 16:21:55 -06:00
Andy Zheng
7427387938 Add trusty node health monitoring
Upstart monitors the process of docker, kubelet, and kube-proxy.
This change adds an upstart job running as daemon to conduct
non-PID health monitoring.
2015-09-15 15:09:45 -07:00
Marek Grabowski
cda68cbeb5 Revert "Lower the grace period for Pod eviction for e2e clusters" 2015-09-15 17:55:37 -04:00
derekwaynecarr
360e7620d3 Move vagrant to flannel 2015-09-15 15:42:38 -04:00
Paul Weil
ed80c2b940 pid mode 2015-09-15 13:51:44 -04:00
He Simei
873eb3292f enhance deployment for ubuntu 2015-09-15 17:17:27 +08:00
k8s-merge-robot
c9dd648a88 Merge pull request #13900 from ZJU-SEL/kube-push-with-local-binary
Auto commit by PR queue bot
2015-09-14 11:34:10 -07:00
Dr. Stefan Schimanski
d1f558757c Only km is needed in mesos-docker km container 2015-09-14 09:56:23 +02:00
He Simei
ebeaf70658 support kube-up using local binaries for ubuntu 2015-09-14 10:49:55 +08:00
k8s-merge-robot
c8f9219272 Merge pull request #13866 from gmarek/test-grace-period
Auto commit by PR queue bot
2015-09-12 23:15:38 -07:00
darron froese
d0e1781d2b Update open file limit for etcd
etcd was constantly restarting with too many open files until I gave it more room on Ubuntu 14.04

https://gist.github.com/darron/2aadb8f30f3dd6f580bf

This is a more sensible default - but it may not be enough depending on how many minion nodes there are.
2015-09-12 15:44:47 -06:00
Mike Danese
f27582a0b0 Merge pull request #13733 from ZJU-SEL/fix-kube-push-ubuntu
fix kube-push for ubuntu
2015-09-11 18:34:28 -07:00
Alex Robinson
f691dca96e Don't install unused configs in the fluentd-gcp Dockerfile. 2015-09-11 16:52:52 -07:00
Alex Robinson
614b1cf3c1 Replace /varlog with /var/log in the fluentd-gcp config to match the
recently updated fluent-es config.
2015-09-11 16:52:49 -07:00
k8s-merge-robot
a4932454ac Merge pull request #13803 from justinsb/aws_aufs_one_volume
Auto commit by PR queue bot
2015-09-11 14:00:52 -07:00
k8s-merge-robot
5add5d6f96 Merge pull request #13863 from jlowdermilk/gke-jenkins-config
Auto commit by PR queue bot
2015-09-11 12:05:55 -07:00
Mike Danese
4bd638921f Merge pull request #13752 from yujuhong/docker1.8_upgrade
Upgrade to docker 1.8.2 for Debian Wheezy on GCE
2015-09-11 11:15:30 -07:00
Jeff Lowdermilk
7229096453 Add config for the main gke-jenkins jobs to e2e.sh 2015-09-11 11:05:30 -07:00
gmarek
645c9153d4 Lower the grace period for Pod eviction for e2e clusters 2015-09-11 13:55:15 -04:00
Yu-Ju Hong
4cdd00fb9c Upgrade to docker 1.8.2 for Debian Wheezy on GCE 2015-09-11 10:09:59 -07:00
Jerzy Szczepkowski
5be8817315 Turning on pod autoscaler on GCE.
Implemented optional turning on of pod autoscaler in kube-up script for GCE.
2015-09-11 12:03:41 +02:00
k8s-merge-robot
8491a6028b Merge pull request #13843 from thockin/dns-docs-cleanup
Auto commit by PR queue bot
2015-09-10 23:03:39 -07:00
Tim Hockin
248881d44f Update DNS docs to cover --resolv-conf 2015-09-10 22:12:28 -07:00
Mikel Nelson
a90e3beb0f Smaller hyperkube image...fix git flub 2015-09-10 17:44:10 -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
k8s-merge-robot
c0d0ef6dd1 Merge pull request #13817 from a-robinson/varlib
Auto commit by PR queue bot
2015-09-10 13:24:07 -07:00
Jeff Lowdermilk
08442974bb Revert "Turning on pod autoscaler on GCE." 2015-09-10 11:46:37 -07:00
Alex Robinson
746dcb8075 Make fluentd-es output its warning logs and fluentd-gcp mount
/var/lib/docker read-only.
2015-09-10 18:28:27 +00:00
k8s-merge-robot
6f2fa9eb41 Merge pull request #13547 from jszczepkowski/hpa-kubeup
Auto commit by PR queue bot
2015-09-10 09:17:20 -07:00
Jerzy Szczepkowski
b41862b670 Turning on pod autoscaler on GCE.
Implemented optional turning on of pod autoscaler in kube-up script for GCE.
2015-09-10 16:10:01 +02:00
Justin Santa Barbara
9f4ec648b4 AWS: Create one storage pool for aufs, not two
We were splitting the aufs storage into docker & kubernetes areas, but
the kubernetes area was filling up very quickly because empty volumes
went on there, and I had originally not sized it big enough for that.

Instead, create one volume for both so they can share space freely.  We
can't do this for devicemapper, but that configuration seems to be
deprecated by Docker anyway.
2015-09-10 07:06:34 -07:00
Kevin
82aaf118e2 remove the dependency on brctl, update default config and rephrase minion to node 2015-09-10 16:11:16 +00:00
Kevin
de9d722993 update centos deployment scripts, add sudo user support. 2015-09-10 15:47:07 +00:00
Kevin
4e2613575d update centos deployment scripts call make-ca-cert.sh to generate certs 2015-09-10 15:47:06 +00:00
Kevin
5f985045f4 set default docker storage driver to devicemapper and fix DOCKER_OPTS passing 2015-09-10 15:47:06 +00:00
Kevin
ff9d482c82 Add CentOS BareMetal deployment scripts. 2015-09-10 15:47:06 +00:00
Mike Danese
b104f660da enable the experimental API group in e2e tests 2015-09-09 15:26:32 -07:00
Jonathan Wills
5d38a8f024 Create /etc/rkt on startup 2015-09-09 16:52:25 -04:00
Jonathan Wills
05617a4583 Add CLUSTER_REGISTER_DISK and CLUSTER_REGISTRY_DISK_SIZE to gce/coreos 2015-09-09 16:52:25 -04:00
He Simei
1db999c4cb fix kube-push for ubuntu 2015-09-09 21:48:48 +08:00
Chao Xu
2f93978df8 Merge pull request #13521 from derekwaynecarr/improve_salt_reliability
Improve reliability of salt-minion on vagrant master
2015-09-08 09:37:10 -07:00
Chao Xu
a85481b329 Merge pull request #13381 from Huawei-PaaS/upgrade_k8s_cluster_for_ubuntu
Add ubuntu kube-push for upgrading of k8s cluster
2015-09-08 09:05:51 -07:00
derekwaynecarr
7afec6b225 Improve reliability of salt-minion on vagrant master 2015-09-08 10:42:37 -04:00
Zichang Lin
34ad303dda Fix IP conflict on master's cbr0 and host's virbr_kub_pods 2015-09-08 16:23:18 +08:00
He Simei
442a22d114 tear down resources before tear down the cluster 2015-09-07 11:03:45 +08:00
k8s-merge-robot
8cc75a4734 Merge pull request #13031 from daizuozhuo/kubectl-get
Auto commit by PR queue bot
2015-09-06 13:15:05 -07:00
k8s-merge-robot
e6c0dcf770 Merge pull request #13544 from linzichang/master
Auto commit by PR queue bot
2015-09-06 12:17:49 -07:00
Dai Zuozhuo
2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
He Simei
a4fc22c849 deprecate etcd on node 2015-09-05 17:23:06 +08:00
Quinton Hoole
dd68f0b23f Merge pull request #13551 from eparis/cloudplatfrom-to-kubernetes
s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kub…
2015-09-04 12:36:01 -07:00
Quinton Hoole
059d762e64 Merge pull request #13594 from ihmccreery/tokens
Second attempt at GCE tokens behavior to new format
2015-09-04 11:38:08 -07:00
Quinton Hoole
de3cf9b712 Merge pull request #13527 from derekwaynecarr/disable_swap
Disable swap memory on vagrant nodes to support qos properly
2015-09-04 09:14:31 -07:00
Quinton Hoole
27c4041778 Merge pull request #13172 from parikhyash/kube-dns-ha
#11471 Readiness probe for kube-dns RC (HA)
2015-09-04 09:08:08 -07:00
Isaac Hollander McCreery
219a1fae62 Second attempt at GCE tokens behavior to new format 2015-09-04 08:36:55 -07:00
Piotr Szczesniak
78e7cc88fa Merge pull request #13376 from gouyang/fix-upgrade-storage-script
Use "kubectl replace" in update-storage-objects.sh
2015-09-04 13:45:08 +02:00
Piotr Szczesniak
e285af9b20 Merge pull request #13390 from derekwaynecarr/remove_namespace_exists
Remove NamespaceExists from configuration
2015-09-04 13:44:40 +02:00
Jerzy Szczepkowski
2684018bb5 Configurations of jenkins e2e cluster and default private e2e cluster made consistent.
Configurations of jenkins e2e cluster and default private e2e cluster made consistent.
2015-09-04 09:15:01 +02:00
Zichang Lin
4d8eedd13d Fix rmdir error when libvirt-coreos kupe-up 2015-09-04 08:02:00 +08:00
Abhi Shah
04600aa5dd Merge pull request #11439 from jfchevrette/source-local-cluster-env
Allow a local /cluster/env.sh to be sourced if present
2015-09-03 16:35:42 -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
9b24100c22 Merge pull request #13561 from yuvipanda/patch-1
Update kube2dns usage flags
2015-09-03 15:49:26 -07:00
Abhi Shah
a1d5e84385 Merge pull request #13274 from mikedanese/kube-ui-v2
bump kube-ui addon version to v2
2015-09-03 15:42:56 -07:00
Abhi Shah
34476cd758 Merge pull request #13510 from Huawei-PaaS/fix_hostnet_in_dns
Fix a typo `hostNet` to `hostNetwork`in DNS
2015-09-03 15:36:40 -07:00
derekwaynecarr
aff9ee5a40 Enable CFS quota in vagrant setup 2015-09-03 13:44:28 -04:00
derekwaynecarr
06bbe00642 Remove NamespaceExists from configuration 2015-09-03 13:42:09 -04:00
Yuvi Panda
e35d06fd17 Update kube2dns usage flags
Update some of the commandline flags for kube2sky
2015-09-03 18:57:45 +02:00
derekwaynecarr
44e74b4c20 Disable swap memory on vagrant nodes to support qos properly 2015-09-03 11:22:47 -04:00
Eric Paris
04fc8ae3dd s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
k8s-merge-robot
9c4802420b Merge pull request #8632 from jimmidyson/logging-kube-metadata
Auto commit by PR queue bot
2015-09-02 19:08:34 -07:00
Derek Carr
445fff030c Merge pull request #11469 from fredjean/fix-vagrant-vmware
Boot a Vagrant on VMWare Kubernetes Cluster
2015-09-02 14:23:53 -04:00
Yash Parikh
207dfe54f0 Fixes #11471 Readiness probe for kube-dns RC (HA) 2015-09-02 10:05:15 -07:00
Derek Carr
e3abf89aab Merge pull request #13268 from cameronbrunner/ISSUE_13267
Remove kubectl deprecation warning in Vagrant Cluster Provider
2015-09-02 12:30:34 -04:00
k8s-merge-robot
dd5f970679 Merge pull request #13446 from fgrzadkowski/fix_docker_multinode_doc
Auto commit by PR queue bot
2015-09-02 06:48:56 -07:00
qiaolei
59b6a6d2b8 Fix a typo hostNet to hostNetwork
Where `hostNet` should be `hostNetwork`
2015-09-02 20:21:10 +08:00
Marcin Wielgus
f7bb05f58e Merge pull request #13504 from Huawei-PaaS/fix_heapster_cadvisor_port
Fix a typo `-cadvisor_port` to `--cadvisor-port`
2015-09-02 12:13:49 +02:00
qiaolei
d2a0f2b66f Fix a typo -cadvisor_port to --cadvisor-port
Where `-cadvisor_port` should be `--cadvisor-port`
2015-09-02 17:52:52 +00:00
Jimmi Dyson
e07da97447 Switch to fluentd kubernetes metadata plugin to enrich logs with more searchable kubernetes metadata 2015-09-02 10:33:15 +01:00
Alex Robinson
66ff3c133b Merge pull request #13229 from a-robinson/fluent
Clean up the fluentd images to make them more debuggable
2015-09-01 17:01:04 -07:00
Filip Grzadkowski
1a9b0d6018 Fix mounting volumes in docker based kubernetes setup. 2015-09-01 16:42:23 +02:00
k8s-merge-robot
9379b0b7d9 Merge pull request #13124 from linzichang/master
Auto commit by PR queue bot
2015-08-31 13:39:32 -07:00
huangyuqi
85729403fd Add ubuntu kube-push for upgrading of k8s cluster 2015-08-31 19:15:11 +00:00
Jerzy Szczepkowski
66a644b275 Merge pull request #13237 from andyzheng0831/trusty
Support kube-registry-proxy addon in trusty nodes
2015-08-31 09:21:32 +02:00
Guohua Ouyang
4393116422 Use "kubectl replace" in update-storage-objects.sh
Signed-off-by: Guohua Ouyang <gouyang@redhat.com>
2015-08-31 15:14:27 +08:00
lzc
74601eabbe Add local etcd discovery support for libvirt-coreos 2015-08-29 11:49:35 +08:00
Prashanth B
52f7833cd3 Revert "Revert "LimitRange updates for Resource Requirements Requests"" 2015-08-28 09:26:36 -07:00
He Simei
ffe9bb0e25 upgrade to v1.0.3, refactor the guide 2015-08-28 16:43:01 +08:00
Fred Jean
1305f54645 Booting a Kubernetes cluster on Vagrant
* Using Fedora 21 as the base box
* Discover the active network interfaces in the box to avoid hardcoding
  them in configuration.
* Use the master IP for the certificate.
2015-08-27 21:43:36 -06:00
Tim Hockin
109c3f2b05 Merge pull request #12834 from eldarion-gondor/fix-validate-cluster-on-error
When calling kubectl.sh, allow error due to API server bouncing
2015-08-27 17:21:09 -07:00
Alex Robinson
d02dc64036 Let fluentd-es log by not redirecting to a file within the container
and only using -q (warning logs only) rather than -qq (error logs only).
2015-08-27 21:41:44 +00:00
Alex Robinson
b3154a7815 Remove the garbage log file in the fluentd-gcp that gets filled with
gunk when installing the google-fluentd agent.

Also let it log things by not redirecting to a file within the container
and only using -q (warning logs only) rather than -qq (error logs only).
2015-08-27 21:41:44 +00:00
Alex Robinson
c9a8b2a405 Merge pull request #13230 from a-robinson/maintainer
Transfer maintainer responsibilities for fluentd configs/images.
2015-08-27 14:35:02 -07:00
Mike Danese
c64d0d56dd bump kube-ui to v2 2015-08-27 10:59:33 -07:00
Cameron Brunner
7f76c077b8 Issue #13267: Change -t to --template in kubectrl get call 2015-08-27 11:25:07 -05:00
Andy Zheng
9f28e784dc Support kube-registry-proxy addon in trusty nodes 2015-08-27 07:46:50 -07:00
Kevin
b1ecd645ac ubuntu deploy scripts: change process start failed message in verify-master() and verify-minion() 2015-08-27 14:34:29 +00:00
Kevin
0705ef9495 add time out exit when process not started correctly on master or minion 2015-08-27 14:34:29 +00:00
Piotr Szczesniak
997dd12c2c Merge pull request #13246 from kubernetes/revert-12492-limit_range_api
Revert "LimitRange updates for Resource Requirements Requests"
2015-08-27 11:12:04 +02:00
Piotr Szczesniak
7ad0f96688 Revert "Make MASTER_IP_RANGE master-only" 2015-08-27 10:52:21 +02:00
Piotr Szczesniak
6e05b9e3a3 Revert "LimitRange updates for Resource Requirements Requests" 2015-08-27 10:50:50 +02:00
Alex Robinson
f6f8cb07ae Transfer maintainer responsibilities for fluentd configs/images. 2015-08-26 21:48:51 +00:00
Yu-Ju Hong
1c7ebc4a62 Merge pull request #13213 from mbforbes/removeMasterIpRange
Make MASTER_IP_RANGE master-only
2015-08-26 13:04:04 -07:00
Yu-Ju Hong
1bae2b677d Merge pull request #12492 from derekwaynecarr/limit_range_api
LimitRange updates for Resource Requirements Requests
2015-08-26 13:02:57 -07:00
Yu-Ju Hong
09446c7a49 Merge pull request #13214 from mbforbes/todos
Pass mbforbes TODOs to others.
2015-08-26 13:02:27 -07:00
Max Forbes
8ca0654f94 Pass mbforbes TODOs to others. 2015-08-26 10:05:34 -07:00
Yu-Ju Hong
bcd949b3f5 Merge pull request #13209 from amygdala/utilsfix
fix error in 'rm' path instructions to force restaging
2015-08-26 09:54:23 -07:00
Yu-Ju Hong
781d40c4a3 Merge pull request #13029 from justinsb/aws_config_test_disk
AWS: Add disk size/type defaults to config-test
2015-08-26 09:53:45 -07:00
Max Forbes
48801da130 Make MASTER_IP_RANGE master-only 2015-08-26 09:53:08 -07:00
Amy Unruh
5b6c5823da fix error in 'rm' path instructions to force restaging 2015-08-26 08:10:51 -07:00
root
5f5d97b6e7 Changed SSH_USER to core instead ubuntu, also applied fixes from #11975 2015-08-26 01:29:56 -07:00
Yu-Ju Hong
6071942f98 Merge pull request #13154 from derekwaynecarr/fix_vagrant_warning
Fix typo that caused an error at end of vagrant up
2015-08-25 15:33:14 -07:00
Yu-Ju Hong
df8c189390 Merge pull request #13150 from cjcullen/gce
Add liveness probe for master's etcd pod
2015-08-25 15:26:32 -07:00
Yu-Ju Hong
68a916d1b1 Merge pull request #10637 from marun/conditional-f21-fixup
Vagrant: Make F21 fixup conditional
2015-08-25 14:30:59 -07:00
derekwaynecarr
55a57a0bce Fix typo that caused an error at end of vagrant up 2015-08-25 15:06:31 -04:00
CJ Cullen
c77e800495 Add liveness probe for master's etcd pod 2015-08-25 10:37:00 -07:00
Ed Costello
1916d3bb74 Copy edits for typos (resubmitted) 2015-08-25 10:47:58 -04:00
Justin Santa Barbara
a13a0ac3e8 AWS: Add disk size/type defaults to config-test
Otherwise they needed to be manually specified (for example in the
Jenkins jobs)
2015-08-25 07:54:03 -04:00
Nikhil Jindal
411d78dac3 Merge pull request #13068 from jlowdermilk/no-reuse-auth
Don't reuse credentials on cluster create
2015-08-24 15:56:36 -07:00
derekwaynecarr
d25082250d Update salt deployment for new limit-range 2015-08-24 15:43:32 -04:00
yuqi huang
a20de17d5e Correct the wrong words in shell comments
Correct the wrong words in shell comments
2015-08-24 20:13:38 +08:00
Mikael Hammarin
c82e645f9d Elastic IP need to be assigned after the instance is in running state. Currently always fails with "The pending instance x is not in a valid state for this operation" and defaults to public ip.
Fix: Moved assign-elastic-ip to run after wait-for-instance-running
2015-08-23 13:39:01 +02:00
Jeff Lowdermilk
438216844f Stop reusing basic auth on cluster create 2015-08-22 11:45:46 -07:00
Zach Loafman
5fe7029e68 Merge pull request #13008 from andyzheng0831/node-yaml
Add continuous tests support for trusty nodes
2015-08-21 18:59:21 -07:00
Zach Loafman
cc172af259 Merge pull request #13049 from mesosphere/mesos-docker-lazy-pull
[mesos/docker] Lazily pull images to speed up kube-up
2015-08-21 16:07:27 -07:00
Zach Loafman
9a8eef33fa Merge pull request #12700 from bjlee72/util-sudo-patch
Fix the problem that the script cannot remove existing installations …
2015-08-21 16:03:26 -07:00
Zach Loafman
185b5af26f Merge pull request #12833 from uluyol/insecure-reg
Launch a cluster-local registry.
2015-08-21 14:58:37 -07:00
Andy Zheng
f302130ad9 Add continuous tests support for trusty nodes
Also fix the starting condition of kube-install-additional-packages
upstart job.
2015-08-21 14:39:55 -07:00
Karl Isenberg
47d3d85603 [mesos/docker] Lazily pull images to speed up kube-up 2015-08-21 14:10:00 -07:00
Muhammed Uluyol
3dc10a209b Use gcr.io for proxy image 2015-08-21 13:32:08 -07:00
Jeff Lowdermilk
f0b5c5b7b8 fix mig command for gce 2015-08-21 11:19:46 -07:00
Jerzy Szczepkowski
3a6158f8ad Merge pull request #12985 from mbabker/gke-machine-type
Add ability to specify machine type for GKE
2015-08-21 10:29:01 +02:00
Jerzy Szczepkowski
755287ca3a Merge pull request #12988 from andyzheng0831/bug
Fix some env variable settings in test config.
2015-08-21 08:39:32 +02:00
k8s-merge-robot
44c76d5319 Merge pull request #12957 from smarterclayton/handle_terminating_pods
Auto commit by PR queue bot
2015-08-20 21:47:00 -07:00
Muhammed Uluyol
2fb4e7b7a4 Use quotes more consistently 2015-08-20 18:44:12 -07:00
Muhammed Uluyol
82638f8b29 Add conversion function from GCE storage units to kubernetes units. 2015-08-20 18:44:12 -07:00
Muhammed Uluyol
14b554cef6 Use a persistent volume for the docker registry. 2015-08-20 18:44:11 -07:00
Muhammed Uluyol
7129d477d3 Launch a cluster-local registry.
This registry can be accessed through proxies that run on each node
listening on port 5000. We send the proxy images to the nodes directly
to avoid requests that hit the network during cluster launch. For now,
we continue to pull the registry itself over the network, especially
given its large size (we should be able to dramatically shrink the
image). On GCE we create a PD and use that for storage, otherwise we
use an emptyDir. The registry is not enabled outside of GCE. All
communication is currently plain HTTP. In order to use SSL, we will
need to be able to request a certificate/key from the apiserver signed
by the apiserver's CA cert.
2015-08-20 18:44:05 -07:00
Saad Ali
ebe50ea692 Merge pull request #13001 from jlowdermilk/gke-util
Future-proof detect-minions for gke
2015-08-20 17:44:09 -07:00
Jeff Lowdermilk
30b8802fa6 Future-proof detect-minions for gke 2015-08-20 17:38:45 -07:00
Saad Ali
129a4ceddd Merge pull request #12954 from mesosphere/mesos-docker-cleanup
[mesos/docker] Cleanup cluster scripts
2015-08-20 17:30:32 -07:00
Saad Ali
9b01580946 Merge pull request #12872 from runningwild/master
Fix several problems with using rkt on gce
2015-08-20 15:46:16 -07:00
Saad Ali
e8009e828c Merge pull request #12632 from erictune/conformance-master-2
Add generic master detector; simplify conformance.
2015-08-20 14:32:36 -07:00
Michael Babker
f562a3b471 Add ability to specify machine type for GKE 2015-08-20 17:09:42 -04:00
Andy Zheng
7bdc530822 Fix some env variable settings in test config.
These environmental variables are incorrectly set to string
"TEST_CLUSTER_LOG_LEVEL", instead of the value of the variable
"${TEST_CLUSTER_LOG_LEVL}".
2015-08-20 11:46:12 -07:00
Clayton Coleman
02dbb95447 Add TerminationGracePeriodSeconds to API
Set defaulting for pod spec
2015-08-20 11:03:38 -04:00
Wojciech Tyczynski
a18a07e5cf Merge pull request #12897 from wojtek-t/fix_gcloud_preview
Stop using deprecated gcloud commands
2015-08-20 10:51:52 +02:00
Wojciech Tyczynski
b030f2711b Merge pull request #12933 from andyzheng0831/node-yaml
Use yaml format for trusty node kube-env
2015-08-20 10:51:40 +02:00
Wojciech Tyczynski
04af904cbb Merge pull request #12909 from justinsb/fix_12855
AWS: Always install aufs module & tools
2015-08-20 08:26:47 +02:00
Saad Ali
3fce3433d9 Merge pull request #12949 from satnam6502/fluentd-es
Update Elasticsearch cluster logging to use v1.9 image
2015-08-19 18:48:55 -07:00
Karl Isenberg
55eb982b4c [mesos/docker] Cleanup cluster scripts
- Remove unused MESOS_DOCKER_IMAGE_DIR
  mesos-slave-dind handles recursive mounting internally now
- Extract docker-compose exec to a function.
  Avoids export pollution.
  Avoids compose file path as a global var.
- Localize some function variables.
- Validate existence of docker & docker-compose
- Improve user account creation output
2015-08-19 18:04:46 -07:00
Saad Ali
8a43bd621e Merge pull request #12745 from eparis/even-less-dash-false-positive
verify-flags-underscore.py: Even fewer dash false positives
2015-08-19 17:03:29 -07:00
Satnam Singh
d3a8e5374b Update Elasticsearch cluster logging to use v1.9 image 2015-08-19 15:55:22 -07: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
Satnam Singh
278a3911fd Fetch fluentd td agent securely 2015-08-19 13:34:03 -07:00
Eric Tune
29da889bbf Add generic master detector; simplify conformance.
Add detect-master-from-kubeconfig bash function.
Use it to no longer require conformance test user
to specify KUBE_MASTER_IP.
2015-08-19 13:20:22 -07:00
Saad Ali
dcf3dca973 Merge pull request #11459 from erulabs/add_aws_ebs_volume_size_option
Add config option for AWS EBS root volume size
2015-08-19 12:50:21 -07:00
Andy Zheng
ee913b1273 Use yaml format for trusty node kube-env
It uses the same function as Debian to create the yaml format
node kube-env file.
2015-08-19 10:05:44 -07:00
Jonathan Wills
80e799fc0c Allow configuring the rkt binary in a kubelet with a flag.
This is necessary because coreos comes with rkt installed, and if we want to use a different version
we need some way to avoid the default one.
2015-08-19 09:42:13 -04:00
Justin Santa Barbara
fba216c7b3 AWS: Always install aufs module & tools
Clean up the installation of aufs supporting modules & tools, so we
always install both and only install in one place.

Fixes #12855
2015-08-19 07:27:12 -04:00
Wojciech Tyczynski
1feb78be66 Stop using deprecated commands 2015-08-19 12:19:08 +02:00
Robert Bailey
08e6a43c1d Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit 4f856b595d, reversing
changes made to d78525a83b.

Conflicts:
	pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Karl Isenberg
053cb26dde [mesos/docker] Expose DOCKER_DAEMON_ARGS 2015-08-18 16:54:05 -07:00
Jonathan Wills
a68e819e60 Fix rkt binary path 2015-08-18 16:15:01 -04:00
Jonathan Wills
bf08da0fdc change coreos node env file from yaml to KEY=VALUE 2015-08-18 16:15:01 -04:00
erulabs
5ee816e905 Add config option for AWS EBS root volume size 2015-08-18 11:03:23 -07:00
Kris Rousey
ae6c64d9bb Moving everyone to unversioned client 2015-08-18 10:23:03 -07:00
Robert Bailey
4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Brian Rosner
b1c418ea20
When calling kubectl.sh, allow error due to API server bouncing 2015-08-18 07:16:18 -06:00
Clayton Coleman
b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Robert Bailey
6afa0e1f95 Don't register the master node into the cluster by default. 2015-08-17 19:17:17 -07:00
Karl Isenberg
9b5d525e3d [mesos/docker] Upgrade mesos-docker-test image to use docker 1.8.1 2015-08-17 18:37:45 -07:00
Karl Isenberg
87da2ed6de Update mesos-slave-dind to use Docker 1.8.1 2015-08-17 17:20:55 -07:00
Andy Zheng
11c823abd8 Fix some settings of trusty nodes
It fixes kubelet and kube-proxy command line options, fixes a typo,
and adds installation of nsenter package if it is not present.
2015-08-17 14:27:30 -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
Eric Paris
c560f41a4b Update docs which were incorrectly using _ in flag names
Each of these was verified that the actual flag declaration correctly
used -
2015-08-17 11:18:43 -07:00
Vish Kannan
5ea41906d4 Merge pull request #12793 from piosz/heapster-config
Removed align_stats flag from Heapster config
2015-08-17 11:17:48 -07:00
Piotr Szczesniak
eed7d24c02 Removed align_stats flag from Heapster config
The flag caused inaccuracy in compute cpu/usage_rate metric
2015-08-17 14:40:41 +02:00
Justin Santa Barbara
0ff8dd45ef Fix escaping problem in kube-scheduler manifest
'{{pillar[log_level]}}' was appearing literally in the command line,
instead of being substituted.

Fixes #12787
2015-08-17 08:16:24 -04:00
Eric Paris
13822bceae Fix build breakage due to ubuntu invalid flag usage
In PR #12543 / commit fef1ede240
Flags were used with `_` instead of `-`. This broke the build.
2015-08-16 20:30:59 -05:00
Brendan Burns
6afbaf6bf6 Merge pull request #12543 from andyzheng0831/ubuntu
Add config to run minions on GCE using Ubuntu.
2015-08-14 22:13:38 -07:00
Karl Isenberg
1d16b21dd2 [mesos/docker] Configure controller-manager to advertize its externally accessible IP 2015-08-14 20:17:03 -07:00
Brendan Burns
e759e36b1e Merge pull request #12536 from mesosphere/docker-compose-0.23
Use Mesos 0.23 for both master and slaves
2015-08-14 16:25:08 -07:00
Jerzy Szczepkowski
7296a5bd4a Merge pull request #12708 from Huawei-PaaS/issue_cluster_kubernetes_auth
Replace "~/.kubernetes_auth" with "${KUBECONFIG:-$DEFAULT_KUBECONFIG}" in util.sh
2015-08-14 13:18:53 +02:00
qiaolei
b6d7a1737b Update util.sh
Modify cluster/{vsphere,rackspace,azure,ubuntu}/util.sh, replace "~/.kubernetes_auth" with "${KUBECONFIG:-$DEFAULT_KUBECONFIG}"
2015-08-14 18:47:31 +08:00
Byungjoon Lee
cdc2567787 Fix the problem that the script cannot remove existing installations because sudo keyword is missing. 2015-08-14 12:28:11 +09:00
Andy Zheng
fef1ede240 Add config to run minions on GCE using Ubuntu.
It is for running nodes on Ubuntu image upto 14.04 LTS (Trusty).
The change for running master on Ubuntu will be added later.
The configuration consists of several upstart jobs, which is
passed to node instances through GCE metadata and parsed by cloud-init.
2015-08-13 16:40:09 -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
Brendan Burns
e8fcee6718 Merge pull request #10876 from jameskyle/develop
Resolves #9773, vmware_fusion can't find component
2015-08-13 14:09:50 -07:00
Brendan Burns
e2773d521d Merge pull request #12490 from olivierlemasle/vagrant-env
In Vagrant, pass environment variables to master
2015-08-13 14:09:30 -07:00
Brendan Burns
db39e5c45d Merge pull request #12667 from preillyme/issues_12666
Remove the "www" and "third-party ui" directories from kubernetes repo
2015-08-13 14:09:11 -07:00
Brendan Burns
beb66a55db Merge pull request #12684 from mbruzek/GoogleCloudPlatform-to-kubernetes-rename
Updated all the references of GoogleCloudPlatform to kubernetes
2015-08-13 14:07:30 -07:00
Maru Newby
4711eff229 Vagrant: Make F21 fixup conditional
The default Fedora 21 image requires some manual networking fixup that
breaks Fedora 22.  This change ensures that the fixup in question is run
only for Fedora 21.
2015-08-13 13:38:54 -07:00
Matt Bruzek
56bd3c756a Updated all the references of GoogleCloudPlatform/kubernetes repo name to the new kubernetes/kubernetes 2015-08-13 15:29:48 -05:00
Brendan Burns
35c22714d1 Merge pull request #7227 from lhuard1A/libvirt-coreos_etcd2
Make the libvirt-coreos cluster use the etcd2 shipped within CoreOS
2015-08-13 11:19:54 -07:00
Patrick Reilly
bf02aaa97d remove other cluster addon references for container build 2015-08-13 10:23:55 -07:00
Mike Danese
f061875840 updating all references in .sh scripts 2015-08-12 14:41:59 -07:00
Byungjoon Lee
5de9094652 Fix the problem that Kubernetes UI is not installed by deployAddons.sh script in Ubuntu environment. 2015-08-12 15:33:07 +09:00
Piotr Szczesniak
5a9b36b703 Merge pull request #12499 from dchen1107/cleanup
Upgrade to Docker 1.7.1 by default
2015-08-12 07:17:34 +02:00
CJ Cullen
9f009df1cb Merge pull request #12541 from dchen1107/fix
Fix kube-push using gcloud compute instance-groups managed set-instance-template
2015-08-11 15:25:40 -07:00
Dawn Chen
1932b48db3 Restore the logic of disable docker upgrade through salt for gce.
Currently it is commented out.
2015-08-11 14:55:58 -07:00
Dawn Chen
3901b225e3 Docker 1.7.1 2015-08-11 14:55:57 -07:00
CJ Cullen
389b9657b2 Merge pull request #12538 from cjcullen/network
Always use the --cluster-version flag for the gke provider.
2015-08-11 11:00:52 -07:00
Dawn Chen
4b99aafc4c Fix kube-push using gcloud compute instance-groups managed set-instance-template` 2015-08-11 10:28:59 -07:00
CJ Cullen
31811de52d Always use the --cluster-version flag for the gke provider. 2015-08-11 09:48:32 -07:00
Dr. Stefan Schimanski
acce49763a Use Mesos 0.23 for both master and slaves 2015-08-11 17:41:10 +02:00
Marek Grabowski
8bec081776 Revert "Fix kube-up for GKE. cluster-version is no more." 2015-08-11 16:29:32 +02:00
gmarek
69f7a71b5d Fix kube-up for GKE. cluster-version is no more. 2015-08-11 11:26:05 +02:00
derekwaynecarr
df0ca1c54c Fix vagrant kube-up 2015-08-11 01:10:34 -04:00
Karl Isenberg
9a415f96c4 [mesos/docker] Dump logs on kube-up error
- Extracted compose_file var to avoid pushd/popd
2015-08-10 14:05:31 -07:00
Alex Robinson
e13b00eddc Merge pull request #12436 from runningwild/PR
Install rkt to a directory that doesn't require environment variables…
2015-08-10 13:30:20 -07:00
Alex Robinson
34f164a470 Merge pull request #12384 from Hokutosei/master
added preemptible flag in gcloud compute instance-templates create
2015-08-10 11:08:11 -07:00
Alex Robinson
a0330fe31a Merge pull request #12371 from a-robinson/logs
Stop collecting monit logs via fluentd
2015-08-10 11:06:21 -07:00
Olivier Lemasle
bdd4d6bb88 In Vagrant, pass environment variables to master
Variables $ENABLE_CLUSTER_MONITORING and $ENABLE_CLUSTER_UI are currently set in cluster/vagrant/config-default.sh but are not passed to the master VM. Therefore, cluster/saltbase/salt/kube-addons/init.sls does not have these variables, and the add-ons cannot be enabled.
2015-08-10 19:29:50 +02:00
Alex Robinson
f80decbf77 Merge pull request #12401 from Huawei-PaaS/issue-azure-install
Modify the salt master's log config file name
2015-08-10 10:28:30 -07:00
Marek Grabowski
5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
4f7d9863f5 Merge pull request #12362 from mbruzek/post-v1-fixes
Post v1 fixes
2015-08-10 14:54:05 +02:00
Lénaïc Huard
35452538f4 Switch to etcd 2 2015-08-10 11:36:48 +02:00
Lénaïc Huard
d2284fee88 Revert "libvirt-coreos cluster: Fix etcd versions incompatibility issue"
This reverts commit 11556dc927.
2015-08-10 10:14:21 +02:00
Marek Grabowski
89e69a010b Merge pull request #12443 from PhilibertDugas/master
Tuned the kube-proxy upstart script
2015-08-10 09:55:47 +02:00
Ed Costello
35a5eda585 Copy edits for typos 2015-08-09 14:18:06 -04:00
Philibert Dugas
02bf08069d Tuned the kube-proxy upstart script to be in line with:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5461

Upstart scripts need to specify explicitely the nofile limit
2015-08-08 23:29:56 -04:00
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
jeanepaul
eaacc1e5c1 refactor coding style 2015-08-09 01:07:12 +09:00
Jonathan Wills
f456e58355 Install rkt to a directory that doesn't require environment variables to find.
Systemd doesn't do variable substitution on the name of the command to run, so we have to install
rkt to a directory with an absolute literal path that we can reference with environment variables.
2015-08-08 11:16:59 -04:00
Satnam Singh
991775e77b Merge pull request #10724 from eparis/convert-underscore-to-dash
Convert underscore to dash
2015-08-07 16:40:05 -07:00
Jian Huang
5606fd5099 Modify the salt master's log config file name
In the salt master's config folder, the file name "log-level-debug.d" change to "log-level-debug.conf" as it's a configure file.
2015-08-08 00:34:29 +08:00
Eric Paris
86ca88be61 convert cluster/ from --flag_name= --flag-name= 2015-08-07 11:00:13 -04:00
hurf
e63d227bdf Use -o template to validate cluster
Instead of using human-oriented output, use -o template to
validate cluster in order to avoid error caused by column change.
2015-08-07 21:18:40 +08:00
Jerzy Szczepkowski
372508cfbb Merge pull request #12117 from davidwalter0/wip
change underscores to dashes to match the command line argument
2015-08-07 12:58:30 +02:00
Hokutosei
a68f0a853f add missing preemptibel var 2015-08-07 10:13:43 +00:00
hokutosei
3bcfdab649 added preemptible flag in gcloud compute instance-templates create 2015-08-07 06:50:28 +00:00
qiaolei
2fd47194bd Initialize global variable MINION_IPS in setClusterInfo function
Initialize global variable MINION_IPS in setClusterInfo function.
MINION_IPS is defined as a global variable, and is concatenated with other nodeIP.
When setClusterInfo is called for many times, this could cause potential problems.
Such as, you will have MINION_IPS=192.168.0.2,192.168.0.3,192.168.0.2,192.168.0.3 which is obviously wrong.

Update util.sh
2015-08-07 11:23:02 +00:00
David Walter
792fc2269b change underscores to dashes to match the command line argument 2015-08-06 22:13:44 -05:00
Alex Robinson
c887ad75b8 Stop collecting monit logs via fluentd. 2015-08-07 00:12:21 +00:00
Dawn Chen
8cd7431b3d Merge pull request #12366 from GoogleCloudPlatform/container-vm-v20150806
Update GCE to container-vm-v20150806
2015-08-06 16:31:52 -07:00
Dawn Chen
2be69e7718 Merge pull request #12325 from brendandburns/supervisord
Add support for supervisord as a monit alternative.
2015-08-06 16:16:35 -07:00
Brendan Burns
15b9d98733 Add support for supervisord as a monit alternative. 2015-08-06 15:48:45 -07:00
Zach Loafman
5ea2bfaa1b Update GCE to container-vm-v20150806
Also changes the node image to default to master image
2015-08-06 15:36:39 -07:00
Dawn Chen
5fff8e935e Merge pull request #12319 from mbforbes/nodesNetworkRedux
Implement 'Nodes Network' test for GKE; add optional verbose SSH.
2015-08-06 15:30:13 -07:00
Dawn Chen
2fa3004500 Merge pull request #12349 from roberthbailey/kubelet-on-master
Register the kubelet on the master node with an apiserver.
2015-08-06 15:20:35 -07:00
Matt Bruzek
b0ee17c41b Found another mention of minion changed to node. 2015-08-06 16:40:55 -05:00
Max Forbes
acef505cfd Implement 'Nodes Network' test for GKE; add optional verbose SSH. 2015-08-06 14:25:53 -07:00
Matt Bruzek
d024013970 Fixing an idempotency problem found in testing. 2015-08-06 15:56:23 -05:00
Robert Bailey
8df33bc1a7 Register the kubelet on the master node with an apiserver. This option is
separated from the apiserver running locally on the master node so that it
can be optionally enabled or disabled as needed.

Also, fix the healthchecking configuration for the master components, which
was previously only working by coincidence:

If a kubelet doesn't register with a master, it never bothers to figure out
what its local address is. In which case it ends up constructing a URL like
http://:8080/healthz for the http probe. This happens to work on the master
because all of the pods are using host networking and explicitly binding to
127.0.0.1. Once the kubelet is registered with the master and it determines
the local node address, it tries to healthcheck on an address where the pod
isn't listening and the kubelet periodically restarts each master component
when the liveness probe fails.
2015-08-06 13:39:32 -07:00
Matt Bruzek
e3579ccb17 Changing "Minion" to "Node" on node registration 2015-08-06 15:29:56 -05:00
Dawn Chen
0d1f2cd227 Merge pull request #12075 from Huawei-PaaS/issue_ubuntu_cluster
Remove legacy files when stop the cluster
2015-08-06 10:54:21 -07:00
Dawn Chen
ed4863f1cf Merge pull request #12264 from Huawei-PaaS/iss_ubuntu_docker_opts
bug fix: DOCKER_OPTS not works when deploying using Ubuntu scripts
2015-08-06 10:18:16 -07:00
Kevin
bc2306d4e9 bug fix: DOCKER_OPTS not works
When deploying the kubernetes using Ubuntu's script, the value of configuration item `DOCKER_OPTS` is not set to `/etc/default/docker`.
This commit is to fix this bug.
2015-08-06 16:50:44 +00:00
Jian Huang
7b5a6e906e Remove kubelet files for a clean teardown
Remove /var/lib/kubelet folder in order to gain a more clean environment
2015-08-06 21:16:13 +08:00
Wojciech Tyczynski
4c42e1302d Merge pull request #12190 from piosz/heapster-version
Bumped Heapster version
2015-08-06 12:00:39 +02:00
Marek Grabowski
77675b052d Merge pull request #12301 from derekwaynecarr/fix_systemd_salt
Fix salt configuration on systemd setups
2015-08-06 11:36:27 +02:00
Mike Danese
fe6b15ba2f rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
Mike Danese
17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
Alex Robinson
0945c2cfb8 Bump the heapster pod's memory limit from 200MiB to 300MiB. 2015-08-05 16:16:20 -07:00
Dawn Chen
86630a26f3 Merge pull request #12260 from bjlee72/patch-1
Redundant groupadd
2015-08-05 15:34:52 -07:00
Dawn Chen
f66809daef Merge pull request #11559 from PhilibertDugas/master
Fixed ubuntu upstart scripts for etcd
2015-08-05 15:04:14 -07:00
derekwaynecarr
0de0e3e9f1 Fix salt configuration on systemd setups 2015-08-05 17:01:43 -04:00
Karl Isenberg
f5fa688908 Add docker-compose cluster that runs with mesos 2015-08-05 10:48:28 -07:00
Byungjoon Lee
448da93122 Redundant groupadd
util.sh had redundant groupadd, which cause the following error:

groupadd: Permission denied.
groupadd: cannot lock /etc/group; try again later.
2015-08-05 17:45:17 +09:00
Alex Mohr
f75252a6b1 Merge pull request #12130 from mesosphere/validate-cluster
Auto commit by PR queue bot
2015-08-05 00:46:00 -07:00
Alex Mohr
e4fde6d2ca Merge pull request #9583 from eparis/make-cert-path
generate-cert: allow for alternative paths
2015-08-05 00:04:17 -07:00
Alex Robinson
714b39f025 Merge pull request #12240 from a-robinson/logs
Also collect the monit and salt logs in our fluentd configs
2015-08-04 19:56:14 -07:00
Alex Mohr
cab88c6885 Merge pull request #12215 from runningwild/master
Auto commit by PR queue bot
2015-08-04 19:08:44 -07:00
Alex Robinson
cc02e50fc7 Collect more of the VM's log files (monit, salt) in fluentd-es. 2015-08-05 00:22:38 +00:00
Alex Robinson
7430181d65 Collect more of the VM's log files (monit, salt) in fluentd-gcp. 2015-08-05 00:21:47 +00:00
Eric Paris
0753acf2f8 Allow make-ca-cert.sh to run on OS X
Currently make-ca-cert.sh uses (equiv of)

mktemp -d --tmpdir kube.XXXXX

but --tmpdir is not a valid option on OS X. Switch to

mktemp -d -t kube.XXXXX

Which is valid, but subtly different between OS X and Linux. The
directory you get back will be different on each.

Linux:  ${tmpdir}/kube.y5Bsu/
OS X:   ${tmpdir}/kube.XXXXX.VQ81oOui/
2015-08-04 19:03:01 -04:00
Eric Paris
c69b6f5ba7 Respect KUBECTL_BIN in kube-addon-update.sh not just kube-addons.sh 2015-08-04 19:02:31 -04:00
Eric Paris
6b9ef5b2d8 generate-cert: allow for alternative paths
Instead of hard coding kube-cert and /srv/kubernetes allow these to be
overwritten by environment variables.  / is immutable on some systems
and so /srv is not a possible location to store data.
2015-08-04 19:01:16 -04:00
Alex Mohr
ad4086eab1 Merge pull request #11308 from gmarek/pillar
Auto commit by PR queue bot
2015-08-04 12:42:57 -07:00
Jonathan Wills
2fe560ac07 Fix typos in a runtime-generated yaml file 2015-08-04 14:34:21 -04:00
Dr. Stefan Schimanski
8a48a74103 Factor out validate-cluster.sh call from kube-up.sh
Not every cluster can be validated the same way. Factoring out the
validate-cluster call into a kube-util.sh function allows customization.

This allows to proceed with GoogleCloudPlatform/kubernetes#10049 before
the mid/long-term unified cluster validation in GoogleCloudPlatform/kubernetes#11908
is implemented. Otherwise, the later blocks the former.
2015-08-04 16:05:18 +02:00
Piotr Szczesniak
7fef2a9daf Bumped Heapster version 2015-08-04 09:19:30 +02:00
Alex Mohr
edfcbe7feb Merge pull request #12067 from moander/patch-2
Auto commit by PR queue bot
2015-08-03 20:25:50 -07:00
Alex Mohr
a0daf32a56 Merge pull request #12115 from eddiesimeon/patch-1
Auto commit by PR queue bot
2015-08-03 20:06:44 -07:00
Alex Mohr
0f17038f0a Merge pull request #12103 from piosz/heapster-for-autoscaling
Added exporting autoscaling metrics in Heapster config
2015-08-03 17:53:02 -07:00
Alex Mohr
4c5763f28c Merge pull request #11299 from wojtek-t/increase_kubelet_start_timeout
Auto commit by PR queue bot
2015-08-03 16:14:02 -07:00
Alex Mohr
15532a522e Merge pull request #12163 from runningwild/master
Fix minor typo that broke yaml format
2015-08-03 15:26:08 -07:00
Alex Mohr
84af5f0dd1 Merge pull request #11944 from mamikonyana/flannel_net_config
Propagate FLANNEL_NET to reconfDocker.sh
2015-08-03 15:12:23 -07:00
Alex Mohr
6df4d6703b Merge pull request #10787 from mesosphere/kube-ui-liveness
Add liveness probe to kube-ui
2015-08-03 13:24:07 -07:00
Jonathan Wills
12e47667d8 Fix minor typo that broke yaml format 2015-08-03 16:06:23 -04:00
eddiesimeon
dbffa44ed7 No such file or directory error: make-ca-cert
When executing kube-up on a ubuntu cluster I'm getting the following error:
bash: /root/kube/make-ca-cert: No such file or directory
Removed line as it is invalid and is duplicated by another line.
2015-08-03 14:09:06 -04:00
Brendan Burns
2e68002f31 Merge pull request #11692 from wojtek-t/new_api_instance_groups
Auto commit by PR queue bot
2015-08-03 11:07:36 -07:00
Marek Grabowski
0b3f21715f Merge pull request #12124 from justinsb/install_ntpd
AWS: Install ntp daemon on all nodes
2015-08-03 14:38:28 +02:00
Marek Grabowski
8dd1171037 Merge pull request #12125 from justinsb/s3_use_queried_region
AWS: Query for location of S3 bucket, use that
2015-08-03 14:38:13 +02:00
Wojciech Tyczynski
2d95cd454c Swich to new gcloud API for GCE MIGs 2015-08-03 09:56:25 +02:00
Eddie Simeon
e67f8ae05a For the ubuntu cluster, master and minion services should respawn.
This will allow more successful kube-up.sh executions. Since kube-apiserver doesn't start on the first try after etcd first starts up possibly due to the lack of resources on my server.
2015-08-01 23:04:35 -04:00
Justin Santa Barbara
463458bf5f AWS: Install ntp daemon on all nodes
The AWS API requires a signature on method calls, including the
timestamp to prevent replay attacks.  A time drift of up to 5 minutes
between client and server is tolerated.

However, if the client clock drifts by >5 minutes, the server will start
to reject API calls (with the cryptic "AWS was not able to validate the
provided access credentials").

To prevent this happening, we install ntp on all nodes.

Fix #11371
2015-08-01 14:32:08 -04:00
Justin Santa Barbara
230de787be AWS: Query for location of S3 bucket, use that
Previously we would rely on the s3 bucket's region being configured
correctly, at least for the existence check.  By querying for the bucket
region and then going direct to the correct region, we avoid errors and
we avoid potential eventual consistency problems.

May be related to issue: #12109
2015-08-01 14:09:23 -04:00
Arsen Mamikonyan
2916101a99 Propagate FLANNEL_NET to reconfDocker.sh if it was set using environment variable 2015-07-31 22:24:39 -07:00
Mike Danese
066237e62a Merge pull request #12098 from piosz/heapster-config
Revert "Avoid mounting ssl volumes for heapster container."
2015-07-31 12:39:16 -07:00
Piotr Szczesniak
2bf447caae Added exporting autoscaling metrics in Heapster config 2015-07-31 20:54:58 +02:00
Piotr Szczesniak
f251ba5163 Revert "Avoid mounting ssl volumes for heapster container."
This reverts commit c08ad6b7c1.
2015-07-31 20:20:49 +02:00
Jian Huang
45c37b9bd0 Update README.md
There is a bad link in the doc. change ../../docs/salt.md to ../../docs/admin/salt.md
2015-07-31 18:44:06 +08:00
Jian Huang
bb28684f43 Update util.sh
When we deploy the kubernetes using Ubuntu's script. 
1. First we set the roles "ai i i" and NUM_MINIONS=3, it runs as expected.
2. Then we change the roles to "a i i" and NUM_MINIONS=2, we found it will not run successfully.

It's because there are history files left on the previous deployment. 
This commit will delete the files when stop the cluster.
2015-07-31 17:25:13 +08:00
gmarek
5bb7eec5ab Use salt pillars to pass test arguments during cluster creation. 2015-07-31 09:32:01 +02:00
moander
070ede2716 Resolved #9773 by removing vmrun binary test 2015-07-31 07:15:45 +02:00
Mike Danese
bfaa527139 Merge pull request #12045 from a-robinson/logs
Fix fluentd configs to collect etcd logs on the master
2015-07-30 17:36:46 -07:00
Mike Danese
51a7a38f67 Merge pull request #12020 from wojtek-t/move_to_storage
Move storage-related code to pkg/storage
2015-07-30 16:23:03 -07:00
Mike Danese
622bf70f57 Merge pull request #11963 from a-robinson/manifest
Make the kubelet on a GCE master check instance metadata for manifests
2015-07-30 16:21:53 -07:00