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