Commit Graph

2025 Commits

Author SHA1 Message Date
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
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
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
Max Forbes
acef505cfd Implement 'Nodes Network' test for GKE; add optional verbose SSH. 2015-08-06 14:25:53 -07: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
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