Commit Graph

2369 Commits (e5fe0c0c6eab2cf8efbbc4259e7254d74220d4fd)

Author SHA1 Message Date
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