k8s-merge-robot
365386e23b
Merge pull request #26617 from sjpotter/heapster
...
Automatic merge from submit-queue
cluster/coreos: Update heapster addon to beta2
fixes #26616
As noted there, heapster was updated but not for gce/coreos which breaks anything that depends on heapster's new metrics API (i.e. autoscaling)
2016-06-01 18:50:56 -07:00
Zach Loafman
9e23fa0e9b
GKE provider: Tear down firewall rules last
...
It turns out, it's faster to do it in this order for large clusters.
Along the way: Do it in parallel
2016-06-01 15:37:20 -07:00
Daniel Wang
a8701baf17
Move the defaults setting of GCI to util.sh
...
This change recovers some of the side effects of
https://github.com/kubernetes/kubernetes/pull/26197 , i.e., keeps the defaults of
`NODE_IMAGE` and `NODE_IMAGE_PROJECT` to `MASTER_IMAGE` and
`MASTER_IMAGE_PROJECT`, for backward compatibility. Although it keeps
`OS_DISTRIBUTION` defaulting to `gci`, the default settings of these vars are
moved to `cluster/gce/util.sh` and conditioned on `OS_DISTRIBUTION==gci`.
2016-06-01 15:37:02 -07:00
Alex Robinson
8579509293
Rebuild elasticsearch image to include changes since 1.2
2016-06-01 20:48:20 +00:00
Shaya Potter
049c51e7e7
removed --metric_resolution=60s per piosz
2016-06-01 12:00:35 -07:00
Jarrett Cruger
44cc9aa9b6
[fix] add comment
2016-06-01 14:44:58 -04:00
Andy Zheng
9a413b3bea
Trusty: fix breakage by #26413 and #26109
2016-06-01 09:57:50 -07:00
k8s-merge-robot
9336eb516b
Merge pull request #26575 from mwielgus/gke-token-src
...
Automatic merge from submit-queue
Pass /etc/gce.conf to cluster autoscaler if needed
cc: @vulpecula @piosz @jszczepkowski @fgrzadkowski
2016-06-01 09:42:45 -07:00
k8s-merge-robot
cb91816fc3
Merge pull request #26612 from andyzheng0831/gci-fix
...
Automatic merge from submit-queue
GCI: cherry-pick the fix in PR #25670
This PR simply copies the fix in #25670 into the GCI support.
cc/ @kubernetes/goog-image @dchen1107 @roberthbailey
2016-06-01 06:55:57 -07:00
k8s-merge-robot
0c0478e3f5
Merge pull request #26593 from bprashanth/glbc_logs
...
Automatic merge from submit-queue
Collect l7 controller e2e logs
https://github.com/kubernetes/kubernetes/pull/26048#issuecomment-222758050
I meant to check e2e output and see if the logs were being collected, but it merged before i could.
2016-06-01 06:55:54 -07:00
Marcin Wielgus
fcea41e495
Merge pull request #26577 from mwielgus/ca-0.1.1
...
Bump cluster autoscaler to 0.1.1
2016-06-01 15:41:36 +02:00
Dr. Stefan Schimanski
391ff02e4c
Fix sed transformation for new kube-dns yaml
2016-06-01 13:23:16 +02:00
Liyi Meng
6c195a4923
Fix the problem in building hyperkube for 3rd party registry
2016-06-01 04:38:48 -04:00
Shaya Potter
4118bb1cf9
update heapster to beta2 - change to rest of k8s wasn't applied here
2016-06-01 00:51:52 -07:00
Andy Zheng
a47d0ce1c2
GCI: cherry-pick the fix in PR #25670
2016-05-31 21:13:15 -07:00
k8s-merge-robot
ee412efcef
Merge pull request #26335 from girishkalele/kubedns-transition
...
Automatic merge from submit-queue
Switch DNS addons from skydns to kubedns
Change GCI and trusty cluster-helper scripts to use kubedns instead of skydns.
2016-05-31 16:14:48 -07:00
Jarrett Cruger
372827fd5a
[fix] allow ALLOW_PRIVILEGED to be passed to kubelet and kube-api, needed for running docker in docker
2016-05-31 19:06:48 -04:00
Prashanth Balasubramanian
500bdca27c
Collect l7 controller e2e logs
2016-05-31 14:44:30 -07:00
k8s-merge-robot
430bb9442a
Merge pull request #26048 from bprashanth/ing_master
...
Automatic merge from submit-queue
Run l7 controller on master
Fixes https://github.com/kubernetes/kubernetes/issues/23663 , needs https://github.com/kubernetes/contrib/pull/680
@roberthbailey @kubernetes/goog-cluster
2016-05-31 13:25:47 -07:00
Girish Kalele
555b9000c3
Code review comments and corrections
2016-05-31 11:33:51 -07:00
Marcin
246f3aaebc
Bump cluster autoscaler to 0.1.1
2016-05-31 20:00:00 +02:00
Marcin Wielgus
1ea5718199
Pass /etc/gce.conf to cluster autoscaler if needed
2016-05-31 19:52:30 +02:00
Marcin
74ad0def81
Add missing $ in util.sh
2016-05-31 19:41:54 +02:00
Girish Kalele
60d2293f4c
Address review comments
2016-05-31 10:14:33 -07:00
Girish Kalele
4c1047d359
Switch DNS addons from skydns to kubedns
...
Unified skydns templates using a simple underscore based template and
added transform sed scripts to transform into salt and sed yaml
templates
Moved all content out of cluster/addons/dns into build/kube-dns and
saltbase/salt/kube-dns
2016-05-31 10:14:14 -07:00
k8s-merge-robot
dc8ff81f5a
Merge pull request #26534 from mwielgus/scale_down_env
...
Automatic merge from submit-queue
Allow to enable scale down in kube-up for gce
cc: @piosz @fgrzadkowski @jszczepkowski
2016-05-31 04:37:11 -07:00
k8s-merge-robot
3d1b1a77e4
Merge pull request #26440 from mwielgus/remove-debug-touch
...
Automatic merge from submit-queue
Remove debug from GCI cluster autoscaler setup function
cc: @piosz @fgrzadkowski
2016-05-31 02:03:15 -07:00
Prashanth Balasubramanian
c01a0583f7
Trusty deployment
2016-05-30 15:58:03 -07:00
Prashanth Balasubramanian
f4d2334919
Add a l7 static pod
2016-05-30 15:57:42 -07:00
Marcin
0b7c2fa6fe
Allow to enable scale down in kube-up for gce
2016-05-30 17:07:54 +02:00
k8s-merge-robot
1e44212890
Merge pull request #26156 from gmarek/base64
...
Automatic merge from submit-queue
Change base64 -d flag to --decode flag to make it BSD compatible
cc @roberthbailey
Fixes #25998
2016-05-29 09:45:49 -07:00
k8s-merge-robot
7fc2e16843
Merge pull request #26442 from mwielgus/reduce-ca-request
...
Automatic merge from submit-queue
Reduce cluster autoscaler request to fit into n1 master in e2e tests
cc: @piosz @fgrzadkowski @vulpecula
2016-05-27 13:11:13 -07:00
Alex Robinson
804e36be26
Merge pull request #26157 from gmarek/poll
...
Remove unused POLL_SLEEP_INTERVAL
2016-05-27 11:30:41 -07:00
Alex Robinson
1ec7fd4e1e
Merge pull request #26174 from derekwaynecarr/enable_vagrant_accounting
...
Enable CPU and Memory accounting on vagrant cluster
2016-05-27 11:25:34 -07:00
Marcin
d6cba0165a
Reduce cluster autoscaler request to fit into n1 master in e2e tests
2016-05-27 20:25:25 +02:00
Marcin
e7c69f67f2
Remove debug from GCI cluster autoscaler setup function
2016-05-27 20:02:40 +02:00
Alex Robinson
7551b0ff9f
Merge pull request #26150 from wojtek-t/fix_flannel_config
...
Fix transient flannel etcd
2016-05-27 10:10:38 -07:00
Alex Robinson
ba3bf90448
Merge pull request #26363 from wonderfly/fix-yaml-search-path
...
GCI: Fix yaml search path
2016-05-27 09:58:03 -07:00
derekwaynecarr
6090bc9112
Enable CPU and Memory accounting on vagrant
2016-05-27 11:21:04 -04:00
derekwaynecarr
ff07195f4e
Fix vagrant issues with salt bootstrap
2016-05-27 11:21:04 -04:00
k8s-merge-robot
e7269a13ff
Merge pull request #26413 from mwielgus/gci-ca
...
Automatic merge from submit-queue
Support for cluster autoscaler in GCE Trusty and GCI images
Fixes : #26346
Ref: #26197
cc: @fgrzadkowski @vulpecula @piosz @jszczepkowski
2016-05-27 06:58:15 -07:00
Marcin
5f2695be8e
Support for cluster autoscaler in GCE Trusty and GCI images
2016-05-27 12:02:20 +02:00
Alex Mohr
1dfa068055
Merge pull request #26384 from Random-Liu/disable-node-problem-detector
...
Temporarily disable node-problem-detector to unblock #26351
2016-05-26 15:53:50 -07:00
Alex Mohr
0b7614d6cd
Merge pull request #26382 from dchen1107/docker
...
Bump Node Image to container-v1-3-v20160517
2016-05-26 15:53:22 -07:00
Random-Liu
e5320c6063
Temporarily disable node-problem-detector to unblock #26351
2016-05-26 14:06:05 -07:00
Dawn Chen
16662d8fb4
Bump Node Image to container-v1-3-v20160517
2016-05-26 13:30:56 -07:00
Alex Mohr
0f3003671c
Merge pull request #25963 from bryk/release-beta1
...
Set Dashboard UI version to v1.1.0-beta1
2016-05-26 12:38:48 -07:00
Alex Mohr
6b169eaa85
Merge pull request #25125 from colhom/federation-e2e
...
e2e tests for federated-apiserver
2016-05-26 10:40:30 -07:00
Daniel Wang
5cd3c01bc5
GCI: Fix yaml search path
2016-05-26 10:10:37 -07:00
Abhi Shah
965e8dce12
Merge pull request #26114 from ArtfulCoder/dnsport
...
Add dnsmasq as a DNS cache in kube-dns pod
2016-05-26 08:13:58 -07:00
k8s-merge-robot
bb38265400
Merge pull request #26238 from ihmccreery/mount-points
...
Automatic merge from submit-queue
GCI-backed masters mount srv/kubernetes and srv/sshproxy in the right place
Fixes #26235 .
cc @andyzheng0831
2016-05-25 23:46:08 -07:00
Colin Hom
a092fd2dd4
Federation build and e2e test integration
...
Federation components are now buildable and e2e-testable via e2e.go.
2016-05-25 15:07:27 -07:00
Isaac Hollander McCreery
559d8b1800
Make GCI-backed masters mount srv/kubernetes and srv/sshproxy in the same place as other masters
2016-05-25 10:16:57 -07:00
k8s-merge-robot
a2de33e7ff
Merge pull request #26252 from piosz/ca-0.1.0
...
Automatic merge from submit-queue
Bumped Cluster Autoscaler to v0.1.0
[]()
2016-05-25 01:50:39 -07:00
k8s-merge-robot
1fc5687715
Merge pull request #25784 from bprashanth/prepull
...
Automatic merge from submit-queue
Prepull images in e2e
Quick and dirty image puller because the SQ stalled multiple times just *today* on image pull flake (https://github.com/kubernetes/kubernetes/issues/25277 ).
@kubernetes/sig-node @kubernetes/sig-testing wdyt?
2016-05-25 01:50:35 -07:00
Piotr Szczesniak
5e3dfdefa2
Bumped Cluster Autoscaler to v0.1.0
2016-05-25 09:38:29 +02:00
Abhishek Shah
10f9789bc3
added dnsmasq container in kubedns pod
2016-05-25 00:23:57 -07:00
Daniel Wang
3d95151971
Replace containervm with GCI as default master image for GCE clusters
2016-05-24 17:28:17 -05:00
Quintin Lee
3ca4c36ebc
Don't try executing bash variable in assignment.
2016-05-24 11:50:16 -07:00
Omar Jarjur
338b33f3f4
Enable using gcr.io as a Docker registry mirror.
...
This only affects clusters running under GCE.
2016-05-24 08:12:48 -07:00
k8s-merge-robot
04d6162e0f
Merge pull request #26071 from gmarek/kube-up
...
Automatic merge from submit-queue
Make node-instance-group base names unique to prevent collisions
We create multiple IGMs for >1000 Node clusters. When we have a conflict on base name IGMs will fight over ownership of the VM that happen to have the name belonging to multiple IGMs.
This change will increase reliability of starting big clusters.
cc @wojtek-t @alex-mohr @roberthbailey @mikedanese
2016-05-24 07:31:22 -07:00
Wojciech Tyczynski
e515da4545
Fix GCI after #26109 breakage
2016-05-24 14:12:30 +02:00
gmarek
049d7f6c50
Remove unused POLL_SLEEP_INTERVAL
2016-05-24 13:34:03 +02:00
gmarek
cafbdba7d9
Change base64 -d flag to --decode flag to make it BSD compatible
2016-05-24 13:24:55 +02:00
Wojciech Tyczynski
37261cc270
Fix transient flannel etcd
2016-05-24 11:15:16 +02:00
Quintin Lee
81ee3e2d30
Fixing heapster memory requirements.
2016-05-23 14:25:55 -07:00
Prashanth B
730555b09b
Add an e2e image puller static pod
2016-05-23 19:17:09 +00:00
gmarek
7b629a778c
Make node-instance-group base names unique to prevent collisions
2016-05-23 14:36:08 +02:00
Andy Zheng
6bb0a25f7a
GCI: Add support for GCP webhook authentication and authorization
2016-05-23 00:52:08 -07:00
Andy Zheng
bd293e1522
GCI: support CIDR allocator for NodeController
2016-05-23 00:52:08 -07:00
Andy Zheng
914c1d61e9
GCI: Fix a cluster initialization failure caused by gce.conf
2016-05-23 00:52:08 -07:00
Andy Zheng
f31c4f6d69
Revert "Revert "Add support for running GCI on the GCE cloud provider""
...
This reverts commit 40f53b1765
.
2016-05-23 00:52:08 -07:00
bryk
dfe46f3aa0
Set Dashboard UI version to v1.1.0-beta1
...
This is first of our betas. From now on, we'll be doing weekly releases
of new betas till we reach final v1.1 version.
https://github.com/kubernetes/dashboard/releases/tag/v1.1.0-beta1
2016-05-23 09:27:02 +02:00
k8s-merge-robot
fe15db60f4
Merge pull request #25986 from Random-Liu/enable-node-problem-detector
...
Automatic merge from submit-queue
Add node problem detector as an addon pod.
```release-note
Introduce a new add-on pod NodeProblemDetector.
NodeProblemDetector is a DaemonSet running on each node, monitoring node health and reporting
node problems as NodeCondition and Event. Currently it already supports kernel log monitoring, and
will support more problem detection in the future. It is enabled by default on gce now.
```
This PR enables NodeProblemDetector as an add-on pod.
/cc @mikedanese @kubernetes/sig-node
[]()
2016-05-22 06:17:28 -07:00
k8s-merge-robot
82cb4c1758
Merge pull request #23930 from ArtfulCoder/vendor-skydns
...
Automatic merge from submit-queue
Use SkyDNS as a library for a more integrated kube DNS
2016-05-21 23:33:35 -07:00
k8s-merge-robot
1eb221e96f
Merge pull request #25561 from andyzheng0831/webhook
...
Automatic merge from submit-queue
Configuration for GCP webhook authentication and authorization
This PR adds configuration for GCP webhook authentication and authorization in ContainerVM and GCI. The change of configure-vm.sh and kube-apiserver.manifest is directly copied from @cjcullen's PR #25380 and #25296 . The change in GCI script configure-helper.sh includes the support for webhook authentication and authorization, and also some code refactor to improve readability.
@cjcullen @roberthbailey @zmerlynn please review it. The original PRs are P1, please mark this as P1.
cc/ @fabioy @kubernetes/goog-image FYI.
I verified it by running e2e tests on GCI cluster. Without the GCI side change, cluster creation fails as being capture by GKE Jenkins tests. I don't test when the two env GCP_AUTHN_URL and GCP_AUTHZ_URL are set, because they are only set in GKE. After this PR is merged, @cjcullen will test in GKE.
2016-05-21 22:30:14 -07:00
Cole Mickens
579d179239
azure: azkube v0.0.5 + deploy kube-system
2016-05-21 15:44:46 -07:00
k8s-merge-robot
5c08302954
Merge pull request #26006 from euank/service-cluster-ip-range
...
Automatic merge from submit-queue
cluster/gce/coreos: Set service-cluster-ip-range
Broken by #19242
See also #26002
This is necessary to kube-up for me, but depending on how #26002 plays out, this PR might not be necessary. Happy to close this or merge or whatever depending on what's best.
cc @yifan-gu @sjpotter @mikedanese
2016-05-21 12:43:48 -07:00
k8s-merge-robot
de76bfe78c
Merge pull request #22663 from yifan-gu/gce_coreos_manifests
...
Automatic merge from submit-queue
cluster/gce/coreos: Update addon manifests.
cc @yujuhong @timstclair @ArtfulCoder
2016-05-20 23:56:01 -07:00
Abhishek Shah
3ada2170a3
pr feedback
2016-05-20 23:25:18 -07:00
k8s-merge-robot
ba959446f2
Merge pull request #25985 from elsonrodriguez/openstack-provider-heatfix
...
Automatic merge from submit-queue
Updating CentOS image, adding heat back to the required cli tools.
[]()
Updated the CentOS cloudimage to the latest available, and also added heat to the required list of cli tools. This is an interim step to replacing all the commands with openstackclient.
2016-05-20 17:57:22 -07:00
Euan Kemp
6fa5a13f53
cluster/gce/coreos: Set service-cluster-ip-range
2016-05-20 17:10:17 -07:00
Mike Danese
bf70cfadf9
Merge pull request #25631 from luxas/hyperkube_cni_cross
...
Make addon-manager cross-platform and use it with hyperkube
2016-05-20 16:40:51 -07:00
Mike Danese
3e5c77efea
Merge pull request #25545 from freehan/kubeneton
...
Turn on kubenet for GCE
2016-05-20 16:38:22 -07:00
Mike Danese
fd60748249
Merge pull request #25446 from bprashanth/glbc_version
...
Bump up glbc version to 0.6.2
2016-05-20 16:37:39 -07:00
Minhan Xia
592d672b6b
Turn on kubenet as default for GCE
2016-05-20 16:36:53 -07:00
Abhishek Shah
a92ea56024
added build stuff for kube-dns
2016-05-20 15:08:11 -07:00
Random-Liu
195e2494ad
Add node problem detector as an addon pod.
2016-05-20 13:54:19 -07:00
Elson O Rodriguez
c65e5c2b90
Updating CentOS image, adding heat back to the required cli tools.
2016-05-20 12:33:13 -07:00
Andy Zheng
728be2892a
GCI: fix a breakage in controller-manager
2016-05-20 11:54:04 -07:00
k8s-merge-robot
f935507235
Merge pull request #19242 from mqliang/node-controller
...
Automatic merge from submit-queue
add CIDR allocator for NodeController
This PR:
* use pkg/controller/framework to watch nodes and reduce lists when allocate CIDR for node
* decouple the cidr allocation logic from monitoring status logic
<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/19242 )
<!-- Reviewable:end -->
2016-05-20 09:45:05 -07:00
Lucas Käldström
73947cc5aa
Large changes to the docker deployment. Added kube-addon-manager as a static pod. The addon-manager deploys kube-proxy as a DaemonSet as well as Dashboard and DNS automatically. SecurityContextDeny is removed from the manifests. Also, the turnup.sh and turndown.sh scripts are removed because we don't need them anymore, they're covered by the online documentation
2016-05-20 19:28:13 +03:00
Lucas Käldström
bff87ff2a7
Make the addon-manager cross-platform, change naming to binary-arch:version, remove deprecated kubectl command, add support for DaemonSets
2016-05-20 19:27:42 +03:00
Filip Grzadkowski
18e67573b8
Merge pull request #25739 from piosz/heapster-1.1.0-beta2
...
Bumped Heapster to v1.1.0-beta2
2016-05-20 15:41:54 +02:00
mqliang
17d5a302bb
make podcidr mask size configurable
2016-05-20 20:44:40 +08:00
mqliang
cf7a3475f3
Don't allow node controller to allocate into service CIDR range
2016-05-20 20:44:40 +08:00
Filip Grzadkowski
2f2b7c8c97
Merge pull request #25734 from jszczepkowski/kac-test
...
Added enforcing of setting nodes numbers for cluster autoscaler.
2016-05-20 10:28:56 +02:00
Filip Grzadkowski
d1627111b3
Merge pull request #25767 from johscheuer/fix-hyperkube-makefile-2
...
Hyperkuber Makefile add support for OSX and Linux
2016-05-20 10:28:06 +02:00
Wojciech Tyczynski
b294979d00
Revert "Bump GCE ContainerVM to container-v1-3-v20160517 (Docker 1.11.1)"
2016-05-20 09:02:11 +02:00
Daniel Smith
1a64ae88b7
Merge pull request #25843 from zmerlynn/container-v1-3-v20160517
...
Bump GCE ContainerVM to container-v1-3-v20160517 (Docker 1.11.1)
2016-05-19 16:57:13 -07:00
Piotr Szczesniak
eea3a4e5fb
Bumped Heapster to v1.1.0-beta2
2016-05-19 20:43:30 +02:00
Tim Hockin
77eff06a53
Make IsDNS1123Label return error strings
2016-05-19 08:57:49 -07:00
Daniel Smith
40f53b1765
Revert "Add support for running GCI on the GCE cloud provider"
2016-05-18 21:31:28 -07:00
Andy Zheng
a737e1eba1
Add support for running GCI on the GCE cloud provider
2016-05-18 15:15:05 -07:00
Daniel Smith
01cf9869fc
Merge pull request #25504 from andyzheng0831/binary
...
GCI: Ensure that the right version of kubelet is used
2016-05-18 15:04:32 -07:00
k8s-merge-robot
51203dad7a
Merge pull request #25763 from andyzheng0831/gci-image
...
Automatic merge from submit-queue
GCI: Fix the condition for using the default image
This PR revises the condition for using the default GCI image. The old logic is not convenient for manually run e2e tests in some cases (mainly for GCI team to test custom images). The new logic by this PR is very similar to the logic in using ContainerVM. When setting distro to "gci", if master or node image is unset, we use gci-dev for it. If either is set, we respect it.
@roberthbailey @zmerlynn @dchen1107 please review it, and we should cherry pick it in release-1.2 branch. Thanks!
cc/ @kubernetes/goog-image @adityakali FYI
2016-05-17 22:55:41 -07:00
Zach Loafman
4d551d640d
Bump GCE ContainerVM to container-v1-3-v20160517
...
Bump to Docker 1.11.1
2016-05-17 14:52:16 -07:00
Yifan Gu
0a63b960ee
cluster/gce/coreos: Add kubernetes-install-cni.service.
...
This downloads the CNI binaries and puts them into /opt/cni/bin dir.
2016-05-17 14:27:57 -07:00
Yifan Gu
faa8b105f9
cluster/gce/coreos: Use kube-addon manager pod to update addons.
2016-05-17 14:27:57 -07:00
Yifan Gu
6b358d5c4d
cluster/gce/coreos: Update addon manifests.
2016-05-17 14:27:57 -07:00
Zach Loafman
87a8905b2c
Fix gce/util.sh:get-master-root-disk-size
2016-05-17 13:43:17 -07:00
Johannes Scheuermann
cb11324cc3
Add support for OSX and Linux
2016-05-17 21:31:32 +02:00
Andy Zheng
e47f45d1a3
GCI: Fix the condition for using the default image
2016-05-17 10:53:14 -07:00
Jerzy Szczepkowski
858eb0388e
Added enforcing of setting nodes numbers for cluster autoscaler.
...
Added enforcing of setting nodes numbers for cluster autoscaler in kube-up script.
2016-05-17 13:15:49 +02:00
k8s-merge-robot
1738bbfe5f
Merge pull request #25693 from luxas/fix_hyperkube
...
Automatic merge from submit-queue
Fix hyperkube's layer caching, and remove --make-symlinks at build time
@david-mcmahon This is required before you release. Explanation in the code.
2016-05-17 04:01:43 -07:00
k8s-merge-robot
7c1d37bdb5
Merge pull request #24464 from matthewrudy/aws-ap-northeast2
...
Automatic merge from submit-queue
AWS: More support for ap-northeast-2 region
Issue #24446
The new AWS region for Seoul, Korea (ap-northeast-2)
was launched in January 2016
https://aws.amazon.com/blogs/aws/now-open-aws-asia-pacific-seoul-region/
But it requires a few changes.
To test:
```
export KUBERNETES_PROVIDER=aws
export KUBE_AWS_ZONE=ap-northeast-2a
export MASTER_SIZE=t2.medium
export NODE_SIZE=t2.medium
export NUM_NODES=4
cluster/kube-up.sh
```
I assigned the AMIs by checking the specific version used from `ap-northeast-1`,
and finding the same image with the same datestamp.
<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24464 )
<!-- Reviewable:end -->
2016-05-17 04:01:39 -07:00
Jerzy Szczepkowski
57425bd44d
Bumped cluster autoscaler version.
...
Bumped cluster autoscaler version.
2016-05-17 09:44:48 +02:00
k8s-merge-robot
b7151cf4cd
Merge pull request #25706 from andyzheng0831/find-cmd
...
Automatic merge from submit-queue
GCI/Trusty: Fix an issue in using 'find' commands
This PR makes the logic of 'find' command consistent with the 'cp' command afterwards, i.e., only check one layer of a given dir. Without this fix, we have seen a recent breakage after PR #25309 added the file cluster/addons/fluentd-elasticsearch/es-image/template-k8s-logstash.json. The 'find' command discovers this json file, but the 'cp' command fails.
@roberthbailey @dchen1107 @zmerlynn please review this fix, and mark it as a cherry pick candidate. I already verified this fix can resolve the breakage.
cc/ @wonderfly @fabioy @kubernetes/goog-image FYI
2016-05-17 00:42:11 -07:00
k8s-merge-robot
ae15eff4ac
Merge pull request #25687 from mattyw/01-fix-url-in-charm-readme
...
Automatic merge from submit-queue
cluster/juju: Updated the url for the getting started doc
Minor change to update the URL pointing at the "Running Kubernetes locally via Docker" document
2016-05-17 00:42:07 -07:00
k8s-merge-robot
ced2b65046
Merge pull request #25609 from andyzheng0831/log
...
Automatic merge from submit-queue
GCI: Enable the log of upstart jobs
This PR enables the log of upstart jobs in master.yaml and node.yaml. By default, log of upstart jobs are enabled in Trusty and placed in /var/log/upstart, but not enabled in GCI. This change explicitly directs the log to the system logger. For trusty, they are in /var/log/syslog file. In GCI, we can check it using "journalctl". This change will be useful for debugging if cluster initialization fails.
@roberthbailey @maisem @dchen1107 please review it. This will be useful for issues like #23634 . We should also cherry pick it in release-1.2
cc/ @fabioy @zmerlynn @wonderfly FYI.
2016-05-17 00:42:03 -07:00
k8s-merge-robot
059980e3d9
Merge pull request #25670 from gmarek/root-disk
...
Automatic merge from submit-queue
Make bigger master root disks in GCE for large clusters
Ref. #25660
cc @zmerlynn @wojtek-t
2016-05-16 23:06:22 -07:00
Andy Zheng
f8739cd0c2
GCI:Trusty: Fix an issue in using 'find' commands
2016-05-16 17:48:29 -07:00
k8s-merge-robot
11cd07ef22
Merge pull request #25366 from Jollyturns/ubuntu-download-latest
...
Automatic merge from submit-queue
Automatically download the latest stable release version of Kubernetes.
The ubuntu version of download-release.sh included in the binary release downloads the released .tar.gz file again. Right now the version of the downloaded file is manually encoded within the script. This change fetches the released version automatically, similar to the shell script available on the main Kubernetes site below:
https://get.k8s.io/
Ideally the installation on bare metal ubuntu should work with the files available in the already downloaded package.
@mikedanese
2016-05-16 16:59:37 -07:00
Lucas Käldström
e7eff87455
Critical patch. Fix hyperkube's layer caching, and remove --make-symlinks at build time
2016-05-17 00:28:24 +03:00
Ovidiu Predescu
dd203087ef
Automatically download the latest stable release version of
...
Kubernetes. Echo error to stderr. Simplify expression for
KUBE_VERSION. Explicitly match beginning of string.
2016-05-16 13:52:10 -07:00
mattyw
3c44752931
cluster/juju: Updated the url for the getting started doc
2016-05-16 20:56:17 +01:00
David McMahon
57247a672b
Revert "OS X: Fix hyperkube build by adding empty string to sed invocation"
2016-05-16 12:25:54 -07:00
gmarek
64618c3311
Make bigger master root disks in GCE for large clusters
2016-05-16 15:57:56 +02:00
k8s-merge-robot
a0cc59f28a
Merge pull request #25658 from jszczepkowski/kac-test
...
Automatic merge from submit-queue
Updated e2e tests for cluster autoscaling.
[]()
Updated e2e tests for cluster autoscaling to work with the new cluster autoscaler.
2016-05-16 06:56:30 -07:00
Jerzy Szczepkowski
96818874f4
Updated e2e tests for cluster autoscaling.
...
Updated e2e tests for cluster autoscaling to work with the new cluster autoscaler.
2016-05-16 14:49:43 +02:00
k8s-merge-robot
61f383e5d1
Merge pull request #23785 from ajohnstone/23784-aws-vpc-key-error
...
Automatic merge from submit-queue
AWS kube-down: don't fail if ELB not in VPC - #23784
Prevent python undefined key error.
```
Traceback (most recent call last):
File "<string>", line 1, in <module>
KeyError: 'VPCId'
```
Fixes #23784
<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/23785 )
<!-- Reviewable:end -->
2016-05-16 01:45:49 -07:00
k8s-merge-robot
7fdfe1b387
Merge pull request #25309 from keontang/es-patch
...
Automatic merge from submit-queue
add index template for es aggregations
This index template helps us to do es aggregations of namespace_name, pod_name and container_name. Then after doing eggs, we will get the whole name not all the spilt pieces.
fix #25127
2016-05-16 01:01:24 -07:00
k8s-merge-robot
1cba05574b
Merge pull request #25619 from skrassiev/bug/aws_invalid_endpoint_24020
...
Automatic merge from submit-queue
Fixed 'Invalid endpoint: https://ec2.us-east-.amazonaws.com '. #24420 #24420
Addresses:
- https://github.com/kubernetes/kubernetes/issues/24020
- https://github.com/kubernetes/kubernetes/issues/24420
2016-05-16 00:04:04 -07:00
k8s-merge-robot
c044b5e93b
Merge pull request #25402 from kubevirt/master
...
Automatic merge from submit-queue
Add nfs support for vagrant nodes.
## Pull Request Guidelines
1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md ).
1. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md ).
1. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes ) in the block below.
```release-note
* Use the release-note-* labels to set the release note state
* Clear this block to use the PR title as the release note
-OR-
* Enter your extended release note here
```
[]()
This will allow to use NFS volumes on those nodes
2016-05-16 00:04:00 -07:00
zhouhaibing089
cee09e17a4
mount instanceid file from config drive when using openstack cloud provider
2016-05-16 09:50:15 +08:00
keontang
1520a01d97
Fixed #25127
2016-05-16 09:03:00 +08:00
k8s-merge-robot
aada051b20
Merge pull request #25357 from mwielgus/ca-salt
...
Automatic merge from submit-queue
Salt configuration for the new Cluster Autoscaler for GCE
Adds support for cloud autoscaler from contrib/cloud-autoscaler in kube-up.sh GCE script.
cc: @fgrzadkowski @piosz
2016-05-15 11:35:19 -07:00
k8s-merge-robot
87403cfe7b
Merge pull request #25173 from ixdy/gcloud-grep-awk-cut
...
Automatic merge from submit-queue
Use --format='value(name)' with gcloud instead of grep/awk/cut
Fixing our fragile parsing of `gcloud` is getting old (#24746 , #25159 , maybe others?).
Instead, let's just get the proper output out of `gcloud` in the first place.
2016-05-15 07:46:28 -07:00
Alexander Krassiev
be2633a0a1
Fixed 'Invalid endpoint: https://ec2.us-east-.amazonaws.com '. #24420 #24020
2016-05-14 11:08:04 -07:00
Andy Zheng
45baf1e7cf
GCI: Enable logs for upstart jobs
2016-05-13 22:29:24 -07:00
Jeff Lowdermilk
e7ab3a39d1
Merge pull request #25518 from euank/cluster-common-python3
...
cluster: make gen-uid python3 compatible
2016-05-13 15:07:46 -07:00
Jeff Lowdermilk
4abb50ee70
Merge pull request #25397 from thockin/build-non-root-prep
...
Make it possible to use kube-cross as non-root
2016-05-13 10:33:02 -07:00
Andy Zheng
9811009d9f
Configuration for GCP webhook authentication and authorization
2016-05-13 10:18:07 -07:00
Matthew Rudy Jacobs
895e44405c
Add configuration for AWS ap-northeast-2 region
...
Added AWS_IMAGEs from https://cloud-images.ubuntu.com/locator/
2016-05-14 01:15:55 +08:00
Jeff Lowdermilk
c0e12f2f96
Merge pull request #25299 from andyzheng0831/yaml
...
GCI/Trusty: Support the new var in glbc.yaml
2016-05-13 10:12:23 -07:00
Jeff Lowdermilk
f4c9624c1a
Merge pull request #25197 from oszi/expose-etcd-ports
...
Expose commonly used ports in the etcd image
2016-05-13 10:08:33 -07:00
Jeff Lowdermilk
1d67b6ca81
Merge pull request #24617 from pnegahdar/dn_server_config
...
Allow DNS_SERVER_IP and DNS_DOMAIN to be configurable in GCE deploy
2016-05-13 10:05:36 -07:00
Marcin Wielgus
ac4b380453
Salt configuration for the new Cluster Autoscaler for GCE
2016-05-13 17:04:24 +02:00
Saad Ali
55f7bb9c1d
Merge pull request #23775 from justinsb/aws_default_variables
...
AWS kube-up: default some variables to empty, to avoid warnings
2016-05-12 15:47:16 -07:00
Filip Grzadkowski
bfb49d0a97
Revert "Add configuration for GCP webhook authorization."
2016-05-12 13:02:10 +02:00
k8s-merge-robot
18b124f981
Merge pull request #25296 from cjcullen/gcpauthz
...
Automatic merge from submit-queue
Add configuration for GCP webhook authorization.
Plumb through configuration of webhook authorization on GCE.
2016-05-11 23:45:10 -07:00
k8s-merge-robot
4e57c80052
Merge pull request #24600 from pweil-/psp
...
Automatic merge from submit-queue
PSP admission
```release-note
Update PodSecurityPolicy types and add admission controller that could enforce them
```
Still working on removing the non-relevant parts of the tests but I wanted to get this open to start soliciting feedback.
- [x] bring PSP up to date with any new features we've added to SCC for discussion
- [x] create admission controller that is a pared down version of SCC (no ns based strategies, no user/groups/service account permissioning)
- [x] fix tests
@liggitt @pmorie - this is the simple implementation requested that assumes all PSPs should be checked for each requests. It is a slimmed down version of our SCC admission controller
@erictune @smarterclayton
2016-05-11 21:26:45 -07:00
k8s-merge-robot
4513b7c2a4
Merge pull request #25495 from davidopp/change-owners
...
Automatic merge from submit-queue
Remove myself from a bunch of OWNERS files
For the time being I am too overloaded to do non scheduler/admission related reviews that aren't explicitly assigned to me.
cc/ @brendandburns
2016-05-11 19:18:33 -07:00
k8s-merge-robot
666a54052d
Merge pull request #25156 from wonderfly/add_image_family_flag_gke_cluster
...
Automatic merge from submit-queue
Add --image-type option to GKE kube-up
@maisem @roberthbailey Can you review?
cc/ @andyzheng0831
2016-05-11 19:18:26 -07:00
Euan Kemp
fd26cb9e1e
cluster: make gen-uid python3 compatible
2016-05-11 17:52:53 -07:00
Paul Weil
65c8a1f66c
default policy
2016-05-11 18:07:36 -04:00
Andy Zheng
63494f6f06
GCI: Ensure that the right version of kubelet is used
2016-05-11 14:40:50 -07:00
David Oppenheimer
4ae37df7b7
Remove myself from a bunch of OWNERS files, as I am too overloaded
...
to do so many code reviews right now.
2016-05-11 13:34:51 -07:00
k8s-merge-robot
91daebd951
Merge pull request #25350 from gmarek/configs-cidr
...
Automatic merge from submit-queue
Change default clusterCIDRs from /16 to /14 in GCE configs allowing 1000 Node clusters by default.
cc @thockin @roberthbailey @wojtek-t @zmerlynn @davidopp
2016-05-11 08:54:23 -07:00
Andrey Kurilin
9899af6ca2
Check existence of kubernetes dir for get-kube.sh
...
There are a lot of references to https://get.k8s.io/ over the internet.
Most of such references do not describe KUBERNETES_SKIP_DOWNLOAD env variable
and newbies can get into a situation described below:
- execute `wget -q -O - https://get.k8s.io | bash`
- receive a failure due too missed packages or some configs
- fix the issue
- try again `wget -q -O - https://get.k8s.io | bash`
In this case, get-kube.sh will not check that kubernetes directory already
exist and repeat download again.
Lets make get-kube.sh more user-friednly and check existence if kubernetes dir
2016-05-11 16:19:18 +03:00
Wojciech Tyczynski
89b915a3b2
Fix default arguments in kubemark
2016-05-11 13:10:12 +02:00
k8s-merge-robot
b79a1bb689
Merge pull request #25410 from gmarek/pipe
...
Automatic merge from submit-queue
Pipe variables from kubemark config to master binaries
2016-05-11 03:45:31 -07:00
gmarek
4a5ec11ce6
Pipe variables from kubemark config to master binaries
2016-05-11 11:22:03 +02:00
k8s-merge-robot
17c3f19c64
Merge pull request #21737 from FujitsuEnablingSoftwareTechnologyGmbH/openstack-provider
...
Automatic merge from submit-queue
Openstack provider
Our pull request delivers solution to create Kubernetes cluster on the top of OpenStack. Heat OpenStack Orchestration engine describes the infrastructure for Kubernetes cluster. CentoOS images are used for Kubernetes host machines.
We tested our solution with DevStack and Citycloud provider.
We believe that our solution will fill the gap that which is on the market.
<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/21737 )
<!-- Reviewable:end -->
2016-05-10 23:56:47 -07:00
Daniel Wang
09a9ea68c2
Add --image-type option to GKE kube-up
2016-05-10 21:27:31 -07:00
Fabio Yeon
05cfd9c584
Merge pull request #24852 from johscheuer/fix-hyperkube-makefile
...
OS X: Fix hyperkube build by adding empty string to sed invocation
2016-05-10 19:40:52 -07:00
Fabio Yeon
4dcc4bbcd8
Merge pull request #23362 from miguelfrde/configure-base-vpc-cidr
...
AWS kube-up: Allow VPC CIDR to be specified (experimental)
2016-05-10 19:37:33 -07:00
Fabio Yeon
d4de319ea8
Merge pull request #16000 from cilium-team/change-docker-storage-driver
...
Changed docker storage driver to overlayfs
2016-05-10 19:36:49 -07:00
Prashanth Balasubramanian
0a1c15c64a
Bump up glbc version to 0.6.2
2016-05-10 17:07:45 -07:00
Zach Loafman
e42f201189
GKE provider: Add cluster-ipv4-cidr and arbitrary flags
2016-05-10 16:00:34 -07:00
Fabio Yeon
58617a083c
Merge pull request #25405 from justinsb/fix/23623
...
AWS kube-up: Increase timeout waiting for docker start
2016-05-10 15:50:37 -07:00
Tim Hockin
92da8e6f1c
Make it possible to use kube-cross as non-root
...
The extra TMPDIR was not writable except as root. This is not the only fix
needed for this goal, but is necessary.
2016-05-10 10:06:56 -07:00
Justin Santa Barbara
cc4ac5459c
AWS kube-up: Increase timeout waiting for docker start
...
Apparently our cluster start time increased, to the point where users
are reporting spurious timeouts (#23623 ) and users are reporting that
increasing the timeout fixes the issue (thanks @paralin for the
suggestion and @jlfields for confirming).
Fix #23623
2016-05-10 09:11:33 -04:00
Tolik Litovsky
a5bce254de
Add nfs support for vagrant nodes.
...
This will allow to use NFS volumes on those nodes
2016-05-10 15:17:35 +03:00
gmarek
5dc3d50aba
Change default clusterCIDRs to /14
2016-05-10 12:44:49 +02:00
k8s-merge-robot
35e92ad00c
Merge pull request #25378 from andyzheng0831/kube-addon
...
Automatic merge from submit-queue
GCI/Trusty: Fix the running of kube-addon-manager
This PR fixes the issue that kube-addon-master (added in #23600 ) is not started. Without this fix, no kube-system pods can be running correctly. As a result, the GCI-based Jenkins testing k8s head has been down for a couple of days. The root cause is that we stopped to use namespace.yaml, but configure-helper.sh still tries to copy it. This PR also gets rid of /var/cache/kubernetes-install/kube_env.yaml, as it is not needed anymore after #24108 .
@mikedanese @roberthbailey @dchen1107 please review it. If possible please mark it as P1, as it blocks GCI-based Jenkins tests.
cc/ @kubernetes/goog-image @fabioy FYI
2016-05-10 00:01:08 -07:00
k8s-merge-robot
35aff74f9c
Merge pull request #23121 from deromka/master
...
Automatic merge from submit-queue
Added vsphere support for vagrant
Since the native vsphere support (using govc library) requires admin permissions on ESX/vCenter, not everyone can have such permissions. So I'm adding a vsphere support using vagrant using vagrant-vsphere plugin
2016-05-09 23:18:19 -07:00
Lukasz Zajaczkowski
892c2abaf5
Name adjustment to OpenStack-Heat in cluster/get-kube.sh
2016-05-10 07:25:29 +02:00
Andy Zheng
74fd5d35f0
GCI/Trusty: Support the new var in glbc.yaml
2016-05-09 17:40:59 -07:00
Andy Zheng
d8314b1b9b
GCI/Trusty: Fix the running of kube-addon-manager
2016-05-09 16:00:33 -07:00
CJ Cullen
de71a2a76e
Add configuration for GCP webhook authorization.
2016-05-09 09:17:40 -07:00
k8s-merge-robot
fa95788e56
Merge pull request #24242 from thockin/godep_vendor_dir
...
Automatic merge from submit-queue
Move godeps to vendor/
This is a first-step towards glide support, maybe we don't want or need to take this, but it was easy to try.
This fails to compile, not sure why:
```
# k8s.io/kubernetes/pkg/apis/extensions/v1beta1
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2703: undefined: extensions.ClusterAutoscaler
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2703: undefined: ClusterAutoscaler
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2719: undefined: extensions.ClusterAutoscaler
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2719: undefined: ClusterAutoscaler
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2723: undefined: extensions.ClusterAutoscalerList
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2723: undefined: ClusterAutoscalerList
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:3468: Convert_extensions_JobSpec_To_v1beta1_JobSpec redeclared in this block
previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:328
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:3845: Convert_extensions_ScaleStatus_To_v1beta1_ScaleStatus redeclared in this block
previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:98
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:4737: Convert_v1beta1_JobSpec_To_extensions_JobSpec redeclared in this block
previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:380
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:5186: Convert_v1beta1_ScaleStatus_To_extensions_ScaleStatus redeclared in this block
previous declaration at _output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion.go:120
_output/local/go/src/k8s.io/kubernetes/pkg/apis/extensions/v1beta1/conversion_generated.go:2723: too many errors
!!! Error in /home/thockin/tmp/godep-vendor/src/k8s.io/kubernetes/hack/lib/golang.sh:417
```
2016-05-08 22:20:09 -07:00
k8s-merge-robot
5dd087040b
Merge pull request #24511 from pbx0/kubelet-symlink
...
Automatic merge from submit-queue
cluster/images/hyperkube: create symlink for each server
Add a kubelet symlink so that the hyperkube image can appear as a kubelet image. https://github.com/kubernetes/kubernetes/issues/24510
2016-05-08 21:31:23 -07:00
Tim Hockin
cbf886c7f4
Convert everything to use vendor/
2016-05-08 20:30:37 -07:00
k8s-merge-robot
f46f35a9df
Merge pull request #23600 from mikedanese/addon-manager
...
Automatic merge from submit-queue
run kube-addon-manager in a static pod
Depends on https://github.com/kubernetes/kubernetes/pull/23605 and https://github.com/kubernetes/kubernetes/pull/24108
Ref #23233
2016-05-08 11:30:44 -07:00
k8s-merge-robot
2b46c4b7e2
Merge pull request #24391 from bprashanth/ing_templated_controller
...
Automatic merge from submit-queue
Template the ingress controller
We still need https://github.com/kubernetes/contrib/pull/791 to run the controller as a static pod
ref https://github.com/kubernetes/kubernetes/issues/23663
2016-05-06 20:04:51 -07:00
Jeff Grafton
bc7922c374
Replace awkward bash pipelines with gcloud's --format='value()'
...
Also remove old `gcloud compute instance-groups managed get-operation`
code. This command doesn't even exist in gcloud anymore.
2016-05-06 15:49:57 -07:00
Robert Bailey
67b6911809
Merge pull request #24673 from thockin/e2e-24182-reties
...
Add retries to validate-cluster
2016-05-06 15:08:51 -07:00
Robert Bailey
c11229f960
Merge pull request #24881 from vmware/vsphere-ui-fix
...
Fixed vSphere kube-up implementation to allow Kubernetes dashboard (UI) to work
2016-05-06 15:08:04 -07:00
Robert Bailey
c9442ee47c
Merge pull request #25114 from aaronlevy/hyperkube-pkg-upgrade
...
Upgrade installed packages when building hyperkube to improve the security profile
2016-05-06 15:03:52 -07:00
Robert Bailey
5f4f59e671
Merge pull request #24950 from andyzheng0831/apiserver
...
GCI/Trusty: Support ABAC authorization
2016-05-06 13:59:39 -07:00
Robert Bailey
8a4295778f
Merge pull request #24896 from mikedanese/hyperkube-cni
...
add cni plugins to hyperkube image
2016-05-06 13:58:07 -07:00
Mike Danese
3e1c0b5951
run kube-addon-manager in a pod
2016-05-06 11:01:06 -07:00
Wojciech Tyczynski
247512d86a
Fix proto configs
2016-05-06 10:25:59 +02:00
Alex Robinson
6cfaed1299
Don't surround node-tags list with square brackets
...
That's not how yaml list parsing works...
2016-05-05 22:05:50 +00:00
Francois Deppierraz
1769760db0
Automatically detect swift URL if not specified
2016-05-05 23:58:43 +02:00
Patrick Baxter
e96e57c8f7
cluster/images/hyperkube: create symlink for each server
2016-05-05 21:36:18 +00:00
Mike Danese
4aba77c1f8
add cni plugins to hyperkube image
2016-05-05 14:24:14 -07:00
k8s-merge-robot
84573939ff
Merge pull request #25105 from andyzheng0831/metadata
...
Automatic merge from submit-queue
GCI: Add two GCI specific metadata pairs
This PR adds two GCI specific metadata pairs when using GCI image.
(1) "gci-update-strategy": by default the GCI in-place updater is enabled. It means that when a new image is released, the instance on the old image will be upgraded to the new image. In this change, we turn it off;
(2) "gci-ensure-gke-docker": GCI is built with two versions of docker. When this metadata is set to "true", the version satisfying kubernetes qualification will be used. Setting this metadata prevents from using incorrect docker version.
2016-05-05 10:28:58 -07:00
David Osztertag
9e4bc8cee6
Merge COPY lines in etcd Dockerfile
2016-05-05 15:18:55 +02:00
k8s-merge-robot
ca830803f2
Merge pull request #25187 from wojtek-t/configure_proto_for_test_clusters
...
Automatic merge from submit-queue
Configure proto for test clusters
ref #25132
@smarterclayton - FYI
2016-05-05 06:16:40 -07:00
David Osztertag
68af7dc141
Expose old and new etcd client and server ports
2016-05-05 14:31:06 +02:00
k8s-merge-robot
c79c5864e7
Merge pull request #25051 from spxtr/fix-1.6.2
...
Automatic merge from submit-queue
Use v1.6.2-1 tag for build.
Is there any reason these don't use the VERSION file like everything else? cc @luxas @ixdy
2016-05-05 03:36:27 -07:00
k8s-merge-robot
0e2ecb7ac6
Merge pull request #24694 from vulpecula/local-ssd-configure-2
...
Automatic merge from submit-queue
Support local SSDs for GKE and GCE nodes.
```release-note
Support local SSDs for GKE and GCE nodes.
```
2016-05-05 02:24:34 -07:00
Wojciech Tyczynski
7ed573cf66
Enable configuring content type in tests
2016-05-05 08:46:21 +02:00
k8s-merge-robot
6f13b4e7ed
Merge pull request #25175 from freehan/bumpcni
...
Automatic merge from submit-queue
bump cni version again
Need to bump again. I made a mistake on the last build.
2016-05-04 20:25:25 -07:00
Minhan Xia
174d327695
bump cni version again
2016-05-04 16:28:04 -07:00
Alex Robinson
b75fa08aec
GCE: Prefer preconfigured node tags for firewalls, if available
2016-05-04 22:49:06 +00:00
Jeff Grafton
6cd9dcba60
Use --format='value()' instead of --fields with gcloud
2016-05-04 12:32:13 -07:00
Wojciech Tyczynski
25164537ef
ref
2016-05-04 16:53:59 +02:00
k8s-merge-robot
963aebd3e5
Merge pull request #25123 from jlewi/jessie
...
Automatic merge from submit-queue
Add an entry to the salt config to allow Debian jessie on GCE.
```release-note
Add an entry to the salt config to allow Debian jessie on GCE.
As with the existing Wheezy image on GCE, docker is expected
to already be installed in the image.
```
[]()
2016-05-04 04:22:39 -07:00
k8s-merge-robot
dcc2a400d0
Merge pull request #25115 from freehan/bumpcni
...
Automatic merge from submit-queue
bump cni binary
2016-05-04 03:07:06 -07:00
Jeremy Lewi
ccf4b381db
Add an entry to the salt config to allow Debian jessie on GCE.
...
As with the existing Wheezy image on GCE, docker is expected
to already be installed in the image.
2016-05-03 22:17:38 -07:00
Minhan Xia
87c66c517d
bump cni binary
2016-05-03 17:18:26 -07:00
Aaron Levy
dd8c3588ef
cluster/images/hyperkube: Upgrade installed packages
2016-05-03 17:17:03 -07:00
Andy Zheng
73ee508005
GCI: Add two GCI specific metadata pairs
2016-05-03 14:45:27 -07:00
Isaac Hollander McCreery
be7209d4fc
Mark kube-push.sh as broken
2016-05-03 10:53:33 -07:00
Joe Finney
f128b30318
Use v1.6.2-1 tag for build.
2016-05-02 14:43:06 -07:00
Mike Danese
181e95c073
rever the vspeher change to skydns plugin
2016-05-01 14:56:57 -07:00
André Martins
0000a7084d
Changed docker storage driver to overlayfs.
...
Signed-off-by: André Martins <aanm90@gmail.com>
2016-05-01 01:04:30 +01:00
k8s-merge-robot
ee2a0694b6
Merge pull request #24872 from smarterclayton/propogate_int_types
...
Automatic merge from submit-queue
Convert internal types to use exact precision integers
This makes conversion more suitable for future optimizations, and we need to stop pretending for some of our internal types that the width of the int doesn't matter.
@wojtek-t
2016-04-29 18:50:37 -07:00
k8s-merge-robot
f8196d9048
Merge pull request #24834 from ixdy/node-names
...
Automatic merge from submit-queue
Fix detect-node-names to not error out if there are no nodes
Fixes #21564 .
Teardown was not working correctly in rare cases because `detect-node-names` was failing before any of the actual cleanup was run. I'm pretty sure the issue was that there was an instance group, but no instances in the instance group, so we bailed out when we tried to expand the bash array.
This PR adds a guard so we don't bail if the array is empty.
cc @jlowdermilk @spxtr
2016-04-29 16:37:41 -07:00
Clayton Coleman
fdb110c859
Fix the rest of the code
2016-04-29 17:12:10 -04:00
Andy Zheng
967fd495e0
GCI: Update the command to get the image
2016-04-29 09:15:27 -07:00
Lukasz Zajaczkowski
53eef9e412
Merge pull request #11 from elsonrodriguez/openstack-provider-hostname
...
Adding workaround for hostname swapping issue in OpenStack kube-up provider
2016-04-29 12:41:38 +02:00
k8s-merge-robot
ad67363c12
Merge pull request #24362 from ArtfulCoder/hostname-field
...
Automatic merge from submit-queue
Promote Pod Hostname & Subdomain to fields (were annotations)
Deprecating the podHostName, subdomain and PodHostnames annotations and created corresponding new fields for them on PodSpec and Endpoints types.
Annotation doc: #22564
Annotation code: #20688
2016-04-29 01:06:45 -07:00
Lukasz Zajaczkowski
5b84667dd6
Merge pull request #10 from ctrlaltdel/openstack-provider-ssl-fix
...
Expose /etc/pki from host to kube-apiserver and controller-manager
2016-04-29 09:22:47 +02:00
Lukasz Zajaczkowski
895c543c8c
Add missing single speech mark after rebase
2016-04-29 08:16:23 +02:00
Elson O Rodriguez
9004dc383b
Adding workaround for hostname swapping issue in OpenStack kube-up provider.
...
On reboot, minions hostname would change, causing issue querying Openstack API and registering with kube-apiserver.
This is due to a bug in cloud-init which has been patched but apparently not widely distributed.
Should be harmless on unaffected systems.
https://bugs.launchpad.net/cloud-init/+bug/1246485
http://blog.oddbit.com/2014/12/10/cloudinit-and-the-case-of-the-changing-hostname/
2016-04-28 22:36:00 -07:00
Francois Deppierraz
dd786794e9
Expose /etc/pki from host to kube-apiserver and controller-manager
...
CentOS 7 Core nodes running on OpenStack with an SSL-enabled API
endpoint results in the following error without this patch:
F0425 19:00:58.124520 5 server.go:100] Cloud provider could not be initialized: could not init cloud provider "openstack": Post https://my.openstack.cloud:5000/v2.0/tokens : x509: failed to load system roots and no roots provided
The root cause is that the ca-bundle.crt file is actually a symlink
which points to a directory which wasn't previously exposed.
[root@kubernetesstack-master ~]# ls -l /etc/ssl/certs/ca-bundle.crt
lrwxrwxrwx. 1 root root 49 18 nov 11:02 /etc/ssl/certs/ca-bundle.crt -> /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
[root@kubernetesstack-master ~]#
2016-04-28 23:07:24 +02:00
Andy Zheng
27c9ee3646
GCI/Trusty: Support ABAC authorization
2016-04-28 14:04:28 -07:00
Abhishek Shah
8a3ed48808
Added Hostname and Subdomain field to Pod.Spec
2016-04-28 10:56:56 -07:00
Lukasz Zajaczkowski
5f929d2a4c
Replace heat client to openstack to avoid warnings
2016-04-28 14:06:30 +02:00
Elson O Rodriguez
c5ca66b2e1
Changing openstack to openstack-heat in get-kube.sh
2016-04-28 14:06:30 +02:00
Elson O Rodriguez
7b3b24c4f5
Triages #7 for OpenStack provider, still needs work.
...
Fixed the order of fields for basic_auth.
This provider still needs to leverage common.sh for generating proper credentials though.
Also documented a pattern for how to get the SWIFT_SERVER_URL automatically
2016-04-28 14:06:30 +02:00
Elson O Rodriguez
9226cf7460
Undoing regression of #23311
2016-04-28 14:06:30 +02:00
Elson O Rodriguez
545b230851
Adding socat package for Redhat systems in Salt
2016-04-28 14:06:30 +02:00
Elson O Rodriguez
001678991b
Removing an invalid reference to cadvisor from salt.
...
It looks like this was left over from https://github.com/kubernetes/kubernetes/pull/23316
2016-04-28 14:06:30 +02:00
OHTAKE Tomohiro
5ea2940cfe
Rename the provider to openstack-heat
...
There might be several methods to deploy a Kubernetes cluster on OpenStack.
It is better to name the provider more specific.
2016-04-28 14:06:30 +02:00
OHTAKE Tomohiro
23bcbbfaca
Add braces around environment variable names
...
Parameter names of Heat str_replace remain unchanged
2016-04-28 14:06:29 +02:00
OHTAKE Tomohiro
7f37ab5034
Remove unused code
2016-04-28 14:06:29 +02:00
Lukasz Zajaczkowski
a4e6e7fa47
Add configuration for e2e tests
2016-04-28 14:06:29 +02:00
Elson O Rodriguez
35bbc186aa
Increasing default node size for kube-up Openstack provider.
...
The default pod sizes are too small for some Java apps. Also the logging/monitoring pods were taking up too many resources.
2016-04-28 14:06:29 +02:00
Elson O Rodriguez
d28fd393cf
Enabled Addons for Openstack kube-up provider.
...
Hard-coded the enabling of the common addons:
- logging
- kube-dashboard
- monitoring
Will make it configureable in a subsequent PR.
Also need to enable configuration of basic_auth.csv
2016-04-28 14:06:29 +02:00
Elson O Rodriguez
4773808767
Improved user experience for users of OpenStack provider behind a proxy.
2016-04-28 14:06:29 +02:00
Elson O Rodriguez
8315734bab
Adding openstack example to get-kube.sh
2016-04-28 14:06:29 +02:00
Elson O Rodriguez
707ef2ce76
Adding missing variable defaults for OpenStack provider.
2016-04-28 14:06:29 +02:00
Elson O Rodriguez
2ffc86bc1d
Adding automatic OS image download for Openstack provider.
...
This makes it so that we download the OS image automatically.
Also contains other usability improvements:
- kubectl context created with heat stack name
- Bumped default minions to 3
2016-04-28 14:06:29 +02:00
Elson O Rodriguez
5ae161e086
Adding cloudprovider support for Openstack kube-up provider.
...
Making the assumption that the person running kube-up has their
Openstack environment setup, those same variables are being passed
into heat, and then into openstack.conf.
The salt codebase was modified to add openstack as well.
2016-04-28 14:06:29 +02:00
Elson O Rodriguez
21627f5b7e
Made it so that existing Openstack environment variables are used.
...
If someone has an openrc as part of their profile, this will make kube-up work automatically.
The only things that have to be modified are in config-default.sh, either by editing the file or setting environment variables.
2016-04-28 14:06:29 +02:00
Elson O Rodriguez
126b6c0950
Fixed proxy settings for minion, added comments.
2016-04-28 14:06:29 +02:00
Elson O Rodriguez
b4333adeac
Adding support for provisioning behind a Proxy.
...
This assumes you have your environement variables set correctly.
When ENABLE_PROXY is set to true, it takes the current proxy
settings and applies them to the heat configuration.
Also modified the defaults system in config-default.sh
2016-04-28 14:06:29 +02:00
OHTAKE Tomohiro
b5913ab43e
Make shell script compatible with older bash
2016-04-28 14:06:29 +02:00
urcan
730b7ef097
certificate should be created for the virtual kubernetes ip
2016-04-28 14:06:29 +02:00
OHTAKE Tomohiro
249a5c9f0f
Use host-gw flannel for better performance
2016-04-28 14:06:29 +02:00
OHTAKE Tomohiro
188b303dd0
Execute salt-call twice
2016-04-28 14:06:29 +02:00
Lukasz Zajaczkowski
840aa9c186
OpenStack provider
...
- Create Kubernetes cluster on the top of OpenStack
2016-04-28 14:06:29 +02:00
OHTAKE Tomohiro
c7b447b9fc
Add Heat template to create a Kubernetes stack on OpenStack
2016-04-28 14:06:29 +02:00
k8s-merge-robot
537dedf684
Merge pull request #24796 from johscheuer/fix-vagrant
...
Automatic merge from submit-queue
Update Docker version after cockpit installation
Fixes https://github.com/kubernetes/kubernetes/issues/24530
The vagrant setup didn't worked for me because `cockpit cockpit-kubernetes` brings their own Docker version (1.7) which doesn't work and the master components doesn't come up. More information about this bug are in my [issue](https://github.com/kubernetes/kubernetes/issues/24530 ).
My test system:
```bash
$ uname -a
Darwin MyMacBook.local 15.4.0 Darwin Kernel Version 15.4.0: Fri Feb 26 22:08:05 PST 2016; root:xnu-3248.40.184~3/RELEASE_X86_64 x86_64
$ vagrant --version
Vagrant 1.8.1
$ VBoxManage --version
5.0.16r105871
```
2016-04-28 04:38:47 -07:00
k8s-merge-robot
19408e5575
Merge pull request #24893 from andyzheng0831/gci
...
Automatic merge from submit-queue
Add support for running clusters on GCI
Google Container-VM Image (GCI) is the next revision of Container-VM. See documentation at https://cloud.google.com/compute/docs/containers/vm-image/ . This change adds support for starting a Kubernetes cluster using GCI.
With this change, users can start a kubernetes cluster using the latest kubelet and kubectl release binary built in the GCI image by running:
$ KUBE_OS_DISTRIBUTION="gci" cluster/kube-up.sh
Or run a testing cluster on GCI by running:
$ KUBE_OS_DISTRIBUTION="gci" go run hack/e2e.go -v --up
The commands above will choose the latest GCI image by default.
2016-04-27 23:46:26 -07:00
Christian Stewart
1491e6c662
cluster/aws: Add option for kubeconfig context
...
Added KUBE_CONFIG_CONTEXT environment variable to customize the
kubeconfig context created at the end of the aws kube-up script.
Signed-off-by: Christian Stewart <christian@paral.in>
2016-04-28 00:06:58 -04:00
k8s-merge-robot
7a09fbcf97
Merge pull request #24210 from cjcullen/abacAuth
...
Automatic merge from submit-queue
Switch to ABAC authorization from AllowAll
Switch from AllowAll to ABAC. All existing identities (that are created by deployment scripts) are given full permissions through ABAC. Manually created identities will need policies added to the `policy.jsonl` file on the master.
2016-04-27 16:43:08 -07:00
k8s-merge-robot
9fd05474c2
Merge pull request #24108 from mikedanese/kube-addon-cleanup
...
Automatic merge from submit-queue
don't source the kube-env in addon-manager
This was added in 2feb658ed7
which became unused after #23603 but wasn't removed
2016-04-27 16:07:54 -07:00
Andy Zheng
93929c3853
Add support for running clusters on GCI
2016-04-27 15:24:21 -07:00
Alain Roy
10545d72b3
Fixes to allow Kubernetes dashboard (UI) to work
...
The UI didn't work with vSphere kube-up implementation. This fixes
that by making the following changes:
* Configure the apiserver with admission controls, especially
ServiceAccount. This will provide the token to the dashboard pod
that it needs to talk to the apiserver. This will also improve other
pods that require service accounts.
* Add routes to the master so it can communicate with the pods, so
hitting the https://MASTER/ui URL will allow it to contact the
pods.
* Add an extra subject for the cluster IP to the apiserver, so when
the dashboard communicates with the apiserver, the certificate
matches the IP address it's using.
2016-04-27 13:30:21 -07:00
CJ Cullen
3253739505
Use ABAC authz instead of AllowAll.
2016-04-27 11:38:15 -07:00
k8s-merge-robot
4d5f6872bb
Merge pull request #24609 from andyzheng0831/debug
...
Automatic merge from submit-queue
Trusty: Add debug supports for docker and kubelet
This PR adds debug support in two aspects: (1) For a test cluster, docker command will have "--debug" flag. Recently we noticed that this is very helpful in debug e2e test failures; (2) The kubelet command line will be put in /etc/default/kubelet. If a developer wants to test kubelet flags without recreating a cluster, she/he only needs to revise this file and then run "initctl restart kubelet". In addition, this PR fixes a couple of small things like comments and alignment.
Test result:
(1) Manually verified changing /etc/default/kubelet and run "initctl restart kubelet";
(2) Verified docker command line flag "--debug";
(3) e2e on pure trusty cluster and hybrid cluster all passed.
@roberthbailey @dchen1107 @zmerlynn please review it.
cc/ @yujuhong @fabioy @wonderfly FYI.
2016-04-27 10:26:01 -07:00
k8s-merge-robot
fa3c49b86c
Merge pull request #24337 from pditommaso/patch-1
...
Automatic merge from submit-queue
Allow KUBE_ROOT to be defined externally
2016-04-27 01:02:05 -07:00
k8s-merge-robot
3fa84134cd
Merge pull request #24124 from vmware/photon-controller
...
Automatic merge from submit-queue
Initial kube-up support for VMware's Photon Controller
This is for: https://github.com/kubernetes/kubernetes/issues/24121
Photon Controller is an open-source cloud management platform. More
information is available at:
http://vmware.github.io/photon-controller/
This commit provides initial support for Photon Controller. The
following features are tested and working:
- kube-up and kube-down
- Basic pod and service management
- Networking within the Kubernetes cluster
- UI and DNS addons
It has been tested with a Kubernetes cluster of up to 10
nodes. Further work on scaling is planned for the near future.
Internally we have implemented continuous integration testing and will
run it multiple times per day against the Kubernetes master branch
once this is integrated so we can quickly react to problems.
A few things have not yet been implemented, but are planned:
- Support for kube-push
- Support for test-build-release, test-setup, test-teardown
Assuming this is accepted for inclusion, we will write documentation
for the kubernetes.io site.
We have included a script to help users configure Photon Controller
for use with Kubernetes. While not required, it will help some
users get started more quickly. It will be documented.
We are aware of the kube-deploy efforts and will track them and
support them as appropriate.
2016-04-27 01:02:03 -07:00
Johannes Scheuermann
f23380fe84
Add empty string to sed
2016-04-27 08:54:13 +02:00
Jeff Grafton
5487a3f8f6
Fix detect-node-names to not error out if there are no nodes
2016-04-26 17:48:25 -07:00
k8s-merge-robot
773bb777f4
Merge pull request #24749 from andyzheng0831/enhance
...
Automatic merge from submit-queue
Trusty: Add retry in curl commands
This fix is for improving robustness in fetch critical metadata files when the metadata server is temporarily unreachable.
@roberthbailey @zmerlynn @dchen1107 please review it.
cc/ @fabioy @wonderfly FYI.
2016-04-26 13:00:21 -07:00
Johannes Scheuermann
e13a2c1d5b
Update Docker version after cockpit installation
2016-04-26 15:30:54 +02:00
k8s-merge-robot
1cd93cb1d6
Merge pull request #23250 from huggsboson/patch-1
...
Automatic merge from submit-queue
Use kube-system namespace
Fixes #23153 .
Sadly, kube-system isn't automatically created, so people need to make
sure to create it in their turnup scripts. Also after creating
kube-system it can take 10+ seconds for master and proxy to show up.
I tested the equivalent of these changes locally, but not these changes
themselves as I don't have a dev/build env up, so please read carefully
and maybe try them out!
2016-04-25 20:23:36 -07:00
Alain Roy
fa9d79df75
Initial kube-up support for VMware's Photon Controller
...
This is for: https://github.com/kubernetes/kubernetes/issues/24121
Photon Controller is an open-source cloud management platform. More
information is available at:
http://vmware.github.io/photon-controller/
This commit provides initial support for Photon Controller. The
following features are tested and working:
- kube-up and kube-down
- Basic pod and service management
- Networking within the Kubernetes cluster
- UI and DNS addons
It has been tested with a Kubernetes cluster of up to 10
nodes. Further work on scaling is planned for the near future.
Internally we have implemented continuous integration testing and will
run it multiple times per day against the Kubernetes master branch
once this is integrated so we can quickly react to problems.
A few things have not yet been implemented, but are planned:
- Support for kube-push
- Support for test-build-release, test-setup, test-teardown
Assuming this is accepted for inclusion, we will write documentation
for the kubernetes.io site.
We have included a script to help users configure Photon Controller
for use with Kubernetes. While not required, it will help some
users get started more quickly. It will be documented.
We are aware of the kube-deploy efforts and will track them and
support them as appropriate.
2016-04-25 13:24:16 -07:00
Andy Zheng
72f3cb664f
Trusty: Add retry in curl commands
2016-04-25 12:59:30 -07:00
Jeff Grafton
b69b94103c
Make detect-node-names less brittle for G{C,K}E
2016-04-25 12:10:25 -07:00
Danka Niedziałkowska
39eb2308a4
Mount local ssds
2016-04-22 15:39:34 -07:00
Tim Hockin
7e0f66bd0e
Add retries to validate-cluster
...
E2e shows occasional kubectl failures here, so add some retries. We may want
to make this more general, but I think we should try it out in small scope
first.
Also clean up the retry loop so it doesn't process errors as successful runs
(discovered in testing).
Also simplify a bit of go template syntax.
Testing: I made kubectl randomly fail 50% of the time ($RANDOM%2 ==0) and
iterated until this gave me more helpful results. Still not perfect, but
better.
2016-04-22 09:54:51 -07:00
k8s-merge-robot
19a106f61e
Merge pull request #24274 from euank/configurable-release-bucket
...
Automatic merge from submit-queue
jenkins: Allow configuration of release bucket
This allows others to leverage the existing E2E code to test some
patched kube binary by simply overriding the bucket and reusing many of
the existing scripts
2016-04-21 23:09:05 -07:00
k8s-merge-robot
8c24c68315
Merge pull request #24324 from zjmchn/fix-vagrant-halt-up-issue
...
Automatic merge from submit-queue
fix ./cluster/kube-up.sh failed after vagrant halt. (issue #18990 )
2016-04-21 15:00:04 -07:00
Parham Negahdar
3575ab0736
Allow KUBE_DNS_SERVER_IP and DNS_DOMAIN to be configurable in GCE deploy
2016-04-21 16:13:07 -04:00
Andy Zheng
b8fd9e1a8d
Trusty: Add debug supports for docker and kubelet
2016-04-21 09:49:52 -07:00
Prashanth Balasubramanian
b066cb5357
Templatize l7 rc
2016-04-20 16:15:22 -07:00
k8s-merge-robot
70bfe6aeea
Merge pull request #24531 from andyzheng0831/manifest
...
Automatic merge from submit-queue
Trusty: Handle the new var in kube-proxy manifest
This is to capture the kube-proxy manifest change in PR #24429 .
@roberthbailey @fabioy @zmerlynn please review this change and mark it as cherry pick candidate. We need to catch up 1.2.3 release.
cc/ @dchen1107 @wonderfly @cjcullen FYI.
I have verified this fix. Without this fix, kube-proxy pod in Trusty nodes cannot be started correctly, i.e., the command line has an unhadled variable. And some other kube-system pods do not work correctly as kube-proxy is not working well. After applying this fix, kube-proxy can be started correctly, and all kube-system pods run successfully.
2016-04-20 10:48:39 -07:00
k8s-merge-robot
2be704f9ad
Merge pull request #24465 from aknuds1/glbc
...
Automatic merge from submit-queue
Fix GLBC cluster addon README link
Fix the link to L7 load balancer controller in GLBC cluster addon README.
Fixed #24462 .
2016-04-20 09:57:22 -07:00
Mike Danese
e095f8c377
don't source the kube-env in addon-manager
2016-04-20 09:44:44 -07:00
Prashanth Balasubramanian
2ec06f8d4a
Generate a kube_uuid salt pillar.
2016-04-20 09:29:27 -07:00
Andy Zheng
7772b7f1ce
Trusty: Handle the new var in kube-proxy manifest
2016-04-20 08:27:41 -07:00
k8s-merge-robot
b274911e0e
Merge pull request #23829 from derekwaynecarr/fix_admission_order
...
Automatic merge from submit-queue
ResourceQuota should be last admission controller
For background, see documentation:
http://kubernetes.io/docs/admin/admission-controllers/#resourcequota
2016-04-20 04:58:04 -07:00
k8s-merge-robot
035e365de7
Merge pull request #24245 from autostatic/master
...
Automatic merge from submit-queue
Added check for noexec mount of /tmp on master
Signed CLA.
2016-04-20 03:49:39 -07:00
k8s-merge-robot
327d32dcad
Merge pull request #24437 from yujuhong/influxdb_hostport
...
Automatic merge from submit-queue
Remove host port in influxdb-grafana-controller.yaml
2016-04-19 23:48:09 -07:00
CJ Cullen
760568796f
Masquerade traffic from off-cluster going through kube-proxy.
2016-04-19 21:39:34 -07:00
Paolo Di Tommaso
b4704c9a32
Update kubectl.sh
2016-04-19 13:47:05 +02:00
Arve Knudsen
425111e02d
Fix README link
2016-04-19 12:35:53 +02:00
Yu-Ju Hong
e97eb4dc6a
Remove host port in influxdb-grafana-controller.yaml
...
There is no valid reason to keep the host ports in the pod spec.
2016-04-18 16:29:58 -07:00
k8s-merge-robot
26c99fee00
Merge pull request #24112 from cjcullen/rmcomments
...
Automatic merge from submit-queue
Strip comments from configure-vm.sh for gce
We are getting very close to the 32KiB limit on GCE metadata entry length. We used to strip comments before putting the value in metadata, but I think we removed it in a refactor because it wasn't absolutely necessary, and leaving it out made the scripts slightly cleaner. It's close to being necessary again.
Removing comments reduces the size from 31,609B to 27,221B: https://www.diffchecker.com/0xmmecvw .
2016-04-18 00:43:36 -07:00
k8s-merge-robot
1b74e7bfc9
Merge pull request #23994 from mml/docker-supervisor-logs
...
Automatic merge from submit-queue
Also collect docker supervisor logs.
2016-04-17 13:46:36 -07:00
k8s-merge-robot
273b01dceb
Merge pull request #23975 from zhouhaibing089/kubectl-fix
...
Automatic merge from submit-queue
add HOME env variable for kube-addons service
Fix https://github.com/kubernetes/kubernetes/issues/23973 .
Briefly, systemd service does not know the `HOME` environment variable which causes the kubectl write schema file into `/.kube` while it is expected to be `/root/.kube`.
2016-04-17 13:12:53 -07:00
k8s-merge-robot
031c1ea398
Merge pull request #24218 from jimmyjones2/hyperkube-container-behind-proxy
...
Automatic merge from submit-queue
Add easy-rsa to hyperkube container
Otherwise gets downloaded a runtime, which kind of breaks the container model.
See [comment](https://github.com/kubernetes/kubernetes/issues/20514#issuecomment-195835786 ) in #20514 - this causes dockerized install of k8s to fail if you're behind a proxy. make-ca-cert.sh already looks for a local copy of easy-rsa.tar.gz before downloading it, so this drops the tarball in the expected place in the container.
2016-04-17 06:32:37 -07:00
k8s-merge-robot
d40bf503ed
Merge pull request #24256 from porridge/fix-newlines
...
Automatic merge from submit-queue
Fix spacing in usage_from_stdin and info_from_stdin (issue #24186 ).
If "a" is a bash array, then the syntax to append the contents of $line as a
new element to the array is a+=("$line"), not messages+=$line
Using the former syntax just seems to append to the first element, creating a
long string and thus losing newline information.
Fixing this allows us to drop some empty lines from invocations of
usage_from_stdin.
2016-04-16 07:31:12 -07:00
k8s-merge-robot
7e2b795a36
Merge pull request #24293 from mikedanese/componentlabels
...
Automatic merge from submit-queue
add labels to kube component static pods
```
$ k --namespace=kube-system get po -l 'tier in (control-plane)'
NAME READY STATUS RESTARTS AGE
kube-apiserver-k-7-master 1/1 Running 2 1m
kube-controller-manager-k-7-master 1/1 Running 1 1m
kube-scheduler-k-7-master 1/1 Running 0 54s
$ k --namespace=kube-system get po -l 'tier in (node)'
NAME READY STATUS RESTARTS AGE
kube-proxy-k-7-minion-eheu 1/1 Running 0 1m
kube-proxy-k-7-minion-mwo9 1/1 Running 0 1m
kube-proxy-k-7-minion-xw6m 1/1 Running 0 1m
```
cc @bgrant0607 @thockin @gmarek
Fixes #21267
2016-04-16 03:11:32 -07:00
k8s-merge-robot
5f999438d8
Merge pull request #24045 from rootfs/e2e-misc
...
Automatic merge from submit-queue
add config-test.sh to cluster/centos so we can run e2e test on centos/fedora/rhel
so I can run e2e test on centos locally using the following command
```console
KUBERNETES_PROVIDER=centos KUBERNETES_CONFORMANCE_TEST=y ./cluster/test-e2e.sh
```
2016-04-16 00:00:26 -07:00
Jimmy Jones
0521ebad41
Include easy-rsa in container to avoid it being downloaded at runtime
2016-04-15 21:36:54 +01:00
Paolo Di Tommaso
19f3500c9a
Allow KUBE_ROOT to be defined externally
2016-04-15 18:34:09 +02:00
Jian Ming Zhang
8326036386
fix ./cluster/kube-up.sh failed after vagrant halt. (issue #18990 )
...
Signed-off-by: Jian Ming Zhang <zhangjm@cn.ibm.com>
2016-04-15 17:27:24 +08:00
k8s-merge-robot
16e2e87a89
Merge pull request #23605 from mikedanese/pause-kube
...
Automatic merge from submit-queue
don't ship kube-registry-proxy and pause images in tars.
pause is built into containervm. if it's not on the machine we should just pull
it. nobody that I'm aware of uses kube-registry-proxy and it makes build/deployment
more complicated and slower.
2016-04-15 00:26:20 -07:00
Mike Danese
6d24ca487a
add labels to kube component static pods
2016-04-14 19:13:18 -07:00
Daniel Smith
7e666e0865
Merge pull request #24213 from mikedanese/max-time
...
add a timeout for a single retry in download-or-bust
2016-04-14 16:53:51 -07:00
Daniel Smith
4389aa1364
Merge pull request #23931 from luxas/build_for_arm64
...
Build Kubernetes, etcd and flannel for arm64 and ppc64le
2016-04-14 15:10:37 -07:00
Euan Kemp
9f9c54cdd2
jenkins: Allow configuration of release bucket
...
This allows others to leverage the existing E2E code to test some
patched kube binary by simply overriding the bucket and reusing many of
the existing scripts
2016-04-14 12:26:43 -07:00
Marcin Owsiany
9ce855269e
Fix spacing in usage_from_stdin and info_from_stdin (issue #24186 ).
...
If "a" is a bash array, then the syntax to append the contents of $line as a
new element to the array is a+=("$line"), not messages+=$line
Using the former syntax just seems to append to the first element, creating a
long string and thus losing newline information.
Fixing this allows us to drop some empty lines from invocations of
usage_from_stdin.
2016-04-14 18:19:02 +02:00
k8s-merge-robot
1186f4bf85
Merge pull request #24177 from a-robinson/gke
...
Automatic merge from submit-queue
Fix GKE kube-up to correctly find an IGM from a multi-zone cluster
I've confirmed that this successfully brings up a cluster, fixing the immediate issue with the new e2e test. Sorry about not properly vetting it in the original PR (#24075 ).
This does cause a warning message to be printed based on the handling of the NUM_NODES variable though, which I could fix if you guys think it's worth it:
```
Detected 6 ready nodes, found 6 nodes out of expected 3. Found more nodes than expected, your cluster may not behave correctly.
```
@quinton-hoole
2016-04-14 06:34:12 -07:00
k8s-merge-robot
7daa26e51d
Merge pull request #24162 from jlowdermilk/fix-log-dump
...
Automatic merge from submit-queue
Fix log dump for new gcloud
`gcloud compute instance-groups managed list-instances` at CI has self-link for instance instead of just name. Fixes #24120
2016-04-14 03:47:27 -07:00
Jeremy Jongepier
a3e0d90a50
Added check for noexec mount of /tmp on master
2016-04-14 10:59:12 +02:00
Lucas Käldström
4559a84d3b
Build Kubernetes, etcd and flannel for arm64 and ppc64le
2016-04-14 07:29:10 +03:00
k8s-merge-robot
a12cec52e5
Merge pull request #24172 from andyzheng0831/fix
...
Automatic merge from submit-queue
Trusty: Fixes for running GKE master
This PR includes two fixes for running GKE master on our image:
(1) The kubelet command line assembly had a missing part for cbr0. We did not catch it because the code path is not covered by OSS k8s tests;
(2) Remove the "" from the variables in the cert files. It causes a parsing issue in GKE. Again, this code path is not covered by k8s tests.
This PR also refactors the code for assembling kubelet flag. I move all logic into a single function assemble_kubelet_flags in configure-helper.sh for better readability and also simplify node.yaml and master.yaml.
@roberthbailey @dchen1107 please review it, and mark it as cherrypick-candidate. This PR is verified by @maisem. Together with his CL for GKE, we can run GKE cluster with master on our image and nodes on ContainerVM.
cc/ @maisem @fabioy @wonderfly FYI
2016-04-13 20:04:15 -07:00
Daniel Smith
4983a8fd55
Merge pull request #24144 from andyzheng0831/enhance
...
Trusty: Avoid unnecessary in-memory temp files
2016-04-13 14:18:38 -07:00
Mike Danese
8e8c55a323
add a timeout for a single retry in download-or-bust
...
This only applies to gce kube-up. 60 seconds of open connection should
be sufficient for anything that we should be downloading. The release
tar is currently 255M.
2016-04-13 12:24:11 -07:00
k8s-merge-robot
af1e1c3ce6
Merge pull request #23992 from mml/docker-checker
...
Automatic merge from submit-queue
Rewrite docker-checker.sh to make it less kill-happy.
2016-04-13 10:10:25 -07:00
Huamin Chen
5462a5bdce
add config-test.sh to cluster/centos so we can run e2e test on centos(fedora/rhel)
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-04-13 13:36:37 +00:00
Alex Robinson
b30c4d4975
Fix GKE kube-up to correctly find an IGM from a multi-zone cluster.
2016-04-12 20:21:13 -07:00
Andy Zheng
b5a1595c98
Trusty: Fix master kubelet command assembly
2016-04-12 15:53:16 -07:00
Jeff Lowdermilk
f8c135dc1f
Fix log dump for new gcloud
2016-04-12 14:40:13 -07:00
derekwaynecarr
e3d58499db
ResourceQuota should be last admission controller
2016-04-12 13:40:52 -04:00
k8s-merge-robot
6ff05bb9e1
Merge pull request #23827 from derekwaynecarr/remove_sc_deny_vagrant
...
Automatic merge from submit-queue
Remove SecurityContextDeny from vagrant setup
This should not be needed in the vagrant setup.
2016-04-12 10:23:35 -07:00
Alex Robinson
80a75ff76c
Merge pull request #24075 from a-robinson/multizone
...
Add an e2e test suite for multi-zone GKE clusters.
2016-04-12 09:31:24 -07:00
Matt Liggett
e6af5ee296
Rewrite docker-checker.sh to make it less kill-happy.
...
Also a little more organized and easier to re-use.
Should minimize the incidence of #23461 .
2016-04-11 16:57:29 -07:00
Andy Zheng
988f16a1e2
Trusty: Avoid unnecessary in-memory temp files
2016-04-11 15:55:01 -07:00
CJ Cullen
5a785698aa
Strip comments from configure-vm.sh for gce
2016-04-11 15:13:02 -07:00
k8s-merge-robot
78dc9c7716
Merge pull request #19376 from luxas/dns_cross_platform
...
Automatic merge from submit-queue
Make kube2sky and skydns docker images cross-platform
ARM tracking issue: #17981
Continues on: #19216
Make it possible to create `kube2sky` and `skydns` docker images for ARM and other architectures too
Build in a container, so `golang` isn't a dependency
I've preserved the original default behaviour:
- `skydns`: It just compiles with go on host
- `kube2sky`: Build an image
@brendandburns @dchen1107 @ArtfulCoder @thockin @fgrzadkowski
2016-04-11 05:47:10 -07:00
Lucas Käldström
1c8140c2ac
Make kube2sky and skydns docker images cross-platform: amd64, arm, arm64 and ppc64le
2016-04-11 07:31:59 +03:00
Jeff Lowdermilk
347158e520
Merge pull request #23680 from rosskukulinski/master
...
Add KUBERNETES_RELEASE option to get-kube.sh
2016-04-08 20:53:47 -07:00
Alex Robinson
e686ba978f
Add an e2e test suite for multi-zone GKE clusters.
2016-04-09 00:14:44 +00:00
Jeff Lowdermilk
e17213a2a8
Merge pull request #23491 from onorua/master
...
set KillMode for kubelet to process, fix for #13511
2016-04-08 16:39:32 -07:00
Jeff Lowdermilk
7720a16bcf
Merge pull request #23893 from mbhinder/kubernetes
...
Fixed typo: kuberntes -> kubernetes
2016-04-08 12:47:36 -07:00
Jeff Lowdermilk
d8f42f848d
Merge pull request #23996 from andyzheng0831/fix
...
Trusty: Do not create the docker-daemon cgroup
2016-04-08 12:45:16 -07:00
Jeff Lowdermilk
601262af0d
Merge pull request #24058 from jlowdermilk/fix-list-resources
...
Fix list-resources grep
2016-04-08 12:41:40 -07:00
Jeff Lowdermilk
650d99fbd9
Fix list-resources grep
2016-04-08 12:19:24 -07:00
Jeff Lowdermilk
ca5b764210
Merge pull request #23876 from mikedanese/stop-to-delete
...
use kubectl delete in kube-addon-manager instead of stop
2016-04-08 09:30:56 -07:00
Andy Zheng
b1e18f3ca0
Trusty: Do not create the docker-daemon cgroup
2016-04-07 13:43:26 -07:00
Matt Liggett
61ca21c4d7
Also collect docker supervisor logs.
...
This helps with understanding what the docker-checker.sh really did
during the test run.
2016-04-07 13:05:11 -07:00
zhouhaibing089
db347beb3f
add HOME env variable for kube-addons service
2016-04-07 15:39:22 +08:00
Minhan Xia
f690220b5c
Merge pull request #23704 from freehan/kubenet
...
Update cni binary
#23712 is depending on this. Not sure why this one gets in first. Hand merging this
2016-04-06 15:47:42 -07:00
Preet Bhinder
d178d78013
Fixed typo: kuberntes -> kubernetes
...
"Kubernetes" was misspelled in a couple of places.
2016-04-05 16:20:08 -07:00
k8s-merge-robot
4f329516ae
Merge pull request #22149 from luxas/onedotsix
...
Automatic merge from submit-queue
Up to golang 1.6
A second attempt to upgrade go version above `go1.4`
Merge ASAP after you've cut the `release-1.2` branch and feel ready.
`go1.6` should perform slightly better than `go1.5`, so this time it might work
@gmarek @wojtek-t @zmerlynn @mikedanese @brendandburns @ixdy @thockin
2016-04-05 13:26:18 -07:00
Mike Danese
7b8dbf4876
use kubectl delete in kube-addon-manager instead of stop
...
stop has been deprecated for about a year
2016-04-05 09:31:45 -07:00
Mike Danese
32426d6e97
don't ship kube-registry-proxy and pause in tars.
...
pause is built into containervm. if it's not on the machine we should just pull
it. nobody that I'm aware of uses kube-registry-proxy and it makes build/deployment
more complicated and slower.
2016-04-05 07:32:07 -07:00
k8s-merge-robot
b8d000853e
Merge pull request #21617 from luxas/hyperkube_for_arm
...
Automatic merge from submit-queue
Cross-build hyperkube and debian-iptables for ARM. Also add a flannel image
We have to be able to build complex docker images too on `amd64` hosts.
Right now we can't build Dockerfiles with `RUN` commands when building for other architectures e.g. ARM.
Resin has a tutorial about this here: https://resin.io/blog/building-arm-containers-on-any-x86-machine-even-dockerhub/
But it's a bit clumsy syntax.
The other alternative would be running this command in a Makefile:
```
# This registers in the kernel that ARM binaries should be run by /usr/bin/qemu-{ARCH}-static
docker run --rm --privileged multiarch/qemu-user-static:register --reset
```
and
```
ADD https://github.com/multiarch/qemu-user-static/releases/download/v2.5.0/x86_64_qemu-arm-static.tar.xz /usr/bin
```
Then the kernel will be able to differ ARM binaries from amd64. When it finds a ARM binary, it will invoke `/usr/bin/qemu-arm-static` first and lets `qemu` translate the ARM syscalls to amd64 ones.
Some code here: https://github.com/multiarch
WDYT is the best approach? If registering `binfmt_misc` in the kernels of the machines is OK, then I think we should go with that.
Otherwise, we'll have to wait for resin's patch to be merged into mainline qemu before we may use the code I have here now.
@fgrzadkowski @david-mcmahon @brendandburns @zmerlynn @ixdy @ihmccreery @thockin
2016-04-04 22:03:32 -07:00
k8s-merge-robot
ce988c8d75
Merge pull request #23817 from matjohn2/pr_cni_vagrant
...
Automatic merge from submit-queue
support NETWORK_PROVIDER=cni for KUBERNETES_PROVIDER=vagrant
While trying to develop CNI plugins for K8's, I found the docs referenced the support of --network-plugin=cni for kubelet, but this wasn't surfaced up via salt to support env NETWORK_PROVIDER=cni before a kube-up deployment.
This PR is my attempt at adding CNI support to the kube-up happy path, following a lot of similar work for NETWORK_PROVIDER=kubenet which already exists.
Also, I've added the ability to consume CNI plugin's (binaries) and configuration files from the local cluster/network-plugins directory into the necessary locations as referenced here for CNI:
http://kubernetes.io/docs/admin/network-plugins
This allows a local developer to easily work on CNI plugin development while following the existing kube-up.sh docs and process.
In general, i've struggled to find any authoritative information or answers to my questions in slack regarding CNI progress / correct integration, so comments encouraged here!
2016-04-04 14:30:22 -07:00
k8s-merge-robot
6173c43c80
Merge pull request #23724 from maciaszczykm/dashboard-release-v1.0.1
...
Automatic merge from submit-queue
Update Dashboard UI addon to v1.0.1
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.1
CC @bryk
2016-04-04 14:30:20 -07:00
Lucas Käldström
560268e036
Add a flannel image for arm and amd64. Cross-build debian-iptables for arm, arm64 and ppc64le. Build and push hyperkube for arm on every release
2016-04-04 23:33:32 +03:00
derekwaynecarr
9e0ebc2773
Remove SecurityContextDeny from vagrant setup
2016-04-04 14:43:21 -04:00
Matt Johnson
ce220836c3
Allow for local CNI binaries and configuration files with KUBERNETES_PROVIDER=vagrant.
...
Files are taken from cluster/network-plugins/{bin,conf} to be consumed within a vagrant kube-up.sh environment.
Paths used for configuration files and the 'cni' name of the network provider are all from the kubernetes documentation, but the actual implementation in the salt automation doesn't seem to exist.
2016-04-04 14:38:00 +01:00
Matt Johnson
46e6df655f
Support use of NETWORK_PROVIDER=cni with KUBERNETES_PROVIDER=vagrant for a kube-up.
...
Use of NETWORK_PROVIDER=cni is documented as useable (as well as it's affects on the runtime args of kubelet),
however the actual implimentation in the salt automation doesnt seem to exist.
this change attempts to fix that for the vagrant usecase.
2016-04-04 14:37:48 +01:00
Marcin Maciaszczyk
7250028484
Update Dashboard UI addon to v1.0.1
...
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.1
2016-04-04 09:13:31 +02:00
k8s-merge-robot
5be819b607
Merge pull request #23612 from mikedanese/addon-fix
...
Automatic merge from submit-queue
use apply instead of create to setup namespaces and tokens in addon manager
when the addon manager restarts, it takes ~15 minutes (1000 seconds) to start the sync loop because it retries creation of namespace and tokens 100 times. Create fails if the tokens already exist. Just use apply.
2016-04-03 05:50:12 -07:00
k8s-merge-robot
47bcf37198
Merge pull request #23045 from justinsb/aws_bump_image_20160316
...
Automatic merge from submit-queue
AWS kube-up: Bump jessie image
2016-04-03 03:47:34 -07:00
k8s-merge-robot
b448825211
Merge pull request #23603 from mikedanese/dont-create-secret-for-dns
...
Automatic merge from submit-queue
stop creating secrets for dns, it uses the kube-system service account now
2016-04-02 17:20:52 -07:00
k8s-merge-robot
372c1647b8
Merge pull request #23440 from mbruzek/juju-kube-up
...
Automatic merge from submit-queue
Juju kube up
I found some problems with the kube-up script that this pull request addresses. We didn't have the kubectl binary in the correct location.
Just changing where we download the package from the master, and fixing the kube-down.sh script to remove those files.
2016-04-02 08:19:26 -07:00
Andrew Johnstone
06c04d17ce
#23784 - check elb vpc key exists
2016-04-02 11:03:26 +01:00
Justin Santa Barbara
f43f398cad
AWS kube-up: Allow BLOCK_DEVICE_MAPPINGS_BASE to be empty
...
We rename it to EPHEMERAL_BLOCK_DEVICE_MAPPINGS, and we also change the value
so that it starts with a `,`, instead of always inserting a comma before it.
In this way the value can be empty.
Also, if the user sets the (currently experimental) KUBE_AWS_STORAGE
environment variable to be "ebs", then we will not mount any instance storage
which will cause the machines to use EBS storage instead.
2016-04-01 22:27:28 -04:00
Justin Santa Barbara
1c3f706383
AWS: Don't error if there are no ephemeral disks
...
format-disks used to run with non-strict bash semantics, but this changed in
1.2 as we now merge it into the GCE script, so pipefail and errexit are both
set.
However, the way we list the ephemeral disks, by piping to grep, would cause an
exit code of 2 if there were no ephemeral disks.
Tolerate failure here by add `|| true`. The metadata service call is unlikely
to fail, so we continue to ignore that possibility.
2016-04-01 22:27:20 -04:00
Justin Santa Barbara
d54a7f03c6
AWS kube-up: default some variables to empty, to avoid warnings
...
The warnings printed were harmless, but they are not obviously so.
2016-04-01 22:26:51 -04:00
k8s-merge-robot
1521aa8a86
Merge pull request #23550 from luxas/fix_hyperkube_certs
...
Automatic merge from submit-queue
Fix so setup-files don't recreate/invalidate certificates that already exist
Fixes : #23197 and a lot of other DNS and dashboard issues
This is quite critical for `docker`-based users and should be considered as a **cherrypick-candidate** as it makes a lot of people wonder why Dashboard and/or DNS doesn't work. Example: https://github.com/kubernetes/dashboard/issues/374
Earlier when you shut your `docker.md` cluster down and started it again, all ServiceAccounts became invalidated by `setup-files` that happily ran once again and replaced all files. That made `apiserver` and `controller-manager` pick up the new certs (or there was a race condition, they _could_ have picked up the old certs too, but that's unlikely) and the old certs were put into `/var/run/secrets` because the ServiceAccount's Secrets were stored in etcd, which `setup-files` didn't touch.
@fgrzadkowski @huggsboson @thockin @mikedanese @vishh @pwittrock @eparis @bgrant0607
2016-04-01 14:47:17 -07:00
Lucas Käldström
858b9539d5
Fix so setup-files don't recreate/invalidate certificates that already exist
2016-04-01 21:23:58 +03:00
Matt Bruzek
64d849e4bb
Unzipping the kubectl package to platforms so the validation script can find kubectl.
2016-04-01 13:19:17 -05:00
k8s-merge-robot
c6e995a824
Merge pull request #23558 from andyzheng0831/enhance
...
Automatic merge from submit-queue
Trusty: Regional release .tar.gz support
@zmerlynn and @roberthbailey please review it. This change is to support the feature added in PR #22234 . The entire logic is pretty much the same as in #22234 , with only few minor changes in implementation.
I had manually run e2e tests with "export RELEASE_REGION_FALLBACK=true" on two clusters: (1) Trusty on master nodes on ContainerVM; (2) Master and nodes all on trusty. All tests are green. I don't figure out a way to simulate regional fallback. But I did test the function download_or_bust() out-of-box.
cc/ @wonderfly @dchen1107 @fabioy FYI.
2016-04-01 03:39:08 -07:00
Alex Robinson
7135754f93
Merge pull request #23504 from mml/mb
...
Stop swallowing stdout and stderr when we check for the staging bucket.
2016-03-31 14:39:46 -07:00
huggsboson
99c79d1ccf
Fixes #23153 .
...
Sadly, kube-system isn't automatically created, so people need to make
sure to create it in their turnup scripts. Also after creating
kube-system it can take 10+ seconds for master and proxy to show up.
I tested the equivalent of these changes locally, but not these changes
themselves as I don't have a dev/build env up, so please read carefully
and maybe try them out!
Use kubectl create ns
2016-03-31 14:07:31 -07:00
Minhan Xia
d026d7ecbc
Update cni binary
2016-03-31 13:57:51 -07:00
Alex Robinson
b60ef6f0dd
Merge pull request #23593 from dchen1107/docker
...
Remove unnecessary override of /etc/init.d/docker on containervm image.
2016-03-31 13:31:52 -07:00
Alex Robinson
d41d50547d
Merge pull request #23662 from ArtfulCoder/dockerscript
...
make docker-checker more robust
2016-03-31 10:53:39 -07:00
Abhishek Shah
736c02c7a0
make docker-checker more robust
2016-03-31 10:07:37 -07:00
Ross Kukulinski
0cf0bb00cd
Add KUBERNETES_RELEASE option to get-kube.sh
2016-03-31 12:41:55 -04:00
CJ Cullen
26a6c66de5
Change kube-proxy & fluentd CPU request to 20m/80m.
2016-03-30 18:14:24 -07:00
Roman Dembitsky
2117c068bb
added vagrant vsphere support
...
updated vsphere-dummy box for the vagrant vsphere using vagrant vsphere plugin
added solution for cases when the NETWORK_IF_NAME was left empty
2016-03-30 22:55:08 +03:00
k8s-merge-robot
be8ce6c385
Merge pull request #23353 from spiffxp/conformance-docs
...
Automatic merge from submit-queue
Update conformance test policy
Addresses #14913
/cc @kubernetes/sig-testing
2016-03-30 06:21:13 -07:00
k8s-merge-robot
c327879771
Merge pull request #23512 from Q-Lee/nanny-fix
...
Automatic merge from submit-queue
Create a new Deployment in kube-system for every version.
It appears that version numbers have already been properly added to these files. Small change to delete an old deployment entirely, so we can make a new one per version (like replication controllers).
We'll want to change this back once the kube-addons support deployments in a later version.
2016-03-29 20:59:46 -07:00
Mike Danese
ffa8bbde72
use apply instead of create to setup namespaces and tokens in addon manager
2016-03-29 16:41:53 -07:00
Mike Danese
0a821a473d
stop create secrets for dns, it uses the kube-system service account now
2016-03-29 14:27:28 -07:00
Quintin Lee
0dcd49d584
Create a new Deployment in kube-system for every version.
2016-03-29 13:26:36 -07:00
Dawn Chen
c5ac60f584
Remove unnecessary override of /etc/init.d/docker on containervm image.
2016-03-29 12:35:13 -07:00
Andy Zheng
a83f11c484
Trusty: Regional release .tar.gz support
2016-03-28 15:21:14 -07:00
k8s-merge-robot
299de8e53c
Merge pull request #23434 from andyzheng0831/kube-addon
...
Auto commit by PR queue bot
2016-03-27 21:48:47 -07:00
Lucas Käldström
2928d0a8ec
Up to golang 1.6
2016-03-27 17:17:04 +03:00
k8s-merge-robot
3ec9f1e0a1
Merge pull request #23312 from mikedanese/static-routes-salt
...
Auto commit by PR queue bot
2016-03-26 12:29:40 -07:00
k8s-merge-robot
23fc7905c1
Merge pull request #23466 from andyzheng0831/fix
...
Auto commit by PR queue bot
2016-03-26 04:01:49 -07:00
Matt Liggett
300855c5bb
Stop swallowing stdout and stderr when we check for the staging bucket.
...
Should help debug #23461
2016-03-25 15:01:21 -07:00
Andy Zheng
364ac85179
Support differentiation of OS distro in e2e tests
2016-03-25 14:53:36 -07:00
Yaroslav Molocko
0bfc496496
fix for https://github.com/kubernetes/kubernetes/issues/13511
2016-03-25 22:29:09 +08:00
k8s-merge-robot
3c58510826
Merge pull request #23316 from mikedanese/cadvisor-salt
...
Auto commit by PR queue bot
2016-03-25 06:17:16 -07:00
k8s-merge-robot
9b768e270f
Merge pull request #23407 from jimmyjones2/patch-1
...
Auto commit by PR queue bot
2016-03-25 03:48:26 -07:00
Piotr Szczesniak
bf78d3a54b
Bumped Heapster to v1.1.0-beta1
2016-03-25 10:43:32 +01:00
k8s-merge-robot
4e4ad61260
Merge pull request #23366 from goltermann/vet
...
Auto commit by PR queue bot
2016-03-24 21:50:56 -07:00
Mike Danese
be5b669b45
remove cadvisor salt
...
We have been removing cadviosr.manifest for over a year to cleanup
the old deployment style. I think we are ok at this point.
2016-03-24 11:55:29 -07:00
Andy Zheng
bfd68b35d8
Trusty: Update heapster manifest handling code
2016-03-24 09:22:30 -07:00
k8s-merge-robot
f8bb10b479
Merge pull request #22818 from andyzheng0831/enhance
...
Auto commit by PR queue bot
2016-03-23 16:19:31 -07:00
Jimmy Jones
b26f5016b2
Add git to hypekube image
...
Fixes #15855 - when using a docker multinode setup, this makes gitRepo volumes work
2016-03-23 23:00:01 +00:00
k8s-merge-robot
69b3cb36a6
Merge pull request #22726 from chuckbutler/juju-import-layers
...
Auto commit by PR queue bot
2016-03-23 14:26:42 -07:00
Charles Butler
cc1fb15ef7
Updating documentation link to point to k8s.io/docs/
2016-03-23 12:26:37 -04:00
Charles Butler
54050dbaef
Fetch the guestbook action from master for now
2016-03-23 12:22:39 -04:00
Charles Butler
b014c0d6b7
Move to the ~containers namespace etcd
2016-03-23 12:22:10 -04:00
Charles Butler
dafc78b489
Removing the duplicated guestbook example files
2016-03-23 12:21:01 -04:00
k8s-merge-robot
53c542606d
Merge pull request #23126 from rata/api-version-deprecated
...
Auto commit by PR queue bot
2016-03-23 04:53:02 -07:00
k8s-merge-robot
cba5efd7de
Merge pull request #23311 from mikedanese/nginx-salt
...
Auto commit by PR queue bot
2016-03-23 04:14:17 -07:00
k8s-merge-robot
76369c42be
Merge pull request #22939 from resouer/util-sub-dir
...
Auto commit by PR queue bot
2016-03-23 03:34:33 -07:00
goltermann
34d4eaea08
Fixing several (but not all) go vet errors. Most are around string formatting, or unreachable code.
2016-03-22 17:26:50 -07:00
Miguel Flores Ruiz de Eguino
485aa7faba
Allow to configure the base VPC CIDR
2016-03-22 16:50:16 -06:00
Quintin Lee
0c22277020
Use the same constants as heapster for the heapster nanny.
2016-03-22 13:17:06 -07:00
Quintin Lee
c484563315
Removing versions from deployment names.
2016-03-22 13:17:06 -07:00
Quintin Lee
79f0cc25e8
Support addon Deployments, make heapster a deployment with a nanny.
2016-03-22 13:17:06 -07:00
Aaron Crickenberger
0dc1f5da04
Update conformance test policy
...
Mostly doc updates and cruft removal
- describe conformance test policy and howto in e2e-tests.md
- rm e2e test info from testing.md in the name of DRY
- rm cluster/test-conformance.sh; unusable in release tar, not e2e.go
- update e2e test link in write-a-getting-started-guide.md
2016-03-22 13:09:31 -07:00
k8s-merge-robot
d221649429
Merge pull request #22845 from ZhangZhenhua/eliminate-roles-ambiguity
...
Auto commit by PR queue bot
2016-03-21 21:30:15 -07:00
k8s-merge-robot
4d98abf26c
Merge pull request #23313 from zmerlynn/container-vm-v20160321
...
Auto commit by PR queue bot
2016-03-21 20:55:33 -07:00
Zach Loafman
b2cf4b8c11
Bump to container-vm-v20160321
2016-03-21 17:42:34 -07:00
Mike Danese
c676f8dabb
remove unused static-routes from salt
2016-03-21 17:38:08 -07:00
k8s-merge-robot
f2d14990a5
Merge pull request #23180 from roberthbailey/dead-code
...
Auto commit by PR queue bot
2016-03-21 17:30:22 -07:00
Mike Danese
172d4e27f1
remove unused nginx salt
...
'aws', 'gce', 'vagrant', 'vsphere' are all the cloud providers
2016-03-21 17:25:31 -07:00
k8s-merge-robot
4d41bd5c05
Merge pull request #22915 from aledbf/fix-sed-mac
...
Auto commit by PR queue bot
2016-03-21 08:42:58 -07:00
gmarek
db77843bf0
Remove EXIT_ON_WEAK_ERROR variable
2016-03-21 12:22:03 +01:00
Andy Zheng
0a8e68fb49
Trusty: Avoid reaching GCE custom metadata size limit
2016-03-20 10:22:50 -07:00
Andy Zheng
2ea9ef53f3
Trusty: Support hybrid cluster with nodes on ContainerVM
2016-03-19 22:47:35 -07:00
k8s-merge-robot
c2200fe011
Merge pull request #23206 from MikeTest42/download1.2
...
Auto commit by PR queue bot
2016-03-19 06:00:06 -07:00
Mike Spreitzer
2712b77652
Change default k8s version to download to 1.2.0
...
Since it is now out!
2016-03-18 11:41:11 -04:00
Robert Bailey
c5ca042ede
Remove the restart-kube-proxy and restart-apiserver functions
...
since neither are used any longer.
2016-03-18 01:49:01 -07:00
ZhenhuaZhang
496ed99cea
declear roles as roles_array internally when installing on ubuntu
...
There are actually two `roles` setting in ubuntu installation scripts.
One is roles as string, which can be set as env and then used in scripts.
The other is roles as array, which is used by internal handling to
locate specific role by offset.
This patch tries to distinguish roles meaning by declearing the second
as roles_array, thus eliminating its ambiguity.
2016-03-18 14:59:43 +08:00
Cole Mickens
c184f7ed21
kube2sky readme: fix flags
2016-03-17 21:59:07 -07:00
Rodrigo Campos
902a04d637
validate-cluster.sh: Don't use ignored and deprecated option '--api-version'
...
When using this flag, this error is shown:
Flag --api-version has been deprecated, flag is no longer respected and will be deleted in the next release
Stop using the flag in the validate-cluster.sh script and avoid the warning.
2016-03-17 12:49:21 -03:00
k8s-merge-robot
e604efcf0d
Merge pull request #23027 from justinsb/e2e_node_logs
...
Auto commit by PR queue bot
2016-03-17 00:38:08 -07:00
k8s-merge-robot
5cc2bb3c0c
Merge pull request #22960 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2016-03-16 20:59:31 -07:00
k8s-merge-robot
067b1323d3
Merge pull request #23068 from colemickens/azure-cluster
...
Auto commit by PR queue bot
2016-03-16 14:19:55 -07:00
Cole Mickens
ba2aa597f0
azure: add kube-down, remove need for tenant-id
2016-03-16 12:02:41 -07:00
Charles Butler
fb2f952867
fixing for jinja2 syntax
2016-03-16 14:25:26 -04:00
Charles Butler
0c86318b7d
Changes made by running hack/update-generated-docs.sh
2016-03-16 14:25:26 -04:00
Charles Butler
ce5a189234
Fix file headers for License bot
2016-03-16 14:25:26 -04:00
Charles Butler
ba113ea30b
Rework cluster/juju
to reflect current work
...
This commit imports the latest development focus from the Charmer team
working to deliver Kubernetes charms with Juju.
Notable Changes:
- The charm is now assembled from layers in $JUJU_ROOT/layers
- Prior, the juju provider would compile and fat-pack the charms, this
new approach delivers the entirety of Kubernetes via hyperkube.
- Adds Kubedns as part of `cluster/kube-up.sh` and verification
- Removes the hard-coded port 8080 for the Kubernetes Master
- Includes TLS validation
- Validates kubernetes config from leader charm
- Targets Juju 2.0 commands
2016-03-16 14:25:26 -04:00
Charles Butler
a750bf667f
Wipe the old charm(s)
2016-03-16 14:25:26 -04:00
gmarek
ddb75f5130
Use get-mater-size function in kubemark config
2016-03-16 17:38:55 +01:00
Justin Santa Barbara
bb68f740cd
AWS kube-up: collect logs from e2e
...
By implementing detect-node-names and a few other helpers, we are able
to collect the logs from nodes.
2016-03-16 11:48:07 -04:00
Justin Santa Barbara
243e97c94c
AWS kube-up: Bump jessie image
...
Also switch to a dedicated AWS account for serving this image.
2016-03-16 07:51:41 -04:00
Piotr Szczesniak
65e41f138b
Updated documentation about monitoring addons
2016-03-16 10:10:55 +01:00
Andy Zheng
e276c8e468
Trusty: support developer workflow on base image
2016-03-15 22:07:08 -07:00
k8s-merge-robot
8313504728
Merge pull request #23005 from andyzheng0831/fix
...
Auto commit by PR queue bot
2016-03-15 16:21:44 -07:00
Andy Zheng
6597daddd6
Trusty: Fix heapster breakage caused by #22940
2016-03-15 13:26:04 -07:00
Phillip Wittrock
70036b3621
Merge pull request #22993 from piosz/bump-heapster-1.0
...
Bumped Heapster to stable version 1.0.0
2016-03-15 12:49:54 -07:00
Piotr Szczesniak
1f577181af
Bumped Heapster to stable version 1.0.0
2016-03-15 17:44:23 +01:00
Justin Santa Barbara
e0caa1e559
non_masquerade_cidr: verify-flags exception, salt syntax
...
Cope is non_masquerade_cidr value is empty; add exception for
verify-flags.
2016-03-15 11:05:55 -04:00
Matt Margolin
e752f2149f
Enable non_masquerade_cidr option configured in salt.grains
...
This should allow allow the non_masquerade_cidr option to get configured
in /etc/salt/minion.d/grains.conf, allowing the flag to used by kubelet
in /etc/sysconfig/kubelet. Default configuration is set in pillar
2016-03-15 09:56:33 -04:00
Andy Zheng
ab20a9adbe
Trusty: Fix node kubelet pod-cidr flag
2016-03-14 21:09:21 -07:00
Marcin Wielgus
6123df9992
Heapster sizing adjustments
2016-03-14 20:00:17 +01:00
harry
f19d59cf35
Move flag into sub pkg
2016-03-14 21:30:38 +08:00
gmarek
c325319ccb
Default MIG size to 1000
2016-03-14 12:21:14 +01:00
k8s-merge-robot
9f213bf145
Merge pull request #22901 from zmerlynn/cleanup_motd
...
Auto commit by PR queue bot
2016-03-14 00:05:46 -07:00
Manuel de Brito Fontes
a2b4bc0ae3
Allow running make in mac and change sed separator to allow custom paths in registry
2016-03-12 22:59:08 -03:00
k8s-merge-robot
60f5508aad
Merge pull request #22882 from andyzheng0831/trusty-master
...
Auto commit by PR queue bot
2016-03-12 17:12:51 -08:00
Zach Loafman
634c5a9ff0
Cleanup /etc/motd after doc link shift
2016-03-12 12:57:30 -08:00
k8s-merge-robot
f56207bd5f
Merge pull request #22674 from mml/kube-up-up-and-away
...
Auto commit by PR queue bot
2016-03-12 00:39:33 -08:00
Andy Zheng
10d9f72341
Trusty: fix several bugs
2016-03-11 21:29:50 -08:00
k8s-merge-robot
353c382761
Merge pull request #22783 from justinsb/fix_21147
...
Auto commit by PR queue bot
2016-03-11 17:08:17 -08:00
k8s-merge-robot
fc40fad0b2
Merge pull request #22779 from justinsb/fix_21218
...
Auto commit by PR queue bot
2016-03-11 16:32:35 -08:00
k8s-merge-robot
0af90c1920
Merge pull request #22851 from piosz/heapster-1.0beta
...
Auto commit by PR queue bot
2016-03-11 13:03:17 -08:00
Brian Grant
1a1a77d0ab
Merge pull request #22564 from ArtfulCoder/dnsdoc
...
Update DNS document to talk about the new Pod and Endpoints Annotations to set hostname
2016-03-11 12:19:38 -08:00
k8s-merge-robot
574ac0b0d1
Merge pull request #22730 from yeasy/patch-2
...
Auto commit by PR queue bot
2016-03-11 07:47:54 -08:00
k8s-merge-robot
7b75495d56
Merge pull request #22835 from spxtr/fix-ssh
...
Auto commit by PR queue bot
2016-03-11 04:42:50 -08:00
Piotr Szczesniak
03656afd2a
Bumped Heapster to v1.0.0-beta1
2016-03-11 13:38:32 +01:00
k8s-merge-robot
1f98ba99f1
Merge pull request #22846 from wojtek-t/fix_master_size
...
Auto commit by PR queue bot
2016-03-11 01:38:11 -08:00
Wojciech Tyczynski
46994a6890
Fix AWS default master sizes
2016-03-11 09:45:22 +01:00
spxtr
26f77d2ec5
Use SCP to dump logs and parallelize a bit.
2016-03-10 23:04:48 -08:00
k8s-merge-robot
45fff81123
Merge pull request #22801 from piosz/heapster
...
Auto commit by PR queue bot
2016-03-10 14:03:54 -08:00
k8s-merge-robot
dec124bd57
Merge pull request #22805 from NeilHanlon/master
...
Auto commit by PR queue bot
2016-03-10 13:22:32 -08:00
k8s-merge-robot
31903c8bb1
Merge pull request #22594 from justinsb/aws_ulite
...
Auto commit by PR queue bot
2016-03-10 10:15:28 -08:00
Neil Hanlon
df7f55f616
Fix typo of "attempts" in vsphere util.sh during checks.
2016-03-10 13:05:19 -05:00
k8s-merge-robot
1460f24746
Merge pull request #22744 from sdminonne/libvirt_coreos
...
Auto commit by PR queue bot
2016-03-10 09:36:19 -08:00
Piotr Szczesniak
dda0c96f0b
Bumped Heapster to v0.20.0-alpha12
2016-03-10 18:25:51 +01:00
Justin Santa Barbara
6678a3f013
AWS kube-up: add retries around delete-security-group
...
If we deleted an ELB, we often fail to delete the security group,
because deleting the ELB is invisibly asynchronous.
Add a retry loop around delete-security-group to work around this.
Fix #21147
2016-03-10 06:38:48 -05:00
Justin Santa Barbara
562f7f1f71
AWS kube-up: Clean up distro handling
...
The only tested-working distros are vivid, wily & jessie.
vivid should not really be used because it is no longer supported, so
recommend wily or jessie instead.
For other distros, recommend jessie instead.
Fix #21218
2016-03-10 06:29:20 -05:00
Salvatore Dario Minonne
a313f552b4
libvirt_coreos: Add DNS and reaise loglevel
2016-03-10 10:28:46 +01:00
k8s-merge-robot
36cb9d05ea
Merge pull request #22728 from spxtr/tidy-shell
...
Auto commit by PR queue bot
2016-03-09 13:59:13 -08:00
k8s-merge-robot
ea4280a814
Merge pull request #22670 from spxtr/ssh-timeout
...
Auto commit by PR queue bot
2016-03-09 09:18:18 -08:00
yeasy
d250b00add
Fix word typo
...
envitonment --> environment
2016-03-09 10:17:54 +08:00
Joe Finney
9845639e14
Remove cluster/kube-env.sh.
2016-03-08 16:57:31 -08:00
Joe Finney
401985bf6c
Move KUBERNETES_PROVIDER setting into cluster/kube-util.sh.
2016-03-08 16:51:20 -08:00
Joe Finney
e8fda8c9e8
Remove kube_server_version from cluster/kube-env.sh.
2016-03-08 16:07:04 -08:00
k8s-merge-robot
aaf31ac8dc
Merge pull request #22709 from mikedanese/enable-master
...
Auto commit by PR queue bot
2016-03-08 12:29:52 -08:00
k8s-merge-robot
75699ff5ea
Merge pull request #22458 from bprashanth/ing_tls_e2e
...
Auto commit by PR queue bot
2016-03-08 11:53:56 -08:00
Mike Danese
2d3b8ab1eb
enable master kubelet in gce-default to match gce-test
2016-03-08 11:14:15 -08:00
k8s-merge-robot
43aa3d34ab
Merge pull request #18338 from gmarek/register-kubelet
...
Auto commit by PR queue bot
2016-03-08 11:10:36 -08:00
bryk
d4c4e7c22c
Update Dashboard UI addon to v1.0.0
...
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.0
2016-03-08 10:21:36 +01:00
Prashanth Balasubramanian
c76f1ab766
Bump glbc version.
2016-03-07 20:20:08 -08:00
Abhishek Shah
11327de8db
Update Kubernetes DNS document to talk about the new Pod and Endpoints Annotations to set hostname
2016-03-07 18:37:30 -08:00
Joe Finney
4fdadbb132
Add a simple SSH test before attempting to gather logs in log-dump.sh.
2016-03-07 16:42:08 -08:00
Matt Liggett
8ff06732c1
Set a default value for "$@" in yaml-quote.
...
This appears to be a bash variation that causes spurious warnings on OS
X.
2016-03-07 14:40:03 -08:00
Joe Finney
e660adbad8
Add connect timeout to ssh-to-node.
2016-03-07 13:29:04 -08:00
k8s-merge-robot
5191cfc415
Merge pull request #20931 from gswallow/master
...
Auto commit by PR queue bot
2016-03-07 06:18:53 -08:00
k8s-merge-robot
8d80af4a82
Merge pull request #22630 from mzupan/patch-1
...
Auto commit by PR queue bot
2016-03-07 05:43:40 -08:00
Mike Zupan
dc643d2592
Fixing a simple typo
2016-03-06 23:49:35 -08:00
Andy Zheng
0df50b702a
Support regional registries in clusters on Trusty
2016-03-06 13:53:24 -08:00
k8s-merge-robot
bc96422e23
Merge pull request #22571 from zmerlynn/regional-registry
...
Auto commit by PR queue bot
2016-03-06 13:21:19 -08:00
k8s-merge-robot
e5a908c898
Merge pull request #22476 from ixdy/cluster-logs
...
Auto commit by PR queue bot
2016-03-05 23:06:29 -08:00
k8s-merge-robot
c666b7f6a6
Merge pull request #22595 from justinsb/aws_fix_jessie_reboot
...
Auto commit by PR queue bot
2016-03-05 16:49:34 -08:00
Justin Santa Barbara
523e1d0d8c
Ubernetes-Lite: reuse existing configuration when reusing master
...
In particular, we need to share the kubelet cert & key, otherwise we
can't connect to the kube-api.
Fix #22593
2016-03-05 17:00:02 -05:00
Justin Santa Barbara
0d8d63c288
AWS: Update jessie image, to fix reboot issue
...
The previous jessie image had a broken cloud-init, which would use an
Ubuntu-specific 'nobootwait' argument when mounting disks. We now
override that in the image.
Fix #22549
2016-03-05 16:57:57 -05:00
k8s-merge-robot
4643ac46a3
Merge pull request #22546 from MikeSpreitzer/issue/22139
...
Auto commit by PR queue bot
2016-03-05 11:27:02 -08:00
k8s-merge-robot
0a21fa06d9
Merge pull request #22539 from a-robinson/newf
...
Auto commit by PR queue bot
2016-03-05 08:26:59 -08:00
k8s-merge-robot
886c943379
Merge pull request #22367 from a-robinson/requests
...
Auto commit by PR queue bot
2016-03-05 06:18:14 -08:00
k8s-merge-robot
d869dd0121
Merge pull request #22357 from ncdc/job-hpa-update-storage-test
...
Auto commit by PR queue bot
2016-03-05 05:45:33 -08:00
k8s-merge-robot
271784e5fa
Merge pull request #21167 from andyzheng0831/trusty-release
...
Auto commit by PR queue bot
2016-03-05 01:57:52 -08:00
k8s-merge-robot
4c09c84c75
Merge pull request #22249 from ZhangZhenhua/ubuntu-deployment-fix
...
Auto commit by PR queue bot
2016-03-05 01:25:41 -08:00
Cole Mickens
063cf83a72
respond to davidopp's feedback
...
also:
- adds a mechanism to build and upload hyperkube for non-official
releases
- adds a mechanism for proxying azkube's traffic
- --no-cloud-provider for now
- support specifying the resource group for CI scenarios
2016-03-05 00:19:58 -08:00
Cole Mickens
a9448d0d56
cluster/azure: kube-up works; validation succeeds
2016-03-05 00:17:05 -08:00
k8s-merge-robot
57c944caa2
Merge pull request #22434 from justinsb/aws_docker_babysitter
...
Auto commit by PR queue bot
2016-03-04 21:52:03 -08:00
Zach Loafman
60e1fccc7f
Regional registries: Hack the manifests!
...
Allow the gcr.io/google_containers registry to be overridden
regionally by just blasting a new KUBE_ADDON_REGISTRY out. Instead of
adding every addon to Salt and asking all of the other consumers
(Trusty, Juju, Mesos, etc) to change, just script the sed ourselves.
This is probably the 9th grossest thing I've ever done, but it works
well, and it works quickly. I kind of wish it didn't.
2016-03-04 20:00:54 -08:00
Abhi Shah
506f4d2212
Merge pull request #22551 from dchen1107/test1
...
Enable --log-level=info for docker daemons for scalability jenkins jo…
2016-03-04 16:50:19 -08:00
Alex Robinson
3216204668
Update to the latest version of google-fluentd.
...
It includes some performance improvements for parsing JSON (which is
very important for us, since all Docker logs are JSON) as well as a
couple new settings, like forcing of a flush of multiline logs after a
time period rather than having to wait until a new log is seen before
feeling confident flushing the previous one.
2016-03-05 00:18:31 +00:00
Alex Robinson
4e729c6c7c
Reconfigure fluentd's resource limits and requests.
...
-Remove CPU limits to enable CPU bursting once 1.2 begins enforcing CPU limits.
-Add a memory limit for fluentd-es to match fluentd-gcp.
-Explicitly set requests to match limits.
2016-03-04 16:16:35 -08:00
k8s-merge-robot
23aa8565e2
Merge pull request #20851 from vmware/vsphere-docker-version-fix
...
Auto commit by PR queue bot
2016-03-04 15:50:36 -08:00
Abhi Shah
9bfd70f8f6
Merge pull request #20688 from ArtfulCoder/podhostname
...
Specify Pod hostname by Annotation
2016-03-04 15:17:34 -08:00
Andy Goldstein
156c1f3c5d
Test jobs/hpas in storage update
2016-03-04 17:05:39 -05:00
Abhi Shah
c47564f00b
Merge pull request #22542 from timstclair/heapster
...
Use the summary_api with heapster by default
2016-03-04 13:37:52 -08:00
Dawn Chen
fd10ca2f45
Enable --log-level=info for docker daemons for jenkins jobs and e2e tests except soak-continuous.
2016-03-04 13:31:42 -08:00
Abhishek Shah
a3c00aadd5
Specify hostname, subdomain via annotation on podspec.
...
The hostname is a DNS A record, if the subdomain maps to a service name
in the same namespace
2016-03-04 13:28:33 -08:00
Abhi Shah
df05c5ae7d
Merge pull request #22253 from bprashanth/kubedns
...
Wait on Kubernetes service in DNS pod
2016-03-04 12:50:05 -08:00
Andy Zheng
242b9977c7
Remove manifest copies from Trusty support
...
This change revises the way to provide kube-system manifests for clusters on Trusty. Originally, we maintained copies of some manifests under cluster/gce/trusty/kube-manifests, which is not scalable and hard to maintain. With this change, clusters on Trusty will use the same source of manifests as ContainerVM. This change also fixes some minor problems such as shell variables and comments to meet the style guidance better.
2016-03-04 11:16:49 -08:00
Abhi Shah
4d599ea309
Merge pull request #22261 from gmarek/kube-up
...
kube-up for GCE chooses master size based on number of nodes
2016-03-04 10:55:12 -08:00
Abhi Shah
f9c4b3db1e
Merge pull request #22493 from andyzheng0831/enhance
...
Fix a breakage of kubelet in Trusty
2016-03-04 10:50:03 -08:00
Abhi Shah
bfe4896b00
Merge pull request #22043 from roberthbailey/cluster-name
...
Add the GCE cluster name to instance metadata
2016-03-04 10:43:39 -08:00
Abhi Shah
05ba8ca7fa
Merge pull request #22170 from metmajer/master
...
Pass through EXTRA_DOCKER_OPTS.
2016-03-04 10:40:17 -08:00
Tim St. Clair
1d90394bf6
Use the summary_api with heapster by default
2016-03-04 10:37:00 -08:00
Abhi Shah
a20258efae
Merge pull request #22492 from vishh/heapster-update
...
Update heapster to v0.20.0.alpha11
2016-03-04 09:27:01 -08:00
Justin Santa Barbara
6bdab05d11
Salt: Don't use Salt to start Docker
...
Starting docker through Salt has always been problematic. Kubelet or
the babysitter process should start it. We've kept it around primarily
so we have a `service: docker` node for the Salt DAG.
Instead, we enable (but do not start) the Docker service in Salt. This
lets us keep the DAG node, but won't start it.
There's another bug in Salt, where watches will start the service even
on `service.enabled`. So we remove the watches, and move them to our
existing Salt bug-fix script.
2016-03-04 12:07:10 -05:00
Justin Santa Barbara
dbff0ef67b
Systemd/non-Redhat: Add docker healthcheck script
...
We do the equivalent of #21727 for systemd systems.
Issue #21731
2016-03-04 12:05:52 -05:00
Justin Santa Barbara
64f1cbaddd
Systemd/non-Redhat: Add docker prestart file
...
We do the equivalent of #21727 for systemd systems.
Issue #21731
2016-03-04 12:05:52 -05:00
Justin Santa Barbara
d074b5ba13
docker systemd file: type->notify, docs->https
...
This minimizes the changes we make to the official Docker systemd file.
2016-03-04 12:05:52 -05:00
Alex Robinson
29eb6020fb
Merge pull request #22074 from a-robinson/images
...
Update the logging images to parse sub-second docker timestamps.
2016-03-04 09:04:33 -08:00
k8s-merge-robot
49f438bfac
Merge pull request #21972 from olivierlemasle/fix-21746
...
Auto commit by PR queue bot
2016-03-04 06:00:18 -08:00
k8s-merge-robot
09313b0847
Merge pull request #22254 from vmware/vsphere-pod-cidr-fix
...
Auto commit by PR queue bot
2016-03-04 04:17:44 -08:00
k8s-merge-robot
6d690d3f8a
Merge pull request #21904 from justinsb/salt_docker_install_fix
...
Auto commit by PR queue bot
2016-03-03 22:07:14 -08:00
Jeff Lowdermilk
93e14a63e8
Revert "Enable --log-level=info for docker daemons for scalability jenkins jo…"
2016-03-03 19:21:11 -08:00
Andy Zheng
e077ebf874
Fix a breakage of kubelet in Trusty
...
The kubelet flag "nosystem" was removed recently, which breaks kubelet in Trusty. This changes remove the flag usage accordingly. It also revises several aspects of Trusty support to make it in the same page as running on ContainerVM, such as new flags in kubelet and new logic in api-server and etcd pods.
2016-03-03 17:19:00 -08:00
Vishnu kannan
60fadb3fe5
Update heapster to v0.20.0.alpha11
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-03 16:50:09 -08:00
Jeff Lowdermilk
7215860ecd
Merge pull request #22453 from dchen1107/test1
...
Enable --log-level=info for docker daemons for scalability jenkins jo…
2016-03-03 16:29:34 -08:00
Prashanth Balasubramanian
8de2fbfa0a
Kube2sky synchronously waits for the Kubernetes service.
2016-03-03 15:49:46 -08:00
Jeff Grafton
d70c516d4f
Remove log collection code in cluster/gce/util.sh.
...
Also update some docs to mention cluster/log-dump.sh.
2016-03-03 15:28:33 -08:00
Jeff Lowdermilk
5fd2de1d1e
Merge pull request #22394 from zmerlynn/display_licenses
...
Show LICENSES in /etc/motd
2016-03-03 15:20:24 -08:00
Robert Bailey
30b78e4d7f
Add the GCE cluster name to instance metadata.
2016-03-03 13:57:31 -08:00
Jeff Lowdermilk
73479d5209
Merge pull request #22441 from thockin/flake-22244-gce-static-ip
...
Check static IP postcondition if op fails
2016-03-03 11:38:50 -08:00
Dawn Chen
84689a7a69
Enable --log-level=info for docker daemons for scalability jenkins job and e2e test.
2016-03-03 11:11:56 -08:00
Alex Robinson
feea376b5c
Update the logging images to parse sub-second docker timestamps.
2016-03-03 10:21:30 -08:00
Tim Hockin
6dca871693
Check static IP postcondition if op fails
2016-03-03 08:20:12 -08:00
Justin Santa Barbara
4ce0f8ccec
Salt: bypass Salt when installing docker package on debian
...
The Docker 1.9.1 package on Debian is broken, and the service fails to
install when run unattended. This is treated as an installation failure
and causes everything to fail.
However, the service can be started by Salt once we're not installing
the package, and indeed we restart docker anyway.
So, on Debian, use a helper script to install the docker package. The
script sets up a policy-rc.d file to prevent the service starting, and
then cleanly removes it afterwards (this would be difficult to do in
Salt, I believe).
2016-03-03 11:14:33 -05:00
k8s-merge-robot
2cf3c7809e
Merge pull request #21471 from justinsb/kube_up_auto_upgrade
...
Auto commit by PR queue bot
2016-03-02 21:00:43 -08:00
k8s-merge-robot
d81d823ca5
Merge pull request #22393 from eparis/blunderbuss
...
Auto commit by PR queue bot
2016-03-02 18:51:56 -08:00
Eric Paris
5e5a823294
Move blunderbuss assignees into tree
2016-03-02 20:46:32 -05:00
Jeff Lowdermilk
5214ae1c89
Merge pull request #22313 from andyzheng0831/fix
...
Fix a breakage of kube-proxy in Trusty
2016-03-02 16:19:02 -08:00
Zach Loafman
820842036b
Show LICENSES in /etc/motd
...
Plumb through from the server tarball to
/usr/local/share/docs/kubernetes/LICENSES, then display in the motd.
2016-03-02 15:23:17 -08:00
Dhawal Yogesh Bhanushali
fe7568d099
cidr-fix for vsphere cloud provider
...
let kubelet configure cbr0 bridge.
let kube-controll-manager distributed the subnet across the nodes.
create routes for the pod network.
2016-03-02 12:52:56 -08:00
k8s-merge-robot
2cf91576a1
Merge pull request #22274 from piosz/bump-heapster
...
Auto commit by PR queue bot
2016-03-02 11:23:30 -08:00
k8s-merge-robot
940e0a9b94
Merge pull request #22360 from justinsb/pass_hash_to_download_or_bust
...
Auto commit by PR queue bot
2016-03-02 10:47:48 -08:00
k8s-merge-robot
a6e534ff6a
Merge pull request #21745 from bryk/release-beta1
...
Auto commit by PR queue bot
2016-03-02 08:33:56 -08:00
Justin Santa Barbara
b058c6b3e1
AWS: Add sha to download-or-bust
...
download-or-bust was changed on the GCE side to verify a hash if passed,
so we need to pass a hash in the AWS scripts that reuse this function.
2016-03-02 10:12:39 -05:00
Piotr Szczesniak
80269abfd0
Bumped Heapster to v0.20.0-alpha10
2016-03-02 15:51:27 +01:00
Piotr Szczesniak
2b026ec103
Merge pull request #22347 from mwielgus/grafana-bump
...
Update Grafana to support new Influxdb/Heapster schema
2016-03-02 12:55:36 +01:00
k8s-merge-robot
73b39e9f1e
Merge pull request #22293 from dchen1107/test
...
Auto commit by PR queue bot
2016-03-02 03:35:05 -08:00
gmarek
6a873e04d2
kube-up for GCE chooses master size based on number of nodes
2016-03-02 12:27:54 +01:00
k8s-merge-robot
c9accdfd57
Merge pull request #22234 from zmerlynn/regional-buckets
...
Auto commit by PR queue bot
2016-03-02 03:01:54 -08:00
Marcin Wielgus
f85c50b0b3
Update Grafana to support new Influxdb schema
2016-03-02 11:51:57 +01:00
Joe Finney
eff5a9c14d
Add cluster/log-dump.sh.
2016-03-01 17:13:18 -08:00
Joe Finney
74515a6b23
Fix detect-nodes in cluster/gce/util.sh.
2016-03-01 17:12:43 -08:00
Dawn Chen
960bea324e
set --babysit-daemons=true for gce and aws
2016-03-01 16:46:31 -08:00
Dawn Chen
a90ac42dd8
Kill docker daemon after configing cbr0 if flag --babysit-daemon is true so that babysitter process can restart it again with proper configurations and checkpoint file.
2016-03-01 16:46:31 -08:00
Alex Robinson
1a538a5896
Merge pull request #22091 from a-robinson/multiline
...
Fix parsing of kube logs to handle logs split across lines.
2016-03-01 15:03:58 -08:00
Andy Zheng
0ee1bd6160
Fix a breakage of kube-proxy in Trusty
...
PR #22022 added a new variable "cpurequest" in kube-proxy.manifest. This makes kubelet in Trusty fail to start the kube-proxy pod as this variable value is not set.
2016-03-01 14:57:37 -08:00
k8s-merge-robot
d5a4915cf3
Merge pull request #22036 from timstclair/docs
...
Auto commit by PR queue bot
2016-03-01 11:46:33 -08:00
Zach Loafman
5a031bf52c
GCE startup: Regional release .tar.gz support
...
* In kube-up.sh, create a staging bucket with a location nearest the
zone being created. If new variable RELEASE_REGION_FALLBACK is set
(default false), create multiple buckets and stage to fallback
URLs. (In open source, this path is primarily for testing.)
* In configure-vm.sh, split the URL env variables by comma (if any
extra are present) and retry on the fallback URLs. Also factor the
hash checking into this path rather than outside, since a corrupt
release in a particular geo can be retried in a different geo.
* Remove the local already-staged .tar.gz checks. They've caused
several issues along the way, and with this code path become virtually
unmaintainable. (I could add a sentinel for each bucket it's possibly
staged to, but ew.)
2016-03-01 09:59:39 -08:00
k8s-merge-robot
bf534a4f29
Merge pull request #22268 from kubernetes/revert-22101-heapster
...
Auto commit by PR queue bot
2016-03-01 06:01:25 -08:00
k8s-merge-robot
a40f8fb4d8
Merge pull request #21827 from spxtr/upgrade-subgroup
...
Auto commit by PR queue bot
2016-03-01 05:29:47 -08:00
Filip Grzadkowski
daabd0c835
Revert "switch heapster addon to summary metrics api"
2016-03-01 11:59:26 +01:00
ZhenhuaZhang
9c5d82d9bd
fix setting node roles error in deployment on ubuntu
...
Configurations in config-default.sh should take default values if they
are set outside of the script. `roles` option is an exception. This
patch fix it to maintain consistency behavior with other options.
2016-03-01 10:55:04 +08:00
Saad Ali
4183ac174b
Merge pull request #21408 from krousey/unversioned_breakup
...
Move restclient to it's own package
2016-02-29 14:03:09 -08:00
k8s-merge-robot
b1e29b765b
Merge pull request #21860 from gmarek/kube-up
...
Auto commit by PR queue bot
2016-02-29 13:14:27 -08:00
Kris
e664ef922f
Move restclient to its own package
2016-02-29 12:05:13 -08:00
k8s-merge-robot
4202dac2dd
Merge pull request #21958 from justinsb/aws_jessie_default
...
Auto commit by PR queue bot
2016-02-29 11:45:30 -08:00
Martin Etmajer
f1b2fc39ba
Pass through EXTRA_DOCKER_OPTS.
2016-02-29 19:46:58 +01:00
bryk
1fa320bac9
Set Dashboard UI addon version to latest release
...
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.0-beta1
2016-02-29 16:17:14 +01:00
k8s-merge-robot
a0b04a6df8
Merge pull request #20281 from cilium-team/fixing-docker-d
...
Auto commit by PR queue bot
2016-02-28 03:51:31 -08:00
Mike Spreitzer
c33ceff623
Updated default k8s release to 1.1.8 in cluster/ubuntu/download-release.sh
...
Resolves issue #22139
2016-02-27 22:32:58 -05:00
Justin Santa Barbara
8b122b102f
kube-up: Only upgrade if AUTO_UPGRADE set, but set it on AWS
...
Installing upgrades is kind of dangerous, so make it not the default.
But also set AUTO_UPGRADE=true on AWS.
2016-02-27 20:55:33 -05:00
Justin Santa Barbara
ee58dc22d7
Merge pull request #21673 from gmarek/kube-down
...
Auto commit by PR queue bot
2016-02-27 19:21:18 -05:00
k8s-merge-robot
43792754d8
Merge pull request #21469 from wojtek-t/parallel_namespace_deletion
...
Auto commit by PR queue bot
2016-02-27 07:26:49 -08:00
Tim St. Clair
2dd4f69e43
switch heapster addon to summary metrics api
2016-02-26 15:48:52 -08:00
Alex Robinson
f8965a6f41
Fix parsing of kube logs to handle logs split across lines.
...
I didn't expect glog to split single log statements onto multiple lines,
but apparently it does if they're long enough. This groups them back
together appropriately.
2016-02-26 22:58:46 +00:00
Fabio Yeon
30a9cb26bd
Merge pull request #22083 from zmerlynn/take-out-apt-get
...
configure-vm.sh: Only "apt-get update" when we need to install a package
2016-02-26 14:53:28 -08:00
k8s-merge-robot
fb1ee74e78
Merge pull request #21917 from yifan-gu/gce_coreos_cloud_config
...
Auto commit by PR queue bot
2016-02-26 14:50:15 -08:00
Zach Loafman
43cb32ab1c
configure-vm.sh: Only "apt-get update" when we need to install a package
...
Factors out package install and checks for package before "apt-get update"
Also fix another "echo sleep 5".
Fixes #22071
2016-02-26 13:47:36 -08:00
Fabio Yeon
027af6359c
Merge pull request #19066 from bboreham/patch-1
...
Default VAGRANT_DEFAULT_PROVIDER when no provider found
2016-02-26 13:26:14 -08:00
Tim St. Clair
198c120036
Detect & fix backwards markdown links (of the form (foo)[bar])
2016-02-26 13:24:21 -08:00
Fabio Yeon
1460dceea4
Merge pull request #21004 from roberthbailey/gce-e2e-admission-controllers
...
Remove the SecurityContextDeny admission controller so that the testing environment matches the production environment
2016-02-26 13:13:44 -08:00
k8s-merge-robot
286e017e35
Merge pull request #21720 from zmerlynn/i20878
...
Auto commit by PR queue bot
2016-02-26 07:27:44 -08:00
k8s-merge-robot
766657cd19
Merge pull request #21504 from luxas/fix_certs_for_hyperkube
...
Auto commit by PR queue bot
2016-02-26 06:53:29 -08:00
k8s-merge-robot
085d7cbbb8
Merge pull request #21072 from MikeSpreitzer/issue/20292
...
Auto commit by PR queue bot
2016-02-26 03:13:29 -08:00
k8s-merge-robot
54a684ac0b
Merge pull request #14637 from Huawei-PaaS/issue-fix-basic-auth
...
Auto commit by PR queue bot
2016-02-26 03:13:27 -08:00
gmarek
d959ccd87c
Override errexit in kube-up for validate-cluster
2016-02-26 09:10:20 +01:00
Wojciech Tyczynski
38957f8f41
Merge pull request #22022 from bprashanth/proxy_cpu_request
...
Kube-proxy requests 2x cpu shares of addons.
2016-02-26 07:15:10 +01:00
k8s-merge-robot
e63127e0eb
Merge pull request #21985 from mwielgus/heapster-alpha8
...
Auto commit by PR queue bot
2016-02-25 21:52:42 -08:00
k8s-merge-robot
eaffdf8b63
Merge pull request #21983 from gmarek/influxdb
...
Auto commit by PR queue bot
2016-02-25 21:15:33 -08:00
Prashanth Balasubramanian
7d47d2dcd8
Kube-proxy requests 2x cpu shares of addons.
2016-02-25 15:39:27 -08:00
Lucas Käldström
e9af6c34af
Update the DNS template from cluster/addons/dns and combine into one file. Make DNS working on docker and docker-multinode
2016-02-25 21:59:07 +02:00
k8s-merge-robot
a20d4f83ff
Merge pull request #21379 from hlamer/hyperkube-apiserver-cert-fix
...
Auto commit by PR queue bot
2016-02-25 09:02:30 -08:00
Wojciech Tyczynski
506899008f
Parallelization of namespace deletion
2016-02-25 16:33:25 +01:00
Marcin Wielgus
11fad31448
Heapster v0.20.0-alpha8
2016-02-25 16:26:32 +01:00
gmarek
98eb12e1ed
Update memory requirements for influxdb
2016-02-25 16:15:54 +01:00
Olivier Lemasle
08541dc2ff
Fix issue #21746
...
This was a regression due to commit e2c79ea1f1
(cf https://github.com/kubernetes/kubernetes/pull/20965 )
2016-02-25 11:37:28 +01:00
Justin Santa Barbara
4e64c4586e
AWS: Set OS defaults for kube 1.2
...
Default distro is jessie, due to the support situation with Ubuntu
distros. Default ubuntu distro is wily.
Update the docs to reflect the recommended distros with kube-up, and to
encourage contributions for other distros.
2016-02-25 00:10:33 -05:00
Robert Bailey
a238d90d49
Remove the SecurityContextDeny admission controller so that the
...
testing environment matches the production environment. This
was removed from config-default.sh in #16986 .
2016-02-24 21:07:16 -08:00
k8s-merge-robot
9b62123b37
Merge pull request #21908 from justinsb/aws_spot_instance_timeout
...
Auto commit by PR queue bot
2016-02-24 17:25:16 -08:00
Alex Robinson
cbcc25802e
Merge pull request #21237 from justinsb/aws_jessie_support
...
AWS Debian Jessie Support
2016-02-24 14:34:48 -08:00
Alex Robinson
af93275f13
Merge pull request #21482 from chrisleck/cle-sub-second-fluentd
...
Enable fluentd to parse the sub-second portion of timestamps coming from docker logs
2016-02-24 13:52:30 -08:00
Yifan Gu
aff803bed9
gce/coreos: Refactor the downloading command to handle errors better.
2016-02-24 12:06:56 -08:00
Justin Santa Barbara
5d7ed4d6e7
AWS kube-up: Stop docker before moving /mnt/docker
...
On Jessie, we now preinstall Docker. Before moving /mnt/docker, make
sure we stop the docker service.
2016-02-24 15:01:20 -05:00
Justin Santa Barbara
7f3bbe1dfe
AWS kube-up: Bump to the latest Jessie image, allow overriding
...
Jessie image can be selected by name using AWS_IMAGE_NAME. This is a
little easier than specifying the AMI ID.
2016-02-24 14:34:40 -05:00
Justin Santa Barbara
41e2a4b0c3
AWS Jessie image: preinstall docker 1.9.1
...
Given the problems with docker's installation, we should be baking it
into the image.
2016-02-24 14:24:03 -05:00
Justin Santa Barbara
62898319df
AWS kube-up: Increase timeout for spot instances
...
Spot instances take a lot longer to run; wait up to 15 minutes for the
nodes to launch when we're using spot instances. (Previously we were
waiting 5 minutes).
2016-02-24 14:22:33 -05:00
k8s-merge-robot
8f3d7110d5
Merge pull request #21466 from mwielgus/heapster-alpha7
...
Auto commit by PR queue bot
2016-02-24 05:41:36 -08:00
gmarek
053e882622
kube-down looks for instance templates even if instance group does not exists
2016-02-24 11:15:45 +01:00
Joe Finney
372d1b6020
Remove check for rolling-updates gcloud subgroup.
2016-02-23 17:45:44 -08:00
Mike Spreitzer
6b8e7e158e
Fixed typos, bash uses elif
2016-02-23 13:26:26 -05:00
k8s-merge-robot
58783bc256
Merge pull request #21684 from justinsb/fix_21200
...
Auto commit by PR queue bot
2016-02-23 07:06:08 -08:00
Justin Santa Barbara
aa57beb885
AWS Jessie: Find image by name
...
This means we don't have to code the AMI ids for each region.
2016-02-23 00:02:54 -05:00
Justin Santa Barbara
977a4a56e4
AWS Debian Jessie: Install Docker 1.9.1
2016-02-22 22:55:11 -05:00
Justin Santa Barbara
91eb370931
AWS Debian: Only install linux-image-extra on Ubuntu
...
It isn't available (and hopefully not needed) on Debian
2016-02-22 22:54:41 -05:00
Prashanth B
c833a14898
Merge pull request #21727 from dchen1107/test
...
Remove potential corrupted docker network checkpoint file before star…
2016-02-22 17:52:16 -08:00
Dawn Chen
d922ddef8c
Remove potential corrupted docker network checkpoint file before start docker
...
again.
2016-02-22 17:08:31 -08:00
k8s-merge-robot
789fd731d2
Merge pull request #21686 from justinsb/aws_kubeup_build_config_early
...
Auto commit by PR queue bot
2016-02-22 16:16:53 -08:00
k8s-merge-robot
8afccef608
Merge pull request #21632 from justinsb/docker_191
...
Auto commit by PR queue bot
2016-02-22 16:16:51 -08:00
Zach Loafman
e85cf1bb97
Attempt to delete node-template before retry
...
I don't think we've seen this commonly, so I'm proposing a simplistic
fix for now.
Fixes #20878
2016-02-22 16:09:15 -08:00
Dhawal Yogesh Bhanushali
e1a7441b36
restricting the version of docker to 1.9.x for vsphere support
...
for vsphere provider docker currently only supports 1.9.1 release.
The older versions of docker are failing on jessie due to issue https://github.com/docker/docker/issues/18793
and newer version 1.10.x is not properly tested.
2016-02-22 16:03:17 -08:00
Jeff Lowdermilk
c406665b2b
Plumb node labels through salt
...
Expose node-labels flag on kubelet for gce via a startup script
env var.
2016-02-22 15:31:34 -08:00
Dawn Chen
699c80b752
Merge pull request #21641 from bprashanth/promisc
...
Teach the kubelet about promiscuous mode, take 2
2016-02-22 15:08:18 -08:00
Dawn Chen
201d60b426
Merge pull request #21440 from bprashanth/glbc_name
...
Add image version to glbc name.
2016-02-22 14:48:48 -08:00
Dawn Chen
b58826292a
Merge pull request #21703 from dchen1107/test
...
Make sure docker is properly shutdown before startup.
2016-02-22 13:35:24 -08:00
Dawn Chen
6c5f07d58e
Make sure docker is properly shutdown before startup.
2016-02-22 12:57:42 -08:00
k8s-merge-robot
347a509744
Merge pull request #21226 from justinsb/aws_jessie_image
...
Auto commit by PR queue bot
2016-02-22 11:04:49 -08:00
Justin Santa Barbara
f117b26c07
AWS: Template for jessie image
...
Based on the official debian image, with the following changes:
* Switched extlinux -> grub, because we need to change kernel options
to enable the memory cgroup controller, and extlinux is harder and has
reboot problems
* Added packages that would otherwise be installed as part of the boot
(just an optimization)
* Also add the cloud-initramfs-growroot package; with it the root
volume will resize.
* We add panic=10 & oops=panic to kernel options
* We install the packages as per the base image, except we install
awscli from pip, because the repo version is really old.
2016-02-22 12:47:34 -05:00
Mike Spreitzer
22246291e3
Support a CNI plugin as an alternative to Flannel
...
Resolves issue #20292
2016-02-22 11:29:55 -05:00
Justin Santa Barbara
050863cf93
AWS kube-up: Build kubeconfig asap
...
Once we've built the master, we can build kubeconfig. By doing so, if
we time out waiting for the nodes, the system is still configured
correctly.
In particular, spot instances can be slow to launch.
Related to issue #21200
2016-02-22 10:46:56 -05:00
Justin Santa Barbara
fb12c48cb7
AWS kube-up: Allow spot instances
...
I think we should probably leave this undocumented for now, until we
have a better way to launch multiple sets of nodes, but it's great for
cost savings while testing!
Fix #21200
2016-02-22 10:42:49 -05:00
k8s-merge-robot
e629ee6bd3
Merge pull request #20704 from FujitsuEnablingSoftwareTechnologyGmbH/centos-support
...
Auto commit by PR queue bot
2016-02-22 02:35:22 -08:00
k8s-merge-robot
85018f728e
Merge pull request #21258 from gmarek/heapster
...
Auto commit by PR queue bot
2016-02-22 01:24:58 -08:00
k8s-merge-robot
3868bb433d
Merge pull request #21253 from gmarek/enable
...
Auto commit by PR queue bot
2016-02-22 01:24:57 -08:00
Lukasz Zajaczkowski
82be3d08f3
Add CentOS support
2016-02-22 07:41:35 +01:00
k8s-merge-robot
facd8617ce
Merge pull request #21505 from bprashanth/flannel-etcd
...
Auto commit by PR queue bot
2016-02-21 18:09:12 -08:00
Prashanth Balasubramanian
c97e8df65b
Stricter checking of HAIRPIN_FLAG in salt.
2016-02-21 14:43:43 -08:00
k8s-merge-robot
1ce188e557
Merge pull request #21430 from spxtr/e2e-internal
...
Auto commit by PR queue bot
2016-02-21 12:08:22 -08:00
k8s-merge-robot
d6192dd152
Merge pull request #21342 from spxtr/remove-e2e-test
...
Auto commit by PR queue bot
2016-02-21 00:39:38 -08:00
Prashanth Balasubramanian
2e8ff81de1
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-20 22:40:54 -08:00
k8s-merge-robot
0f1043d6df
Merge pull request #21299 from wojtek-t/always_event_etcd
...
Auto commit by PR queue bot
2016-02-20 21:03:27 -08:00
k8s-merge-robot
65b5d0cbf4
Merge pull request #21269 from gmarek/metrics-grabber
...
Auto commit by PR queue bot
2016-02-20 16:37:16 -08:00
Justin Santa Barbara
dda792304d
AWS Salt: Update to trusty, vivid, wily to Docker 1.9.1
...
This updates all of our recognized Ubuntu images to use Docker 1.9.1
2016-02-20 17:31:19 -05:00
k8s-merge-robot
a12a2e984a
Merge pull request #21233 from justinsb/aws_wily
...
Auto commit by PR queue bot
2016-02-20 13:28:08 -08:00
k8s-merge-robot
fe18055adc
Merge pull request #21165 from justinsb/aws_master_pd_in_fstab
...
Auto commit by PR queue bot
2016-02-20 00:29:46 -08:00
k8s-merge-robot
6c5bf89ed3
Merge pull request #21160 from justinsb/aws_bigger_master
...
Auto commit by PR queue bot
2016-02-20 00:29:45 -08:00
Daniel Smith
a8b943dddd
Revert "Put the container bridge in promiscuous mode."
2016-02-19 23:14:53 -08:00
Prashanth B
b36e046fc8
Merge pull request #21326 from bprashanth/cbr0_promisc
...
Put the container bridge in promiscuous mode.
2016-02-19 17:52:34 -08:00
Joe Beda
11c7068b74
Merge pull request #21142 from justinsb/install_git_package
...
Salt: Make sure git is installed, for gitRepo volumes
2016-02-19 15:42:00 -08:00
Prashanth Balasubramanian
a694a7ae4b
Teach the kubelet about --hairpin-mode=promiscuous-bridge.
2016-02-19 14:59:16 -08:00
Brendan Burns
8bda033ef1
Merge pull request #21444 from dchen1107/test1
...
Log daemons' failure reasons to supervisord log files
2016-02-19 13:08:19 -08:00
k8s-merge-robot
9274783d62
Merge pull request #20965 from olivierlemasle/vagrant-bearertoken
...
Auto commit by PR queue bot
2016-02-19 12:08:08 -08:00
k8s-merge-robot
ced1ddfcc7
Merge pull request #21428 from ArtfulCoder/fluentes
...
Auto commit by PR queue bot
2016-02-19 08:56:10 -08:00
k8s-merge-robot
841d3f8311
Merge pull request #21357 from WeixuZhuang/fix
...
Auto commit by PR queue bot
2016-02-19 02:14:51 -08:00
Andrei Kopats
e5c321f6af
Add internal API-server IP to the list of certificate SANs
...
Without this kube2sky fails to comunicate to the API server because
server TLS verification fails. DNS addon doesn't work on
docker setups
2016-02-19 11:37:24 +03:00
Phillip Wittrock
8151021369
Merge pull request #21508 from mml/slow-flake
...
Also retain docker and kubelet logs.
2016-02-18 18:53:20 -08:00
Zach Loafman
7f94e3ecdc
Bump container-vm in 1.2 to container-v1-2-v20160218 (prerelease)
2016-02-18 15:00:50 -08:00
Zach Loafman
6fe3023a3d
Revert "Upgrade gce cluster to docker 1.9.1"
...
This reverts commit f07070d129
.
2016-02-18 14:28:13 -08:00
Prashanth Balasubramanian
1e3db8ef9e
Don't impose a memory limit on flannel etcd.
2016-02-18 13:52:58 -08:00
Matt Liggett
58283aff67
Also retain docker and kubelet logs.
...
Still trying to debug #20916
2016-02-18 13:32:18 -08:00
Prashanth Balasubramanian
058db9a758
Add image version to glbc name, and fix e2e appropriately.
2016-02-18 13:03:01 -08:00
Phillip Wittrock
be803eaf64
Merge pull request #21439 from zmerlynn/container-vm-v20160217
...
Bump GCE to container-vm-v20160217
2016-02-18 11:39:54 -08:00
Christopher Eck
c34ecf7100
Enable fluentd to parse the sub-second portion of timestamps coming from docker logs.
2016-02-18 11:07:27 -08:00
k8s-merge-robot
5acdb92126
Merge pull request #21177 from laushinka/spelling-fixes
...
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
Justin Santa Barbara
b70f1c1220
kube-up: install updates & reboot automatically on boot
...
We run unattened-upgrades manually, and then reboot automatically if we
find /var/run/reboot-required; then we check if any services need
restarting and restart them automatically using the needrestart tool.
This should mean we don't _have_ to build new images on every security
update, though we can do so to avoid a reboot.
Issue #21382
2016-02-18 12:52:43 -05:00
Marcin Wielgus
d9c8f7fa5f
Bump Heapster to v0.20.0-alpha7
2016-02-18 12:57:13 +01:00
k8s-merge-robot
bcabc096f2
Merge pull request #21130 from madhusudancs/daemonset-enable-default
...
Auto commit by PR queue bot
2016-02-17 22:54:35 -08:00
k8s-merge-robot
10f3403536
Merge pull request #21362 from ArtfulCoder/fluentd
...
Auto commit by PR queue bot
2016-02-17 22:25:28 -08:00
k8s-merge-robot
78c294a66c
Merge pull request #21164 from justinsb/aws_reboot_with_ephemeral
...
Auto commit by PR queue bot
2016-02-17 17:12:01 -08:00
Joe Finney
2b756ca56d
Move E2E kube-up call into test-setup from e2e-internal.
2016-02-17 16:49:07 -08:00
Dawn Chen
14f8ae1340
Log kubelet /healthz failure reasons to supervisord log file
2016-02-17 16:42:47 -08:00
Zach Loafman
c8d90f1a61
Bump GCE to container-vm-v20160217
2016-02-17 16:39:58 -08:00
laushinka
7ef585be22
Spelling fixes inspired by github.com/client9/misspell
2016-02-18 06:58:05 +07:00
Madhusudan.C.S
f06a195855
Remove all {KUBE_,}ENABLE_{DEPLOYMENT,DAEMONSET} variables from all our bash scripts.
2016-02-17 15:04:28 -08:00
Madhusudan.C.S
e647804ba4
Replica set is enabled by default now, so it is not necessary to explicitly enable it in the test config script.
2016-02-17 15:03:15 -08:00
Madhusudan.C.S
ab1e9c200f
Graduate DaemonSet to v1beta1 API, enable it by default.
2016-02-17 15:03:12 -08:00
Phillip Wittrock
a8744279eb
Merge pull request #21347 from yujuhong/health_check
...
Switch to using `docker version` as health check
2016-02-17 14:48:44 -08:00
Abhishek Shah
e46b17044f
Disable fluent-es on kubernetes-master
2016-02-17 14:01:20 -08:00
Abhishek Shah
51fba282ec
Fluentd on GCE master should not use ClusterFirst
2016-02-17 11:32:41 -08:00
Justin Santa Barbara
4d2c580781
AWS kube-up: Add support for wily
...
vivid is technically no longer supported now, so we should support
wily.
2016-02-17 10:45:21 -05:00
Justin Santa Barbara
a16372ce40
AWS: Change master to m3.medium by default
...
m3.large for > 150 nodes.
t2.micro often runs out of memory. The t2 class has very
difficult-to-understand behaviour when it runs out of CPU. The
m3.medium is reasonably affordable, and avoids these problems.
Fix #21151
Issue #18975
2016-02-17 10:24:14 -05:00
Justin Santa Barbara
c68c019150
AWS: Add comments to explain the symlink logic
2016-02-17 09:57:37 -05:00
Justin Santa Barbara
affffdc9ab
AWS kube-up: Put the master-pd into /etc/fstab, to mount it early
...
Otherwise we risk services coming up on the master before the backing
volume is ready.
If we then see the master-pd is already mounted, don't try to remount
it.
Issue #21155
2016-02-17 09:47:01 -05:00
k8s-merge-robot
22ad56dded
Merge pull request #21161 from justinsb/aws_bootstrap_on_every_boot
...
Auto commit by PR queue bot
2016-02-17 06:45:24 -08:00
k8s-merge-robot
207b90ae63
Merge pull request #19578 from quinton-hoole/2016-01-04-ube-lite-e2e
...
Auto commit by PR queue bot
2016-02-17 04:29:48 -08:00
k8s-merge-robot
237105fd0e
Merge pull request #21372 from gmarek/gather
...
Auto commit by PR queue bot
2016-02-17 03:57:12 -08:00
k8s-merge-robot
a5bb33bb4a
Merge pull request #21356 from vishh/gce-salt
...
Auto commit by PR queue bot
2016-02-17 03:29:35 -08:00
gmarek
024322a651
Fix getting last command result in kube-up
2016-02-17 11:12:06 +01:00
Vishnu kannan
202578ebe5
enable for *real* new runtime and kubelet cgroup configs in GCE salt configs.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-16 16:08:57 -08:00
weixu
b3f3a80667
Set the default value for DEBUG in cluster/saltbase/salt/generate-cert/make-ca-cert.sh
...
In commit 07d7cfd3
, people add ${DEBUG} == "true" in file
cluster/saltbase/salt/generate-cert/make-ca-cert.sh
But the default value for DEBUG is not set. In that commit, it set the value
of DEBUG in cluster/ubuntu/util.sh where it call this script. When using this
script in saltstack to bring up cluster in other cloud platforms, it will fail
to generate the cert since we set set -o nounset in make-ca-cert.sh and var DEBUG
does not set. Set a default value for DEBUG here will fix this problem.
2016-02-16 16:03:20 -08:00
Dawn Chen
1af5c9f7b2
Disable REGISTER_MASTER_KUBELET for gce default configuration since
...
no one is working on e2e tests.
2016-02-16 15:32:32 -08:00
Yu-Ju Hong
b92e2903fa
Switched to using docker version
as health check
...
`docker ps` can sometimes take a long time to finish, and restarting
docker in this case doesn't help.
2016-02-16 15:10:15 -08:00
Joe Finney
6f7182e500
Remove hack/e2e-test.sh in favor of hack/e2e.go.
2016-02-16 14:54:50 -08:00
Quinton Hoole
b4a3559807
Add Jenkins e2e test job for multi-zone Ubernetes Lite
2016-02-16 13:07:17 -08:00
k8s-merge-robot
a0489cb54b
Merge pull request #21297 from yifan-gu/add_dashborad_addons
...
Auto commit by PR queue bot
2016-02-16 13:00:11 -08:00
k8s-merge-robot
13b2a8a60b
Merge pull request #21191 from zmerlynn/change-motd
...
Auto commit by PR queue bot
2016-02-16 06:07:35 -08:00
k8s-merge-robot
62474f1fbf
Merge pull request #21298 from gmarek/validate
...
Auto commit by PR queue bot
2016-02-16 05:37:28 -08:00
k8s-merge-robot
2299547ca5
Merge pull request #21183 from mml/slow-flake
...
Auto commit by PR queue bot
2016-02-16 05:12:50 -08:00
k8s-merge-robot
4f3c89ce81
Merge pull request #21132 from petermd/kubeaddon-api-status
...
Auto commit by PR queue bot
2016-02-16 02:57:17 -08:00
Wojciech Tyczynski
f6dc06bdc7
Always enable second etcd for events
2016-02-16 11:48:46 +01:00
gmarek
433e855aca
Fix validate cluster
2016-02-16 11:34:57 +01:00
Yifan Gu
c2c3ccdaa7
cluster/gce/coreos: Replace kube-ui with dashboard in configure-node.sh
2016-02-16 16:46:33 +08:00
k8s-merge-robot
db758dda64
Merge pull request #21046 from MikeSpreitzer/issue/20992
...
Auto commit by PR queue bot
2016-02-15 21:54:18 -08:00
gmarek
63dd014412
Update SchedulerMetrics
2016-02-15 16:52:41 +01:00
k8s-merge-robot
b1dedc0900
Merge pull request #21058 from gmarek/fix
...
Auto commit by PR queue bot
2016-02-15 06:12:27 -08:00
gmarek
9c722ba98e
Update memory requirements for new Heapster
2016-02-15 14:05:47 +01:00
k8s-merge-robot
138cb09aea
Merge pull request #20795 from luxas/remove_dev
...
Auto commit by PR queue bot
2016-02-15 03:52:26 -08:00
gmarek
92f60159ec
Default EXIT_ON_WEAK_ERROR
2016-02-15 11:09:58 +01:00
k8s-merge-robot
48caef3576
Merge pull request #21243 from gmarek/master
...
Auto commit by PR queue bot
2016-02-15 01:15:21 -08:00
k8s-merge-robot
396287aad9
Merge pull request #21110 from MikeSpreitzer/issue/21037
...
Auto commit by PR queue bot
2016-02-15 01:15:20 -08:00
gmarek
2288b31b99
Fix kube-up
2016-02-15 08:34:00 +01:00
André Martins
97acdf4cd8
fixing docker -d deprecation
...
Signed-off-by: André Martins <aanm90@gmail.com>
2016-02-14 23:07:32 +01:00
k8s-merge-robot
b017ce602f
Merge pull request #20988 from golvteppe/kube-up_output
...
Auto commit by PR queue bot
2016-02-14 03:38:53 -08:00
k8s-merge-robot
3d93b594e3
Merge pull request #20062 from mikefaille/master
...
Auto commit by PR queue bot
2016-02-13 10:36:57 -08:00
k8s-merge-robot
784f555fd9
Merge pull request #18821 from rastut/add_aws_detect_root_device
...
Auto commit by PR queue bot
2016-02-13 10:09:20 -08:00
k8s-merge-robot
44a8ca9fa7
Merge pull request #21170 from MikeSpreitzer/issue/21168
...
Auto commit by PR queue bot
2016-02-13 08:33:54 -08:00
k8s-merge-robot
f2e845dd6d
Merge pull request #21144 from justinsb/aws_fix_project_not_defined
...
Auto commit by PR queue bot
2016-02-13 08:33:53 -08:00
Justin Santa Barbara
69300c51b3
AWS kube-up: Reboot support with ephemeral storage
...
If the ephemeral volume is present and mounted, don't try to reinitialize
them.
Don't block the boot if the ephemeral volume is corrupt / missing -
this enables us to cope with a stop/start & presumably also corruption.
In this case, we'll reformat the ephemeral storage.
Fix #21157
2016-02-12 20:31:56 -05:00
Justin Santa Barbara
19cf622e88
AWS kube-up: make the bootstrap script run every boot
...
This is so we have the same behaviour as on GCE.
This also lets us change the bootstrap script or the config, which is
nice. Instance data is immutable on AWS once it is booted.
Fix #21150
2016-02-12 20:30:47 -05:00
Matt Liggett
c25331f251
Save the master logs to separate files rather than dumping to stdout.
2016-02-12 17:30:45 -08:00
Zach Loafman
db01dec0a4
Reset /etc/motd to include version, a pointer to source image and GitHub
...
Companion to #21031
2016-02-12 17:29:23 -08:00
Mike Danese
b8aa23f0fa
Merge pull request #21194 from dchen1107/test1
...
Make master component pods burstable, instead of guaranteed.
2016-02-12 17:08:27 -08:00
Mike Spreitzer
4d55dbe69f
Introduced envar KUBE_PROXY_EXTRA_OPTS
...
Resolves #21168
2016-02-12 18:42:51 -05:00
Dawn Chen
64ca54c2cc
Make master component's manifest consistent with the ones on debian
2016-02-12 14:56:12 -08:00
Dawn Chen
11a6d7df26
Make coreos's master component manifest consistent with debian ones.
2016-02-12 14:55:28 -08:00
Dawn Chen
54933902b2
Make master component pods burstable, instead of guaranteed.
2016-02-12 14:28:48 -08:00
Janet Kuo
2874f30c05
Enable Deployments by default
2016-02-12 12:29:14 -08:00
golvteppe
62292341ff
Added ZONE variable to the info string which informs what provider is being used
...
Fixed unbound ZONE variable issue for kube-up.sh
Added curlys
2016-02-12 20:53:10 +01:00
Mike Danese
2172e0dea0
Merge pull request #21108 from mml/slow-flake
...
Include some debug output when the API server never appears.
2016-02-12 11:27:12 -08:00
Mike Spreitzer
07d7cfd346
Fetch hacked easyrsa in kube-up instead of command run on master
...
This is good because it removes an obstacle to using the
cluster/ubuntu scripting to install Kubernetes into a restricted
environment where the machines can not open connections to arbitrary
external locations.
Also add debuggability to make-ca-cert.sh
Resolves #21037
Resolves #21092
2016-02-12 14:11:53 -05:00
Justin Santa Barbara
f0d6fd10bc
Salt: Make sure git is installed, for gitRepo volumes
...
Seems to be included in the GCE base image, but not on the images we use
on AWS (Ubuntu images).
Fix #20957
2016-02-12 12:51:08 -05:00
Mike Spreitzer
43285f872e
Deploy dashboard instead of extiinct kube-ui
...
Updated cluster/ubuntu/deployAddons.sh to deploy the UI that exists
rather than the old one that no longer exists.
Resolves #20992
2016-02-12 11:47:18 -05:00
Justin Santa Barbara
1852fab029
AWS: Fix kube-up generation of kubeconfig
...
We were assuming the PROJECT env var was set, which the e2e tests do.
But PROJECT is normally not set on AWS (it is set on GCE); this broke as
part of the harmonization.
Revert to the pre-existing behaviour here, where we use "aws_" as the
prefix.
Fix #21141
2016-02-12 09:53:22 -05:00
Matt Liggett
7a2e649745
Include some debug output when the API server never appears.
...
Helps with #20916
2016-02-11 16:33:35 -08:00
gmarek
aa79f04aed
Fix #21027
2016-02-11 22:25:08 +01:00
k8s-merge-robot
f6ae6b47ae
Merge pull request #20687 from vishh/systemd-support
...
Auto commit by PR queue bot
2016-02-11 13:06:29 -08:00
k8s-merge-robot
798b88e512
Merge pull request #20960 from andyzheng0831/fix
...
Auto commit by PR queue bot
2016-02-11 06:51:13 -08:00
k8s-merge-robot
c1eb987a41
Merge pull request #21040 from MikeSpreitzer/issue/21039
...
Auto commit by PR queue bot
2016-02-11 04:53:00 -08:00
Piotr Szczesniak
917a34a2aa
Bumped Heapster to v0.20.0-alpha6
2016-02-11 11:44:29 +01:00
gmarek
918ddbe5f0
Small cleanup
2016-02-11 10:08:24 +01:00
Mike Spreitzer
5dc3daf9a8
Update Kubernetes release version from 1.1.4 to 1.1.7 in download-release.sh
...
.. in cluster/ubutuntu/download-release.sh
Resolves issue #21039
2016-02-10 23:08:59 -05:00
Vishnu kannan
c3b5d5774c
Update flag values for cgroups managed by kubelet.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 17:33:29 -08:00
Vishnu kannan
51e4ccf106
Updating the default values for the cgroups hierarchies that kubelet
...
creates for managing the nodes.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 16:02:36 -08:00
k8s-merge-robot
646cb70fe3
Merge pull request #20905 from yifan-gu/add_command_in_templates
...
Auto commit by PR queue bot
2016-02-10 07:11:20 -08:00
k8s-merge-robot
c0dd58c001
Merge pull request #20811 from mwielgus/cm-scripts
...
Auto commit by PR queue bot
2016-02-10 04:50:06 -08:00
k8s-merge-robot
372c9271ee
Merge pull request #20871 from andyzheng0831/kube-addon
...
Auto commit by PR queue bot
2016-02-10 04:24:27 -08:00
Marcin
b7d72ef36d
Startup scripts for custom metrics
2016-02-10 12:32:04 +01:00
Wojciech Tyczynski
9682227649
Merge pull request #20920 from mwielgus/heapster-v0.20.0-alpha5
...
Heapster v0.20.0-alpha5 + gcm-autoscaling sink for googleinfluxdb
2016-02-10 11:34:44 +01:00
Olivier Lemasle
e2c79ea1f1
Add bearer token authentication to Vagrant clusters
...
This does not remove basic authentication in Vagrant clusters.
Users will still be able to authenticate with username=vagrant, password=vagrant
2016-02-10 10:35:13 +01:00
k8s-merge-robot
e5a61c038b
Merge pull request #20622 from wstrange/master
...
Auto commit by PR queue bot
2016-02-09 23:26:29 -08:00
Andy Zheng
126f3c4784
Fix kubelet and kube-proxy log level in Trusty
...
This change corrects how we determine the log level. Moreover, it explicitly redirects kubelet log to /var/log/kubelet.log, as we noticed it may miss sometimes.
2016-02-09 19:20:20 -08:00
Prashanth B
f0620a5efd
Merge pull request #20883 from bprashanth/kubelet_flag
...
Kubelet flag for disabling hairpin mode
2016-02-09 17:31:30 -08:00
k8s-merge-robot
d7bef3cc87
Merge pull request #20896 from kinvolk/ckuehl/replace-rocket-with-rkt
...
Auto commit by PR queue bot
2016-02-09 16:05:01 -08:00
Greg Swallow
646c22e47c
Use local_ipv4 when public_ipv4 is not present.
2016-02-09 16:35:38 -05:00
Prashanth Balasubramanian
c3a3a2bacd
Pipe hairpin-mode flag through kubelet, enable on soak.
2016-02-09 12:12:19 -08:00
Marcin
eb19f3a977
Heapster v0.20.0-alpha5 + gcm-autoscaling sink for googleinfluxdb
2016-02-09 20:31:43 +01:00
k8s-merge-robot
494186f40e
Merge pull request #20867 from dchen1107/docker
...
Auto commit by PR queue bot
2016-02-09 10:02:44 -08:00
Yifan Gu
9f2d219331
cluster/gce/coreos: Add command in addon templates.
...
As appc spec only has one field for executable path
(Exec v.s. ENTRYPOINT + CMD), specifying only args
will override the image's original ENTRYPOINT.
2016-02-09 23:29:43 +08:00
k8s-merge-robot
8e4a821ab3
Merge pull request #20821 from olivierlemasle/fix-dnf-vagrant
...
Auto commit by PR queue bot
2016-02-09 07:04:24 -08:00
Chris Kühl
7fcc40bb27
docs: replace Rocket with rkt
2016-02-09 13:52:25 +01:00
k8s-merge-robot
0fe5499fbc
Merge pull request #20794 from bprashanth/etcd_config
...
Auto commit by PR queue bot
2016-02-09 04:07:26 -08:00
k8s-merge-robot
68a165cda9
Merge pull request #20681 from justinsb/aws_sync_kubeup_gce_step3
...
Auto commit by PR queue bot
2016-02-09 02:08:48 -08:00
Andy Zheng
20444558a3
Fix two issues of master on Trusty
...
This change moves the code of running and monitoring addon pods in a daemon type upstart job, so that addon manifest monitoring can be restarted automatically upon failure. Second, it updates the usage of "kube-ui" to "dashboard" to match the change in PR #20330 .
2016-02-08 16:46:18 -08:00
Dawn Chen
f07070d129
Upgrade gce cluster to docker 1.9.1
2016-02-08 15:58:29 -08:00
derekwaynecarr
512154f25e
Unbound cluster ip range in vagrant
2016-02-08 17:38:36 -05:00
Olivier Lemasle
0bf3f3ef09
Fix Vagrant issue with Salt
...
Package manager "dnf" does not work correctly with Salt
(cf https://github.com/saltstack/salt/issues/31001 )
It causes Salt to consider that some packages (python, git, curl, etc.) are not
installed, which breaks the Vagrant Kubernetes setup.
Updating dnf and dnf-plugins-core to their latest version solves the issue.
Additionally, I've added the "fastestmirror" to dnf, which is useful if a
RPM mirror is broken or very slow. (In my case, dnf used a broken mirror which
froze the Kubernetes setup).
2016-02-08 17:29:19 +01:00
gmarek
208e98b58e
Fix #20788
2016-02-08 10:21:04 +01:00
Michael Nikitochkin
55e2906f79
AWS: Allow to configure master ip and services mask
...
Fix script for case when neeed to setup cluster
in an existen VPC and subnet with ip mask example: 10.0.0.0/8.
Fixed bug to detect ip of master if provided MASTER_RESERVED_IP.
For some reason detecting master ip was moved to volumes and only when MASTER_RESERVED_IP=auto.
If specify IPv4 for MASTER_RESERVED_IP like `52.1.1.1`, than we could
not detect ip even during last steps of setuping cluster.
step the KUBE_MASTER_IP is reseted because there are no tag for the
volume.
2016-02-07 21:59:00 +01:00
Lucas Käldström
d5b7fd7f95
Remove -v /dev:/dev from docker and docker-multinode
2016-02-07 22:15:20 +02:00
Jan Chaloupka
4389b3f0d6
Rewritte util.* -> wait.* wherever reasonable
2016-02-07 12:02:20 +01:00
Prashanth B
86b6fdf5ea
Sanitize flannel config.
2016-02-07 05:19:50 +00:00
Justin Santa Barbara
63743e9c1c
AWS kube-up: Use the cert we generated in kubeconfig
2016-02-06 22:52:01 -05:00
Justin Santa Barbara
270fae4d66
kube-up: Support multiple additional IPs for SSL cert
...
And pass the public IP when setting up AWS
2016-02-06 22:52:01 -05:00
Justin Santa Barbara
fd5c44c72e
kube-up: Finish refactor of AWS to reuse GCE script
...
We override key functions in the GCE script with AWS equivalents.
2016-02-06 22:52:01 -05:00
k8s-merge-robot
f2ed6f6ce8
Merge pull request #20474 from mqliang/ununtu-check-pods-torn-down
...
Auto commit by PR queue bot
2016-02-06 15:12:43 -08:00
k8s-merge-robot
a08ac362a9
Merge pull request #19839 from madhusudancs/replicaset-e2e-enable
...
Auto commit by PR queue bot
2016-02-06 12:54:34 -08:00
k8s-merge-robot
9d981b696c
Merge pull request #20642 from justinsb/aws_sync_kubeup_gce_step2
...
Auto commit by PR queue bot
2016-02-06 11:56:47 -08:00
k8s-merge-robot
d1b7fb3025
Merge pull request #20630 from a-robinson/logparse
...
Auto commit by PR queue bot
2016-02-06 11:28:08 -08:00
Madhusudan.C.S
48c4173f5f
Enable ReplicaSets in e2e tests.
2016-02-06 03:46:17 -08:00
k8s-merge-robot
fe269474ca
Merge pull request #20330 from bryk/kubernetes-dashboard
...
Auto commit by PR queue bot
2016-02-06 00:15:10 -08:00
Daniel Smith
75c1dcaacd
Merge pull request #20463 from andyzheng0831/trusty-master
...
Support master on Ubuntu Trusty
2016-02-05 15:49:28 -08:00
Marek Grabowski
e8f341cb40
Merge pull request #20650 from mwielgus/heapster-alpha4
...
Bump heapster from v0.20.0-alpha3 to v.0.20.0-alpha4
2016-02-05 16:04:41 +01:00
Marcin Wielgus
6c2b338af0
Bump heapster from v0.20.0-alpha3 to v.0.20.0-alpha4
2016-02-05 15:33:09 +01:00
bryk
46f51d74bb
Set kubernetes-dashboard as the default UI addon
...
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0
This replaces kube-ui addon
2016-02-05 13:36:37 +01:00
Daniel Smith
9a76c022ec
Merge pull request #20408 from kylegordon/patch-1
...
Use kube account to make changes via govc
2016-02-04 23:16:44 -08:00
k8s-merge-robot
5b046cccdb
Merge pull request #20448 from justinsb/aws_fix_e2e_detect_master
...
Auto commit by PR queue bot
2016-02-04 16:24:20 -08:00
Warren Strange
fed1d947bc
added shell guard in case var is not set
2016-02-04 16:45:20 -07:00
Alex Robinson
e5c5f76402
Update the default fluentd images to parse system logs.
2016-02-04 23:29:27 +00:00
Justin Santa Barbara
ba415c1f39
kube-up: Add brackets to variable name
2016-02-04 12:43:09 -05:00
Justin Santa Barbara
732e76fb4e
kube-up: Refactor SSL cert helpers into common
...
Next step in the the GCE/AWS harmonization
2016-02-04 09:10:41 -05:00
Alex Robinson
592da85a81
Parse system logs into structured messages in fluentd.
...
This allows you to filter based on components of the log,
like their severity, in the developers console or elasticsearch.
2016-02-04 08:14:59 +00:00
k8s-merge-robot
dbd7b83d93
Merge pull request #20545 from pmorie/boilerplate
...
Auto commit by PR queue bot
2016-02-03 19:46:26 -08:00
Warren Strange
24b06d805a
Add preemtible option to master
2016-02-03 19:34:27 -07:00
Paul Morie
b672785d72
Add boilerplate checks for Dockerfiles
2016-02-03 18:35:26 -05:00
Paul Morie
05bd107301
Add boilerplate checks for Makefiles
2016-02-03 18:35:26 -05:00
Andy Zheng
b103f0f279
Support master on Ubuntu Trusty
...
This change support running kubernetes master on Ubuntu Trusty.
It uses pure cloud-config and shell scripts, and completely gets
rid of saltstack or the release salt tarball.
2016-02-03 11:22:28 -08:00
Dan Williams
fabb65c13f
Add a network plugin that duplicates "configureCBR0" functionality
2016-02-03 10:08:08 -06:00
Piotr Szczesniak
d7dd663d2a
Merge pull request #20412 from gmarek/enable
...
Add a flag to allow non-fatal errors in validate-cluster
2016-02-03 09:33:17 +01:00
Piotr Szczesniak
0e396b2084
Merge pull request #20407 from gmarek/1000-kube-up
...
Allow some NotReady nodes in 1000 node clusters
2016-02-03 09:32:59 +01:00
Jeff Lowdermilk
4a9b046515
Merge pull request #20432 from brendandburns/flake5
...
Don't re-check with gcloud for a firewall's existence to fix a potential flake.
2016-02-02 11:59:54 -08:00
Jeff Lowdermilk
ec4b94aabc
Merge pull request #20509 from yujuhong/docker_health
...
Change docker health checker to using `docker ps`
2016-02-02 11:50:04 -08:00
Yu-Ju Hong
156d301140
Change docker health checker to using docker ps
...
`docker ps` is a more reliable health check than docker version from past
experiences.
2016-02-02 11:08:21 -08:00
k8s-merge-robot
d082357259
Merge pull request #20138 from jetsanix/fix-ubuntu
...
Auto commit by PR queue bot
2016-02-02 05:20:31 -08:00
k8s-merge-robot
d8047e7632
Merge pull request #20118 from erictune/chmod
...
Auto commit by PR queue bot
2016-02-02 04:50:54 -08:00
k8s-merge-robot
ac24a68801
Merge pull request #20094 from mesosphere/jdef_mesos_026_godeps
...
Auto commit by PR queue bot
2016-02-02 03:19:25 -08:00
mqliang
e9de110a5d
fix the bug that ubuntu check-pods-torn-down doesn't take into account terminating pods nor pods in other namespaces
2016-02-02 14:22:16 +08:00
Justin Santa Barbara
0f6b3611d8
AWS: Fix e2e usage of find-tagged-master-ip
...
In the e2e tests detect-master is called directly. In turn, it calls
find-tagged-master-ip, which assumed that find-master-pd has already already
been called. But this wasn't true in the e2e case.
We add a call to find-master-pd; it is idempotent.
2016-02-01 22:49:31 +00:00
k8s-merge-robot
30375b21d6
Merge pull request #19776 from justinsb/aws_sync_kubeup_gce
...
Auto commit by PR queue bot
2016-02-01 14:44:18 -08:00
Brendan Burns
78c9a7718a
Don't re-check with gcloud for a firewall's existence to fix a potential flake.
2016-02-01 14:17:36 -08:00
k8s-merge-robot
b4d1c7541c
Merge pull request #19870 from justinsb/salt_systemd_force
...
Auto commit by PR queue bot
2016-02-01 10:49:44 -08:00
k8s-merge-robot
a5f03173c5
Merge pull request #19869 from justinsb/aws_fix_docker183_package_name
...
Auto commit by PR queue bot
2016-02-01 10:18:06 -08:00
k8s-merge-robot
0aca70016c
Merge pull request #20066 from justinsb/aws_move_build_runtime_config
...
Auto commit by PR queue bot
2016-02-01 09:48:27 -08:00
k8s-merge-robot
bea271a767
Merge pull request #19664 from yifan-gu/docker_restart
...
Auto commit by PR queue bot
2016-02-01 06:46:36 -08:00
gmarek
efacc0435e
Add a flag to allow non-fatal errors in validate-cluster
2016-02-01 14:26:31 +01:00
Kyle Gordon
63b61a7205
Use kube account to make changes via govc
...
Use -l kube:kube to login to VM and make changes before public key is inserted.
Fixes #14366
2016-02-01 11:41:49 +00:00
gmarek
6aaabc6f46
Allow some NotReady nodes in 1000 node clusters
2016-02-01 12:40:40 +01:00
Marcin Wielgus
bdf563be4b
Use Heapster v0.20.0-alpha3
2016-02-01 12:22:11 +01:00
Marcin Wielgus
a14f791d8c
Revert "Merge pull request #20329 from kubernetes/revert-20323-bump-influxdb"
...
This reverts commit b4188ec459
, reversing
changes made to 28951bd66a
.
2016-02-01 12:12:37 +01:00
Yifan Gu
05087612b9
salt: Try 'systemctl' if 'service' command fails when restarting docker.
2016-02-01 18:10:31 +08:00
Alex Robinson
f684e80b1f
Merge pull request #20067 from justinsb/aws_test_defaults
...
AWS: Change config-test defaults to match GCE
2016-01-30 17:42:28 -08:00
Alex Robinson
a81e6c3f4f
Merge pull request #20307 from dchen1107/test1
...
Deprecated soon: override /etc/init.d/docker file on containervm image,
2016-01-30 13:32:41 -08:00
k8s-merge-robot
e953f4a074
Merge pull request #19628 from mikedanese/dns-headless
...
Auto commit by PR queue bot
2016-01-29 23:54:40 -08:00
k8s-merge-robot
40ff292294
Merge pull request #20286 from mikedanese/kube-ui-v5
...
Auto commit by PR queue bot
2016-01-29 10:51:00 -08:00
Filip Grzadkowski
13480c171d
Revert "Yet another try to migrate to the new Heapster"
2016-01-29 15:03:49 +01:00
Piotr Szczesniak
7d4a948b1f
Yet another try to migrate to the new Heapster
2016-01-29 09:56:49 +01:00
Piotr Szczesniak
0c5cc1bde1
Revert "Merge pull request #20215 from kubernetes/revert-20156-bump-influxdb"
...
This reverts commit 06996d5af9
, reversing
changes made to b2f6e7d08f
.
2016-01-29 09:19:03 +01:00
k8s-merge-robot
992a85950f
Merge pull request #19326 from fgimenez/juju-allow-privileged
...
Auto commit by PR queue bot
2016-01-28 22:27:32 -08:00
Dawn Chen
5f6f6acec7
Deprecated soon: override /etc/init.d/docker file on containervm image,
...
so that we can unblock docker 1.10 validation.
2016-01-28 17:44:23 -08:00
Fabio Yeon
574f354b73
Merge pull request #20143 from roberthbailey/list-resources-gke
...
Fix list-resources.sh to work with the GKE provider
2016-01-28 13:48:05 -08:00
Mike Danese
b1ca73a5b2
kube-ui: upgrade to v5
2016-01-28 13:02:25 -08:00
Justin Santa Barbara
c556e8f0f5
kube-up: Refactor kube-env into common; use in AWS
...
Use kube-env on the AWS master also
2016-01-28 10:31:51 -08:00
Justin Santa Barbara
4d88a4ed2c
kube-up: move sha1sum-file into common
...
Also hash the tar files in AWS kube-up
2016-01-28 10:19:38 -08:00
Justin Santa Barbara
a70412099a
AWS: add retries around apt-get install
...
Related to issue #17309
2016-01-28 10:19:38 -08:00
Justin Santa Barbara
ae75a7d259
kube-up: move build-runtime-config from AWS & GCE into common
2016-01-28 10:19:38 -08:00
Justin Santa Barbara
0df6f5d8c5
kube-up: move yaml-quote from GCE & AWS to common
2016-01-28 10:19:38 -08:00
Prashanth B
952449585e
Merge pull request #20164 from bprashanth/glbc_0.5.2
...
Bump glbc to 0.5.2
2016-01-28 08:21:32 -08:00
k8s-merge-robot
458eb5284a
Merge pull request #19105 from smarterclayton/prepare_negotiate
...
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
k8s-merge-robot
a95f1b84cb
Merge pull request #17243 from yifan-gu/gce_coreos
...
Auto commit by PR queue bot
2016-01-27 13:02:20 -08:00
Brendan Burns
4f845ad6e1
Merge pull request #19642 from MikeSpreitzer/issue/19618
...
Introduce FLANNEL_OTHER_NET_CONFIG
2016-01-27 12:20:11 -08:00
Zach Loafman
9caf0a7e72
Merge pull request #20221 from zmerlynn/cvm-new-2
...
REALLY bump to container-vm-v20160127
2016-01-27 10:31:28 -08:00
Zach Loafman
cb9afa65f0
REALLY bump to container-vm-v20160127
2016-01-27 10:28:04 -08:00
Brendan Burns
6f15b532f7
Merge pull request #20218 from zmerlynn/cvm-new
...
Bump to container-vm-v20160127
2016-01-27 10:24:24 -08:00
Zach Loafman
727fb1a97a
Bump to container-vm-v20160127
2016-01-27 09:22:07 -08:00
James DeFelice
70a5cc462b
updated cluster/mesos/docker and contrib/mesos for mesos-0.26 compat
2016-01-27 17:13:07 +00:00
Filip Grzadkowski
0dedf869c7
Revert "Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1"
2016-01-27 17:22:36 +01:00
Peter McDonnell
4d4f1c645c
exit if unable to query status from apiserver
2016-01-27 15:21:09 +00:00
Piotr Szczesniak
e96993f2ce
Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1
2016-01-27 11:09:18 +01:00
k8s-merge-robot
86dd321c73
Merge pull request #19489 from cloudnativeapps/vsphere-support-1
...
Auto commit by PR queue bot
2016-01-26 22:27:55 -08:00
k8s-merge-robot
738eae88f8
Merge pull request #19841 from marun/vagrant-fedora23
...
Auto commit by PR queue bot
2016-01-26 18:45:48 -08:00
Alex Robinson
6acf297231
Update the fluentd versions to include fixes for #19405 .
2016-01-27 00:30:53 +00:00
Alex Robinson
ac13e851e2
Don't let fluentd pipe its own logs directly back into itself.
2016-01-27 00:30:53 +00:00
Alex Robinson
95a4ea3fc8
Increase the fluentd buffer chunk size to improve write throughput.
...
Also reduce the max wait between retries, 30 seconds should be more than
enough backoff.
2016-01-27 00:30:50 +00:00
Robert Bailey
a8cad507db
Fix list-resources.sh to work with the GKE provider. Also update
...
the grep command to work for versions of grep that don't
understand '\s'.
2016-01-26 15:05:29 -08:00
Clayton Coleman
38c7eded99
Prepare for content-type negotiation
...
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.
Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Prashanth Balasubramanian
eecfdc065b
Bump glbc to 0.5.2
2016-01-26 10:40:07 -08:00
Zach Loafman
23b4bfb370
Merge pull request #20126 from kubernetes/revert-19957-container-vm-v20160121
...
Revert "Bump to container-vm-v20160121"
2016-01-26 10:38:32 -08:00
k8s-merge-robot
6c63acdd3d
Merge pull request #19398 from justinsb/aws_elasticip_for_master
...
Auto commit by PR queue bot
2016-01-26 04:34:28 -08:00
k8s-merge-robot
8c821700f3
Merge pull request #19389 from justinsb/internal_cidr
...
Auto commit by PR queue bot
2016-01-26 03:58:48 -08:00
k8s-merge-robot
3f40fb7d0a
Merge pull request #17923 from yuvipanda/kube2dns-pflag
...
Auto commit by PR queue bot
2016-01-26 02:13:44 -08:00
k8s-merge-robot
2286bd3a38
Merge pull request #19961 from mamikonyana/newrepo
...
Auto commit by PR queue bot
2016-01-25 19:51:23 -08:00
k8s-merge-robot
bd97eec9b6
Merge pull request #19928 from jfchevrette/fix_ubuntu_sysv_init
...
Auto commit by PR queue bot
2016-01-25 19:50:47 -08:00
k8s-merge-robot
110f995484
Merge pull request #19748 from freehan/registry
...
Auto commit by PR queue bot
2016-01-25 19:48:10 -08:00
Maru Newby
e709e91c64
Vagrant fixes for fedora 23
...
- wget is not installed by default on fedora 23. Use curl instead
since it is always available on recent Fedora.
- The repo url for cockpit resulted in an http redirect message being
saved as the repo file which broke deployment. Update the url to
url that was redirected to and ensure that future redirects will be
handled correctly.
- The main Fedora 23 repo includes salt packages, and there is no
salt repo for 23. The salt bootstrap still creates a repo file for
a nonexistent repo, though, and this change removes it to avoid
having dnf report an error on every update.
2016-01-26 00:33:01 +00:00
Dawn Chen
93168c1ede
Merge pull request #20036 from ihmccreery/instance-prefix
...
Use INSTANCE_PREFIX to prefix uploaded binaries in GCE
2016-01-25 16:07:13 -08:00
Zach Loafman
abfbf68287
Revert "Bump to container-vm-v20160121"
2016-01-25 15:54:41 -08:00
Mike Danese
69add2fb80
dns: don't die when a headless service declares no ports
...
Headless services are not required to declare ports.
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-25 15:46:06 -08:00
Eric Tune
f2df774ec9
Chmod password and token files.
...
Fixes #7808 .
2016-01-25 15:14:17 -08:00
Piotr Szczesniak
f93b1f1043
Bumped Heapster to v0.18.5 to fix issue with nil pointer panic
2016-01-25 21:55:16 +01:00
Quinton Hoole
10f7985dfb
Merge pull request #19995 from justinsb/gce_label_pd
...
Ubernetes-Lite GCE: Label volumes with zone information
2016-01-25 10:34:10 -08:00
jet tsang zeon-git
9ea4f6b6d9
fix kube-up without DOCKER_OPTS
2016-01-25 07:15:20 +08:00
Dhawal Yogesh Bhanushali
f7db2c6e99
vsphere support
2016-01-24 13:52:56 -08:00
Justin Santa Barbara
a4d6801655
AWS: Change config-test defaults to match GCE
...
KUBE_ENABLE_DAEMONSETS & KUBE_ENABLE_DEPLOYMENTS default to true in
config-test in GCE, so we should do the same in AWS for e2e sanity.
2016-01-24 10:43:43 -05:00
Justin Santa Barbara
8a7afc459c
AWS: Call build-runtime-config where it is used
...
build-runtime-config was being called in verify-prereqs, which didn't
match how GCE called it, and didn't seem to actually work.
Instead call it just before the master configuration is built. Also
call it just before the node configuration is built, even though the
nodes don't _currently_ require the runtime_config.
2016-01-24 10:43:15 -05:00
Michael Faille
ce7d5fe6e7
fix : openssl don't exist by default on CentOS docker image
...
To fix it, I just add openssl depedency on "generate-cert" state. It
should work on Debian-like and RedHat-Like systems. (and, Archlinux,
Opensuse, etc)
Fixed error :
$ sudo salt 'kubernetes-master' state.apply
----------
ID: kubernetes-cert
Function: cmd.script
Result: False
Comment: Command 'kubernetes-cert' run
Started: 06:57:06.634203
Duration: 208.719 ms
Changes:
----------
pid:
793
retcode:
1
stderr:
/tmpm24T3R.sh: line 22: openssl: command not found
chgrp: cannot access '/srv/kubernetes/server.key': No such file or directory
chgrp: cannot access '/srv/kubernetes/server.cert': No such file or directory
chmod: cannot access '/srv/kubernetes/server.key': No such file or directory
chmod: cannot access '/srv/kubernetes/server.cert': No such file or directory
stdout:
After applying my patch (success) :
----------
ID: kubernetes-cert
Function: cmd.script
Result: True
Comment: Command 'kubernetes-cert' run
Started: 07:17:04.172384
Duration: 1041.092 ms
Changes:
----------
pid:
1045
retcode:
0
stderr:
Generating a 4096 bit RSA private key
......................................................................++
...............................................................................++
writing new private key to '/srv/kubernetes/server.key'
-----
stdout:
----------
2016-01-24 02:18:11 -05:00
Justin Santa Barbara
d8460d5920
AWS: Pass non-masquerade-cidr through kube-up
...
Set the environment variable NON_MASQUERADE_CIDR.
Docs in cluster/aws/options.md
2016-01-22 21:01:44 -05:00
Isaac Hollander McCreery
9477bc08a5
Use INSTANCE_PREFIX to prefix uploaded binaries in GCE, fixes #8705
2016-01-22 15:27:33 -08:00
Mike Danese
0fdaa41c5e
cluster/gce: fix unbound variable
2016-01-22 14:42:32 -08:00
Justin Santa Barbara
88eeec4f13
GCE: Register the PersistentVolumeLabel admission controller
2016-01-22 17:16:39 -05:00
Rudi Chiarito
bc0dd97a70
ECR credential provider
2016-01-22 15:03:25 -05:00
Arsen Mamikonyan
8b5e9e2885
Change repository references to https://github.com/kubernetes/kubernetes
2016-01-22 10:23:14 -05:00
Piotr Szczesniak
e6f3e2893a
Fixed syntax issue in Heapster config
2016-01-22 10:29:38 +01:00
Zach Loafman
83a6b7fcaa
Merge pull request #19957 from zmerlynn/container-vm-v20160121
...
Bump to container-vm-v20151215
2016-01-21 22:05:12 -08:00
Brendan Burns
faf10632fe
Merge pull request #19963 from freehan/monitor
...
fix heapster rc file jinja syntax error
2016-01-21 21:03:50 -08:00
Justin Santa Barbara
274e589aa6
AWS: Use an elastic IP for the master by default
...
If we don't use an elastic IP, the IP address will be lost if we lose
the master for any reason, and a replacement master will not have the
same IP. But the master IP is set both in client kubeconfig files and
the master SSL certificate. Hence the default should be to allocate an
elastic IP for the master.
One complication: AWS doesn't allow tags on elastic IPs, so it is hard
to track the elastic IP so we can delete it as part of kube-down.
Instead, we take the master EBS volume with the elastic IP. This is a
little odd, but works because the master volume & the master elastic IP
really need to be assigned to the same machine, so might be thought of
as a pair.
Also, we now delete the master EBS volume as part of kube-down, as
people expect kube-down to clean-up everything it creates.
2016-01-21 22:01:55 -05:00
YuviPanda
12a6778766
Update skynd RC template to use GNU style flags
2016-01-21 16:59:02 -08:00
YuviPanda
cd23dcee34
Use pflag instead of flag in kube2dns
...
- Marks flags with _ as deprecated, use the - variants instead
2016-01-21 16:58:25 -08:00
Yifan Gu
5817ca1c71
cluster/gce/coreos: Add scripts for configuring the master/node.
2016-01-21 16:32:15 -08:00
Yifan Gu
1705f4919f
cluster/gce/coreos: Update master and node cloud config.
2016-01-21 16:32:15 -08:00
Yifan Gu
fe70bf8485
cluster/gce/coreos: Upload templates during kube-up.
...
Also added create-master-instance() and create-node-instance-template()
2016-01-21 16:32:15 -08:00
Yifan Gu
d7f4f6b3e0
cluster/gce/coreos: Add manifests for addons and master components.
2016-01-21 16:32:15 -08:00
Minhan Xia
3da8d80187
fix jinja syntax error
2016-01-21 16:03:49 -08:00
Alex Mohr
f788e1e11a
Merge pull request #19446 from justinsb/aws_reboot_master_on_failure
...
AWS: Create a cloudwatch alarm to reboot the master on failure
2016-01-21 15:05:14 -08:00
Zach Loafman
5965252421
Bump to container-vm-v20151215
...
No new kubelet/docker. Bump kernel to address CVE-2016-0728.
2016-01-21 14:32:20 -08:00
Alex Mohr
8d021f3d88
Merge pull request #19897 from ixdy/test-golang-1.5.3
...
Update tests from Go 1.5.2 to Go 1.5.3
2016-01-21 12:00:00 -08:00
Alex Mohr
7cd28ec178
Merge pull request #19922 from gmarek/kube-up
...
Slightly change warning printed when not all nodes are ready in validate-cluster.
2016-01-21 10:56:46 -08:00
Alex Mohr
d8be60ee57
Merge pull request #19777 from justinsb/echo_sleep_is_silly
...
kube-up scripts: don't 'echo sleep'
2016-01-21 10:44:38 -08:00
Alex Mohr
4c8e28b77c
Merge pull request #19535 from brendandburns/salt
...
Check that num_nodes is both defined and not None, not just defined
2016-01-21 10:42:53 -08:00
Alex Mohr
233d292ae5
Merge pull request #19456 from justinsb/salt_fix_tar_filemode
...
Salt: mode for tar file should be 644, not 755
2016-01-21 10:40:38 -08:00
Jean-Francois Chevrette
c5dca43427
remove etcd dependency on sysv init scripts
2016-01-21 13:38:27 -05:00
Alex Mohr
8755f3e8a3
Merge pull request #19407 from justinsb/aws_fix_salt_helium_detection
...
AWS: don't rely on salt for kube-node-unpacker on AWS
2016-01-21 10:38:08 -08:00
Alex Mohr
20ec685a50
Merge pull request #19271 from mbonaci/patch-1
...
Fix small dns readme error
2016-01-21 10:36:34 -08:00
Alex Mohr
766ee6cf0b
Merge pull request #19819 from ysh7/master
...
Problem with centos cluster creation script
2016-01-21 10:35:09 -08:00
Alex Mohr
8f0ab67819
Merge pull request #19241 from mesosphere/karlkfi-docker-cluster
...
Extract keygen image
2016-01-21 10:29:39 -08:00
Alex Mohr
eaa61a72b0
Merge pull request #17919 from justinsb/multizone_gce
...
Ubernetes Lite support for GCE
2016-01-21 10:22:34 -08:00
Jeff Grafton
0d84b49f65
Update tests from Go 1.5.2 to Go 1.5.3
2016-01-21 09:43:52 -08:00
gmarek
9d1e4b153c
Slightly change warning printed when not all nodes are ready in validate-cluster.
2016-01-21 15:55:36 +01:00
k8s-merge-robot
36b6d80912
Merge pull request #17213 from luxas/16987-default-serviceaccount-secret-hyperkube
...
Auto commit by PR queue bot
2016-01-21 04:31:45 -08:00
Justin Santa Barbara
43cbfb74fe
Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
...
We adapt the existing code to work across all zones in a region.
We require a feature-flag to enable Ubernetes-Lite
Reasons:
* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.
There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
k8s-merge-robot
4e04a289d8
Merge pull request #19793 from MikeSpreitzer/issue/19221
...
Auto commit by PR queue bot
2016-01-20 18:52:56 -08:00
Minhan Xia
33ecc6226e
add extension links in registry README
2016-01-20 16:49:53 -08:00
Minhan Xia
263ac066e2
add docs to setup auth for kube-registry
2016-01-20 16:49:45 -08:00
Justin Santa Barbara
2958ea253a
GCE: Allow for reuse of master
...
This is for internal use at the moment, for testing Ubernetes Lite, but
arguably makes the code a little cleaner.
Also rename KUBE_SHARE_MASTER -> KUBE_USE_EXISTING_MASTER
2016-01-20 15:37:00 -05:00
Justin Santa Barbara
cdd4caf4df
Salt: force service provider to systemd if systemd
...
The version of Salt we're running doesn't do a good job of detecting
systemd. Inspired by https://github.com/saltstack/salt/issues/13926 ,
I added a provider-force to the services.
With this change, salt-call -l debug state.highstate succeeds, even for
repeated invocations.
The issue was (probably) benign, but definitely caused noised (e.g. #11297 )
2016-01-20 12:20:50 -05:00
Justin Santa Barbara
32d48c619c
AWS: Fix the docker-engine package name
...
I got the package name wrong before, which meant that salt was failing
on invocations after the first (the name apparently doesn't matter on
the first invocation).
2016-01-20 12:19:36 -05:00
k8s-merge-robot
89dea9f381
Merge pull request #19797 from justinsb/aws_docker_183
...
Auto commit by PR queue bot
2016-01-19 17:24:35 -08:00
k8s-merge-robot
b80ed11cc2
Merge pull request #15998 from cilium-team/updating-vagrant
...
Auto commit by PR queue bot
2016-01-19 17:13:03 -08:00
Minhan Xia
64d267f251
add docs for enabling tls for kube-registry
2016-01-19 17:02:30 -08:00
Minhan Xia
42ac5d2bd9
add docs about running private registry with gcs
2016-01-19 16:57:39 -08:00
André Martins
0515b4c7c9
Updated Vagrant VMs to Fedora 23
...
Signed-off-by: André Martins <aanm90@gmail.com>
2016-01-19 16:52:54 +00:00
Yagnesh Mistry
c171a96d15
fix error related to flannel network in CentOS 7 cluster creation scripts
2016-01-19 17:17:50 +05:30
Mike Spreitzer
bf671f5723
Fix reference to kubernetes release
...
Replace old repo name with https://github.com/kubernetes/kubernetes .
Update default release to the latest, which is 1.1.4.
2016-01-18 23:54:36 -05:00
Justin Santa Barbara
dcd7e813f7
AWS: Update AMIs for Ubuntu Vivid
...
Update to the latest AMIs for Vivid, as sourced from:
http://cloud-images.ubuntu.com/locator/ec2/
2016-01-18 16:47:06 -05:00
Justin Santa Barbara
9f995df29c
AWS: Use Docker 1.8.3 on Ubuntu vivid
...
This currently requires downloading from the Docker repository, until we
get the packages uploaded to Google Cloud Storage.
Issue #19796
2016-01-18 14:13:55 -05:00
Justin Santa Barbara
d2e65a89d0
kube-up scripts: don't 'echo sleep'
...
'echo sleep 5' just prints 'sleep 5'; replace with 'sleep 5'.
2016-01-17 21:29:01 -05:00
Justin Santa Barbara
65feea4449
AWS: don't rely on salt for kube-node-unpacker on AWS
...
We've had a lot of salt problems with systemd on AWS; we have a
workaround in place that we use everywhere else, we should use that for
kube-node-unpacker too.
Fixes #19386
Issue #19388
2016-01-17 14:35:07 -05:00
k8s-merge-robot
bd8d37f6f2
Merge pull request #19522 from apcera/dev_python3
...
Auto commit by PR queue bot
2016-01-17 03:21:07 -08:00
Mike Danese
912e54e496
Merge pull request #19749 from bprashanth/color
...
Remove undefined color_ variables
2016-01-16 10:46:31 -08:00
k8s-merge-robot
c678ef3592
Merge pull request #19410 from mesosphere/jdef_run_job_with_timeout
...
Auto commit by PR queue bot
2016-01-16 05:53:40 -08:00
Prashanth Balasubramanian
7a97163914
Remove undefined color_ variables.
2016-01-15 18:06:32 -08:00
Mike Danese
919c011d96
Merge pull request #19640 from MikeSpreitzer/issue/19484
...
Make deployAddons.sh ensure KUBE_CONFIG_FILE is defined
2016-01-14 14:09:05 -08:00
James DeFelice
bc92fd6a02
add a timeout for job runs in case something gets stuck
2016-01-14 19:29:38 +00:00
Piotr Szczesniak
b4b5ead09a
Bumped Heapster to v0.18.4 to fix issue with broken watch
2016-01-14 13:02:56 +01:00
Mike Spreitzer
d4ab9663c4
Introduce FLANNEL_OTHER_NET_CONFIG
...
.. so allow configuration of other fields in, usually,
/coreos.com/network/config in etcd.
Fixes #19618
2016-01-14 01:27:13 -05:00
k8s-merge-robot
dc36f3a7f4
Merge pull request #19404 from nagarjung/update-get-kube
...
Auto commit by PR queue bot
2016-01-13 20:25:23 -08:00
Mike Spreitzer
f23e4fb37b
Make deployAddons.sh ensure KUBE_CONFIG_FILE is defined
...
Fixes #19484
2016-01-13 23:12:11 -05:00
k8s-merge-robot
cf7d2af14a
Merge pull request #19086 from mikedanese/fix-build
...
Auto commit by PR queue bot
2016-01-13 02:12:44 -08:00
Josh Ellithorpe
76e8a8b08d
Fix issues with Python3 and bring up a dev cluster
2016-01-12 11:08:42 -08:00
Daniel Smith
3ffcfb928a
Merge pull request #18752 from miry/env-in-validate-cluster
...
AWS: Load cluster env during the validation
2016-01-12 10:39:19 -08:00
Daniel Smith
3b9d67e6c0
Merge pull request #18742 from bprashanth/flannel_release_temp
...
Don't pull flannel from github
2016-01-12 10:37:52 -08:00
k8s-merge-robot
e20a0db159
Merge pull request #19001 from endocode/fix-libvirt-coreos-cluster
...
Auto commit by PR queue bot
2016-01-12 08:15:00 -08:00
Brendan Burns
9c843495d7
Check that num_nodes is both defined and not None, not just defined
2016-01-12 07:20:35 -08:00
k8s-merge-robot
cc7acc0c58
Merge pull request #19061 from fgrzadkowski/release_docker
...
Auto commit by PR queue bot
2016-01-11 20:56:00 -08:00
k8s-merge-robot
d246ed00fa
Merge pull request #18894 from luxas/update_master_multi
...
Auto commit by PR queue bot
2016-01-11 20:38:41 -08:00
Mike Danese
22cfa5ea7e
build: move some of hack/lib/ into a new cluster/lib/
...
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.
Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
Minhan Xia
2a7656c0c0
Merge pull request #19383 from freehan/esloggingfix
...
Improve ES test resilience
2016-01-11 10:08:50 -08:00
Lucas Käldström
7d497441b3
Update docker-multinode instructions and version. Also run kube-proxy in a pod in the docker-multnode manifest
2016-01-11 16:45:56 +02:00
Nagarjun
fc9cac1594
Update get-kube.sh to not re-download the kubernetes archive
2016-01-11 12:03:54 +05:30
k8s-merge-robot
da5251ad60
Merge pull request #19170 from ZJU-SEL/fix-validation
...
Auto commit by PR queue bot
2016-01-10 14:22:57 -08:00
Justin Santa Barbara
5bf346216c
Salt: mode for tar file should be 644, not 755
...
Probably harmless, but it doesn't make sense to have it be executable.
2016-01-10 11:04:56 -05:00
Justin Santa Barbara
d91ad0bb6f
AWS: Create a cloudwatch alarm to reboot the master on failure
...
This is an easier alternative to keep a master running than trying to
dynamically find & attach master volumes.
To actually work, it requires that users create the EC2ActionsAccess IAM
role as required by CloudWatch, see e.g.
http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/UsingIAM.html
2016-01-09 14:53:29 -05:00
Julian Strobl
7f4848cf5b
update generated docs
...
Command executed:
./hack/update-generated-docs.sh
2016-01-08 10:12:18 +01:00
k8s-merge-robot
c156835f8a
Merge pull request #19216 from luxas/etcd_cross_platform
...
Auto commit by PR queue bot
2016-01-07 11:56:13 -08:00
Brendan Burns
9ac13f665d
Merge pull request #19320 from justinsb/aws_pass_numnodes
...
AWS: Pass NUM_NODES in instance-data
2016-01-07 09:59:07 -08:00
k8s-merge-robot
b1e4831265
Merge pull request #19148 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2016-01-06 17:29:48 -08:00
Minhan Xia
c3d400f4bb
Gather Fluentd logs
2016-01-06 13:46:12 -08:00
Lucas Käldström
10a70a6ffd
Added shared volume to the master-multi setup, so serviceAccounts also works for multi-host setups.
2016-01-06 09:50:16 +02:00
Justin Santa Barbara
57265a4c74
AWS: Pass NUM_NODES in instance-data
...
The bootstrap scripts already assume it is set.
2016-01-05 23:10:43 -05:00
Karl Isenberg
36f216179f
Vendor github.com/karlkfi/intemp (bash library)
2016-01-05 18:02:33 -08:00
Karl Isenberg
ff0a2871f3
Fix buffer_output to actually handle interrupts
2016-01-05 17:57:04 -08:00
Karl Isenberg
acef0404e5
Simplify docker run execution in a way that still handles SIGINT & SIGTERM
2016-01-05 17:55:52 -08:00
k8s-merge-robot
66d3cbf889
Merge pull request #16900 from madhusudancs/avoid-kubelet-oscillation
...
Auto commit by PR queue bot
2016-01-05 17:14:13 -08:00
Andy Zheng
d27e3ae8a1
Run kube-proxy in Trusty in a static pod.
...
We copy the manifest from salt configurations, and then remove the salt
content in the file and replace the variables with values.
2016-01-05 16:11:58 -08:00
Filip Grzadkowski
e7e8c5af84
Push docker images for cluster components during release.
2016-01-05 12:36:10 +01:00
k8s-merge-robot
2fb0aa6e5e
Merge pull request #19147 from luxas/experimentl_apiserver
...
Auto commit by PR queue bot
2016-01-05 02:59:17 -08:00
Lucas Käldström
c77d6f7d59
Make the etcd image cross-platform
2016-01-05 10:52:12 +02:00
Karl Isenberg
3d96de594c
Use intemp v1.0.2 that doesn't require TMPDIR
2016-01-04 19:17:58 -08:00
Karl Isenberg
1a6509083f
Make TMPDIR optional
2016-01-04 19:17:57 -08:00
Karl Isenberg
4ca42f075c
Fix buffer_output
2016-01-04 19:17:57 -08:00
Karl Isenberg
54010e5119
Fix typo
2016-01-04 19:17:57 -08:00
Karl Isenberg
1938414706
Extract kubernetes-keygen to its own repo: mesosphere/kubernetes-keygen
...
- Move keygen image mesosphere/kubernetes-mesos-keygen -> mesosphere/kubernetes-keygen:v1.0.0
- Remove resolveip in favor of github.com/karlkfi/resolveip (resolveip.sh)
- Remove util-temp-dir.sh in favor of github.com/karlkfi/intemp (intemp.sh)
- Refactor bash code to use intemp (extract functions to scripts)
- Remove util-ssl.sh in favor of mesosphere/kubernetes-keygen
2016-01-04 19:17:57 -08:00
Marko Bonaći
5cbd461442
Fix dns readme (kubectl output: REASON -> STATUS)
2016-01-04 23:47:04 +01:00
Madhusudan.C.S
059c2aa799
Mitigate node out of disk status oscillation by delaying it.
...
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.
Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.
Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
k8s-merge-robot
ac7f85046a
Merge pull request #19225 from mikefaille/master
...
Auto commit by PR queue bot
2016-01-03 02:24:39 -08:00
k8s-merge-robot
b4189f965e
Merge pull request #19136 from gmarek/cleanup
...
Auto commit by PR queue bot
2016-01-02 08:02:30 -08:00
Michael Faille
a2c7ea9ac1
FIX : replace publicIP (decapricated) for clusterIP
...
It fix this bug :
https://stackoverflow.com/questions/34255601/kube-addons-service-failed-on-coreos-libvirt-installation
Some documentation that explain why clusterIP is better :
https://github.com/kubernetes/kubernetes/blob/master/docs/api.md
2016-01-02 00:05:57 -05:00
Justin Santa Barbara
f9a6ac077e
Ubernetes Lite: Volumes can dictate zone scheduling
...
For AWS EBS, a volume can only be attached to a node in the same AZ.
The scheduler must therefore detect if a volume is being attached to a
pod, and ensure that the pod is scheduled on a node in the same AZ as
the volume.
So that the scheduler need not query the cloud provider every time, and
to support decoupled operation (e.g. bare metal) we tag the volume with
our placement labels. This is done automatically by means of an
admission controller on AWS when a PersistentVolume is created backed by
an EBS volume.
Support for tagging GCE PVs will follow.
Pods that specify a volume directly (i.e. without using a
PersistentVolumeClaim) will not currently be scheduled correctly (i.e.
they will be scheduled without zone-awareness).
2015-12-31 12:27:01 -05:00
Lucas Käldström
324890e267
Update a deprecated flag in hyperkube manifest
2015-12-30 23:01:02 +02:00
Filip Grzadkowski
7226b9ca0c
Remove --cluster-name flag from hyperkube configuration.
2015-12-29 16:47:36 +01:00
He Simei
abe7fc0e91
update validate-cluster.sh
2015-12-29 19:51:00 +08:00
Marek Grabowski
9a1d16f47d
Merge pull request #19165 from fgrzadkowski/release_docker_hyperkube
...
Refactor hyperkube Makefile to avoid changing local files
2015-12-29 12:07:44 +01:00
Filip Grzadkowski
215b4cc41f
Refactor hyperkube Makefile to avoid changing local files
2015-12-29 10:38:20 +01:00
Vishnu kannan
72abc47930
Disable serializing image pulls for e2e tests.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-12-28 10:27:13 -08:00
gmarek
d776a331de
Pipe things written in salt pillars which was missing it through sed
2015-12-28 12:23:59 +01:00
gmarek
fc6247152b
Split levels of verbosity of test logging on components.
2015-12-28 11:41:09 +01:00
Bryan Boreham
5b9135ff6f
Add default value of blank to VAGRANT_DEFAULT_PROVIDER when no provider found
2015-12-23 16:03:32 +00:00
Filip Grzadkowski
1c5166281f
Update comment in get-kube-local.sh
2015-12-23 15:49:14 +01:00
Mike Danese
c00dfe82f8
Revert "Push server docker images during the release"
2015-12-22 19:59:56 -08:00
k8s-merge-robot
78b573e803
Merge pull request #18893 from fgrzadkowski/release_docker
...
Auto commit by PR queue bot
2015-12-22 16:54:18 -08:00
Thomas Fricke
efce499bb9
add README.md
2015-12-22 10:36:25 +01:00
Julian Strobl
f1603a0213
take all ssh public keys into account
...
For those of us, who do not use the default ssh naming scheme.
2015-12-22 10:33:52 +01:00
Thomas Fricke
dd71deb772
check for existing POOL_PATH
2015-12-22 10:33:46 +01:00
Thomas Fricke
66a5a8bc0a
add debug check
2015-12-22 10:32:31 +01:00
Thomas Fricke
ee3c66fd46
fix messed up volume handling
2015-12-22 10:32:11 +01:00
k8s-merge-robot
4141679caa
Merge pull request #18748 from miry/compact-cloud-init-script-bug
...
Auto commit by PR queue bot
2015-12-21 15:56:15 -08:00
k8s-merge-robot
de338e88ff
Merge pull request #18784 from zmerlynn/test_containervm
...
Auto commit by PR queue bot
2015-12-20 15:46:50 -08:00
k8s-merge-robot
7a8b9e64bd
Merge pull request #18932 from luxas/dns_docker_guide
...
Auto commit by PR queue bot
2015-12-20 08:29:16 -08:00
k8s-merge-robot
2eea4c0e8f
Merge pull request #18819 from wojtek-t/flag_gate_second_etcd
...
Auto commit by PR queue bot
2015-12-20 00:36:58 -08:00
k8s-merge-robot
3f91f18a55
Merge pull request #18488 from yifan-gu/dockerized_python
...
Auto commit by PR queue bot
2015-12-19 10:52:15 -08:00
Lucas Käldström
6ab098ec56
Add the default dns options to kubelet when running inside docker and document it
2015-12-19 17:36:36 +02:00
Federico Gimenez
b677d94bb9
Added --allow-privileged flag to kubelet and apiserver init command
2015-12-19 15:47:41 +01:00
k8s-merge-robot
3c60d90a55
Merge pull request #18899 from marun/fix-get-kube-local
...
Auto commit by PR queue bot
2015-12-19 04:47:37 -08:00
k8s-merge-robot
0b647564fc
Merge pull request #18625 from bprashanth/kube_up_flannel
...
Auto commit by PR queue bot
2015-12-19 01:29:11 -08:00
k8s-merge-robot
bf67eab89f
Merge pull request #18216 from gmarek/limits
...
Auto commit by PR queue bot
2015-12-18 20:39:01 -08:00
Yifan Gu
516032f336
kube-addons: Use python container if python is not found on the machine.
...
To build the python image, BUILD_PYTHON_IMAGE should be set during make.
When the addon script is running, it will check if python is installed
on the machine, if not, it will use the python image that built previously.
2015-12-18 15:14:56 -08:00
k8s-merge-robot
6f83ff6c8f
Merge pull request #18823 from runseb/patch-2
...
Auto commit by PR queue bot
2015-12-18 10:38:01 -08:00
k8s-merge-robot
0641e4a8f0
Merge pull request #18417 from Pensu/master
...
Auto commit by PR queue bot
2015-12-18 10:35:00 -08:00
Maru Newby
e1c11c7d9e
Fix bugs in cluster/get-kube-local.sh
...
- default the release to the value of latest_release instead of
the string 'latest_release'
- use curl -O when retrieving kubectl to write output to disk instead
of to the screen
2015-12-18 18:13:46 +00:00
Filip Grzadkowski
f6fce5cd43
Push docker images during the release.
2015-12-18 16:08:44 +01:00
Wojciech Tyczynski
8b3c5f97ff
Merge pull request #18888 from gmarek/master
...
Update validate-cluster.sh
2015-12-18 14:16:22 +01:00
gmarek
95f8593898
Update validate-cluster.sh
2015-12-18 12:04:54 +01:00
Wojciech Tyczynski
38bb110905
Enable etcd for events only in large clusters
2015-12-18 12:03:29 +01:00
gmarek
e138ad3d43
Don't fail kube-down if no MIGs are present
2015-12-18 11:12:42 +01:00
runseb
3f8504be80
Add ServiceAccount to admission-control
...
Seems ServiceAccount is missing for single node docker deployment based on master.json
2015-12-17 17:02:53 +01:00
k8s-merge-robot
f84c175e04
Merge pull request #18615 from ixdy/gce-cert-creation
...
Auto commit by PR queue bot
2015-12-17 07:15:13 -08:00
Wojciech Tyczynski
d1cb1de5af
Fix unbound variable issue
2015-12-17 13:54:56 +01:00
Carles Lopez
c8beaac51d
Add root device detection to boot correctly
2015-12-17 13:33:00 +01:00
k8s-merge-robot
15a57daf75
Merge pull request #18747 from tPl0ch/hotfix-env-var-not-set
...
Auto commit by PR queue bot
2015-12-17 02:24:57 -08:00
gmarek
2d5c429f9d
Add resource requests to addons
2015-12-17 10:13:15 +01:00
Thomas Ploch
2aa8ca2c1a
[CLUSTER] OS_DISTRIBUTION
is not set
...
Fixes https://github.com/kubernetes/kubernetes/issues/18746
2015-12-17 06:47:19 +01:00
He Simei
5d92dd4cb8
fix typo
2015-12-17 09:51:07 +08:00
k8s-merge-robot
caae39b122
Merge pull request #18731 from mikedanese/disable-kube-push
...
Auto commit by PR queue bot
2015-12-16 13:57:31 -08:00
Abhi Shah
89670c1df8
Merge pull request #18733 from ArtfulCoder/kube2sky-ver
...
update kube2sky version
2015-12-16 13:42:01 -08:00
Zach Loafman
7996bf3393
Bump to container-vm-v20151215:
...
New kubelet version (which doesn't matter), no new Docker version, new
base bits. Cherry-pickable to 1.1.
2015-12-16 13:08:24 -08:00
Robert Bailey
74d568815b
Fix a typo in #18490 .
2015-12-16 09:00:13 -08:00
k8s-merge-robot
6716290903
Merge pull request #18388 from nikhiljindal/clusterName
...
Auto commit by PR queue bot
2015-12-16 03:50:11 -08:00
Michael Nikitochkin
2059a7c3fa
AWS: Load cluster env during the validation
...
There is an issue when I specified all env in `cluster/env.sh`
And redefine `NUM_NODES`, than if it less than I have loop.
2015-12-16 10:26:11 +01:00
Michael Nikitochkin
2272de1f67
AWS: Fixed compacting script of cloud init for MacOS
...
In MacOS there is error during setup a new cluster:
```
+ sed -i -e 's/^[[:blank:]]*#.*$//' -e '/^[[:blank:]]*$/d' /sometmpfile
sed: -e: No such file or directory
```
Because sed version of MacOS does not support modern features.
2015-12-16 09:20:57 +01:00
k8s-merge-robot
c6299c48db
Merge pull request #18490 from ZJU-SEL/configurable-kubelet-config
...
Auto commit by PR queue bot
2015-12-15 22:20:27 -08:00
k8s-merge-robot
582c84b562
Merge pull request #18485 from andyzheng0831/trusty-release
...
Auto commit by PR queue bot
2015-12-15 21:18:58 -08:00
Prashanth Balasubramanian
19a2cd23f3
Don't pull flannel from github
2015-12-15 17:42:54 -08:00
k8s-merge-robot
e7e350dce9
Merge pull request #18718 from mikedanese/kube-ui-v4
...
Auto commit by PR queue bot
2015-12-15 15:42:43 -08:00
Abhishek Shah
5abfce45e1
update kube2sky version
2015-12-15 15:16:47 -08:00
Mike Danese
93a58415d6
disable kube-push in gce until it's fixed
2015-12-15 14:50:41 -08:00
Minhan Xia
2c9ffc1b45
Merge pull request #18448 from freehan/eslogging
...
add validation for fluentd pods
2015-12-15 13:25:21 -08:00
Minhan Xia
ea34f453b8
Merge pull request #18678 from freehan/esmaster
...
enforce node quorum to prevent es split brain problem
2015-12-15 13:25:00 -08:00
Mike Danese
b660cf9596
update kube-ui to v4
2015-12-15 10:12:02 -08:00
k8s-merge-robot
bbbcc3e772
Merge pull request #18588 from tPl0ch/fix-aws-config-kube-up
...
Auto commit by PR queue bot
2015-12-15 04:32:49 -08:00
k8s-merge-robot
b02417bb9b
Merge pull request #18348 from mesosphere/sur-652-conformance-tests
...
Auto commit by PR queue bot
2015-12-15 02:02:50 -08:00
k8s-merge-robot
9c77dabb1b
Merge pull request #18475 from andyzheng0831/fix
...
Auto commit by PR queue bot
2015-12-15 01:18:29 -08:00
Piotr Szczesniak
af4788116a
Merge pull request #18567 from gmarek/1000-kube-up
...
Allow creation of clusters larger than 500 nodes in GCE, take 2.
2015-12-15 09:15:30 +01:00
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
Alex Robinson
69ab7026af
Update fluentd-es to collect etcd logs and remove merge conflict cruft.
2015-07-30 22:21:01 +00:00
Alex Robinson
9e18c29e9f
Make fluentd-gcp collect etcd's logs on the master.
2015-07-30 22:20:57 +00:00
Mike Danese
cdb7d1ec61
Merge pull request #11960 from brendandburns/docker
...
Update docker instructions to 1.0.1
2015-07-30 14:12:41 -07:00
Alex Robinson
94ae0a9a0d
Make the kubelet on a GCE master check instance metadata for manifests.
...
Primary motivation: enable GKE and other cluster-as-a-service folks to
easily run additional logic on the master without having to modify salt
or SSH to the master after it's been created.
2015-07-30 21:04:34 +00:00
Mike Danese
5747df378d
Merge pull request #11946 from mamikonyana/service-node-port-range
...
Allow settings --service-node-port-range option using a config variable
2015-07-30 13:23:45 -07:00
Brendan Burns
f89c9e3878
Merge pull request #11998 from vishh/update_heapster
...
Auto commit by PR queue bot
2015-07-30 13:10:02 -07:00
Arsen Mamikonyan
792849251a
Allow settings --service-node-port-range option using a config variable
2015-07-30 12:39:32 -07:00
Vishnu Kannan
c08ad6b7c1
Avoid mounting ssl volumes for heapster container.
2015-07-30 10:45:26 -07:00
Mike Danese
01de52e91a
Merge pull request #11931 from stensonb/master
...
minor doc typo
2015-07-30 08:21:04 -07:00
Wojciech Tyczynski
3cbbe72f9f
Move etcd storage to pkg/storage/etcd
2015-07-30 15:42:06 +02:00
Wojciech Tyczynski
2c5c1931e5
Revert "Implement 'Nodes Network' test for GKE"
2015-07-30 15:29:01 +02:00
Mike Danese
59a1dd4267
Merge pull request #11789 from mbforbes/nodesNetwork
...
Implement 'Nodes Network' test for GKE
2015-07-29 17:43:33 -07:00
Vishnu Kannan
b36ae6efba
Upgrading heapster to v0.17.0
2015-07-29 16:13:33 -07:00
Brendan Burns
132575bcf8
Update single node docker to 1.0.1
2015-07-29 13:43:27 -07:00
Mike Danese
dcd6537b1b
Merge pull request #11104 from gabrielweyer/patch-2
...
Stop prompting for storage account type
2015-07-29 11:08:37 -07:00
Mike Danese
025d3568bc
Merge pull request #11970 from ZJU-SEL/deprecate-outdated-param
...
deprecate outdated param for deploying k8s on ubuntu
2015-07-29 10:30:20 -07:00
He Simei
a67be8e8ab
deprecate outdated param
2015-07-29 13:57:14 +08:00
Jeff Lowdermilk
27ce920c1b
Remove unused vars in cluster/gke/config and add warning
2015-07-28 11:58:20 -07:00
Bryan Stenson
85b04f9e6c
minor doc typo
2015-07-28 09:24:17 -07:00
Egor Guz
1d12f4604a
Added create folder command to avoid situation when apiserver doesn't start fast enough.
...
kube-apiserver.service has 'ExecStartPre=/usr/bin/mkdir -p /var/lib/kube-apiserver', but if server is not fast enough 'mv /home/core/known_tokens.csv /var/lib/kube-apiserver/known_tokens.csv' will fail.
2015-07-27 16:01:59 -07:00
Janet Kuo
180798cfa4
Use example syncer tags instead of hard-coded examples in doc
2015-07-27 14:48:41 -07:00
Piotr Szczesniak
f48543aba5
Made enabling Kube UI configurable
2015-07-27 08:23:04 +02:00
Mike Danese
5bd82ffe6d
Merge pull request #11265 from mbforbes/gkeBashlog
...
Cleanup GKE bash logging
2015-07-24 18:51:36 -07:00
Max Forbes
bd9e09ba00
Implement 'Nodes Network' test for GKE
2015-07-24 17:05:30 -07:00
Mike Danese
d397d88499
Merge pull request #11390 from jfchevrette/fix-vagrant-eth1
...
Vagrant: virtualbox host-only network (eth1) not working after network restart
2015-07-24 13:12:24 -07:00
Mike Danese
01349cdbfa
Merge pull request #11786 from a-robinson/fluentd
...
Update fluentd-gcp images to include latest Dockerfile changes
2015-07-24 12:40:41 -07:00
Mike Danese
08671ed481
Merge pull request #10602 from marun/vagrant-ip-cfg-from-env
...
Vagrant: Allow env override of IP addresses
2015-07-24 11:20:34 -07:00
Mike Danese
bfd22a6974
Merge pull request #10686 from mesosphere/kube-util
...
Move sourcing of provider-specific util.sh into kube-util.sh
2015-07-24 10:31:48 -07:00
Mike Danese
13c5761268
Merge pull request #11358 from ZJU-SEL/upgradek8s
...
[WIP]upgrade ubuntu bare-metal k8s to 1.0.1
2015-07-24 10:22:43 -07:00
Mike Danese
2e1e4f81cb
Merge pull request #11794 from mikedanese/revert-revert
...
Revert revert of #11379
2015-07-24 10:20:48 -07:00
Mike Danese
e9084f95d1
Merge pull request #10517 from chrishiestand/gke-scopes
...
change shell var MINION_SCOPES to user setable
2015-07-24 09:22:25 -07:00
Simone Gotti
10904f2217
Set the right master port to kube-proxy in libvirt-coreos.
...
The currently specified port is the old 7080 read-only-port. As the
libvirt-coreos doesn't configure security, change it to the insecure-port 8080.
2015-07-24 12:10:57 +02:00
wizard
9b82c4716a
upgrade k8s to 1.0.1
2015-07-24 13:31:52 +08:00
Brendan Burns
26de8cd6b2
Merge pull request #10601 from marun/docker-pkg-f22
...
Auto commit by PR queue bot
2015-07-23 22:15:50 -07:00
Mike Danese
c3fd33a18d
fix test with array expansion
2015-07-23 21:04:47 -07:00
Mike Danese
0e10fac31e
Revert "Revert "Fix libvirt-coreos cluster""
...
This reverts commit 889d724c19
.
2015-07-23 21:03:23 -07:00
Mike Danese
889d724c19
Revert "Fix libvirt-coreos cluster"
2015-07-23 20:03:42 -07:00
Mike Danese
788012ae7b
Merge pull request #11379 from lhuard1A/fix_libvirt_coreos
...
Fix libvirt-coreos cluster
2015-07-23 18:43:54 -07:00
Alex Robinson
0889307522
Update the fluentd-gcp images to include their latest Dockerfile changes.
...
Their Dockerfiles were changed in #11768 .
2015-07-24 01:27:42 +00:00
Vish Kannan
6306ad1bce
Merge pull request #11736 from thockin/cleanup-dns-legacy
...
Stop populating legacy DNS names
2015-07-23 17:30:00 -07:00
Vish Kannan
919fded0f8
Merge pull request #10401 from justinsb/workaround_salt_18089
...
Work around Salt 18089
2015-07-23 16:52:21 -07:00
Vish Kannan
45def3f3f3
Merge pull request #11768 from mr-salty/remove-fluent-plugin-gem-update
...
Remove gem update for fluent-plugin-google-cloud
2015-07-23 16:43:28 -07:00
Vish Kannan
3f47fc2fb1
Merge pull request #11762 from mbforbes/rollingAlpha
...
Support gcloud rolling-update command in 'preview' and 'alpha compute'
2015-07-23 14:53:18 -07:00
Max Forbes
5ff1566aac
Support gcloud rolling-update command in 'preview' and 'alpha compute'
2015-07-23 14:16:31 -07:00
Tim Hockin
4e1630d3a9
Stop populating legacy DNS names
2015-07-23 13:51:09 -07:00
Vish Kannan
dc59c99d1a
Merge pull request #11740 from piosz/config
...
Added possibility to overwrite ENABLE_CLUSTER_DNS with env var
2015-07-23 13:25:35 -07:00
Vish Kannan
87f59201ab
Merge pull request #11483 from roberthbailey/secure-kubelet-config
...
Refactor the functions that generate auth for the kubelet and kubeproxy
2015-07-23 13:10:52 -07:00
Todd Derr
98ed2e8606
Remove gem update for fluent-plugin-google-cloud
...
This was originally submitted to pick up v0.3.1 of the cloud logging
plugin which had a fix for the name 'metadata' failing to resolve.
Since new releases of google-fluentd have this fix, it is no longer
required.
I've done some additional testing of 'gem update' behavior in the interim
and I think it is ok to use in targeted situations, but we should not be
doing an unconstrained update in general. The issue is that updating a
gem may bring new dependencies, some of those dependencies may include
native code, so it may try to launch a compiler, which isn't desirable
and prone to failure.
If we do need to grab an updated gem in the future we should specify an
explicit version and the --minimal-deps flag.
2015-07-23 15:06:56 -04:00
Vish Kannan
b6b8056a73
Merge pull request #11742 from jszczepkowski/scaler-up
...
Optional creation of nodes autoscaler for GCE.
2015-07-23 11:46:47 -07:00
Jerzy Szczepkowski
3808519907
Optional creation of nodes autoscaler for GCE.
...
Implemented optional creation and deletion of nodes autoscaler in kube-up and kube-down scripts for GCE.
2015-07-23 15:59:41 +02:00
Wojciech Tyczynski
4fa9fc7fbf
Merge pull request #11266 from mbforbes/quietProject
...
Log Project (GKE) less and cleanup bash indentation
2015-07-23 10:54:05 +02:00
Wojciech Tyczynski
430422b181
Merge pull request #11268 from mbforbes/previewQuiet
...
(GKE) Stop 'gcloud preview' call from failing Jenkins jobs
2015-07-23 10:36:31 +02:00
Piotr Szczesniak
06b3406cef
Added possibility to overwrite ENABLE_CLUSTER_DNS with env var
...
It's for autoscaling tests purposes and making the config consistent with
other flags like ENABLE_NODE_LOGGING
2015-07-23 10:25:06 +02:00
Wojciech Tyczynski
5988d30da0
Merge pull request #10715 from justinsb/spelling_octects
...
Spelling fix (in code): octects -> octets
2015-07-23 09:00:39 +02:00
Wojciech Tyczynski
a407051075
Merge pull request #11064 from derekwaynecarr/add_cert_ip_back
...
Some users of vagrant were getting different ip addresses in cert
2015-07-23 08:18:57 +02:00
Chris Hiestand
db1a73317c
change shell var MINION_SCOPES to user setable
...
Because bash arrays may not be environment variables
(see: <https://stackoverflow.com/questions/5564418/exporting-an-array-in-bash-script >)
we have to change the MINION_SCOPES array to a string
* prefers aliases instead of full URLs for scopes
tested under GKE, needs GCE testing
Close #10458
2015-07-22 14:34:03 -07:00
David Oppenheimer
dec9adfe2e
Replace ``shell with
``sh
2015-07-19 21:38:53 -07:00
Philibert Dugas
069c84cb51
Fixed ubuntu upstart scripts for etcd
2015-07-19 19:11:12 -04:00
Tim Hockin
25cec6ebb5
Fix errant quad-tick in docs
2015-07-18 14:06:08 -07:00
Robert Bailey
728b337e9c
Refactor the functions that generate auth for the kubelet and kubeproxy
...
and remove the insecure configuration now that GKE has plumbed through
certificates.
2015-07-17 16:13:01 -07:00
Dawn Chen
ebc36c0e5a
timeout docker load: 30 second, and restart docker daemon to workaround docker-load-hang issue.
2015-07-17 15:16:23 -07:00
Jean-Francois Chevrette
91a05c0709
source cluster env.sh on kube-up/down/push
2015-07-17 08:31:16 -04:00
Abhi Shah
aeb6599f51
Merge pull request #11320 from dchen1107/monit
...
Stop monit kube-addon on nodes.
2015-07-16 16:31:54 -07:00
Jean-Francois Chevrette
1f332860c4
same change for minion provision script
2015-07-16 18:12:41 -04:00
Jean-Francois Chevrette
04d377eff8
properly make sure that eth1 is not managed by NetworkManager
2015-07-16 18:05:08 -04:00
Jean-Francois Chevrette
e9bfe17f58
restart network twice to workaround bug
2015-07-16 14:57:23 -04:00
Robert Bailey
5e02f70dd0
Bump the container vm version to the latest build.
2015-07-16 09:30:33 -07:00
Lénaïc Huard
3b4a31dc81
Fix libvirt-coreos cluster
...
KUBERNETES=libvirt-coreos cluster/kube-up.sh produced the following error:
cluster/../cluster/libvirt-coreos/../../cluster/common.sh: line 83: user_args[@]: unbound variable
This was coming from the fact that, as a libvirt-coreos cluster runs locally on local VMs,
there is no authentication mechanism. This led to have user_args of common.sh unset.
In the case of libvirt-coreos, it is in fact expected to have no authentication token.
2015-07-16 18:09:53 +02:00
Max Forbes
fcb4e5e204
Log Project (GKE) less and cleanup bash indentation
2015-07-15 15:49:28 -07:00
Dawn Chen
7e665230c7
Stop monit kube-addon on nodes.
2015-07-15 11:11:55 -07:00
Wojciech Tyczynski
628ceac305
Increase kubelet start timeout in Monit config
2015-07-15 13:28:07 +02:00
Max Forbes
4a45aff0ec
(GKE) Stop 'gcloud preview' call from failing Jenkins jobs.
2015-07-14 15:00:14 -07:00
Max Forbes
8e2f2af6d9
Cleanup GKE bash logging
2015-07-14 14:44:34 -07:00
Justin Santa Barbara
355e922b5d
AWS: Restore (erroneously) removed get_instance_private_ip
...
Fix #11201
2015-07-14 13:45:12 -04:00
Brendan Burns
ab4448a0d6
Update multi-node docker instructions:
...
* Update etcd and add a warning about Docker 1.7.0
* Update kubernetes to 0.21.2, Flannel to 0.5.0
* Remove --sync-nodes which is removed.
2015-07-13 21:28:07 -07:00
Jason Riddle
b1fcb33c56
Change suggestion to use make quick-release
2015-07-13 13:36:00 -04:00
Jason Riddle
312d54c014
Add KUBE_RELEASE_RUN_TESTS=n to suggestion
...
Without KUBE_RELEASE_RUN_TESTS=n, it can take quite a while to build all of the necessary binaries since the tests have to run.
2015-07-11 19:33:11 -04:00
Gabriel Weyer
5f26cac373
Stop prompting for storage account type
...
`--type` is a mandatory parameter when creating a storage account, I used the cheapest one (Locally Redundant Storage). More details about the different types of storage can be found [https://azure.microsoft.com/en-us/documentation/articles/storage-introduction/#replication-for-durability-and-high-availability ](here)
2015-07-11 14:40:05 +10:00
Max Forbes
739cb2f526
Robustly cleanup MIG template on GCE teardown
2015-07-10 10:14:04 -07:00
Abhishek Shah
bc99a57915
Assigned emptyDir for etcd data dir in skydns pod
2015-07-10 09:27:42 -07:00
Rohit Jnagal
906cc743be
Merge pull request #11004 from bprashanth/dns_sidecar
...
Use the exec-sidecar as a healthz probe for the syndns container
2015-07-10 09:24:43 -07:00
derekwaynecarr
4898b014ec
Some users of vagrant were getting different ip addresses in cert
2015-07-10 12:01:47 -04:00
Marek Grabowski
0c58e8a3f3
Merge pull request #10393 from ZJU-SEL/updatek8s
...
Bump the ubuntu k8s version to 0.19.3
2015-07-10 07:35:32 +02:00
Victor Marmol
cabecc1271
Merge pull request #10611 from marekbiskup/addon-update-kill-children
...
Addon update kill children
2015-07-09 21:09:58 -07:00
wizard
f7779a8162
update kubedns on ubuntu
2015-07-10 09:57:00 +08:00
wizard
69b55b82f8
update k8s to 0.19.3
2015-07-10 09:57:00 +08:00
Victor Marmol
ee8d2857fc
Merge pull request #9381 from justinsb/aws_support_jessie
...
AWS: Add support for Vivid Vervet & Debian Jessie
2015-07-09 15:20:37 -07:00
Prashanth Balasubramanian
412467fe27
Use the exec-sidecar as a healthz probe for the syndns container
2015-07-09 15:13:46 -07:00
Wojciech Tyczynski
502e8e90d6
Merge pull request #10930 from bcbroussard/kube-ui-v1.1
...
Update the web ui (kube-ui) pod to v1.1
2015-07-09 15:20:26 +02:00
Marek Biskup
aa608258a6
kill child processes of addon-update on stop
2015-07-09 13:10:54 +02:00
Wojciech Tyczynski
e80a193664
Merge pull request #9943 from mamikonyana/override_ubuntu_defaults
...
Do not override environment variable in ubuntu defaults
2015-07-09 09:21:26 +02:00
Victor Marmol
f1e66c718d
Merge pull request #10590 from roberthbailey/kubelet-on-nodes
...
Install the kubectl binary on nodes in addition to the master.
2015-07-08 16:13:12 -07:00
Justin Santa Barbara
c78b71d399
AWS: Treat ubuntu as an alias for 'latest ubuntu', i.e. 'vivid'
2015-07-08 17:00:44 -04:00
Justin Santa Barbara
dfac73d31a
AWS: Change default OS to Ubuntu Vivid Vervet
...
The background for this change is in #9675 .
In short, Vivid Vervet gives us a supported/updated image,
that runs Docker with a working storage engine, but doesn't
require a reboot as part of node start.
Fixes #9675 .
2015-07-08 17:00:44 -04:00
Justin Santa Barbara
89900fa19b
AWS: Ubuntu Vivid, set cgroup_root to docker
...
Otherwise libcontainer generates systemd unit file names that start with "-",
which are not valid.
2015-07-08 17:00:43 -04:00
Justin Santa Barbara
bdb2196abe
AWS: Initial support for Ubuntu Vivid Vervet
2015-07-08 17:00:43 -04:00
Victor Marmol
7dd0dc1786
Merge pull request #10752 from justinsb/aws_query_by_subnet_id
...
AWS: Query by subnet-id, if we have it
2015-07-08 13:57:33 -07:00
Victor Marmol
3dd3d6e889
Merge pull request #10751 from justinsb/aws_existing_subnet
...
AWS: Allow callers to specify VPC_ID and SUBNET_ID
2015-07-08 13:57:13 -07:00
Justin Santa Barbara
8e69495f7f
AWS: Add jessie support to cluster script
2015-07-08 16:47:55 -04:00
Victor Marmol
dd37642369
Merge pull request #10488 from justinsb/salt_support_systemd
...
Salt: support systemd (don't assume Redhat <=> systemd)
2015-07-08 13:43:08 -07:00
Victor Marmol
3be3603ef3
Merge pull request #10877 from brendandburns/aws
...
Fix AWS Setup.
2015-07-08 11:33:32 -07:00
BC Broussard
1220d3cf01
Update kube-ui pod to v1.1
2015-07-08 09:54:38 -06:00
derekwaynecarr
e2ddd2dd7b
Missing ca crt in vagrant controllers
2015-07-08 10:59:10 -04:00
Brendan Burns
6d08ade4ce
Don't start Docker by default on AWS
2015-07-07 21:57:43 -07:00
Brendan Burns
2e282013a8
Generate a kubeconfig file for the kubelet.
2015-07-07 21:29:38 -07:00
Yu-Ju Hong
f7e1a00477
Merge pull request #10884 from dchen1107/cleanup
...
Disable liveness for dns due to #10659
2015-07-07 17:59:17 -07:00
Yu-Ju Hong
1cf9a71aa2
Merge pull request #10872 from nikhiljindal/latestHeapster
...
Use latest heapster image
2015-07-07 17:35:40 -07:00
Dawn Chen
c6a0fd1eaf
Upgrade to v6 from v5
2015-07-07 16:29:27 -07:00
Dawn Chen
4f947ce8ed
Disable liveness for dns due to #10659
2015-07-07 16:27:38 -07:00
James Kyle
4c96fa7565
Resolves #9773 , vmware_fusion can't find component
...
The error message thrown when the KUBERNETES_PROVIDER is vagrant and the
vagrant plugin cannot be found is ambiguous. This does not change
functionality, just provides more feedback as to the source of the
error.
2015-07-07 15:31:49 -07:00
nikhiljindal
e17e3579f3
Use latest heapster image
2015-07-07 14:40:18 -07:00
Yu-Ju Hong
76ec1be611
Merge pull request #10817 from satnam6502/sys-namespace
...
Change config files to kube-system which were missed in the original PR
2015-07-07 10:46:35 -07:00
Yu-Ju Hong
0947b2715a
Merge pull request #9949 from iterion/aws-production-instance-types
...
AWS: Note about instance types
2015-07-07 10:16:22 -07:00
Satnam Singh
96c4e587ad
Change config files to kube-system which were missed in the original PR
2015-07-07 01:05:19 -07:00
Satnam Singh
691c07763c
Remove use of v1beta3 from ES logging
2015-07-06 18:47:45 -07:00
Yu-Ju Hong
639a7dac50
Merge pull request #10790 from satnam6502/fixns
...
Wait for service accounts in the kube-system namesapce
2015-07-06 18:36:56 -07:00
Satnam Singh
90e105521c
Wait for service accounts in the kube-system namesapce
2015-07-06 18:12:25 -07:00
Daniel Smith
cfc68e9055
Built & pushed kube-ui v1.1
2015-07-06 16:04:28 -07:00
Karl Isenberg
fdf9515777
Add liveness probe to kube-ui
2015-07-06 16:04:23 -07:00
Brendan Burns
988aa6fdf6
Move things into a 'kube-system' namespace.
2015-07-06 15:08:23 -07:00
Yu-Ju Hong
1e0a16392d
Merge pull request #10780 from cjcullen/testfix
...
Hacky workaround for #9822
2015-07-06 15:00:35 -07:00
Yu-Ju Hong
4a5b80fcb2
Merge pull request #10771 from ArtfulCoder/kube2sky-usev1
...
rebuilt kube2sky to use v1 api. new image ver is 1.11
2015-07-06 15:00:21 -07:00
Dawn Chen
747f84d553
Set resource limit for kube-ui addon container.
2015-07-06 13:36:22 -07:00
Abhishek Shah
1edfc82d96
rebuilt kube2sky to use v1 api. new image ver is 1.11
2015-07-06 12:32:23 -07:00
Yu-Ju Hong
b58e7c8c2d
Merge pull request #10655 from dchen1107/cadvisor
...
Set minimal shares for containers with no cpu specified
2015-07-06 11:38:54 -07:00
Tim Hockin
6c88401889
Merge pull request #10271 from erictune/how-to-write-a-gsg
...
Scratch Getting-started-guide
2015-07-06 11:00:44 -07:00
Eric Tune
682abd9dab
Scratch Getting-started-guide
2015-07-06 10:38:20 -07:00
CJ Cullen
edd419790e
Hacky workaround for #9822
2015-07-06 10:02:53 -07:00
Yu-Ju Hong
8ce6fe855b
Merge pull request #10712 from justinsb/always_install_socat
...
Salt: install socat; needed for port-forward
2015-07-06 09:58:52 -07:00
Yu-Ju Hong
83fbcba97b
Merge pull request #10698 from justinsb/aws_master_sans
...
AWS: Configure SSL certificate alternate-names
2015-07-06 09:57:44 -07:00
Yu-Ju Hong
acf848a597
Merge pull request #10552 from shauns/patch-1
...
Respect DNS_DOMAIN setting in AWS+CoreOS
2015-07-06 09:36:54 -07:00
Justin Santa Barbara
cc68f87a7b
AWS: Query by subnet-id, if we have it
...
If we are matching an existing subnet-id, query using that subnet-id!
2015-07-06 10:14:15 -04:00
Justin Santa Barbara
2429c7edf8
AWS: Allow callers to specify VPC_ID and SUBNET_ID
...
This is for people that want to run in a shared VPC/Subnet; while this should
work, we don't actively want to support it yet. So we don't block it,
but we don't document/encourage it either!
2015-07-06 10:10:34 -04:00
Prashanth B
bb6f2f7ad9
Merge pull request #10716 from justinsb/spelling
...
Misc (non-code) spelling fixes
2015-07-05 11:23:17 -07:00
Zach Loafman
a2250d1caf
Merge pull request #10597 from a-robinson/fluentd
...
Run fluentd on the master to collect the core master logs
2015-07-04 21:12:47 -07:00
Justin Santa Barbara
fca7822800
Misc (non-code) spelling fixes
2015-07-04 10:39:37 -04:00
Justin Santa Barbara
1ece037555
Spelling fix (in code): octects -> octets
2015-07-04 10:37:57 -04:00
Alex Robinson
4bfbd5f553
Add limits to the fluentd buffer size.
2015-07-03 23:24:08 +00:00
Justin Santa Barbara
6504df77f1
Salt: install socat; needed for port-forward
...
port-forward needs socat on the node hosts; we technically
don't need it today on the master, but this seems the right
place to put it, and socat is a small dependency.
2015-07-03 19:12:44 -04:00
Justin Santa Barbara
25007421ba
Salt: re-remove comment block
...
It had been removed in upstream, but had been kept by mistake here.
2015-07-03 12:43:36 -04:00
Justin Santa Barbara
600a0d6fe7
Salt: have kube-addons service depend on init file
...
For symmetry with systemd
2015-07-03 12:41:59 -04:00
Justin Santa Barbara
a5b3c73ac4
Salt: Add service block for kube-proxy for systemd
...
We have the workaround for Salt's problems here, but we should still express
our intent.
2015-07-03 10:26:21 -04:00
Justin Santa Barbara
60d822435b
Salt: clean daemon_args on RedHat, not systemd
...
I don't think it actually makes a difference based on how we're using it,
but this is now more of a precise change.
2015-07-03 10:24:32 -04:00
Justin Santa Barbara
ad0293e3f3
Salt: Add more dependencies to systemd services
...
This may help Salt reload services correctly, although we still
need the script until Salt's bug with reloading services on systemd
is resolved.
Salt bug: https://github.com/saltstack/salt/issues/16778
2015-07-03 01:40:15 -04:00
Justin Santa Barbara
944fc1ed58
Set standard bash options in services helper script
2015-07-03 01:40:15 -04:00
Justin Santa Barbara
bcd92c7522
Salt: support systemd (don't assume Redhat <=> systemd)
...
Also work around problems with Salt & systemd services, in particular
that Salt doesn't issue a daemon-reload.
2015-07-03 01:40:15 -04:00
Justin Santa Barbara
c676c11189
AWS: Configure SSL certificate alternate-names
...
GCE does this in its per-provider scripts; this does the same for AWS and lets
other providers do the same; I believe kube2sky requires 10.0.0.1 as a SAN.
2015-07-03 01:18:07 -04:00
Karl Isenberg
0229cb01fc
Move sourcing of provider-specific util.sh into kube-util.sh
...
- kube-util.sh defines default implementations
- provider util.sh overrides the default implementations as desired
- default kube-util functions now print to stderr to avoid affecting
captured output
2015-07-02 12:50:18 -07:00
Dawn Chen
9ce11545c0
Explicitly configure master component containers and nginx with 200m each.
2015-07-02 10:46:39 -07:00
Arsen Mamikonyan
38c3bdfa45
Do not override environment variable in ubuntu defaults and ubuntu/build.sh
2015-07-02 13:10:54 +01:00
Zach Loafman
1d16be675c
Merge pull request #10653 from dchen1107/resource_management
...
Set resource limit for addon containers
2015-07-01 19:35:28 -07:00
Dawn Chen
54531d9b55
Set memory limit (200mi) to fluentd static pod
2015-07-01 17:00:06 -07:00
Dawn Chen
6b61918b67
Set resource limit for both elasticsearch and kibana containers based on data collected by #10335
2015-07-01 16:01:09 -07:00
Zach Loafman
b60c8e567f
Merge pull request #10077 from timstclair/ui-server
...
Move dashboard UI out of the apiserver to a separate pod
2015-07-01 15:56:33 -07:00
Zach Loafman
e5670c104d
Merge pull request #10604 from nikhiljindal/v1
...
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
Zach Loafman
b27a8e1d90
Merge pull request #10606 from nikhiljindal/testsToV1
...
Update tests/examples to v1
2015-07-01 15:53:54 -07:00
Zach Loafman
e3e024da10
Merge pull request #10614 from justinsb/aws_ssh_fingeprint
...
AWS: Use the SSH key fingerprint, not the AWS fingerprint
2015-07-01 15:53:31 -07:00
Dawn Chen
ce520dd6e8
Set resource limit for skydns containers based on data collected by #10335
2015-07-01 14:47:29 -07:00
Dawn Chen
4f2d22263e
Set resource limit for both heapster and influxdb container based on data collected
...
by #10335 . Please noted that both influxdb and heapster could be oom-killed due to
memory leakage here.
2015-07-01 14:39:10 -07:00
nikhiljindal
274792d7bb
Stop exposing v1beta3 by default
2015-07-01 14:38:02 -07:00
Tim St. Clair
b6b2d6df42
Add kube-ui cluster addon for serving k8s dashboard UI.
...
Changes include:
- Add kube-ui binary for serving static dashboard UI
- Add kube-ui docker image, replication controller, and service
- Make the kube-ui a cluster-addon (enabled by default)
- Split the compiled pkg/ui/datafile.go into separate dashboard and swagger packages
- Update docs to reflect changes
2015-07-01 14:21:47 -07:00
Zach Loafman
30cc467159
Merge pull request #10634 from mikedanese/fix-ca-logs
...
fix heapster google configs so that heapster has a CA cert for googleapis
2015-07-01 14:14:06 -07:00
Alex Robinson
e5ea6ae854
Run fluentd on the master node by default.
...
This involves adding the logging-write scope to the master when running on GCE.
2015-07-01 20:07:52 +00:00
Alex Robinson
8855371763
Configure fluentd to collect additional log files, including master log files.
...
This also merges the output blocks together because there's no compelling
reason to have a separate output block for each input.
2015-07-01 20:07:47 +00:00
Marek Biskup
8df3a9cae8
namespaces in addon update
2015-07-01 21:31:52 +02:00
Mike Danese
6ecddd9290
fix heapster configs so that heapster has a CA cert for googleapis
2015-07-01 11:26:30 -07:00
Maru Newby
40632d3bf6
Vagrant: Allow env override of IP addresses
...
MASTER_IP and MINION_IP_BASE are hard-coded in vagrant's
config-default.sh, and the values correspond to virtualbox's default
subnet. On hosts that have both virtualbox and another provider
installed, attempting to deploy kubernetes with the non-virtualbox
provider is likely to result in broken networking. This change allows
the addresses to be overridden via the environment so that more
appropriate values can be used.
2015-07-01 10:20:12 -07:00
Zach Loafman
3094c1624b
Merge pull request #10492 from derekwaynecarr/add_watch_service_file
...
Fix Vagrant kube-up - missed file watch on systemd stops kubelet starting on initial kube-up
2015-07-01 09:49:59 -07:00
Zach Loafman
bd12aefdf2
Merge pull request #10237 from marekbiskup/addon-update-do-not-retry-too-long
...
addon updater should not retry too many times - specs may be invalid
2015-07-01 08:52:02 -07:00
Zach Loafman
502103cdc6
Merge pull request #10453 from satnam6502/fix-es
...
Change port names to avoid validation failure
2015-07-01 08:30:28 -07:00
Marek Biskup
7873e252f0
addon updater should not retry too many times because specs may be invalid
2015-07-01 16:22:32 +02:00
derekwaynecarr
de78898170
Missing file watch on systemd stops kubelet starting on kube-up
2015-07-01 09:59:26 -04:00
Zach Loafman
b83236ee7a
Merge pull request #10568 from derekwaynecarr/fix_vagrant_kube_proxy
...
Missed update to kube-proxy when removing nginx on vagrant
2015-07-01 06:42:00 -07:00
Zach Loafman
ffeb982064
Merge pull request #10528 from dchen1107/cleanup
...
Persistent influxdb data to directory on local host.
2015-07-01 06:41:24 -07:00
Justin Santa Barbara
2a8d46864b
AWS: Use the SSH key fingerprint, not the AWS fingerprint
...
This is unfortunate, because it means we have two fingerprints,
although arguably the OpenSSH key fingerprint is much more common.
However, the OSX Mavericks version of ssh-keygen can't compute
the AWS fingerprint correctly (e.g. https://www.netmeister.org/blog/ssh2pkcs8.html )
So we work on OSX Mavericks, we use the more common OpenSSH fingerprint.
2015-07-01 04:10:48 -07:00
nikhiljindal
2e9e46dd08
Updating scripts to use v1 instead of v1beta3
2015-07-01 00:23:16 -07:00
Dawn Chen
ff17623742
Persistent influxdb data to directory on local host.
2015-06-30 22:08:40 -07:00
Maru Newby
2da59a2f34
Install 'docker' package for Fedora 22
...
Fedora < 22 provides docker via the 'docker-io' package, but this
package was renamed to 'docker' as of Fedora 22. Though the docker
package can be installed manually with 'dnf install docker-io' on F22,
Salt requires the explicit package name or deployment will fail.
2015-06-30 21:36:33 -07:00
Robert Bailey
fedddee157
Install the kubectl binary on nodes in addition to the master.
2015-06-30 16:52:17 -07:00
derekwaynecarr
2cc869b1c5
Missed update to kube-proxy when removing nginx on vagrant
2015-06-30 15:42:52 -04:00
Dawn Chen
e55cd709a1
Removed cluster/saltbase/salt/_states/container_bridge.py since it is useless now.
2015-06-30 11:00:41 -07:00
Satnam Singh
4e58e001da
Change port names to avoid validation failure
2015-06-30 10:56:20 -07:00
Shaun Stanworth
74bb1b349a
Respect DNS_DOMAIN setting in AWS+CoreOS
...
Without this change, CoreOS minion nodes are unable to perform short-name DNS lookups by default, as the default value for `DNS_DOMAIN` is `cluster.local`, which doesn't match the hard-coded value here.
2015-06-30 17:48:15 +01:00
Zach Loafman
f21b6b89d1
Fix issues mentioned in #10520
2015-06-30 06:51:10 -07:00
Daniel Smith
dcd91666b9
wait until a token shows up to start addons
2015-06-29 18:41:12 -07:00
Alex Robinson
af533b2b2a
Merge pull request #10275 from ddysher/ubuntu-flannel
...
Ubuntu cluster: run flannel on master
2015-06-29 16:30:31 -07:00
Alex Robinson
ac917aa36a
Merge pull request #10402 from justinsb/docker_pkg_require_download
...
Add explicit dependency of docker pkg on the deb download
2015-06-29 16:10:53 -07:00
Alex Robinson
799c0a09e0
Merge pull request #10369 from mikedanese/heapster-in-cluster-config
...
bump heapster addon version to use inClusterConfig
2015-06-29 10:56:50 -07:00
Justin Santa Barbara
e29e9f0033
Add explicit dependency of docker pkg on the deb download
...
Salt ordering continues to surprise me. I saw them execute
out of order, though I don't know why. Adding an explicit
dependency to prevent out-of-order execution.
2015-06-28 23:51:12 -04:00
Justin Santa Barbara
ea74bd13b8
Work around Salt 18089
...
Directly create /etc/sysctl.d/99-salt.conf
2015-06-28 23:50:00 -04:00
Robert Bailey
1c0b765df6
Merge pull request #10359 from justinsb/aws_fix_options
...
Fix AWS options doc
2015-06-26 23:16:51 -07:00
Robert Bailey
e6f14a21ce
Merge pull request #10403 from justinsb/ebs-for-master-data-2
...
AWS: Use persistent disk on master
2015-06-26 21:52:10 -07:00
Robert Bailey
ad12c98e6d
Merge pull request #10150 from thockin/kube2sky-with-token-fix
...
Make DNS not need its own token
2015-06-26 18:17:03 -07:00
Robert Bailey
017a43702a
Merge pull request #10400 from justinsb/fix_10379
...
Don't make kubelet systemd service depend on Docker
2015-06-26 17:12:51 -07:00
Dawn Chen
1a4d3ef680
Revert "Set resource limit for both heapster and influxdb container based on"
2015-06-26 15:45:26 -07:00
Mike Danese
bfc80095d4
bump heapster addon version to use inClusterConfig
2015-06-26 15:43:32 -07:00
Robert Bailey
ffb846a284
Merge pull request #10375 from eparis/enable_node_monitoring
...
Remove unused enable_node_monitoring
2015-06-26 12:58:14 -07:00
Robert Bailey
91589143a3
Merge pull request #10370 from mikedanese/no-more-machines
...
remove --machines and related deprecated flags from code and docs
2015-06-26 10:54:01 -07:00
Robert Bailey
0048eae8eb
Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
...
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Justin Santa Barbara
a3cb84fa56
AWS: Wait for disk to be attached in setup-master-pd.sh
2015-06-26 11:52:45 -04:00
Justin Santa Barbara
6e09cd3ffd
AWS: Create/reuse master pd directly
2015-06-26 11:52:45 -04:00
Justin Santa Barbara
0a4f03f235
AWS: Mount ephemeral on /mnt/ephemeral
...
If we're going to have a persistent disk on /mnt/master-pd, it seems risky
sometimes to have /mnt be a mounted volume.
A new consistent approach: we mount volumes under /mnt/<name>.
2015-06-26 11:52:45 -04:00
Justin Santa Barbara
7059f379a4
AWS: Mount persistent disk as sdb on master
2015-06-26 11:52:44 -04:00
Adam Sunderland
66e0c5432f
Use EBS for Master Data
...
Signed-off-by: Adam Sunderland <iterion@gmail.com>
2015-06-26 11:52:44 -04:00
Justin Santa Barbara
3ef028148d
Fix AWS options doc
...
Fix formatting, and ZONE should have been KUBE_AWS_ZONE.
2015-06-26 11:16:44 -04:00
Justin Santa Barbara
54d3ac92ea
Don't make kubelet systemd service depend on Docker
...
Fixes #10379
2015-06-26 11:03:09 -04:00
Mike Danese
1e130e0794
remove --machines from code and docs
2015-06-25 18:29:11 -07:00
Eric Paris
58df58f3d7
Remove unused enable_node_monitoring option
...
Back in 1a7f7245e7
we dropped the one
place this was used, but left all of the variable and definitions and
garbage around cluster/
2015-06-25 20:57:56 -04:00
Tim Hockin
6757a1ce94
Use the svc.cluster.local name for DNS health checks
2015-06-25 17:11:53 -07:00
Tim Hockin
07e75c1dec
Use v1 API
2015-06-25 17:04:47 -07:00
Tim Hockin
1ce7f1b5be
Stop using special tokens for DNS
2015-06-25 17:04:47 -07:00
Tim Hockin
2b4da35499
Make kube2sky fall back on service accounts
...
Service accounts are as yet unverified (no CA cert) but at least it will work.
2015-06-25 17:04:47 -07:00
Tim Hockin
88ce0ad8e9
Clean up Changelog
...
- sort newest-first
- add missing entry
- format consistently
2015-06-25 17:04:47 -07:00
Brendan Burns
74806a1047
Merge pull request #10296 from thockin/eol-registry-cache
...
EOL Google's registry caching mirror
2015-06-25 14:52:27 -07:00
Maxwell Forbes
bc1930927d
Merge pull request #10347 from justinsb/vagrant_no_cidr_on_master
...
Salt: don't assume that master => cbr-cidr
2015-06-25 10:23:59 -07:00
Maxwell Forbes
655179dcfb
Merge pull request #10264 from mikedanese/ca-token
...
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Steve Kuznetsov
d581d1f6c0
Fixed typo in gce-specific kube-up script
2015-06-25 12:51:34 -04:00
Justin Santa Barbara
a0ae1d90ba
Salt: don't assume that master => cbr-cidr
...
In particular, this is required for vagrant
2015-06-25 09:17:00 -04:00
Brendan Burns
d2334d60c8
Merge pull request #10328 from dchen1107/cleanup
...
Add dependencies on docker and kubelet service when copying master co…
2015-06-24 21:32:35 -07:00
Dawn Chen
e7d217d941
Add dependencies on docker and kubelet service when copying master components manifests
...
to /etc/kubernetes/manifest
2015-06-24 21:15:08 -07:00
Maxwell Forbes
3afda5d566
Merge pull request #10312 from dchen1107/cleanup
...
Take 2: Fix the race between configuring cbr0 and restarting static pods
2015-06-24 17:59:50 -07:00
Mike Danese
56bde3342a
add ca to token controller and all service accounts
2015-06-24 15:10:20 -07:00
Maxwell Forbes
244c2f7b90
Merge pull request #10236 from derekwaynecarr/remove_nginx
...
Remove nginx from vagrant configuration
2015-06-24 13:21:59 -07:00
Dawn Chen
6ddfa512de
Revert "Revert "Fix the race between configuring cbr0 and restarting static pods""
...
This reverts commit fd0a95dd12
.
2015-06-24 11:10:10 -07:00
Tim Hockin
280f99afd9
EOL our registry caching mirror
...
Docker's v1 registry has gotten slower and slower, and they have no
interest in fixing it. Using a mirror forces v1 mode. Measurements
show that v1 with our mirror is slower than v2 with docker's registry in
just about all metrics.
2015-06-24 09:56:59 -07:00
Piotr Szczesniak
fd0a95dd12
Revert "Fix the race between configuring cbr0 and restarting static pods"
2015-06-24 09:56:49 +02:00
Deyuan Deng
6f765708ad
Ubuntu cluster: properly formatting shell scripts
2015-06-23 23:07:23 -04:00
Deyuan Deng
09a274a7a5
Ubuntu cluster: run flannel on master
2015-06-23 23:07:17 -04:00
Jeff Lowdermilk
50d50a3cb8
Merge pull request #10211 from dchen1107/cleanup
...
Fix the race between configuring cbr0 and restarting static pods
2015-06-23 17:09:01 -07:00
Dawn Chen
9dbe6fe4e4
Added more comments.
2015-06-23 16:28:41 -07:00
Jeff Lowdermilk
c1a7055701
Merge pull request #10260 from dchen1107/clean
...
Set resource limit for both heapster and influxdb container based on
2015-06-23 15:57:53 -07:00
Dawn Chen
e0186c3bd0
Set resource limit for both heapster and influxdb container based on
...
data collected by #5880
2015-06-23 14:28:51 -07:00
Dawn Chen
8d76d4ee57
Make master-addon service depend on both docker and kubelet service
...
in salt.
2015-06-23 12:11:20 -07:00
Dawn Chen
23200d303f
Fix several issues on running syncPods until network is configured.
...
Also fixed unittests and compiling.
2015-06-23 12:11:19 -07:00
Jeff Lowdermilk
e2d496e45d
Merge pull request #9737 from iterion/use-openssl-rsa
...
AWS: Use RSA to Generate Fingerprint
2015-06-23 10:14:27 -07:00
derekwaynecarr
db202d4904
Remove nginx from vagrant
2015-06-23 13:07:50 -04:00
Jeff Lowdermilk
a2ce3ea529
Merge pull request #10107 from roberthbailey/sans
...
Add more SANs to the master certificate.
2015-06-23 08:22:33 -07:00
Brendan Burns
192ffdfb25
Fix the container bridge so that it can create cbr0
...
Fix the kubelet so that it tries to sync status, even if Docker is down
2015-06-22 23:18:01 -07:00
Brendan Burns
a29ade2f33
Disable creation of cbr0, the kubelet does it now.
...
Conditionalize the docker bridge.
2015-06-22 23:15:29 -07:00
Satnam Singh
cb9f7d17f5
Add readiness probes to Elasticsearch and Kibana logging
2015-06-22 12:40:15 -07:00
Jeff Lowdermilk
85770295c2
Merge pull request #10004 from ArtfulCoder/kubelet_health
...
Augmented kubelet healthz with syncLoop check.
2015-06-22 10:53:05 -07:00
Zach Loafman
1559fa8b7e
Merge pull request #10140 from brendandburns/rev-etcd
...
rev etcd to 2.0.12
2015-06-22 10:32:19 -07:00
Max Forbes
434f968715
GKE upgrade tests
2015-06-20 09:44:19 -07:00
Abhishek Shah
3556993179
Augmented kubelet healthz with syncLoop check.
...
Monit uses read-only port for health monitoring.
2015-06-19 18:14:01 -07:00
Brendan Burns
ec1e308ae2
rev etcd to 2.0.12
2015-06-19 15:57:32 -07:00
Vishnu Kannan
3800fe1884
Updating heapster to v0.14.3.
2015-06-19 13:30:50 -07:00
Robert Bailey
6ede5a90b1
Add more SANs to the master certificate.
2015-06-19 13:06:18 -07:00
Satnam Singh
f83d5356d7
Merge pull request #9987 from mbforbes/livingUpgrade
...
Node upgrade test
2015-06-19 10:02:52 -07:00
Satnam Singh
a45ddb69d2
Merge pull request #10073 from rajatchopra/vagrant_network
...
fix vagrant networking
2015-06-19 07:51:27 -07:00
Justin Santa Barbara
2a5ed2f086
AWS: Use auto-scaling group to run minions
...
This uses the dynamic CIDR work, and we set source-dest-check to false
when we configure the route (which kind-of makes sense)
2015-06-19 10:22:15 -04:00
Marek Biskup
dfb702a6e4
addon doc improved
2015-06-19 11:14:01 +02:00
Rajat Chopra
d0816be55d
fix vagrant networking
2015-06-18 17:48:32 -07:00
Satnam Singh
9f32599bee
Merge pull request #9720 from justinsb/aws_routes
...
Refactor Routes, and dynamically configure minion CIDRs on AWS
2015-06-18 17:16:29 -07:00
Satnam Singh
b8b8f4d659
Merge pull request #10053 from timstclair/gcloud-docker
...
s/gcloud preview docker/gcloud docker/
2015-06-18 16:12:20 -07:00
Max Forbes
2803fbe343
Node upgrade tests.
2015-06-18 15:59:51 -07:00
Justin Santa Barbara
a4e15cdf3e
AWS: Configure minion routes dynamically
...
We need to implement the Routes interface, and then enable the functionality in the cluster scripts.
2015-06-18 14:59:37 -07:00
Satnam Singh
34fb2a9f2d
Merge pull request #9859 from mwielgus/resources-check
...
Check for existing GCE resources in kube-up
2015-06-18 14:47:22 -07:00
Satnam Singh
087b6e32e3
Merge pull request #10005 from ZJU-SEL/Fix9237
...
Hot fix for ubuntu k8s
2015-06-18 14:23:07 -07:00
Satnam Singh
55f791ca15
Merge pull request #10050 from zmerlynn/checkbinaries
...
Validate binaries downloaded from GCS:
2015-06-18 14:14:56 -07:00
Satnam Singh
a016f7d4ef
Merge pull request #10063 from jlowdermilk/gke-e2e
...
Fix a few e2e references to allow gke to test dogfood builds
2015-06-18 13:49:17 -07:00
Jeff Lowdermilk
e72431033a
Fix a few e2e references to allow gke to test dogfood builds
2015-06-18 13:39:51 -07:00
Zach Loafman
d8da39ecd0
Validate binaries downloaded from GCS:
...
* Set SHA1 for Kubernetes server binary and Salt tar in kube-env.
* Check SHA1 in configure-vm.sh. If the env variable isn't available,
download the SHA1 from GCS and double check that.
* Fixes a bug in the devel path where we were actually uploading the
wrong sha1 to the bucket.
Fixes #10021
2015-06-18 13:37:05 -07:00
Brendan Burns
5021dbc1a0
Merge pull request #10046 from cjcullen/fwfix
...
Allow passing through an explicit PROXY_SSH_USER.
2015-06-18 13:13:19 -07:00
Tim St. Clair
f5830edbbc
s/gcloud preview docker/gcloud docker/
2015-06-18 12:27:08 -07:00
Satnam Singh
ce49c32d6a
Add readiness probe to Elasticsearch and Kibana logging pods
2015-06-18 10:46:05 -07:00
CJ Cullen
abf1e768dc
Pass through an explicit PROXY_SSH_USER.
...
Use user@user instead of user@hostname in case hostname is too long.
2015-06-18 10:35:02 -07:00
wizard
509c3f5b94
hot fix for ubuntu k8s
2015-06-18 14:34:10 +08:00
Saad Ali
b529557205
Merge pull request #9527 from Rob4001/master
...
Added vagrant-libvirt plugin to vagrant provider check in install script
2015-06-17 14:24:35 -07:00
Adam Sunderland
304d75caf9
Not about instance types
2015-06-17 11:32:22 -05:00
Jeff Lowdermilk
822fcacce4
Add missing source to ubuntu/util.sh
2015-06-17 09:21:38 -07:00
Marcin Wielgus
b33b881bc2
Add missing --project in GCE kube-down and check-resources
2015-06-17 15:11:40 +02:00
Marcin Wielgus
3a562f1619
Check for existing GCE resources in kube-up
2015-06-17 15:04:39 +02:00
Saad Ali
8a511a77cd
Merge pull request #9668 from mbruzek/fix-make
...
Fixing an error I saw in testing, that make clean resolves.
2015-06-16 18:41:14 -07:00
Vishnu Kannan
b6e4480463
Updating heapster to v0.14.2
2015-06-16 17:15:24 -07:00
Brendan Burns
d18dcabca5
Merge pull request #9786 from ZJU-SEL/UpdateDockerK8s
...
Update docker k8s approach
2015-06-16 15:53:25 -07:00
Vishnu Kannan
c70014d399
Updating heapster service labels to make it compatible with kubectl cluster-info
2015-06-16 14:46:50 -07:00
Saad Ali
4d25121206
Merge pull request #9769 from brendandburns/secure
...
Revert the revert of https://github.com/GoogleCloudPlatform/kubernetes/pull/9761
2015-06-16 14:21:54 -07:00
Saad Ali
068000a8ba
Merge pull request #9847 from mikedanese/apiserver-liveness-probe
...
add livenessProbe to kube-apiserver.manifest
2015-06-16 14:03:13 -07:00
Saad Ali
03af349173
Merge pull request #9758 from satnam6502/gcl-default
...
Make Google Cloud Logging the default for GCE
2015-06-16 13:47:56 -07:00
Saad Ali
fc30ab308b
Merge pull request #9886 from vishh/heapster_v0.14.1
...
Updating heapster version to v0.14.1.
2015-06-16 13:14:07 -07:00
Vishnu Kannan
31f7ea10c6
Updating heapster version to v0.14.1.
...
Adding a standalone version of heapster which exposes stats via REST API.
2015-06-16 11:56:23 -07:00
Saad Ali
d31fd4035d
Merge pull request #9227 from jlowdermilk/shell-cleanup
...
Remove the last provider-specific handling in kubectl.sh, ginkgo-e2e.sh
2015-06-16 11:55:47 -07:00
Saad Ali
41545d0a66
Merge pull request #9135 from jlowdermilk/fix-gce-kube-down
...
Fix route regexp for gce-kube-down
2015-06-16 11:54:45 -07:00
Jeff Lowdermilk
e02483e3fe
Fix route regexp for gce-kube-down
2015-06-16 11:25:43 -07:00
Jeff Lowdermilk
47901b7edd
Remove the last provider-specific handling in kubectl.sh, ginkgo-e2e.sh
2015-06-16 10:58:04 -07:00
Saad Ali
27704beae5
Merge pull request #9856 from justinsb/spelling_mistakes
...
Minor typos in cluster/addons/README.md
2015-06-16 10:55:41 -07:00
Saad Ali
5596e6f789
Merge pull request #9493 from marekbiskup/testAddonUpdate
...
e2e test for addon upgrade
2015-06-16 10:50:15 -07:00
Justin Santa Barbara
0d2f587cea
Minor typos in cluster/addons/README.md
2015-06-16 09:18:23 -04:00
Mike Danese
491eb5e583
add livenessProbe to kube-apiserver.manifest
2015-06-15 23:22:56 -07:00
Fabio Yeon
bb659de2f1
Merge pull request #9832 from brendandburns/project
...
Add a missing ${PROJECT}
2015-06-15 19:35:32 -07:00
Fabio Yeon
9b3e9a509d
Merge pull request #9616 from jeffbean/kube_addons
...
kube_addons - Adding variable with default for kubectl bin.
2015-06-15 19:31:42 -07:00
wizard
4e92f409a0
update docker k8s approach
2015-06-16 09:44:21 +08:00
Brendan Burns
dea86ed926
Add a missing ${PROJECT}
2015-06-15 16:59:08 -07:00
Fabio Yeon
19a7e87c06
Merge pull request #9813 from dchen1107/cleanup
...
Using bigger nodes for e2e test on gce.
2015-06-15 16:08:35 -07:00
Fabio Yeon
c4d040c720
Merge pull request #9745 from justinsb/aws_manage_route_table
...
AWS: Create our own route table & tag it for management
2015-06-15 15:18:39 -07:00
Dawn Chen
c78ac489aa
Using bigger nodes for e2e test on gce.
2015-06-15 13:39:45 -07:00
Fabio Yeon
f033349bea
Merge pull request #9746 from justinsb/aws_faster_tagging
...
AWS: delay less when creating tags
2015-06-15 13:34:44 -07:00
Fabio Yeon
8d2c7ff1d7
Merge pull request #9687 from satnam6502/fluentd-gcp
...
Adjust Fluentd source format for Docker files to be JSON for Cloud Lo…
2015-06-15 13:32:49 -07:00
Fabio Yeon
4fc1570dcc
Merge pull request #9747 from justinsb/aws_dont_register_master_kubelet
...
AWS: Stop the master kubelet from registering as a node (like GCE does)
2015-06-15 13:30:54 -07:00
Satnam Singh
33311b46a2
Adjust Fluentd source format for Docker files to be JSON for Cloud Logging
2015-06-15 10:22:27 -07:00
Fabio Yeon
85cc14945e
Merge pull request #9699 from a-robinson/heapster
...
Update heapster's combined googleinfluxdb version to 0.14.0.
2015-06-15 10:06:26 -07:00
Fabio Yeon
09af2bfd19
Merge pull request #9563 from BenTheElder/vagrant_certificates
...
Fix vagrant client authorization.
2015-06-15 09:57:32 -07:00
Fabio Yeon
b1465aee0b
Merge pull request #9738 from quinton-hoole/2015-06-12-fix-e2e-projects
...
Add missing gcloud --project flags introduced by PR #9016
2015-06-15 09:53:36 -07:00
Marek Biskup
dcc4034d57
e2e test for addon update
2015-06-15 17:37:24 +02:00
Brendan Burns
2c59a3c4a4
Fix the scripts to default empty string if EXTRA_DOCKER_OPTS isn't set.
2015-06-12 21:47:30 -07:00
Brendan Burns
51b20b35e2
Revert "Revert "Optionalize (default false) --insecure-registry.""
...
This reverts commit 1645c9a9b8
.
2015-06-12 21:00:16 -07:00
Dawn Chen
1645c9a9b8
Revert "Optionalize (default false) --insecure-registry."
2015-06-12 17:50:38 -07:00
Satnam Singh
7f24215761
Make Google Cloud Logging the default for GCE
2015-06-12 17:12:03 -07:00
Abhi Shah
a6bed65f06
Merge pull request #9685 from brendandburns/secure
...
Optionalize (default false) --insecure-registry.
2015-06-12 17:06:32 -07:00
Abhi Shah
4da902c72e
Merge pull request #9579 from doublerr/rackspace/update_flannel
...
simplify flannel configuration on rackspace
2015-06-12 16:58:36 -07:00
Abhi Shah
42be6db6e9
Merge pull request #9744 from ixdy/gcs-staging-path
...
Allow adding a suffix to the devel staging path for server tars on GCS.
2015-06-12 16:54:12 -07:00
Abhi Shah
65dca78ede
Merge pull request #9735 from iterion/correct-ssh-user
...
Update SSH User for AWS Utils
2015-06-12 16:45:10 -07:00
Justin Santa Barbara
16d6ba8a9d
AWS: Stop the master kubelet from registering as a node (like GCE does)
2015-06-12 18:33:45 -04:00
Justin Santa Barbara
6839ae9a44
AWS: delay less when creating tags
...
This is important because tag creation isn't atomic, and we want to minimize
the window in which we can leave 'dangling' resources around.
2015-06-12 18:32:55 -04:00
Justin Santa Barbara
1f04284508
AWS: Create our own route table & tag it for management
2015-06-12 18:32:10 -04:00
Jeff Grafton
fcba3136d0
Allow adding a suffix to the devel staging path for server tars on GCS.
...
This is needed to allow multiple GCE e2e runs to occur using the same
project on Jenkins.
2015-06-12 15:18:47 -07:00
Abhi Shah
d56a911b4e
Merge pull request #9726 from cjcullen/fwfix
...
Make GKE-CI test firewalls work on Jenkins
2015-06-12 14:02:39 -07:00
Abhi Shah
8b235210c6
Merge pull request #9595 from mikedanese/gce-upgrade-bug
...
fix unbound variable bug in cluster/common.sh
2015-06-12 13:57:05 -07:00
Abhi Shah
f345432b53
Merge pull request #9651 from brendandburns/rev-docker
...
Update Docker instructions.
2015-06-12 13:54:09 -07:00
Quinton Hoole
58885c7b48
Add missing gcloud --project flags introduced by PR 9016
2015-06-12 13:43:29 -07:00
Adam Sunderland
7760d079ae
Update SSH User For Master SSH Check
2015-06-12 15:38:48 -05:00
CJ Cullen
6f30aa78a7
Make GKE-CI test firewalls work on Jenkins
2015-06-12 13:33:50 -07:00
Adam Sunderland
d82bfffe9d
Use RSA to Generate Fingerprint
2015-06-12 15:29:37 -05:00
Abhi Shah
b3ab7d8db4
Merge pull request #9693 from zmerlynn/testing_container_vm
...
Update GCE/debian to container-vm-v20150611
2015-06-12 11:02:28 -07:00
Abhi Shah
c08f202fb9
Merge pull request #9670 from cjcullen/fwfix
...
Apply test firewalls to both the new gke- node tags and the old k8s- tags
2015-06-12 10:13:46 -07:00
Brendan Burns
455a787c69
Add a missing $PROJECT to the tear down.
2015-06-12 09:28:25 -07:00
CJ Cullen
4e57dbdc26
Make GKE test firewalls work with new short-hash node names.
2015-06-12 07:46:41 -07:00
Brendan Burns
dcb09e73a9
Aggressively delete a cluster template if it exists.
2015-06-11 21:31:31 -07:00
BenTheElder
4437312993
Fix vagrant client authorization.
2015-06-11 23:46:01 -04:00
Alex Robinson
8b1f2d2bf2
Update heapster's combined googleinfluxdb version to 0.14.0.
2015-06-12 01:32:50 +00:00
CJ Cullen
69f5765fa2
Apply test firewalls to both the new gke- node tags and the old k8s- tags
2015-06-11 18:07:10 -07:00
Quinton Hoole
60d3f91dea
Specify project when checking for existance of instance group templates.
2015-06-11 16:40:21 -07:00
Brendan Burns
675d8378f2
Optionalize (default false) --insecure-registry.
2015-06-11 16:33:14 -07:00
Zach Loafman
c031708219
Update GCE/debian to container-vm-v20150611
...
Updates:
- Docker 1.6.2
- /sys/fs/cgroup/memory/memory.use_hierarchy=1
2015-06-11 16:10:08 -07:00
Abhi Shah
0e3633d404
Merge pull request #9615 from vishh/heapster_v0.14.0
...
Update to heapster v0.14.0
2015-06-11 15:14:34 -07:00
Abhi Shah
82aa8f9984
Merge pull request #9371 from justinsb/aws_support_wheezy
...
AWS: Support wheezy, for parity with GCE
2015-06-11 15:08:32 -07:00
Jeff Lowdermilk
2af7dd5b57
Fix #9506
2015-06-11 14:12:02 -07:00
Mike Danese
8b337b0b3e
fix unbound variable bug
2015-06-11 14:09:07 -07:00
Abhi Shah
9df284b19e
Merge pull request #9572 from EricMountain-1A/libvirt-coreos-fix-dockeroptsquote
...
Fixes quoting on systemd drop-in for DOCKER_OPTS.
2015-06-11 11:27:33 -07:00
Abhi Shah
064e7146e1
Merge pull request #9481 from justinsb/aws_fix_push
...
AWS: Include (idempotent) ensure-temp-dir in upload-server-tars
2015-06-11 11:24:18 -07:00
Abhi Shah
c5553af281
Merge pull request #9506 from cjcullen/resize
...
Make resize tests work on GKE
2015-06-11 11:05:07 -07:00
Abhi Shah
59a347d119
Merge pull request #9309 from saad-ali/issue9028
...
Enable InfluxDB/Grafana for GCE in addition to GCL. Disable GCM
2015-06-11 11:04:09 -07:00
Abhi Shah
30558d259d
Merge pull request #9548 from brendandburns/docsfix3
...
Add instructions for validating the DNS server.
2015-06-11 10:53:45 -07:00
Justin Santa Barbara
4db5b6f465
AWS: Don't change the default OS
...
It may be that we should change the default, but that is a big move,
late in the day, and it warrants its own discussion.
2015-06-11 13:02:33 -04:00
Abhi Shah
6c7ee0b5ce
Merge pull request #9639 from jlowdermilk/gke-provider
...
Allow gke provider to handle internal gcloud versions for testing.
2015-06-11 09:36:43 -07:00
Matt Bruzek
2576b56113
Fixing an error I saw in testing, that make clean resolves.
2015-06-11 10:14:06 -05:00
Marek Grabowski
ccb1b658b2
Merge pull request #9658 from fgrzadkowski/fix_failing_firewall
...
Wait longer for firewall creation during e2e cluster setup.
2015-06-11 15:40:35 +02:00
Filip Grzadkowski
f93895dd36
Wait longer for firewall creation during e2e cluster setup.
2015-06-11 15:38:35 +02:00
Brendan Burns
4b904c34a8
Update Docker instructions.
2015-06-10 21:40:06 -07:00
Vishnu Kannan
a38204a498
Update to heapster v0.14.0
2015-06-10 16:38:34 -07:00
Jeff Lowdermilk
ea6756210e
Allow gke provider to handle internal gcloud versions for testing.
2015-06-10 16:23:32 -07:00
Brendan Burns
ebe43fd5ca
Add instructions for validating the DNS server.
2015-06-10 14:56:41 -07:00
Abhi Shah
f4eb2f366f
Merge pull request #9568 from marekbiskup/docker_log_rotate
...
rotate docker log
2015-06-10 14:50:07 -07:00
Jeffrey Bean
99f64a8a07
kube_addons - Adding variable with default for kubectl bin. Fixes #9599
2015-06-10 14:47:31 -07:00
Abhi Shah
53fa4e1366
Merge pull request #9383 from brendandburns/liveness
...
Add liveness checks to the controller-manager and scheduler.
2015-06-10 14:44:12 -07:00
Ryan Richard
0b26e4e301
simplify flannel configuration on rackspace
2015-06-10 16:07:23 -05:00
Deyuan Deng
396fabf2af
Document why we use 'tr -d' instead of 'base64 w0'
2015-06-10 16:24:20 -04:00
Abhi Shah
c8591bd323
Merge pull request #9491 from ArtfulCoder/etcd_log
...
Etcd log mount
2015-06-10 13:17:10 -07:00
Abhi Shah
fdf2d6057f
Merge pull request #9226 from erictune/makefile
...
Clarify where DNS resolution works.
2015-06-10 12:57:24 -07:00
Eric Tune
1c1272a3e4
Clarify where resolution works.
2015-06-10 12:55:49 -07:00
Eric Mountain
0fd26a5359
Fixes quoting on systemd drop-in for DOCKER_OPTS.
2015-06-10 13:51:54 +02:00
Marek Biskup
83f8cd148d
rotate docker log
2015-06-10 12:19:13 +02:00
Mike Danese
1a6842e06e
fix auth in gce/upgrade.sh
2015-06-09 22:33:34 -07:00
Justin Santa Barbara
8aae864784
AWS: Support wheezy, for parity with GCE
2015-06-09 23:45:41 -04:00
Brendan Burns
1d7e85b477
Pull out a deprecation message.
2015-06-09 18:19:56 -07:00
Robert Wilson
c3579f76d9
Added vagrant-libvirt plugin to vagrant provider check in install script
2015-06-10 00:00:11 +01:00
Brendan Burns
9e198a6ed9
Purge cluster/kubectl.sh from nearly all docs.
...
Mark cluster/kubectl.sh as deprecated.
2015-06-09 13:35:52 -07:00
krousey
6a979704b7
Merge pull request #9419 from roberthbailey/kube2sky-secure-gce
...
Distribute the cluster CA cert to cluster addon pods through the kubeconfig file
2015-06-09 13:28:16 -07:00
Brendan Burns
ff3f463e00
Add liveness checks to the controller-manager and scheduler.
2015-06-09 13:06:04 -07:00
krousey
fba6462c0b
Merge pull request #9377 from justinsb/aws_persistent_mounts
...
AWS: add mounts to fstab
2015-06-09 12:57:43 -07:00
krousey
02c9d2810d
Merge pull request #9446 from ArtfulCoder/etcd_busybox
...
Build etcd image from busybox
2015-06-09 12:56:11 -07:00
CJ Cullen
abc4e53648
Make resize tests work on GKE
2015-06-09 12:00:10 -07:00
krousey
82f922b61d
Merge pull request #9378 from justinsb/aws_no_thin_on_wheezy
...
AWS: Disable thin LVM provisioning on wheezy
2015-06-09 10:01:04 -07:00
krousey
e19e4bcd12
Merge pull request #9365 from justinsb/fix_9246
...
AWS: Only log "Starting cluster using os distro..." in kube-up
2015-06-09 09:51:22 -07:00
krousey
37ed34261e
Merge pull request #9364 from justinsb/fix_aws_local_not_in_function
...
AWS: Fix script issue where local used outside of function
2015-06-09 09:50:43 -07:00
Justin Santa Barbara
d92863523f
AWS: Include (idempotent) ensure-temp-dir in upload-server-tars
...
This way we won't forget it. Fixes kube-push, where I forgot it.
2015-06-09 11:10:15 -04:00
Robert Bailey
aeb0068547
Add 'kubernetes' (the service name) and the master name as SANs on the
...
master's certificate.
2015-06-08 20:17:45 -07:00
Robert Bailey
2feb658ed7
Distribute the cluster CA cert to cluster addon pods through
...
the kubeconfig file. Use the $KUBERNETES_MASTER_NAME from the
kube-env for skydns, because it can't use the service name.
2015-06-08 20:17:45 -07:00
Abhishek Shah
fe906677d4
Etcd log mount
2015-06-08 17:21:11 -07:00
krousey
e14d9038fe
Merge pull request #9367 from justinsb/aws_ssh_check
...
AWS: Check for SSH connectivity & better logging on failure
2015-06-08 16:48:04 -07:00
Abhishek Shah
193e078808
Build etcd image from busybox
2015-06-08 16:47:37 -07:00
krousey
8a9e0e00bf
Merge pull request #9128 from marekbiskup/addonUpgrade
...
Addon upgrade (partial implementation of #8107 )
2015-06-08 15:15:27 -07:00
krousey
7ab3106dae
Merge pull request #9369 from justinsb/aws_mount_all_ephemeral
...
AWS: Mount ephemeral devices, even if not specified in the AMI
2015-06-08 15:11:01 -07:00
Justin Santa Barbara
d955e532f9
AWS: Add mounts to fstab, to survive reboot
2015-06-08 18:07:22 -04:00
Justin Santa Barbara
f6440247ca
AWS: Don't thin provision LVM volume on wheezy
...
Thin provisioning isn't supported (unless you backport from jessie).
Just use normal LVM volumes with aufs.
2015-06-08 18:06:24 -04:00
krousey
5aa0219ada
Merge pull request #9292 from cjcullen/test_pull_8946
...
Add an ssh tunnel option to the /proxy endpoint
2015-06-08 14:30:12 -07:00
Justin Santa Barbara
1c229e5284
Removed extra blank line in aws util.sh
2015-06-08 16:59:03 -04:00
Justin Santa Barbara
2619b6198a
AWS: Mount ephemeral devices, even if not specified in the AMI
...
We mount up to 4; this covers almost all instance types.
2015-06-08 16:59:03 -04:00
Marek Biskup
13ba177668
kube-addon-update.sh
2015-06-08 15:10:40 +02:00
Justin Santa Barbara
72496e7368
AWS: Check for SSH connectivity & better logging on failure
2015-06-06 14:27:41 -04:00
Justin Santa Barbara
a9e1e1033b
AWS: Only log "Starting cluster using os distro..." in kube-up
...
Fixes #9246
2015-06-06 12:48:49 -04:00
Justin Santa Barbara
24de0b4598
AWS: Fix script issue where local used outside of function
2015-06-06 12:19:30 -04:00
Justin Santa Barbara
112a013567
AWS: Support different docker storage mechanism by setting DOCKER_STORAGE
...
For parity with GCE, we really want to support aufs.
But we previously supported btrfs, so we want to expose that.
Most of the work here is required for aufs, and we let advanced users choose
devicemapper/btrfs if they have a setup that works for those configurations.
2015-06-06 12:13:51 -04:00
saadali
a839f47d4a
Disable GCM for GCE
2015-06-05 17:54:06 -07:00
CJ Cullen
04cd9b3c75
Make sshproxy use a hostmount on master PD (don't spam sshKeys on upgrade/reboot).
...
Add comment describing what SSHTunnelList.Close() does.
Simplify util.FileExists.
2015-06-05 15:03:03 -07:00
CJ Cullen
cb317604ab
Some refactoring. Only selectively use ssh proxy.
...
Add NetworkName to gce.Config.
Add locking to uses of master.tunnels.
2015-06-05 14:55:16 -07:00
CJ Cullen
1ae8801387
Fix transport creation logic.
...
Refactor loadTunnels to allow one path for load, another for refresh.
Make SSHTunnelList.Close sleep for a minute before actually closing each tunnel.
2015-06-05 14:55:16 -07:00
CJ Cullen
de9a5f43bc
Specify sshUser, sshKeyfile in kube-apiserver manifest.
...
Trim space on ssh key so GCE doesn't treat it as 2 lines.
A couple other minor fixes.
2015-06-05 14:55:15 -07:00
CJ Cullen
82afaaf31d
Mount cloud-config files for cloudproviders in kube-apiserver & kube-controllermanager.
2015-06-05 14:54:20 -07:00
Justin Santa Barbara
48e8a8b0ec
AWS: Set up security groups, to mirror GCE firewalling
...
Some slightly fussy code to enable load-balancers to talk to
instances, but otherwise relatively simple.
2015-06-05 16:10:08 -04:00
Justin Santa Barbara
33a3d884f2
AWS: Filter by Cluster tag, rationalize EC2 abstraction
...
Whenever we do a list we now filter on tags so we only see resources relating
to our cluster.
Also, rationalize all the DescribeX calls:
* They all take a request object (so that we can pass filters)
* They do paging if that is required (and return the underlying resources)
* They wrap any error with a "error while listing X: %v" message
2015-06-05 16:09:01 -04:00
Quinton Hoole
4384b57a27
Merge pull request #9327 from ArtfulCoder/srv_doc
...
README.md updated to explain SRV Record support.
2015-06-05 12:56:20 -07:00
Abhishek Shah
bd36b0d315
README.md updated to explain SRV Record support.
2015-06-05 12:33:22 -07:00
Quinton Hoole
9ebeea1d83
Merge pull request #9303 from doublerr/rackspace/18.1
...
remove kube-register and update config-default
2015-06-05 11:58:05 -07:00
Quinton Hoole
21db71db1a
Merge pull request #9073 from ArtfulCoder/srv_dns
...
SRV record support
2015-06-05 11:24:32 -07:00
Quinton Hoole
710df2b619
Merge pull request #9294 from justinsb/aws_ssh_key_fingerprint
...
AWS: Support multiple SSH keys (embed the hash in the name)
2015-06-05 09:37:31 -07:00
Abhishek Shah
7d0adbcb1c
SRV record support
2015-06-05 09:31:07 -07:00
Ryan Richard
ab0a3a1f84
remove kube-register and update config-default
...
* use newer rackspace cloud flavor names
* update coreos (beta) image id
* use NUM_MINIONS instead of RAX_NUM_MINIONS
2015-06-05 10:01:01 -05:00
saadali
bc53533c83
Enable InfluxDB/Grafana for GCE in addition to GCM/GCL
2015-06-05 01:17:45 -07:00
Justin Santa Barbara
d8dc416b5b
AWS: Support multiple SSH keys (embed the hash in the name)
...
This should eliminate a nasty problem where the script doesn't cope well if
your keys don't match.
2015-06-04 21:40:57 -04:00
Quinton Hoole
eef3283960
Merge pull request #9254 from justinsb/aws_sync_to_s3
...
AWS: Use s3 sync to optimize upload to s3 when nothing changed
2015-06-04 13:09:08 -07:00
Quinton Hoole
5ac1151c5d
Merge pull request #9251 from satnam6502/fix-node-list
...
Fix node numbers for node list
2015-06-04 12:02:43 -07:00
Quinton Hoole
a39a6013cb
Merge pull request #8469 from satnam6502/heapster
...
Add explicit version to name of monitoring RCs
2015-06-04 10:42:54 -07:00
derekwaynecarr
2168cee414
Upgrade to Fedora 21, Docker 1.6, clean-up SDN
2015-06-04 10:59:23 -04:00
Justin Santa Barbara
c92c63b3a9
AWS: Use s3 sync to optimize upload to s3 when nothing changed
2015-06-04 10:14:45 -04:00
Satnam Singh
a1c2641b53
Fix node numbers for node list
2015-06-04 12:09:58 +01:00
Daniel Smith
1690617ee6
remove ro service
2015-06-03 16:45:54 -07:00
Brian Grant
f8bf996000
Merge pull request #9211 from lavalamp/no-ro-nonbreaking
...
Nonbreaking pieces of #8155
2015-06-03 16:44:24 -07:00
Daniel Smith
40eb1599dd
fix elasticsearch
2015-06-03 15:41:09 -07:00
Daniel Smith
5d6b8d7de6
doc updates
2015-06-03 15:41:09 -07:00
Brian Grant
984b779b05
Merge pull request #9192 from dchen1107/clean
...
Watch kubelet flag file, so restart kubelet upon changes.
2015-06-03 14:45:07 -07:00
Brian Grant
a72be4667f
Merge pull request #9157 from iterion/aws-elb-policy
...
AWS: Update Master IAM Policy to Include ELB
2015-06-03 12:35:03 -07:00
Brian Grant
d37264edde
Merge pull request #9158 from dchen1107/cleanup
...
stop monit kube-proxy on master node.
2015-06-03 12:13:17 -07:00
Adam Sunderland
2b4d37427e
Update Master IAM Policy to Include ELB
2015-06-03 12:20:19 -05:00
Dawn Chen
1d94348023
Watch kubelet flag file, so restart kubelet upon changes.
2015-06-03 09:13:28 -07:00
Prashanth Balasubramanian
f7c0f1c1e3
Set min-request-timeout in test clusters
2015-06-03 08:46:28 -07:00
Brian Grant
d861631f08
Merge pull request #9142 from roberthbailey/kubelet-on-master
...
Prevent access to the /run and /exec endpoints on the master's kubelet
2015-06-02 22:55:06 -07:00
Brian Grant
36a4ece87a
Merge pull request #9080 from thockin/dns-new-search-kubelet
...
Insert 'svc' into the DNS search paths
2015-06-02 22:54:07 -07:00
Brian Grant
3da686fea5
Merge pull request #8894 from cjcullen/kmaster2
...
Add an explicit variable to indicate whether an instance is master or not
2015-06-02 20:37:43 -07:00
Brian Grant
e77ded1e84
Merge pull request #8649 from cjcullen/servicefix
...
Add an advertise-address flag
2015-06-02 19:54:28 -07:00
Brian Grant
21147d784a
Merge pull request #9074 from roberthbailey/unbound-var
...
Don't assume that CA_CERT_BASE64 will be set.
2015-06-02 18:52:49 -07:00
Dawn Chen
301bed535e
stop monit kube-proxy on master node.
...
Fixed #8783
2015-06-02 17:48:24 -07:00
CJ Cullen
dcf5b16cea
Add an explicit KUBERNETES_MASTER variable to the kube-env.
2015-06-02 17:17:02 -07:00
CJ Cullen
934c553c04
Clarify description/usage of --advertise-address, Master.PublicAddress
2015-06-02 15:23:32 -07:00
Robert Bailey
1dad552edc
Prevent access to the /run and /exec endpoints on the master's kubelet
...
so that users can't run arbitrary code on the master.
2015-06-02 14:42:11 -07:00
Filip Grzadkowski
98115facfd
Revert "Gracefully delete pods from the Kubelet"
2015-06-02 23:40:05 +02:00
CJ Cullen
085a48a70e
Add an advertise-address flag. This allows the address that the apiserver binds
...
to (possibly 0.0.0.0) to be different than the address on which members of the cluster
can reach the apiserver (possibly not a local interface).
2015-06-02 14:33:15 -07:00
Brian Grant
aa2f0be626
Merge pull request #8718 from vishh/kube2sky
...
Avoid making connections to the apiserver insecure by default in kube2sky
2015-06-02 14:11:58 -07:00
Brian Grant
5e5fe225d8
Merge pull request #9102 from ZJU-SEL/updateK8sversion
...
bump the ubuntu k8s version to 0.18.0
2015-06-02 10:40:54 -07:00
Brian Grant
b7ae48eb1e
Merge pull request #8641 from smarterclayton/gracefully_delete_pods
...
Gracefully delete pods from the Kubelet
2015-06-02 10:36:27 -07:00
Zach Loafman
6f1d60ed31
gke provider: Fix "gcloud .* describe" checks in util.sh
...
This basically prevents you from re-running e2es cross-project on the
GKE provider. (The current Jenkins jobs that have been moved to
different projects are working kind of accidentally.)
2015-06-02 07:03:32 -07:00
Filip Grzadkowski
caafd28245
Retry downloading binary tars in case of unpack failure
2015-06-02 14:59:15 +02:00
wizard
73b7128941
bump the k8s version to 0.18.0
2015-06-02 13:18:45 +08:00
Tim Hockin
be4b700ccb
Document the supported DNS schema
2015-06-01 17:02:17 -07:00
Vishnu Kannan
404558f29c
New release of kube2sky v1.8
2015-06-01 16:59:53 -07:00
Clayton Coleman
f12a68cd60
Apply fix for #8642 to GracefulDeletion
2015-06-01 19:24:02 -04:00
Eric Tune
8195f13b86
Merge pull request #9063 from piosz/cluster_upgrade
...
Refactored kube-push.sh script
2015-06-01 13:47:15 -07:00
Eric Tune
43951b04d2
Merge pull request #9016 from goltermann/kube-down-fix
...
GCE kube-down.sh error fixes
2015-06-01 13:46:54 -07:00
Eric Tune
a687d62b81
Merge pull request #9037 from rjnagal/monitoring
...
Fix cluster monitoring setup config.
2015-06-01 13:45:24 -07:00
Eric Tune
3c067b766a
Merge pull request #8996 from manolitto/aws_cluster_monitoring_fix
...
aws: fix cluster monitoring (new option "influxdb" instead of "true")
2015-06-01 13:43:43 -07:00
Piotr Szczesniak
0142e4c9c2
Refactored kube-push.sh script
...
The script allows also to push binaries only to the master or specified node.
Added support for released tars.
Introduced new push methods and implemented them for GCE.
2015-06-01 21:21:00 +02:00
Robert Bailey
0c62b71f8a
Don't assume that CA_CERT_BASE64 will be set.
2015-06-01 11:35:26 -07:00
Eric Tune
5b3e01d2fd
Merge pull request #8653 from matschaffer/s3-creation-wait
...
Check that s3 bucket has been created
2015-06-01 10:29:03 -07:00
Eric Tune
be2e61d069
Merge pull request #8986 from ZJU-SEL/fix-util.sh
...
Add trap-add in util.sh
2015-06-01 10:27:49 -07:00
Eric Tune
c1d0a48075
Merge pull request #8912 from justinsb/volumes_kubelet_root_not_symlink
...
Ensure kubelet root is not a symlink
2015-06-01 09:24:32 -07:00
Eric Tune
84dfa9b1b8
Merge pull request #8958 from mbruzek/build-local
...
Use locally built kubernetes binaries in charms
2015-06-01 09:23:58 -07:00
Manfred Geiler
8c8f8feb62
aws: fix cluster monitoring ("none" instead of "false")
2015-06-01 09:12:41 +02:00
Rohit Jnagal
3659aef63a
Fix cluster monitoring setup config.
...
Older options used to be true/false. Newer ones are none|influxdb|google.
2015-05-30 05:31:53 +00:00
Kris
f4e2c738f6
Delete deprecated API versions
...
pkg/service:
There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.
pkg/apiserver:
The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.
pkg/kubectl:
Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Justin Santa Barbara
c4a2631593
Mount logic breaks if /var/lib/kubelet is a symlink
...
Pass the correct kubelet root-dir on AWS
2015-05-29 20:13:09 -04:00
Matt Bruzek
e32c9e4f10
Merge branch 'master' of github.com:GoogleCloudPlatform/kubernetes into build-local
...
Conflicts:
cluster/juju/bundles/local.yaml
2015-05-29 17:36:48 -05:00
goltermann
4c19734b71
Fix kube-down errors for GCE
2015-05-29 14:12:22 -07:00
Matt Bruzek
774f7e3738
Changed a comment for flake8 reasons.
2015-05-29 15:26:07 -05:00
Rohit Jnagal
6274d845b9
Merge pull request #8931 from dchen1107/clean
...
Fix the race when monit is used to monitor services which are also
2015-05-29 11:23:21 -07:00
Rohit Jnagal
50b9d6284a
Merge pull request #8681 from vmarmol/system-container
...
Create a system container
2015-05-29 09:41:06 -07:00
Rohit Jnagal
ff51f0b2e1
Merge pull request #8696 from derekwaynecarr/force_namespace_creation
...
Force explicit namespace provision, update e2e for failures
2015-05-29 09:28:47 -07:00
Wojciech Tyczynski
4fc38849ea
Retry downloading tars in case of unpack failure
2015-05-29 13:06:24 +02:00
Manfred Geiler
635b6bc097
aws: fix cluster monitoring (new option "influxdb" instead of "true")
2015-05-29 11:15:21 +02:00
Wojciech Tyczynski
44360e401b
Increase timeout for verifying clusters
2015-05-29 09:44:14 +02:00
resouer
c86e626e35
Add trap-add in util.sh
2015-05-29 11:04:47 +08:00
Tim Hockin
677d0fdf87
Merge pull request #8782 from orangain/fix-kubectl-path-in-x86
...
kubectl's dir should be 386 not x86 in x86 enviroment
2015-05-28 16:59:25 -07:00
Tim Hockin
ac3cc3c518
Rename PORTAL_NET all over
2015-05-28 16:10:44 -07:00
Tim Hockin
3005471100
Add new apiserver flags for clusterIP (nee portal)
...
Leave old flags but marked as deprecated
2015-05-28 16:10:44 -07:00
Tim Hockin
4318ca5a8b
Rename 'portal IP' to 'cluster IP' most everywhere
...
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin
2c20c3664c
Merge pull request #8902 from brendandburns/fix
...
Turn off certificate checking for Mavericks, as the curl is borked.
2015-05-28 15:32:50 -07:00
Tim Hockin
4ac239499b
Merge pull request #8904 from justinsb/fix_8903
...
GCE kube-up; write the marker only after we have uploaded the file
2015-05-28 15:30:47 -07:00
Tim Hockin
ba07e5d472
Merge pull request #8920 from whitmo/bundle-version-update
...
Update kubernetes version to 0.17.1 in bundle
2015-05-28 15:30:14 -07:00
Matt Bruzek
f261702ef6
Adding kube-down logic to utils.sh to clean up.
2015-05-28 16:58:55 -05:00
Tim Hockin
ccafaaf8ef
Merge pull request #8729 from justinsb/gce_up_csv
...
Pass arg lists to gcloud as comma-separated single arg
2015-05-28 14:58:43 -07:00
Tim Hockin
e88249e78e
Merge pull request #8273 from krousey/cluser_skydns
...
Updating some SkyDNS templates to v1beta3
2015-05-28 14:58:03 -07:00
Dawn Chen
79a2a4f18d
Fix the race when monit is used to monitor services which are also
...
started at boot time via init.d at boot time.
2015-05-28 11:58:33 -07:00
Matt Bruzek
a464d624e6
Chaning the bundle to use the new config value.
2015-05-28 13:40:25 -05:00
Matt Bruzek
d344eb6cf0
Making the alias a variable to be replaced by the code.
2015-05-28 13:39:11 -05:00
Matt Bruzek
b112606f54
Setting the alias variable on the template data.
2015-05-28 13:36:53 -05:00
Vishnu Kannan
0ae4defc9d
Avoid making connections to the apiserver insecure by default in kube2sky.
2015-05-28 11:04:09 -07:00
derekwaynecarr
3e8b1d5e01
Update all salt providers to force explicit namespace creation; update e2e
2015-05-28 13:45:49 -04:00
Matt Bruzek
08733d9362
Adding the 'local' option to install binaries from local filesystem.
2015-05-28 11:16:14 -05:00
Matt Bruzek
e013541573
Changing the util.sh to build kubernetes binaries locally.
2015-05-28 11:08:09 -05:00
Kris Rousey
8678164357
Updating some SkyDNS templates to v1beta3
2015-05-28 08:32:33 -07:00
Whit Morriss
dd81cfd4b8
update to latest tag
2015-05-28 10:13:19 -05:00
Justin Santa Barbara
521cb0e85b
Pass arg lists to gcloud as comma-separated single arg
...
This should get rid of the scary warning messages on GCE up.
Fixes #8117
2015-05-28 00:36:13 -04:00
Justin Santa Barbara
dc11a5434a
GCE kube-up; write the marker only after we have uploaded the file
...
We can't write the marker before we upload the file, otherwise anything
that interrupts the upload will leave a corrupted upload that we believe
to be current.
2015-05-27 23:33:29 -04:00
Brendan Burns
e1c0e100b5
Turn off certificate checking for Mavericks, as the curl is borked.
2015-05-27 19:53:24 -07:00
Tim Hockin
16db5a9c69
Merge pull request #8621 from MCyprien/util-verify-prereqs
...
ubuntu cluster utils.sh verify-ssh-prereqs
2015-05-27 12:43:56 -07:00
Tim Hockin
b74786c1b6
Merge pull request #8865 from derekwaynecarr/fix_kube_push
...
Fix Vagrant node registration and kube-push
2015-05-27 12:42:13 -07:00
Tim Hockin
93a67b75a0
Merge pull request #8537 from a-robinson/ssd
...
Change the default master data disk on GCE to be a 20GB SSD
2015-05-27 09:39:19 -07:00
Eric Tune
b76dd0e585
Merge pull request #8722 from roberthbailey/dead-flags-salt
...
Remove deprecated nodecontroller flags from the salt configuration.
2015-05-27 08:22:26 -07:00
derekwaynecarr
2f1dd9228f
Fix Vagrant node registration and kube-push
2015-05-27 10:50:57 -04:00
Wojciech Tyczynski
e25a34c8a1
Extend logging for cluster validation
2015-05-27 12:05:26 +02:00
Victor Marmol
c97dda068d
Create a /system system container in Debian.
2015-05-26 20:52:09 -07:00
Saad Ali
fae1636eda
Merge pull request #8586 from vmarmol/use-root-containers
...
Run Docker containers as top-level containers in Debian.
2015-05-26 18:44:36 -07:00
Saad Ali
2c92915f63
Merge pull request #8752 from ZJU-SEL/Fix#8373
...
Fix #8373 add kubectl for cluster validation
2015-05-26 18:29:07 -07:00
Saad Ali
bed9f826d3
Merge pull request #7435 from jsafrane/devel/volume-tests
...
V2: Add e2e tests for NFS and Gluster
2015-05-26 17:49:41 -07:00
Saad Ali
496be63c00
Merge pull request #8717 from saad-ali/gceUpgradeScriptNewParams
...
Modify GCE upgrade script to not require exact version number
2015-05-26 15:09:15 -07:00
Saad Ali
e25af35252
Merge pull request #8757 from invenfantasy/master
...
remove duplicate configuration
2015-05-26 14:54:44 -07:00
Saad Ali
abaa278b0e
Merge pull request #8643 from vishh/headless
...
Adding support for generating A records for headless services.
2015-05-26 14:44:00 -07:00
CJ Cullen
28a8c13c19
Fix detect-minion-names for gke provider
2015-05-26 14:15:01 -07:00
Robert Bailey
e46b5641ae
Remove deprecated flags from the salt configuration.
2015-05-26 12:36:09 -07:00
Filip Grzadkowski
e2c4a01b60
Merge pull request #8808 from fgrzadkowski/fix_warnings
...
Fix WARNING during kube-push.sh
2015-05-26 08:29:04 -07:00
Filip Grzadkowski
8fe771b4a3
Fix WARNING during kube-push.sh
2015-05-26 17:04:57 +02:00
gmarek
584496d2c4
Small fixes to get-kube.sh
2015-05-26 14:29:07 +02:00
Vishnu Kannan
d3c7edb78f
New release of kube2sky (v1.7)
2015-05-25 19:43:57 -07:00
orangain
dec143600a
kubectl's dir should be 386 not x86 in x86 enviroment
...
Before applying this patch, `cluster/kubectl.sh` failed to find
`kubectl` binary in x86 environment.
e.g. The latest release v0.17.1 contains following binaries:
https://github.com/GoogleCloudPlatform/kubernetes/releases/tag/v0.17.1
```
$ tree platforms/
platforms/
├── darwin
│ ├── 386
│ │ └── kubectl
│ └── amd64
│ └── kubectl
├── linux
│ ├── 386
│ │ └── kubectl
│ ├── amd64
│ │ └── kubectl
│ └── arm
│ └── kubectl
└── windows
└── amd64
└── kubectl.exe
```
2015-05-25 22:06:14 +09:00
Jan Safranek
20004e0c16
Add e2e tests for Gluster and NFS tests.
...
- add appropriate server containers into contrib/for-tests/volumes-tester
- the tests are off by default (they need kubelet --allow_privileged=True)
- enable by 'go run hack/e2e.go ... --ginkgo.focus=Volume'
- add glusterfs tools to list of installed packages on each node
2015-05-25 12:02:41 +02:00
Filip Grzadkowski
5b03939b84
Fix WARNING when creating firewall during e2e tests
2015-05-25 09:46:24 +02:00
invenfantasy
9ff8f7ec7d
remove duplicate configuration
2015-05-24 23:20:03 +08:00
wizard
ca0d82dd44
add kubectl fix#8373
2015-05-24 16:33:11 +08:00
Mat Schaffer
e7ae425385
Colorize errors for consistency with other checks
2015-05-23 16:12:24 +09:00
Vishnu Kannan
f0c20e17c5
Adding support for generating A records for headless services.
2015-05-22 23:00:24 -07:00
Justin Santa Barbara
ae80ed53cf
Automatically open NodePort firewall rules for e2e tests
2015-05-22 22:39:40 -04:00
CJ Cullen
d6e0aedec1
Re-add the cluster_name flag that the ServiceController and RouteController need.
2015-05-22 16:31:22 -07:00
saadali
27c777d61d
Modify GCE upgrade script to not require exact version number
2015-05-22 15:57:35 -07:00
Dawn Chen
c2831fb047
Merge pull request #8624 from chuckbutler/flannel-docker-namespace
...
Repoint flannel-docker service to ~kubernetes namespace
2015-05-22 14:33:58 -07:00
Victor Marmol
656be14e84
Run Docker containers as top-level containers in Debian.
...
Part of #8215
2015-05-22 13:27:25 -07:00
Dawn Chen
a823f6d1d5
Merge pull request #8558 from ZJU-SEL/updateEtcd
...
Update etcd version to 2.0.9 for ubuntu k8s
2015-05-22 12:35:53 -07:00
Dawn Chen
677a4aa1a7
Merge pull request #8164 from cjcullen/cloudprovider
...
Route creation reconciler loop.
2015-05-22 12:27:50 -07:00
Dawn Chen
626d25d50e
Initial cpu limit for fluentd pods (file based).
2015-05-21 23:44:26 -07:00
Mat Schaffer
26736e494c
Check that s3 bucket has been created
...
Fixes #8395
2015-05-22 14:12:36 +09:00
CJ Cullen
e6da5b9601
Make routecontroller_test less hacky.
...
Rename reconcilePodCIDRs to reconcileNodeCIDRs.
Add comments and TODOs about using controller framework.
2015-05-21 18:05:11 -07:00
Zach Loafman
3e4a94080d
Merge pull request #7938 from mbforbes/rollingUpgrade
...
Rolling node upgrade
2015-05-21 14:48:40 -07:00
Charles Butler
7f38d62b65
Repeat fix for docker charm (but point @ store copy)
2015-05-21 14:46:29 -04:00
Charles Butler
f40820391a
Repoint flannel-docker service to ~kubernetes namespace
...
This branch of the charm-store charm is tracking features targeted at
kubernetes based deployments, while the devel focus will continually be
in a state of experimentation and learning.
As all things awesome - deploy in lockstep from a source that has
extensive testing to ensure we aren't handing out experimental code that
hasn't been fully tested e2e w/ the kubernetes project.
2015-05-21 14:23:25 -04:00
Dawn Chen
017fb6a818
Merge pull request #8575 from yifan-gu/kube_refactor
...
Minor kubelet/rkt refactors
2015-05-21 09:37:31 -07:00
Dawn Chen
9a316dd409
Merge pull request #8501 from ArtfulCoder/kubelet_svc_subdomain
...
Support old and new style dns service names.
2015-05-21 09:22:03 -07:00
Dawn Chen
456262c43c
Merge pull request #8475 from dchen1107/clean
...
Create default LimitRange object for cluster: 100m cpu.share per container
2015-05-21 09:14:20 -07:00
Dawn Chen
04c4d25065
Merge pull request #7905 from bakins/aws-coreos
...
AWS: use CoreOS for nodes
2015-05-21 09:05:56 -07:00
Marc Cyprien
36b2f2dd04
PR for [ #8559 ]( https://github.com/GoogleCloudPlatform/kubernetes/issues/8559 )
2015-05-21 16:16:53 +02:00
wizard
a070bad50f
update etcd version to 2.0.9 for ubuntu k8s
2015-05-21 12:51:39 +08:00
Abhishek Shah
dff3a7daaa
skydns changes
2015-05-20 17:04:30 -07:00
CJ Cullen
0d12a15971
Route creation reconciler loop.
2015-05-20 14:21:30 -07:00
CJ Cullen
bf646abf8d
Revert "Revert "Modify nodes to register directly with the master.""
...
This reverts commit c53786ab31
.
2015-05-20 14:21:03 -07:00
Quinton Hoole
c53786ab31
Revert "Modify nodes to register directly with the master."
2015-05-20 13:47:51 -07:00
Yifan Gu
02eee4890b
cluster/gce/coreos: Make rkt version configuable.
2015-05-20 12:08:32 -07:00
Satnam Singh
32842b4d22
Update Fluentd GCP image
2015-05-19 16:12:50 -07:00
Alex Robinson
24c532bef1
Change the default master data disk on GCE to be a 20GB SSD.
2015-05-19 15:49:18 -07:00
Eric Tune
f85e6bcf74
Merge pull request #8502 from whitmo/juju-petstore-action
...
Juju provider petstore action & kubectl.sh fix
2015-05-19 12:20:23 -07:00
Yu-Ju Hong
8e5d78c687
Merge pull request #8485 from brendandburns/docker
...
More fixes for release 0.17.0
2015-05-19 12:06:00 -07:00
Max Forbes
3437ac691a
Rolling node upgrade
2015-05-19 11:42:34 -07:00
Eric Tune
1f4172d23c
Merge pull request #6949 from roberthbailey/node-register
...
Modify nodes to register directly with the master.
2015-05-19 11:29:43 -07:00
Yu-Ju Hong
1714579f8f
Merge pull request #8497 from lvlv/master
...
Fix influxdb external url and its port
2015-05-19 10:28:06 -07:00
Dawn Chen
061155c1eb
Create LimitRange object for cluster before addons service
2015-05-19 10:23:41 -07:00
Dawn Chen
55501a6314
Have default LimitRange created for cluster: 100m cpu.share per container
2015-05-19 10:23:40 -07:00
Eric Tune
dc81fe1f12
Merge pull request #7998 from doublerr/rackspace_fixes
...
Rackspace fixes
2015-05-19 09:59:54 -07:00
Robert Bailey
8e356f8439
Configure the cloud provider for the kubelet.
2015-05-19 09:55:07 -07:00
Robert Bailey
01467e0bb8
Modify nodes to register directly with the master.
...
- Delete nodes when they are no longer ready and don't exist in the
cloud provider.
- Label each node with it's hostname.
- Add flag to skip node registration.
- Add a test for registering an existing node.
2015-05-19 09:55:07 -07:00
Whit Morriss
52112ad985
make ./kubectl.sh work with juju provider
2015-05-19 10:01:55 -05:00
Whit Morriss
5d19597ffa
Add juju action to start petstore example
...
This is @chuckbutler's work, with some small fixes
`juju action do kubernetes-master/0 petstore` launches the example code
2015-05-19 09:47:08 -05:00
Lv Lv
e8fe157a7f
Fix influxdb external url and its port
2015-05-19 20:35:19 +08:00
Brendan Burns
f51f8b3a86
More fixes for release 0.17.0
2015-05-18 20:47:03 -07:00
Satnam Singh
702bf625ce
Add explicit version to name of monitoring RCs
2015-05-18 18:13:18 -07:00
Brendan Burns
cbef26b1dd
Update docker instructions to 0.17.0
2015-05-18 16:51:48 -07:00
Tim Hockin
6b6b47a777
Merge pull request #8452 from satnam6502/skydns
...
Embed version number in kube-dns RC
2015-05-18 16:36:43 -07:00
Tim Hockin
931f448af1
Merge pull request #8456 from satnam6502/doc
...
Document process for updating version of kube-dns
2015-05-18 16:35:54 -07:00
Victor Marmol
7dde223c2a
Merge pull request #8458 from satnam6502/elasticsearch
...
Give explicit version number to Elasticsearch logging RC
2015-05-18 16:27:08 -07:00
Satnam Singh
3337cea8bb
Give explicit version number to Kibana RC
2015-05-18 16:04:13 -07:00
Victor Marmol
e83a4e3fd8
Merge pull request #8450 from satnam6502/kibana
...
Add version label to Kibana controller and service
2015-05-18 15:56:27 -07:00
Satnam Singh
83cd97a2e7
Give explicit version number to Elasticsearch logging RC
2015-05-18 15:53:01 -07:00
Satnam Singh
c7d5b4fa2f
Document process for updating version of kube-dns
2015-05-18 15:41:08 -07:00
Satnam Singh
fbf6d36e1c
Embed version number in kube-dns RC
2015-05-18 15:18:44 -07:00
Satnam Singh
4a0c6b3e0b
Add version label to Kibana controller and service
2015-05-18 14:49:12 -07:00
Satnam Singh
c84fd94b11
Update Elasticsearch cluster level service to add version label
2015-05-18 14:43:58 -07:00
Victor Marmol
397b7d1bf2
Merge pull request #8427 from vishh/heapster_v0.12.1
...
Updating heapster to v0.12.1.
2015-05-18 14:01:20 -07:00
Vishnu Kannan
63a5e3895c
Updating heapster to v0.12.1. This adds support for tokens and improves scalability
...
in large clusters.
2015-05-18 12:04:46 -07:00
Paul Weil
e565b20b37
fix gendocs
2015-05-18 13:32:55 -04:00
Victor Marmol
f9c9564561
Merge pull request #8047 from ZJU-SEL/0.15dns
...
Revert to v0.15.0 dns manifest temporarily in ubuntu deployment
2015-05-18 08:41:08 -07:00
Victor Marmol
d064e843ab
Merge pull request #8287 from vishh/kube2sky
...
Adding unit tests for existing kube2sky logic
2015-05-18 08:40:19 -07:00
Victor Marmol
4ba22e713a
Merge pull request #8296 from jlowdermilk/gen-analytics
...
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Victor Marmol
d0e7040b94
Merge pull request #8367 from thockin/kube2sky
...
Add docs on making a release
2015-05-18 08:37:28 -07:00
Vishnu Kannan
684122f2a7
Adding unit tests for existing kube2sky logic.
2015-05-17 19:13:50 -07:00
Justin Santa Barbara
87dfddb259
AWS: Set MASTER_RESERVED_IP in config-default.sh
...
Otherwise jenkins fails
2015-05-16 20:32:23 -04:00
Vish Kannan
d51e131726
Merge pull request #8354 from vishh/kube2sky_2
...
Revert kube2sky to use kubernetes-ro service
2015-05-15 21:23:15 -07:00
wizard
4a8406ee8e
use v0.15.0 dns manifest
2015-05-16 10:11:42 +08:00
Jeff Lowdermilk
553f9f822b
Add ga-beacon analytics to gendocs scripts
...
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Tim Hockin
284f87040c
Add docs on making a release
2015-05-15 17:51:01 -07:00
Vishnu Kannan
50522a207b
Revert kube2sky to use kubernetes-ro service until the dns-token is updated
...
to not use dns names.
2015-05-15 16:44:20 -07:00
nikhiljindal
fa9f864782
Adding a script to update etcd objects
2015-05-15 16:20:35 -07:00
Daniel Smith
ce4b54ec70
Merge pull request #8209 from krousey/v1beta1_cluster
...
Removing some v1beta1 uses in cluster/
2015-05-15 14:56:41 -07:00
Kris Rousey
98c457c397
Updating /cluster to use v1beta 3 specs, and change a lot of polling to
...
healthz instead of api endpoints.
2015-05-15 14:17:55 -07:00
Satnam Singh
afedb2d24a
Merge pull request #8322 from thockin/dns
...
Base the kube2sky container on busybox
2015-05-15 12:05:37 -07:00
Prashanth B
1f0b4c5e2a
Merge pull request #8232 from zmerlynn/i8196
...
Ensure basic DNS functionality before doing real work in configure-vm.sh
2015-05-15 10:19:35 -07:00
Tim Hockin
850e0e682e
Base the kube2sky container on busybox
2015-05-15 08:49:52 -07:00
Victor Marmol
d3c6fb0d6a
Merge pull request #8275 from dchen1107/clean
...
Install monit_watcher as a cron job (1m) to check if monit is running,
2015-05-15 08:02:55 -07:00
Victor Marmol
c869f5d0cc
Merge pull request #8282 from mbruzek/fixing-permissions
...
Fixing the permissions on python files.
2015-05-14 18:26:43 -07:00
CJ Cullen
213a1b5e71
Merge pull request #8290 from roberthbailey/unbound-var
...
Fix an unbound variable error when CA_CERT isn't set.
2015-05-14 15:51:55 -07:00
Robert Bailey
9edc359de7
Fix an unbound variable error when CA_CERT isn't set.
2015-05-14 15:42:16 -07:00
Robert Bailey
a236f04a5f
Remove newlines output by base64 on linux.
2015-05-14 15:39:26 -07:00
Dawn Chen
e6c159eda2
Install monit_watcher as a cron job (1m) to check if monit is running,
...
and oom protect monit processes.
2015-05-14 15:19:11 -07:00
Matt Bruzek
985375e82b
Changing hooks.py back to executable.
2015-05-14 16:51:55 -05:00
Robert Bailey
9d6c032929
Merge pull request #7888 from madis/associate_aws_elastic_ip_with_master
...
Associate master instance with AWS Elastic IP
2015-05-14 13:18:19 -07:00
Matt Bruzek
d8b9e2e184
Fixing the permissions on python files.
2015-05-14 15:02:22 -05:00
Robert Bailey
9ab41db7ea
Static cert distribution for GCE.
...
To make cert validation work, no longer use the
fqdn for the master name on the node VMs.
2015-05-14 11:59:13 -07:00
Rohit Jnagal
e4c98a05ea
Merge pull request #8182 from GoogleCloudPlatform/revert-7863-etcd_maxprocs
...
Revert "Set GOMAXPROCS for etcd"
2015-05-14 11:19:56 -07:00
Satnam Singh
e8f55e81e5
Add a TAG Makefile variable for the kube2sky image
2015-05-14 10:57:45 -07:00
Rohit Jnagal
bd0156c65a
Merge pull request #8204 from jlowdermilk/gke-todos
...
Cleanup some todos for gke + rip out dead code
2015-05-14 10:30:24 -07:00
Tim Hockin
ae52c15f1c
Merge pull request #8253 from thockin/dns-health
...
Fix spurious quote in DNS healthcheck
2015-05-14 10:08:09 -07:00
Victor Marmol
5e7a7b9206
Merge pull request #8241 from gmarek/remove_name
...
Remove unused ClusterName from NodeController
2015-05-14 09:49:34 -07:00
Tim Hockin
1b1010621f
Fix spurious quote in DNS healthcheck
2015-05-14 09:39:02 -07:00
Victor Marmol
2b1b85468a
Merge pull request #7330 from chrismoos/volume_format_script_updates
...
Add safe_format_and_mount to hyperkube image.
2015-05-14 09:17:20 -07:00
Victor Marmol
def22b51c8
Merge pull request #8046 from ZJU-SEL/add-ubuntu-test-build-release
...
add func test-build-release
2015-05-14 09:07:04 -07:00
gmarek
8a4717d3f5
Remove unused ClusterName from NodeController
2015-05-14 18:01:23 +02:00
Madis Nõmme
15643a2c72
Add 'auto' option for MASTER_RESERVED_IP. No ElasticIP allocation by default.
...
Default behaviour when setting up a cluster is using the Amazon-assigned public ip.
It will change between reboots. If MASTER_RESERVED_IP is set to 'auto', new Elastic
IP will be allocated & assigned to master. If MASTER_RESERVED_IP is set to an existing
Elastic IP, it will be used. When something fails, original Amazon-given IP will be used.
2015-05-14 08:33:07 +03:00
Ryan Richard
4e2f350bc9
rackspace: kube_bearer_token -> kubelet_token
2015-05-13 21:38:29 -05:00
Ryan Richard
1e8ee4d1f1
minor fixes to get a working cluster
2015-05-13 21:33:25 -05:00
Ryan Richard
16a448082f
add functions to generate tokens
2015-05-13 21:33:25 -05:00
Ryan Richard
6968074c90
remove manifest config and bump rax coreos image
2015-05-13 21:33:25 -05:00
Ryan Richard
6ae14b3630
add initial support for flannel
2015-05-13 21:33:24 -05:00
Ryan Richard
b2aa089df0
fix download-release.sh
...
Download-release.sh was overwriting previous downloads
even if the temp URL had expired which resulted in the
release and binaries being overriden.
2015-05-13 21:33:24 -05:00
Ryan Richard
75dac16c34
leverage $public_ip4 for apiserver communication
2015-05-13 21:33:24 -05:00
Eric Tune
936f9cc95d
WIP: Update Rackspace so node talks to apiserver
...
Kubernetes project has decided that it is better if kubelet
and kube-proxy use the apiserver REST interface to get and
set resources instead of accessing resource keys in etcd directly.
This is necessary to support kubelet reporting of events,
and also encapsulates the apiserver store details.
This means that the kubelet and kube-proxy need to know the
apiserver host(s) via a flag.
Since the Rackspace config already used etcd to advertise the
minions to the controller-manager, I used the same pattern to advertise
the apiserver(s) to the minions.
Setting --public_address_override=$private_ipv4 is intended to ensure that
the master serves its http interface on the right ethernet device, since I think
there are two on a droplet.
The new apiserver-advertiser.service puts the IPs of any apiservers in etcd.
The kubelet and kube-proxy now take an environment file which contains
the list of apiserver IPs, and that env var goes into a flag. The
etcd_servers argument is removed -- the point is for these binaries
to not access etcd.
The new apiserver-finder.service watches for changes in etcd and
restarts kubelet and kube proxy when there are new apiservers.
2015-05-13 21:33:23 -05:00
Zach Loafman
06c22c699a
Ensure basic DNS functionality before doing real work in configure-vm.sh
...
Fixes #8196 . Maybe. If my theory is correct on how we got there. Also
changes the inference of master to be based on the master name, not
the node instance prefix. That way if we somehow have a bogus
hostname, the master will configure itself as a node, the whole
cluster fails, and it's a ton more obvious.
2015-05-13 19:12:53 -07:00
Dawn Chen
309a157665
Merge pull request #7984 from cjcullen/kubelet
...
Kubelet configure cbr0 instead of configure-vm.sh
2015-05-13 17:32:52 -07:00
Vish Kannan
f49757cba5
Merge pull request #8221 from ArtfulCoder/use_https
...
Use https to access apiserver from kube2sky
2015-05-13 17:21:41 -07:00
Abhishek Shah
71a10c2044
Use https
2015-05-13 17:03:29 -07:00
Robert Bailey
a61baf6a74
Merge pull request #8208 from saad-ali/fixTemplateUpDown2
...
Fix GCE kube-down incorrect MIG delete OpID
2015-05-13 15:28:52 -07:00
saadali
c118b6d603
Fix GCE kube-down incorrect MIG delete OpID
2015-05-13 15:06:43 -07:00
Vish Kannan
5b8e70181f
Merge pull request #8199 from satnam6502/es
...
Revert to using emptyDir for Elasticsearch data
2015-05-13 14:47:03 -07:00
Jeff Lowdermilk
3f3760a14a
Cleanup some todos for gke + rip out dead AuthConfig code
2015-05-13 13:54:02 -07:00
Brian Akins
fac4350fa6
Initial addition of CoreOS as minion for AWS cluster
2015-05-13 16:39:22 -04:00
Rohit Jnagal
a1ef8585da
Merge pull request #8168 from brendandburns/docker
...
Update single node docker to 0.16.2
2015-05-13 13:25:27 -07:00
Quinton Hoole
d114945b90
Merge pull request #8181 from thockin/dns-health
...
Fix DNS health check
2015-05-13 13:08:37 -07:00
Satnam Singh
ca121ee98d
Revert to using emptyDir for Elasticsearch data
2015-05-13 12:52:56 -07:00
Yu-Ju Hong
ad83197c63
Merge pull request #8187 from satnam6502/nosecret
...
Remove the use of secrets from node level logging agents
2015-05-13 11:12:08 -07:00
Jeff Lowdermilk
f8ebc4e21e
Merge pull request #8104 from roberthbailey/kubelet-using-kubeconfig
...
Replace the auth config file with a kubeconfig file when starting the kubelet on GCE.
2015-05-13 11:09:27 -07:00
Derek Carr
9454d58547
Merge pull request #8127 from liggitt/service_account_admission
...
Add ServiceAccount admission plugin
2015-05-13 14:03:11 -04:00
Zach Loafman
abd1f89ba7
Merge pull request #8189 from dchen1107/clean
...
Monit watch kubelet and kube-proxy on master node too.
2015-05-13 10:57:41 -07:00
Dawn Chen
e32daf4229
Monit watch kubelet and kube-proxy on master node too.
2015-05-13 10:36:00 -07:00
Satnam Singh
53ec5e38c7
Remove the use of secrets from node level logging agents
2015-05-13 10:11:07 -07:00
Filip Grzadkowski
eecd7b8c0f
Revert "Set GOMAXPROCS for etcd"
2015-05-13 17:53:04 +02:00
Tim Hockin
ab30484a4f
Fix DNS health check
2015-05-13 08:51:06 -07:00
Zach Loafman
02f3a32196
Merge pull request #8131 from justinsb/aws_install_salt_gce_style
...
Install specific salt version on AWS, based on GCE
2015-05-13 06:55:32 -07:00
Brendan Burns
48d7604f4e
Update single node docker to 0.16.2
2015-05-13 11:15:56 +01:00
Robert Bailey
c47b9178b4
Replace the auth config file with a kubeconfig file when
...
starting the kubelet on GCE.
2015-05-13 01:03:28 -07:00
Madis Nõmme
eb220f05a6
Properly get return value (considering errexit). Quote variables.
2015-05-13 10:45:51 +03:00
Madis Nõmme
d4d02a9028
Optionally associate master instance with AWS Elastic IP
...
When MASTER_RESERVED_IP is set to elastic IP from AWS, then aws/util.sh will
associate it with master instance and assign it to KUBE_MASTER_IP. If no MASTER_RESERVED_IP
is set, new elastic ip will be requested from amazon. This allows cluster certificates to
be generated for an IP that doesn't change between stopping & starting cluster instances.
The requested elastic ip is not released when kube-down.sh is run. I think it is good
because user could have created DNS records and it would be bad if the IP was removed.
He can reuse it next time through MASTER_RESERVED_IP when setting up cluster again.
2015-05-13 10:45:51 +03:00
CJ Cullen
31ea7d1295
Put cbr0-modifying stuff behind a flag. Address some other comments.
2015-05-12 23:00:28 -07:00
CJ Cullen
5e3d2b9138
Kubelet configure cbr0 instead of configure-vm.sh
2015-05-12 23:00:12 -07:00
Justin Santa Barbara
23b1a22203
AWS: Don't use policy-rc.d to prevent starting daemons until we're ready
...
It isn't required
2015-05-12 21:18:48 -04:00
Nikhil Jindal
c2fecff3d5
Merge pull request #8067 from piosz/kubectl
...
Added label kubernetes.io/name to cluster services
2015-05-12 17:09:22 -07:00
Quinton Hoole
de0d59be05
Merge pull request #8096 from saad-ali/fixTemplateUpDown
...
Make MIG deletion during GCE kube down blocking, so that subsequent template deletion doesn't fail.
2015-05-12 17:05:13 -07:00
saadali
932cdd954d
Clean up GCE kube-down script by using set e
2015-05-12 16:58:22 -07:00
Nikhil Jindal
5e11830e13
Merge pull request #7988 from satnam6502/es-image
...
Make the Elasticsearch logging pods discover each other
2015-05-12 16:19:57 -07:00
Satnam Singh
7cff506c93
Make the Elasticsearch logging pods discover each other
2015-05-12 15:26:09 -07:00
Alex Robinson
a98d883134
Merge pull request #8121 from satnam6502/fluentd-gcp
...
Convert node level logging to Cloud Logging to use token-system-logging
2015-05-12 14:26:46 -07:00
Alex Robinson
96cb4360fa
Merge pull request #8120 from satnam6502/fluentd-es
...
Convert nodel level logging to ES to use token-system-logging
2015-05-12 14:26:28 -07:00
Clayton Coleman
7d620c20b9
Merge pull request #8105 from thockin/dns-domain
...
Rename default DNS domain to cluster.local
2015-05-12 17:18:45 -04:00
Zach Loafman
0b0bace006
Merge pull request #8009 from mbforbes/refactorEnv
...
Refactor master vs node kube-env and salt auth
2015-05-12 13:37:54 -07:00
Justin Santa Barbara
ffb0e7f9b8
Install specific salt version on AWS, based on GCE
...
The latest salt version breaks the container_bridge.py _state function
We can lock to the same version as GCE. This is not a full fix,
because we can't update to the latest salt without breaking GCE,
but this at least unbreaks and sync AWS with GCE.
This isn't a straight copy from GCE, because we still use
the salt master on AWS (for now)
Fixes #8114
2015-05-12 16:33:56 -04:00
Max Forbes
76c89db5a8
Master vs node salt auth refactor in configure-vm.sh
2015-05-12 13:26:11 -07:00
Max Forbes
0acf8f9a00
Refactor GCE kube-env for both OSes.
2015-05-12 13:26:10 -07:00
Jordan Liggitt
e5d47081a2
Add ServiceAccount admission plugin
2015-05-12 15:19:05 -04:00
Nikhil Jindal
d75bd8bf2a
Merge pull request #7101 from liggitt/service_account
...
ServiceAccounts
2015-05-12 10:23:41 -07:00
Satnam Singh
ade18e4ff3
Conver node level logging to Cloud Logging to use token-system-logging
2015-05-12 10:17:45 -07:00
Satnam Singh
f9af0658fa
Convert nodel level logging to ES to use token-system-logging
2015-05-12 10:07:49 -07:00
Tim Hockin
e83e49b076
rename default DNS domain to cluster.local
2015-05-11 23:00:43 -07:00
saadali
c5b1508774
Make MIG deletion during GCE kube down blocking, so that subseqent template deletion doesn't fail.
2015-05-11 18:51:59 -07:00
Alex Robinson
e2b7ef8d2c
Merge pull request #8078 from satnam6502/fluentd-gcp
...
Convert Fluentd to Cloud Logging pod specs to YAML
2015-05-11 16:55:14 -07:00
Satnam Singh
e246685468
Convert Fluentd to Cloud Logging pod specs to YAML
2015-05-11 14:55:46 -07:00
Satnam Singh
2f5ba28a17
Switch Fluentd to ES manifest back to YAML
2015-05-11 14:37:41 -07:00
Jordan Liggitt
7e14a80f63
ServiceAccount admission plugin
2015-05-11 17:18:06 -04:00
Jordan Liggitt
db1f0dc906
JWT token generation/verification
2015-05-11 17:18:06 -04:00
Daniel Smith
caddcd8cd3
Merge pull request #7901 from vishh/kube2sky
...
Updated kube2sky to use the controller framework.
2015-05-11 13:49:20 -07:00
Robert Bailey
6c42cb154b
Stop copying certs into /usr/share/nginx/ since nothing relies
...
on that location any longer.
2015-05-11 11:44:19 -07:00
Alex Robinson
8bec62e42c
Merge pull request #7995 from satnam6502/es-logging
...
Upgrade to Kibana 4 for cluster logging
2015-05-11 10:40:41 -07:00
Piotr Szczesniak
12e44ff8a9
Added label kubernetes.io/name to cluster services
...
The label specifies service name which is displayed in kubectl cluster-info
2015-05-11 19:35:53 +02:00
Nikhil Jindal
72ac82eba9
Merge pull request #8005 from lavalamp/kubectlFix
...
Don't print debugging things on every run of kubectl.sh
2015-05-11 10:19:37 -07:00
Jeff Lowdermilk
6523d18130
Future proof GKE kubeconfig handling in e2e driver
2015-05-11 09:57:54 -07:00
Filip Grzadkowski
26d14300e9
Increase disk size for kubernetes master.
...
Signed-off-by: Filip Grzadkowski <filipg@google.com>
2015-05-11 15:35:38 +02:00
Piotr Szczesniak
02aa97d695
Added name to kube-dns service
...
Fixes #7922
2015-05-11 12:42:22 +02:00
He Simei
9e2ac1b8bd
add func test-build-release
...
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-05-11 10:07:58 +08:00
Jeff Lowdermilk
78386e48ad
fix #7921
2015-05-09 07:48:29 -07:00
Jeff Lowdermilk
051288c4ee
Merge pull request #7921 from roberthbailey/gke-kubeconfig
...
Stop setting a GKE specific version of the kubeconfig file
2015-05-08 19:48:49 -07:00
Daniel Smith
ccecb115ed
Don't print debugging things on every run of kubectl.sh
2015-05-08 15:55:28 -07:00
Satnam Singh
fcbe2229df
Kibana by itself
...
Upgrade to Kibana 4 for cluster logging
2015-05-08 14:55:52 -07:00
Robert Bailey
9db0c68e3e
For GKE, only use the special kubeconfig location if the file exists.
...
This will allow Jenkins to keep running after the next gcloud release
without needing to make immediate modifications to this file. We can
then remove the extra logic at our own convenience.
2015-05-08 14:53:49 -07:00
Justin Santa Barbara
3cf8d72d96
Copy some new properties from config-default => config.test
...
ENABLE_MINION_PUBLIC_IP was causing a failure because the variable wasn't declared.
ADMISSION_CONTROL should just be set the same for both test & default
2015-05-08 14:30:17 -07:00
Derek Carr
39de2ee5b8
Merge pull request #7982 from BenTheElder/vagrant_test_fixes
...
Call kube-down in test-teardown for vagrant.
2015-05-08 15:01:21 -04:00
BenTheElder
0b32bb1e4c
Call kube-down in test-teardown
...
See https://github.com/GoogleCloudPlatform/kubernetes/issues/7978
2015-05-08 14:50:35 -04:00
Robert Bailey
a7bb598889
Merge pull request #7928 from manolitto/disable_minion_public_ip
...
AWS: make it possible to disable minion public ip assignment
2015-05-08 09:52:42 -07:00
Manfred Geiler
c5c62f7d57
fixed second missing $ and added curly brackets
2015-05-08 17:18:52 +02:00
Manfred Geiler
1119340260
fixed missing $
2015-05-08 16:58:49 +02:00
Manfred Geiler
96d34c1106
AWS: added docs for KUBE_ENABLE_MINION_PUBLIC_IP option
2015-05-08 16:56:06 +02:00
Paul Morie
ad4b6dcb0d
Ease building kubelet image
2015-05-08 01:21:25 -04:00
Fabio Yeon
89b3ffa5b7
Check node status as part of validate-cluster.sh.
2015-05-07 16:13:07 -07:00
Manfred Geiler
205ed2bf6e
AWS: make it possible to disable minion public ip association
2015-05-08 00:09:47 +02:00
Vishnu Kannan
e521b3f1af
Updated kube2sky to use the controller framework.
...
Refactored the code a bit to make it easy for future enhancements and
unit testing.
Tested the change manually on a kube node with and without kubeConfig based tokens.
2015-05-07 14:40:44 -07:00
Rohit Jnagal
36bb479c52
Merge pull request #5498 from ZJU-SEL/refactor-ubuntu
...
Ubuntu-distro: deprecate & merge ubuntu single node work to ubuntu cluster node stuff
2015-05-07 09:41:20 -07:00
Vish Kannan
e25210d367
Merge pull request #7822 from thockin/dns
...
DNS: expose 53/TCP
2015-05-07 09:34:52 -07:00
wizard
595345c6a6
Merge the old single-node and multi-node ubuntu deployment into one better approach and update the guidance
2015-05-07 21:01:29 +08:00
Wojciech Tyczynski
ca0f678b9a
Merge pull request #7792 from pweil-/security-context-types
...
SecurityContext admission clean up
2015-05-07 10:43:43 +02:00
Wojciech Tyczynski
600b00f2b1
Merge pull request #7863 from fgrzadkowski/etcd_maxprocs
...
Set GOMAXPROCS for etcd
2015-05-07 10:09:29 +02:00
Tim Hockin
ec8ba4a62f
Expose 53/TCP on DNS service
2015-05-07 00:40:39 -07:00
Tim Hockin
9eb1fb85bd
Convert DNS service to v1beta3
2015-05-07 00:40:35 -07:00
Tim Hockin
58a18447fa
Expose 53/TCP in DNS pod (not service yet)
2015-05-07 00:40:31 -07:00
Tim Hockin
dfe81b7974
Cleanups in DNS pod YAML.
2015-05-07 00:40:23 -07:00
Filip Grzadkowski
7e8bde53dd
Set GOMAXPROCS for etcd
2015-05-07 08:11:39 +02:00
CJ Cullen
f0c26052eb
Fix controller-manager manifest for providers that don't specify CLUSTER_IP_RANGE
2015-05-06 17:50:04 -07:00
Maxwell Forbes
7426b533df
Merge pull request #7862 from cjcullen/cbr0
...
Remove restriction that cluster-cidr be a class-b
2015-05-06 15:46:57 -07:00
saadali
4569de7a46
Enable Google Cloud Monitoring and Google Cloud Logging instead of
...
Influxdb for Google Compute Engine deployments.
2015-05-06 15:23:40 -07:00
CJ Cullen
fbd125e4e2
Remove restriction that cluster-cidr be a class-b
2015-05-06 15:01:13 -07:00
Dawn Chen
07afcb2bce
Merge pull request #7820 from zmerlynn/container-vm-v20150505
...
Update to container-vm-v20150505 (Also updates GCE to Docker 1.6)
2015-05-06 09:22:35 -07:00
Filipe Brandenburger
b7f9e2cea0
Merge pull request #7651 from zmerlynn/upload_hash_in_util
...
Also push .sha1 for devel builds
2015-05-06 09:07:39 -07:00
Victor Marmol
302de065f2
Merge pull request #7798 from pmorie/run-containerized
...
Add ability to dockerize kubelet in local cluster
2015-05-06 08:13:04 -07:00
CJ Cullen
a6b8b2ef59
Merge pull request #7764 from AntonioMeireles/skydns_etcd_deprecatedFlags
...
skydns: use the etcd-2.x native syntax, enable IANA attributed ports.
2015-05-06 07:31:20 -07:00
Paul Morie
fa1d065595
Add ability to dockerize kubelet in local cluster
2015-05-06 09:36:52 -04:00
Mark Lamourine
b7c1b7eed2
Added port 6443 to kube-proxy default IP address for api-server
...
added api_servers_with_port variable and settings.
removed extra port string
split azure api_server host and port out
2015-05-06 12:43:24 +00:00
António Meireles
24a0e5618a
skydns: use the etcd-2.x native syntax, enable IANA attributed ports.
...
per https://github.com/coreos/etcd/blob/master/Documentation/backward_compatibility.md
(there are no functional changes, we just stop using the legacy flags, for
consistency.)
Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2015-05-06 10:07:34 +01:00
Jerzy Szczepkowski
58962100db
Merge pull request #7827 from zmerlynn/safe_format_cleanup
...
Clean up safe_format_and_mount spam in the startup logs
2015-05-06 10:50:32 +02:00
Jerzy Szczepkowski
ce590ff961
Merge pull request #7797 from pmorie/kubelet-image
...
Create docker image for kubelet
2015-05-06 09:23:07 +02:00
Robert Bailey
357df12c02
Set allocate_node_cidrs to be blank by default.
2015-05-05 23:41:30 -07:00
Robert Bailey
06c2f4e3d5
Merge pull request #7799 from cjcullen/test_pull_5246
...
Fix sync problems in #5246
2015-05-05 22:31:10 -07:00
Zach Loafman
399f7dee43
Clean up safe_format_and_mount spam in the startup logs
...
Totally minor cleanup, but I'm tired of seeing it's spam in the
startup logs.
2015-05-05 21:23:57 -07:00
Zach Loafman
c78eabbfac
Update to container-vm-v20150505
2015-05-05 17:15:54 -07:00
Paul Morie
7b22218f67
Create docker image for kubelet
2015-05-05 20:14:26 -04:00
Jerzy Szczepkowski
e967ffd522
Added flag to set cluster class B network address for pods, add flag to disable allocation CIDRs for Pods. Fixed synchornization bug in NodeController registerNodes().
2015-05-05 16:10:43 -07:00
Tomek Kulczynski
290c7b94ef
Make nodecontroller configure nodes' pod IP ranges
2015-05-05 16:10:42 -07:00
Zach Loafman
875e83a741
Revert "Revert "Security context - types, kubelet, admission""
2015-05-05 16:02:13 -07:00
Zach Loafman
f48904fd5e
Revert "Security context - types, kubelet, admission"
2015-05-05 15:20:39 -07:00
Paul Weil
5acdf5e70b
remove trailing comma. Add sc admission controller to ansible and systemd
2015-05-05 16:34:38 -04:00
Paul Weil
982bf19c20
security context initial implementation - squash
2015-05-05 13:46:13 -04:00
Alex Robinson
9ea76dc004
Add a liveness probe to the DNS container.
2015-05-05 17:41:08 +00:00
Alex Robinson
07adb84c23
Update the DNS replication controller to be v1beta3.
2015-05-05 17:41:08 +00:00
Brendan Burns
1b17a32d87
Merge pull request #7755 from viklas/master
...
FIX: Issue #7750 - Hyperkube docker image needs certificates to connect to cloud-providers
2015-05-05 09:46:41 -07:00
Jeff Lowdermilk
87cdc3f032
Merge pull request #7672 from eparis/boilerplate-python
...
Check license boilerplate for python files
2015-05-05 09:23:36 -07:00
CJ Cullen
1ec0fb2e3d
Make changes suggested in #7675
2015-05-04 21:58:13 -07:00
Chris Moos
1b814ffd2c
Add safe_format_and_mount to hyperkube image.
...
* Add volume format script into hyperkube image.
* Fix issue with format script on non-redhat platforms.
2015-05-04 21:25:39 -07:00
Luke Benson
bba2f9184f
FIX: Issue #7750 - Hyperkube needs certificates
...
Adds ‘ca-certificates’ package to dockerfile for building base
hyperkube image. This resolves controller-manager issue connecting to
cloud provider (experienced with AWS) when running services through
kyperkube.Tested with AWS and kube 0.16.1 binaries.
2015-05-05 11:26:13 +10:00
Zach Loafman
0c107e4c44
Also push .sha1 for devel builds
...
And adds a .sha1 cache file to indicate what file was already pushed
to GCS, and how to force it if not, removing a few seconds off a
kube-up/push if you're just cycling.
With this and #7602 , all TAR_URLS will have a .sha1 as well.
2015-05-04 17:45:34 -07:00
Victor Marmol
d159f4cb2e
Merge pull request #7740 from zmerlynn/docker_fallback
...
Update non-GCE Salt distros to 1.6.0, fallback to ContainerVM Docker version on GCE
2015-05-04 17:03:13 -07:00
Zach Loafman
2b3e52c230
Use built-in ContainerVM Docker version rather than installing lxc-docker
2015-05-04 16:33:00 -07:00
Robert Bailey
9718d667a7
Merge pull request #7744 from zmerlynn/allow_builtin_salt
...
Skip SaltStack install if it's already installed
2015-05-04 16:32:56 -07:00
Zach Loafman
dd7f3f7df7
Skip SaltStack install if it's already installed
...
Next ContainerVM image will have SaltStack in it. Also be a little
less persnickety if it's found running. This isn't the case, but we
don't have to be aggressive.
2015-05-04 16:12:53 -07:00
Eric Paris
f416289a85
update all python with boilerplate
2015-05-04 18:37:47 -04:00
Robert Bailey
c6d4c24f37
Merge pull request #7736 from justinsb/aws_fix_known_tokens_file
...
AWS: Fix variable naming that meant not all tokens were written
2015-05-04 14:34:11 -07:00
Justin Santa Barbara
96f0a39172
AWS: Fix variable naming that meant not all tokens were written
...
To resolve the inconsistency, chose to go closer to GCE
2015-05-04 17:28:24 -04:00
Nikhil Jindal
2ae13693ab
Merge pull request #7675 from cjcullen/cbr0
...
Fix kube2sky flakes. Fix tools.GetEtcdVersion to work with etcd > 2.0.7
2015-05-04 14:23:29 -07:00
Robert Bailey
e3ff2dc02d
Merge pull request #7678 from justinsb/aws_api_on_443
...
AWS: Change apiserver to listen on 443 directly, not through nginx
2015-05-04 13:52:57 -07:00
CJ Cullen
a21713a771
Fix kube2sky flakes. Fix tools.GetEtcdVersion to work with etcd > 2.0.7
2015-05-04 13:01:35 -07:00
Daniel Smith
fbe3ec7513
Merge pull request #7316 from ArtfulCoder/master_components_logs
...
logs for master components
2015-05-04 11:20:03 -07:00
Yu-Ju Hong
5270ce6d28
Merge pull request #7671 from vmarmol/fix-metadata
...
Make rkt-install a oneshot.
2015-05-04 10:50:36 -07:00
Yu-Ju Hong
c3ba88296b
Merge pull request #7665 from vmarmol/cluster-rkt
...
Provide container_runtime flag to Kubelet in CoreOS.
2015-05-04 10:06:58 -07:00
BenTheElder
7ea1ccd7a3
Set vagrant test cluster default NUM_MINIONS=2
2015-05-04 04:19:20 -04:00
Justin Santa Barbara
57f7b658bb
AWS: Change apiserver to listen on 443 directly, not through nginx
...
Mirrors changes in GCE. I think the same changes will be needed for vagrant.
2015-05-02 16:59:04 -04:00
Victor Marmol
9253249b19
Make rkt-install a oneshot.
...
This will make our dependencies wait for us before they execute.
2015-05-01 17:44:44 -07:00
Victor Marmol
727016dc30
Provide container_runtime flag to Kubelet in CoreOS.
2015-05-01 17:02:33 -07:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Vish Kannan
3cc53127de
Merge pull request #7626 from crossorigin/heapster-0.11.0
...
bump heapster to v0.11.0 and grafana to v0.7.0
2015-05-01 14:24:25 -07:00
Robert Bailey
14c2fb11e1
Don't exit abruptly if there aren't yet any minions right after
...
the cluster is created.
2015-05-01 13:51:59 -07:00
Ido Shamun
e86316bc4d
revert back INFLUXDB_EXTERNAL_URL to api v1beta1
2015-05-01 21:13:04 +03:00
Ido Shamun
37040fb0e3
bump heapster to v0.11.0 and grafana to v0.7.0
2015-05-01 19:42:30 +03:00
Eric Tune
dc137a47eb
Merge pull request #7209 from you-n-g/master
...
change the current dir to the config dir
2015-05-01 08:29:49 -07:00
Eric Tune
dddf414cf5
Merge pull request #7195 from mbruzek/add-charms
...
Add the Juju charms to Kubernetes
2015-04-30 16:26:58 -07:00
Alex Robinson
8d24f73bab
Merge pull request #7579 from satnam6502/fluentd-es-image
...
Improve comment in Fluentd to ES logging config file
2015-04-30 13:45:03 -07:00
Alex Robinson
f30ed069c0
Merge pull request #7588 from satnam6502/fluentd-gcp-image
...
Trim Fleuntd tag for Cloud Logging
2015-04-30 13:44:39 -07:00
Satnam Singh
95007d7217
Improve comment in Fluentd to ES logging config file
2015-04-30 13:42:30 -07:00
Satnam Singh
941a457851
Trim Fleuntd tag for Cloud Logging
2015-04-30 13:39:35 -07:00
Victor Marmol
dad73fa94a
Merge pull request #7569 from bakins/kubernetes-master-name
...
GCE CoreOS cluster - set master name based on variable
2015-04-30 12:59:41 -07:00
Alex Robinson
58ede77a58
Merge pull request #7539 from satnam6502/master
...
Trim cluster log tags to pod name and container name
2015-04-30 10:29:41 -07:00
Zach Loafman
6a0fab3d34
Fix the fix for GKE kube-down
...
Fixes issue in #7565
2015-04-30 10:23:21 -07:00
Brian Akins
b311a12d90
Use the variable as this changes based on environment.
2015-04-30 12:40:09 -04:00
Jeff Lowdermilk
996168dced
fix kube-down for provider gke
2015-04-30 09:22:17 -07:00
Matt Bruzek
74c00d431e
Removing unused scripts from km and kubernetes.
2015-04-30 09:27:51 +02:00
Young
f181e98ebd
change the current dir to the config dir
...
Otherwise the script can't run in other dirs.
2015-04-30 14:38:56 +08:00
Satnam Singh
e65f0aafd5
Trim cluster log tags to pod name and container name
2015-04-29 18:24:13 -07:00
Quinton Hoole
a2fe8a9e6c
Merge pull request #7527 from cjcullen/dns
...
Bump kube2sky to 1.2. Point it at https endpoint (3rd try).
2015-04-29 18:00:14 -07:00
CJ Cullen
44cffec157
Bump kube2sky to 1.2. Point it at https endpoint (3rd try).
2015-04-29 14:58:56 -07:00
Yifan Gu
9ba1839f52
cluster/gce/coreos: Add metadata-service in node.yaml
2015-04-29 14:58:26 -07:00
Abhishek Shah
96439b5a52
logs for master components
2015-04-29 09:51:09 -07:00
Victor Marmol
fc34277d8e
Merge pull request #7445 from dchen1107/rkt-support
...
Bring up a kuberenetes cluster using coreos image as worker nodes
2015-04-28 18:04:42 -07:00
Zach Loafman
89195b0a14
Merge pull request #7461 from cjcullen/dns
...
Revert kube2sky from 1.2 back to 1.1 until we figure out why it's flaky.
2015-04-28 17:23:55 -07:00
Satnam Singh
dc31c58443
Upgrade Elasticsearch to 1.5.2 for cluster logging
2015-04-28 16:20:03 -07:00
Dawn Chen
876f8beec9
Remove unused node-name attribute
2015-04-28 16:13:26 -07:00
Dawn Chen
13a0b033e2
Bring up a cluster using coreos image for worker nodes.
2015-04-28 16:13:26 -07:00
Dawn Chen
5fa11322f8
Factory out debian e.g. ContainerVM image specific support to its own
...
helper utility library.
2015-04-28 16:07:57 -07:00
Fabio Yeon
0a8d8c1579
Merge pull request #7460 from roberthbailey/validate-cluster
...
Make validate cluster more reliable
2015-04-28 15:57:43 -07:00
Dawn Chen
8963347b9e
Introduce MASTER_IMAGE, MINION_IMAGE and OS_DISTRIBUTION to config-default
...
for enable coreos and rocket support
2015-04-28 15:31:09 -07:00
CJ Cullen
2b50ee53e0
Revert the change that bumped kube2sky from 1.1->1.2 until we figure out why it's flaky.
2015-04-28 14:57:44 -07:00
Robert Bailey
a7e62d17ff
Make validate cluster more reliable (it should retry checking the
...
server if a subshell returns a non-zero exit status).
2015-04-28 14:57:14 -07:00
Robert Bailey
8206aa9eac
Salt configuration to add basic auth to GCE.
2015-04-28 14:07:54 -07:00
Alex Robinson
566f0d4724
Fix GCE logging scope name.
2015-04-28 13:44:30 -07:00
Alex Robinson
3e841510de
Merge pull request #7393 from satnam6502/fluentd-gcp-image
...
New Fluentd to Cloud Logging Dockerfile with args
2015-04-28 11:01:14 -07:00
Alex Robinson
5b5525dca5
Merge pull request #7324 from vishh/log_scope
...
Enable logging.write scope for minions.
2015-04-28 11:00:10 -07:00
Vishnu Kannan
9c66305f8c
Enable logging.write scope by default for nodes. This is required for storing events in
...
Google Cloud Logging via heapster.
2015-04-28 10:55:06 -07:00
Satnam Singh
20a0905d61
New Fluentd to Cloud Logging Dockerfile with args
2015-04-28 10:30:32 -07:00
Victor Marmol
094e5545d2
Merge pull request #7310 from rjnagal/node
...
Fix the binary path reported by get-kube script.
2015-04-28 08:24:37 -07:00
Derek Carr
824d830747
Merge pull request #7427 from jsafrane/devel/fix-vagrant2
...
Fixed name of kube-proxy path in deployment scripts.
2015-04-28 10:24:52 -04:00
Wojciech Tyczynski
92a0b385c7
Merge pull request #7274 from satnam6502/v1beta3
...
Convert node level logging agents to v1beta3
2015-04-28 10:32:37 +02:00
Jan Safranek
6e810492fb
Fixed name of kube-proxy path in deployment scripts.
2015-04-28 10:10:37 +02:00
Satnam Singh
4a0cc7905d
Convert node level logging agents to v1beta3
2015-04-27 17:21:42 -07:00
Alex Robinson
743945f3aa
Merge pull request #7384 from a-robinson/opts
...
Remove unused env variable from the fluentd dockerfiles
2015-04-27 17:18:17 -07:00
CJ Cullen
39c5bf363b
Merge pull request #7303 from erictune/kube_env3
...
kube-proxy uses token to access port 443 of apiserver
2015-04-27 14:33:53 -07:00
derekwaynecarr
81e9395533
Fix vagrant regression due to #7326
2015-04-27 17:18:30 -04:00
Alex Robinson
ada9242155
Remove unused env variable from the fluentd dockerfiles and make their apt-get
...
arguments consistent.
2015-04-27 20:47:38 +00:00
Brendan Burns
a02823c0db
Merge pull request #7344 from roberthbailey/google-storage-ssl
...
Fetch resources from storage.googleapis.com over SSL.
2015-04-27 12:24:46 -07:00
Brendan Burns
637cd57a25
Merge pull request #6606 from gust1n/aws-existing-vpc
...
AWS: Improving getting existing VPC and subnet
2015-04-27 11:11:25 -07:00
Zach Loafman
b8de4960ac
Merge pull request #7367 from erictune/cleanupkubadmintoken
...
Remove apparently dead code from Azure scripts.
2015-04-27 10:13:40 -07:00
Zach Loafman
5ccfc0a225
Merge pull request #6006 from justinsb/aws_multiple_clusters
...
First step to supporting multiple k8s clusters
2015-04-27 10:11:03 -07:00
Eric Tune
9b31a76651
Remove apparently dead code from Azure scripts.
2015-04-27 10:08:50 -07:00
Eric Tune
9044177bb6
Generate a token for kube-proxy.
...
Tested on GCE.
Includes untested modifications for AWS and Vagrant.
No changes for any other distros.
Probably will work on other up-to-date providers
but beware. Symptom would be that service proxying
stops working.
1. Generates a token kube-proxy in AWS, GCE, and Vagrant setup scripts.
1. Distributes the token via salt-overlay, and salt to /var/lib/kube-proxy/kubeconfig
1. Changes kube-proxy args:
- use the --kubeconfig argument
- changes --master argument from http://MASTER:7080 to https://MASTER
- http -> https
- explicit port 7080 -> implied 443
Possible ways this might break other distros:
Mitigation: there is an default empty kubeconfig file.
If the distro does not populate the salt-overlay, then
it should get the empty, which parses to an empty
object, which, combined with the --master argument,
should still work.
Mitigation:
- azure: Special case to use 7080 in
- rackspace: way out of date, so don't care.
- vsphere: way out of date, so don't care.
- other distros: not using salt.
2015-04-27 08:59:57 -07:00
Zach Loafman
df1cfae368
Merge pull request #7326 from roberthbailey/client-cert-auth
...
Pass the CA root cert into the apiserver
2015-04-27 07:48:59 -07:00
Robert Bailey
a9f8f17299
Fetch the kibana tar.gz over SSL.
2015-04-26 21:57:49 -07:00
Robert Bailey
225da3f88f
Fetch resources from storage.googleapis.com over SSL.
2015-04-26 21:51:37 -07:00
Robert Bailey
846ffcff83
Pass the CA root cert into the apiserver so that the apiserver will
...
perform client cert checks for authorization. Only enable on GCE where
the apiserver is terminating SSL connections from end users.
2015-04-24 22:01:56 -07:00
saadali
acbd3d78f1
Specify host/container ports for InfluxDB, so that the UI is accessible.
2015-04-24 16:22:50 -07:00
Rohit Jnagal
d60c86a3a7
Fix the binary path reported by get-kube script.
2015-04-24 21:31:21 +00:00
Brian Grant
60d7bad147
Merge pull request #7128 from nikhiljindal/fixbeta1tests
...
Removing more references to v1beta1 from pkg/
2015-04-24 11:07:53 -07:00
Satnam Singh
b6bee06c20
Merge pull request #7269 from zmerlynn/lose_one_sanity
...
Remove buggy GCE post turn-up cluster validation code (rely on validate-cluster.sh)
2015-04-24 10:56:20 -07:00
Brendan Burns
49977e6a47
Revert "Update docker examples to 0.15.0"
2015-04-24 10:05:27 -07:00
Dawn Chen
2128d4e251
Merge pull request #7261 from erictune/kube_env
...
Pass KUBELET_TOKEN in kube-env metadata.
2015-04-24 10:03:34 -07:00
Nikhil Jindal
84cb48be11
Merge pull request #7246 from satnam6502/es
...
Convert Elasticsearch logging to v1beta3 and de-salt
2015-04-24 09:21:41 -07:00
nikhiljindal
dcc368c781
Removing more references to v1beta1 from pkg/
2015-04-24 00:45:17 -07:00
CJ Cullen
80af1c9e40
kube2sky using kubeconfig secret: take 2. Point system secrets at https://kubernetes . Override in clients that can't use DNS.
2015-04-23 18:13:16 -07:00
David Oppenheimer
dda010b572
Merge pull request #7240 from satnam6502/v1beta3
...
Update Kibana RC and service to v1beta3
2015-04-23 17:09:27 -07:00
Zach Loafman
ad829dead7
Remove buggy GCE post turn-up cluster validation code (rely on validate-cluster.sh)
...
Fixes #7266
2015-04-23 16:28:44 -07:00
Eric Tune
e8a83b23d1
Pass KUBELET_TOKEN in kube-env metadata.
...
ensure-kube-token is not needed anymore because
the token passed in kube-env.
In the up case it is set, in the push case it is an empty string
but not used.
Allow unset KUBELET_TOKEN (for push case).
Fix comment.
2015-04-23 15:21:27 -07:00
Satnam Singh
c9b9e7651e
Convert Elasticsearch logging to v1beta and de-salt
2015-04-23 13:06:15 -07:00
Satnam Singh
0abc34245a
Update Kibana RC and service to v1beta3
2015-04-23 12:19:17 -07:00
Derek Carr
fade245a44
Merge pull request #7220 from jsafrane/devel/fix-vagrant
...
V2: Fix vagrant setup broken by commit 7475efbcfb
.
2015-04-23 14:49:31 -04:00
Dawn Chen
f9156c281a
Merge pull request #7123 from satnam6502/logging
...
Propagate pod and container name for log files
2015-04-23 10:13:08 -07:00
Joakim Gustin
645d6d1f26
Use existing subnet when launching AWS cluster in existing VPC
2015-04-23 11:01:17 +02:00
Jan Safranek
1c8f888477
Fix vagrant setup broken by commit 7475efbcfb
.
...
- 'local' can be used only inside bash functions
- s/KNOWN_TOKENS_FILE/known_tokens_file
2015-04-23 11:00:10 +02:00
Wojciech Tyczynski
cf824ae5e0
Merge pull request #7164 from fgrzadkowski/fix_wait_minion
...
Wait for minion to start even if gcloud command fails.
2015-04-23 08:21:19 +02:00
Justin Santa Barbara
9253ae6dca
AWS: Fix some bash style problems: variable quoting & locals
2015-04-22 18:30:09 -07:00
Fabio Yeon
0a0bd88db6
Revert "Change kube2sky to use token-system-dns secret, point at https endpoint ..."
2015-04-22 17:56:34 -07:00
Satnam Singh
e4e830badc
Update Kibana pod to speak to Elasticsearchusing v1beta3
2015-04-22 17:37:47 -07:00
Fabio Yeon
3ed2dcae68
Merge pull request #7197 from roberthbailey/fix-restart-apiserver
...
Fix the restart-apiserver command for GCE/GKE.
2015-04-22 15:52:14 -07:00
Robert Bailey
6951bb0bd5
Fix the restart-apiserver command for GCE/GKE.
2015-04-22 15:21:13 -07:00
Satnam Singh
2444c1f943
Propagate pod and container name for log files
2015-04-22 15:08:51 -07:00
Matt Bruzek
ee2d43ac35
Changing the copyright to the Google.
2015-04-22 16:41:03 -05:00
Matt Bruzek
dce5f28a63
Changing the copyright to the Google.
2015-04-22 16:40:16 -05:00
Dawn Chen
87e0d5da08
Merge pull request #7186 from ArtfulCoder/no_log_pod_on_master
...
removed elasticsearch and fluentd-gcp pods from master
2015-04-22 14:40:07 -07:00
Matt Bruzek
cdc671a86f
Setting the default release number to v0.15.0
2015-04-22 16:39:36 -05:00
Robert Bailey
4346c6ecae
Swallow the output from the test ssh connections so that it
...
doesn't interfere with string comparison.
2015-04-22 14:19:15 -07:00
CJ Cullen
924015dc94
Merge pull request #7182 from justinsb/aws_fix_hostname
...
AWS: Set hostname_override for minions, back to fully-qualified name
2015-04-22 14:13:53 -07:00
Zach Loafman
26aeb6c370
Merge pull request #6618 from roberthbailey/no-nginx
...
Salt reconfiguration to get rid of nginx on GCE
2015-04-22 13:59:12 -07:00
Matt Bruzek
60f678be32
Merge branch 'master' of github.com:GoogleCloudPlatform/kubernetes into add-charms
2015-04-22 15:07:49 -05:00
Matt Bruzek
b69792535d
Updating guestbook with the v1beta3 json files.
2015-04-22 15:05:46 -05:00
Abhishek Shah
8cf11fd608
removed elasticsearch and fluentd-gcp pods from master
2015-04-22 12:54:57 -07:00
Brendan Burns
ee34d4942b
Merge pull request #6576 from jeffmendoza/azure-loop
...
Azure: Wait for salt completion on cluster initialization
2015-04-22 12:51:40 -07:00
Matt Bruzek
b4766bb380
Removing unneeded status check before juju deployer
2015-04-22 14:45:50 -05:00
Robert Bailey
35a18e35c3
Merge pull request #7154 from cjcullen/readonly
...
Change kube2sky to use token-system-dns secret, point at https endpoint ...
2015-04-22 12:41:53 -07:00
Justin Santa Barbara
4120849cc4
AWS: Set hostname_override for minions, back to fully-qualified name
...
This is a stop-gap fix; we'd really like to use EC2 instance ids, but that is
blocked by #7092 or changing that health-check to not assume that the node name
is resolvable.
This stop-gap essentially reverts #7072 for AWS
2015-04-22 11:28:53 -07:00
Robert Bailey
dc45f7f9e6
Remove nginx and replace basic auth with bearer token auth for GCE.
...
- Configure the apiserver to listen securely on 443 instead of 6443.
- Configure the kubelet to connect to 443 instead of 6443.
- Update documentation to refer to bearer tokens instead of basic auth.
2015-04-22 11:11:20 -07:00
Robert Bailey
4ca8fbbec6
Merge pull request #7147 from fabioy/validate.fix
...
Fix validate-cluster.sh to work on Mac.
2015-04-22 11:06:46 -07:00
Zach Loafman
86468cd29d
Revert "Added kube-proxy token."
2015-04-22 10:55:08 -07:00
Matt Bruzek
450f1f0215
Using readlink instead of realpath.
2015-04-22 12:53:30 -05:00
Zach Loafman
0e3e502d52
Fix unbound variable after #7146
2015-04-22 10:19:53 -07:00
Zach Loafman
42e1710ccf
Fix build after #7146
2015-04-22 10:11:19 -07:00
Zach Loafman
c9988db0ee
Merge pull request #7146 from brendandburns/get-k8s
...
Extend the get-cluster.sh script to use sudo if necessary.
2015-04-22 09:58:07 -07:00
Brendan Burns
42121d1809
Extend the get-cluster.sh script to use sudo if necessary.
2015-04-22 09:52:44 -07:00
Matt Bruzek
dbca4bf5dd
Using python to parse the json output from Juju.
2015-04-22 11:36:37 -05:00
Matt Bruzek
5deef09178
Exporting master and minion variables and calling detect methods in kube-up.
2015-04-22 11:35:49 -05:00
Zach Loafman
b98f93bb4b
Merge pull request #7112 from erictune/kubeconfig-secrets
...
Extend PR#5470 for AWS and Vagrant
2015-04-22 09:25:53 -07:00
Zach Loafman
854c20c5e2
Merge pull request #7113 from erictune/kube-proxy-token
...
Added kube-proxy token.
2015-04-22 09:16:04 -07:00
Matt Bruzek
35301bbcfd
Merge branch 'add-charms' of github.com:mbruzek/kubernetes into add-charms
...
Resolved conflicts in:
cluster/juju/util.sh
2015-04-22 10:36:42 -05:00
Matt Bruzek
af15d6d614
Removed the need for an extra python file. i
...
- Formatted for consistency
- Used different variables for juju directory
2015-04-22 10:31:26 -05:00
Matt Bruzek
3342bb42e0
Removed extra c in path to distro files.
2015-04-22 10:29:55 -05:00
Matt Bruzek
5f59e167fd
Editing the local bundle to use github.
2015-04-22 10:29:07 -05:00
Whit Morriss
0ab77ae8be
line formatting
2015-04-22 09:40:47 -05:00
Whit Morriss
a57a64781a
scripting tweaks
...
- use absolute path for kube_root (fixes JUJU_REPOSITORY directory creation issue) - shortcircuit status polling (for rerunning kubeup)
- more granular polling iterations
2015-04-22 09:40:47 -05:00
Whit Morriss
cc81044230
use git copy of docker charms for debugging
2015-04-22 09:40:47 -05:00
Filip Grzadkowski
780db9d794
Wait for minion to start even if gcloud command fails.
2015-04-22 16:37:22 +02:00
CJ Cullen
e982ac5b55
Change kube2sky to use token-system-dns secret, point at https endpoint (instead of kubernetes-ro service).
2015-04-21 23:10:12 -07:00
fabioy
acb64e66e8
Fix validate-cluster.sh to work on Mac.
2015-04-21 17:51:35 -07:00
Brendan Burns
78dabbdb7f
Fix the ssh-to-node to actually fail on failures.
2015-04-21 15:27:38 -07:00
Brendan Burns
71e6b05825
Fix kube-apiserver restart.
2015-04-21 15:11:00 -07:00
Matt Bruzek
9ca54b3cb6
Merge branch 'master' of github.com:GoogleCloudPlatform/kubernetes into add-charms
2015-04-21 16:55:00 -05:00
Matt Bruzek
9d21292646
Changing bundle to v0.15.0 and docker git head.
2015-04-21 16:50:47 -05:00
Matt Bruzek
60e0a77a0c
Removing cadvisor and normalizing python quotes.
2015-04-21 16:46:21 -05:00
Robert Bailey
0035781c50
Merge pull request #7137 from brendandburns/fix
...
Fix kube-apiserver restart.
2015-04-21 14:33:54 -07:00
Brendan Burns
9d715226d6
Fix kube-apiserver restart.
2015-04-21 13:59:26 -07:00
Robert Bailey
8745ebce15
Revert "Rollback "validate-cluster.sh" to previous version."
2015-04-21 13:30:16 -07:00
Robert Bailey
b9904f63d4
Merge pull request #7124 from fabioy/revert-validate.fix
...
Rollback "validate-cluster.sh" to previous version.
2015-04-21 12:29:54 -07:00
Robert Bailey
a50e02bb3b
Merge pull request #7078 from jlowdermilk/gke-kubectl
...
Use standalone kubectl for gke, remove special case for vagrant
2015-04-21 12:11:45 -07:00
Fabio Yeon
12db42e4f0
Rollback "validate-cluster.sh" to previous version.
2015-04-21 12:09:34 -07:00
Jeff Lowdermilk
70a576e25a
Use standalone kubectl for gke, remove special case for vagrant
...
also fix hack/local-up-cluster.sh kubeconfig instructions
2015-04-21 11:01:45 -07:00
Eric Tune
b944049fe9
Merge pull request #6916 from ArtfulCoder/controller-in-a-pod
...
kube-controller-manager in a pod.
2015-04-21 09:58:29 -07:00
Eric Tune
2ca8a9d15d
Added kube-proxy token.
...
Generates the new token on AWS, GCE, Vagrant.
Renames instance metadata from "kube-token" to "kubelet-token".
(Is this okay for GKE?)
Having separate tokens for kubelet and kube-proxy permits
using principle of least privilege, makes it easy to
rate limit the clients separately, allows annotation
of apiserver logs with the client identity at a finer grain
than just source-ip.
2015-04-21 09:21:31 -07:00
Matt Bruzek
c1a56187b8
Removing debug statements from the python code.
2015-04-21 11:02:47 -05:00
Matt Bruzek
85e0e9d6c7
Adding a slash to continue the line.
2015-04-21 11:02:02 -05:00
Eric Tune
7475efbcfb
Extend PR#5470 for AWS and Vagrant
2015-04-21 08:22:31 -07:00
Justin Santa Barbara
29592356f7
Rename salt minion_ip to hostname_override
...
Prep work for making AWS node identifier -> instance id
2015-04-21 06:24:49 -07:00
Derek Carr
b5d9afd093
Merge pull request #7099 from derekwaynecarr/fix_vagrant
...
Fix vagrant regression from 6691
2015-04-21 00:45:30 -04:00
derekwaynecarr
3fc627e416
Fix vagrant regression from 6691
2015-04-21 00:44:44 -04:00
Justin Santa Barbara
45b658ea7c
AWS: don't try to create undefined config_dir
2015-04-20 19:14:16 -07:00
Brian Grant
9dcf3e0a33
Merge pull request #7082 from fabioy/api-cs.fix
...
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 18:10:36 -07:00
CJ Cullen
1be193098a
Merge pull request #7072 from dchen1107/cleanup
...
Remove fqdn dependency for node name
2015-04-20 18:00:21 -07:00
Fabio Yeon
81ef0198f4
Fixed "componentstatuses" API object JSON descriptions.
2015-04-20 17:28:13 -07:00
Vish Kannan
db7a56529f
Merge pull request #7077 from brendandburns/hyperkube
...
Update docker examples to 0.15.0
2015-04-20 19:48:49 -04:00
CJ Cullen
ae3a0fe661
Merge pull request #7055 from erictune/kubeconfig-secrets
...
Create system secrets in kubeconfig format
2015-04-20 16:42:35 -07:00
Abhishek Shah
f513aad380
kube-controller-manager in a pod.
2015-04-20 16:06:37 -07:00
Brendan Burns
8c947de4e2
Update docker examples to 0.15.0
2015-04-20 15:40:08 -07:00
Matt Bruzek
f201379938
Merge pull request #1 from whitmo/new-cadvisor-port
...
Change cadvisor port and point kubelet to find it
2015-04-20 17:17:18 -05:00
Whit Morriss
7b3534e012
move cadvisor port to 4193 to avoid collision with kubelet
2015-04-20 17:07:19 -05:00
Eric Tune
c3203cba6d
Create system secrets in kubeconfig format
...
Was previously kubernetes_auth format.
Added defaults file which uses salt to fill in an env var
with the master's IP.
More thought needs to be given soon to how to make this
connection use a cert for the master, and how to support
multiple masters, and whether to use the DNS record
instead of an IP address. But this PR unblocks some other
more urgent things, so doing it this way.
2015-04-20 15:02:45 -07:00
Matt Bruzek
a5da3708d2
Removing old docs, setting latest false on docker
2015-04-20 17:00:41 -05:00
Matt Bruzek
7802db4862
Added protetecion if the arguments are not there.
2015-04-20 16:57:42 -05:00
Matt Bruzek
3dd62a5c65
Log the JSON output from BASH
2015-04-20 16:55:08 -05:00
Kenjiro Nakayama
2e702b0c61
Replace hostname -f with uname -n
2015-04-20 14:16:21 -07:00
Robert Bailey
82190a58b1
Merge pull request #7026 from justinsb/aws_use_ssl_for_salt
...
AWS: master should download salt using SSL
2015-04-20 11:58:47 -07:00
Jeff Lowdermilk
196b3d066d
Merge pull request #6919 from zmerlynn/sharded-e2e
...
Add hack/parallel-e2e.sh to run hack/e2e.go on multiple clusters
2015-04-20 11:34:18 -07:00
Brendan Burns
7f75c982ce
Merge pull request #6691 from jlowdermilk/gen-kubeconfig
...
Generate kubeconfig for all providers in cluster/ that use auth
2015-04-20 11:28:36 -07:00
Brendan Burns
e079e23e47
Merge pull request #6597 from fabioy/kubectl-validate
...
Add "kubectl validate" command to do a cluster health check.
2015-04-20 11:21:06 -07:00
Zach Loafman
68c9191cfc
Allow CLUSTER_IP_RANGE/MINION_IP_RANGE to be overridden by KUBE_GCE_CLUSTER_CLASS_B
2015-04-20 11:17:21 -07:00
Jeff Lowdermilk
3787fc5eca
set KUBECONFIG in common.sh, default to new location
...
and preserve value in ginkgo e2e test driver
2015-04-20 11:07:35 -07:00
Lénaïc Huard
08f17bfa70
Make libvirt-coreos cluster use create-kubeconfig
2015-04-20 11:07:35 -07:00
Jeff Lowdermilk
4f6dc99075
Generate kubeconfig for all providers in cluster/ that use auth
2015-04-20 11:07:35 -07:00
Brendan Burns
ba95c8a176
Merge pull request #7014 from a-robinson/dirname
...
Move the logging-related directories to where I think they belong
2015-04-20 10:50:09 -07:00
Eric Tune
424ae1d67a
Fix kube-addon retrying.
2015-04-20 07:38:39 -07:00
Justin Santa Barbara
7d3fe2154e
AWS: master should download salt using SSL
...
The minion already does, but the master was using plain http.
2015-04-18 12:38:52 -07:00
Alex Robinson
059a8c92bd
Move the logging-related directories to where I think they belong.
...
1. Move fluentd-gcp to be a core cluster addon, rather than a contrib.
2. Get rid of the synthetic logger under contrib, since the exact same
synthetic logger was also included in the logging-demo.
3. Move the logging-demo to examples, since it's effectively an example.
We should also consider adding on a GCP section to the logging-demo
example :)
2015-04-17 23:59:50 +00:00
Robert Bailey
eb1ea26995
Merge pull request #7012 from jlowdermilk/export-kubeconfig
...
export KUBECONFIG so callers of common.sh functions can use it
2015-04-17 16:37:10 -07:00
Jeff Lowdermilk
1c265f3784
export KUBECONFIG so callers of common.sh functions can use it
2015-04-17 16:22:07 -07:00
Brian Grant
2775b9e0de
Merge pull request #6998 from zmerlynn/make_reboot_work
...
Make reboots work on GCE/GKE
2015-04-17 16:10:32 -07:00
Matt Bruzek
57683ce0ec
Adding deployer to the dependency list.
2015-04-17 17:25:23 -05:00
Matt Bruzek
89043414f6
Changed the kube-up logic to use local bundles and charms.
...
Implemented a feature of kube-down
Corrected a bug on bootstrap of Juju environment.
2015-04-17 17:23:53 -05:00
Matt Bruzek
8f038a82a4
Adding a python file to parse the IP addresses.
2015-04-17 17:22:48 -05:00
Matt Bruzek
af8f31a0cd
Adding the Juju charms to the cluster directory.
2015-04-17 17:21:37 -05:00
Matt Bruzek
4ff2e53fee
Adding the initial Juju bundle to the cluster
2015-04-17 17:20:07 -05:00
Brian Grant
4b377e2ef6
Merge pull request #6977 from justinsb/move_var_lib_kubelet
...
AWS: Move /var/lib/kubelet to /mnt
2015-04-17 12:43:01 -07:00
Zach Loafman
bcb63642b8
Make reboots work on GCE/GKE
...
* Fixes an issue where salt-minion would actually come up after reboot
(upstart is horrible obnoxious)
* Caches .deb downloads
* Handles PD remount on reboot correctly
* Notes a future optimization
Fixes #5666
2015-04-17 12:12:00 -07:00
Fabio Yeon
c6ef2ddf8a
Fix "validate-cluster.sh" to use "kubectl get componentstatus".
2015-04-17 11:59:53 -07:00
Zach Loafman
aca8452a21
Merge pull request #6994 from cjcullen/staticip
...
Reserve Master IP before creating Master VM
2015-04-17 11:48:48 -07:00
Derek Carr
40d0e559a6
Merge pull request #6983 from posita/vagrant-provider-support-2741
...
READY FOR REVIEW - Fix #2741 . Add support for alternate Vagrant providers: ...
2015-04-17 14:42:19 -04:00
Robert Bailey
972cf60d2b
Merge pull request #6957 from ArtfulCoder/no_monit
...
remove unused file
2015-04-17 11:40:36 -07:00
CJ Cullen
6a3c809833
Reserve Master IP before creating Master VM.
2015-04-17 11:36:00 -07:00
Zach Loafman
05d8e96cd4
Push the configure-vm.sh script when we push metadata
...
This is needed when we upgrade (and useful when you're trying to
change the startup script for reboots).
Along the way: allow add-instance-metadata[-from-file] to take a
variable number of KVs.
2015-04-17 11:27:48 -07:00
Matt Bogosian
e8672e2242
Fix #2741 . Add support for alternate Vagrant providers: VMWare Fusion, VMWare Workstation, and Parallels.
2015-04-17 11:26:29 -07:00
Jeff Lowdermilk
2a8291a67e
Retry Move KUBECONFIG to common.sh, change default to new location
2015-04-17 10:33:12 -07:00
Justin Santa Barbara
b2bce12b6c
AWS: Move /var/lib/kubelet to /mnt
...
The backing for empty-dir volumes otherwise consumes all our disk space
2015-04-17 06:46:08 -07:00
Zach Loafman
94ae93a46b
Merge pull request #6955 from ArtfulCoder/stop_spin_loop
...
Docker Image install script - Sleep before each iteration of while loop
2015-04-17 04:56:34 -07:00
Robert Bailey
723f2941e8
Revert "Move KUBECONFIG into common.sh, change default to new location"
2015-04-16 22:17:11 -07:00
Abhishek Shah
b08102d358
remove unused file
2015-04-16 21:51:51 -07:00
Abhishek Shah
647d5948a1
Docker Image install script - Sleep before each iteration of while loop
2015-04-16 21:46:35 -07:00
Jeff Lowdermilk
5ce9b07cbe
Move KUBECONFIG declaration into common.sh, change default to new location
2015-04-16 19:23:35 -07:00
Daniel Smith
288effa7c1
Merge pull request #6933 from bgrant0607/docfix
...
Update docs. Add design principles.
2015-04-16 16:55:10 -07:00
Brian Grant
f1cea092df
Update docs. Add design principles. Fixes #6133 . Fixes #4182 .
...
# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate
#
# Your commit will be aborted unless you regenerate docs.
COMMIT_BLOCKED_ON_GENDOCS
2015-04-16 22:13:44 +00:00
Tim Hockin
c2bacd588d
Stop using dockerfile/* images
...
As per
http://blog.docker.com/2015/03/updates-available-to-popular-repos-update-your-images/
docker has stopped answering dockerfile/redis and dockerfile/nginx. Fix all
users in our tree. Sadly this means a lot of published examples are now broken.
2015-04-16 12:20:43 -07:00
Derek Carr
6c394e4d81
Merge pull request #6911 from erictune/del_kub_user
...
Remove unused kubelet user from salt.
2015-04-16 11:45:26 -04:00
Eric Tune
955cc1e1df
Remove unused kubelet user from salt.
...
Fixes #1512 .
Cluster creation and validation succeeds with this change.
2015-04-16 07:46:56 -07:00
Wojciech Tyczynski
1c47f2d70c
Merge pull request #6873 from satnam6502/es-image
...
Convert es-image for gcr.io
2015-04-16 13:55:08 +02:00
derekwaynecarr
d1668b1dfa
Vagrant should not block on daemons that moved to pods
2015-04-15 23:15:34 -04:00
litian54
b5e4111234
Fix Jinja render bug if 'portal_net' or 'cluster_name' is undefined
2015-04-15 17:17:38 -07:00
Satnam Singh
4c0f06ec66
Convert es-image for gcr.io
2015-04-15 16:28:02 -04:00
Abhi Shah
72a694b6b3
Merge pull request #6823 from ArtfulCoder/scheduler-in-a-pod
...
Scheduler in a pod
2015-04-15 08:27:28 -07:00
Wojciech Tyczynski
4094505f84
Enable configuring size of minion disk
2015-04-15 11:19:43 +02:00
Abhishek Shah
a908bb78ea
kube-scheduler in a pod
2015-04-14 17:53:12 -07:00
Quinton Hoole
cd6daae014
Merge pull request #6271 from a-robinson/asynclb
...
Manage load balancer creation and deletion asynchronously in a ServiceController
2015-04-14 17:50:07 -07:00
Abhishek Shah
37eb4d85e1
Install kube-controller-manager image
2015-04-14 16:45:39 -07:00
Abhishek Shah
682e8cfa99
Load Kube Scheduler Image.
2015-04-14 15:20:24 -07:00
Dawn Chen
cbe28f151e
Merge pull request #6821 from justinsb/aws_dont_use_aws_conf
...
Don't always use aws.conf
2015-04-14 13:30:29 -07:00
Alex Robinson
ccc300289f
Implement a ServiceController that watches services and handles keeping
...
external load balancers up-to-date based on the service's specs, using
the new DeltaFIFO watch queue class. Remove the old registry REST
handler code for creating/updating/deleting load balancers.
Also clean up a bunch of the GCE cloudprovider code related to load balancers.
2015-04-14 18:56:24 +00:00
Dawn Chen
913dc4e490
Revert "Use a helper to find built binaries"
2015-04-14 11:24:49 -07:00
Eric Tune
c53b0c3869
Merge pull request #6275 from feihujiang/master
...
Improve ubuntu-cluster setup scripts
2015-04-14 09:51:33 -07:00
Dawn Chen
13b2243325
Merge pull request #6756 from lhuard1A/libvirt-coreos_etcd2
...
libvirt-coreos cluster: Fix etcd versions incompatibility issue
2015-04-14 09:34:00 -07:00
Justin Santa Barbara
72687184b9
Don't always use aws.conf
...
We don't usually need it, and it makes it harder to put apiserver into a container.
2015-04-14 09:30:00 -07:00
Dawn Chen
7bfe57b30d
Merge pull request #6783 from eparis/use-hack-lib-find-binaries
...
Use a helper to find built binaries
2015-04-14 09:18:14 -07:00
Lénaïc Huard
11556dc927
libvirt-coreos cluster: Fix etcd versions incompatibility issue
...
Whereas CoreOS is still shipped with etcd 0.4.9, kubernetes has moved to etcd 2.0.4.
This version mismatch makes kubernetes unable to use etcd.
Kubernetes’ logs are full of “502: (unhandled http status [Temporary Redirect] with body []) [0]”
This change makes libvirt-coreos cluster explicitly use etcd v2.0.9 instead of the one shipped within CoreOS.
This change aims at being reverted once CoreOS will migrate to etcd 2.
This migration is tracked at:
https://github.com/coreos/bugs/issues/317
2015-04-14 10:43:41 +02:00
Dawn Chen
6861e98ad8
Merge pull request #6785 from ArtfulCoder/apiserver-in-a-pod
...
kube-apiserver in a pod.
2015-04-13 16:10:37 -07:00
Dawn Chen
0bf08e242e
Merge pull request #6757 from lhuard1A/libvirt-coreos_fix_wait-cluster-readiness
...
libvirt-coreos cluster: fix wait-cluster-readiness for v1beta3 API
2015-04-13 16:05:03 -07:00
Eric Paris
6d4ab258f0
Use a helper to find built binaries
...
We should not be determining the arch/os and all the possible
directories binaries can live. Let a hack/lib/ helper do it for us.
2015-04-13 18:57:36 -04:00
Abhishek Shah
c9d7010461
kube-apiserver in a pod.
2015-04-13 15:15:45 -07:00
Dawn Chen
67169ec87d
Merge pull request #6719 from litian54/master
...
Fix Rendering SLS 'base:nginx' failed if 'cloud' is not defined in minio...
2015-04-13 10:42:48 -07:00
Lénaïc Huard
a708407965
libvirt-coreos cluster: fix wait-cluster-readiness for v1beta3 API
...
Fix the kubectl query to use to check the nodes readiness.
2015-04-13 15:13:53 +02:00
feihujiang
7452860f30
Improve ubuntu-cluster setup scripts
...
This PR implements #6266 .
Make a copy for each of the original scripts, and modify the copies. These copies will be used as working scripts afterwards.
Improve ubuntu-cluster setup scripts
2015-04-13 15:10:14 +08:00
Gareth Rushgrove
d836762a68
Fix typo and incorrect service name in sample ubuntu default scripts
2015-04-12 14:41:03 +02:00
Robert Bailey
d577db9987
Merge pull request #6721 from brendandburns/hyperkube
...
Update to 0.14.2 in the docker k8s instructions.
2015-04-10 23:45:36 -07:00
Dawn Chen
7f2f165797
Revert "kube-apiserver in a pod."
2015-04-10 22:54:52 -07:00
Brendan Burns
6217ae0242
Update to 0.14.2 in the docker k8s instructions.
2015-04-10 22:02:55 -07:00
litian54
36ef786228
Fix Rendering SLS 'base:nginx' failed if 'cloud' is not defined in minion grains
2015-04-10 18:27:22 -07:00
Dawn Chen
23c9b1a04b
Merge pull request #6709 from ArtfulCoder/apiserver-in-a-pod
...
kube-apiserver in a pod.
2015-04-10 16:34:24 -07:00
Victor Marmol
52d73951db
Merge pull request #6710 from rjnagal/node
...
Fix heapster config to talk to the right kubelet port.
2015-04-10 16:12:42 -07:00
Rohit Jnagal
013653bd58
Fix heapster config to talk to the right kubelet port.
...
The config was updated for v1bet1, but the tests are using v1beta3.
2015-04-10 22:58:38 +00:00
Abhishek Shah
2f70395396
kube-apiserver in a pod.
2015-04-10 15:46:49 -07:00
Justin Santa Barbara
034412aff1
Support multiple k8s clusters
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
a366f9ee88
Create the /usr/share/google dir in salt
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
b9fd56050a
Add safe_format_and_mount script to aws
...
Apache licensed :-)
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
49543aca61
Update IAM permissions for minion, to allow EBS
2015-04-10 13:25:42 -07:00
Derek Carr
d2b6920a32
Merge pull request #6496 from ArtfulCoder/docker_image_install
...
Load docker images of kubernetes components after docker is installed.
2015-04-10 16:19:10 -04:00
Daniel Smith
c6d4bb373e
Merge pull request #6631 from jiangyaoguo/remove-duplicate-localhost-setting
...
Remove duplicate localhost setting
2015-04-09 10:43:00 -07:00
Maxwell Forbes
7eb7387d97
Merge pull request #6403 from zmerlynn/salt_docs
...
Update the existing salt.md, add the start of a Salt README tree
2015-04-09 10:34:25 -07:00
Daniel Smith
c8ad77205c
Merge pull request #6615 from brendandburns/hash
...
We have had user reports that look like hash conflicts. Expand the hash to 10 digits.
2015-04-09 10:23:53 -07:00
Jeff Lowdermilk
ca6f1a1bc7
Merge pull request #6476 from deads2k/deads-fix-kubeconfig-serialization
...
fix kubeconfig serialization
2015-04-09 09:41:26 -07:00
yaoguo
e597b41d93
Remove duplicate localhost setting
2015-04-10 00:10:47 +08:00
Abhishek Shah
4996ccbf2d
Load docker images of kubernetes components after docker is installed.
2015-04-09 09:06:42 -07:00
Brendan Burns
5df4d927b9
We have had user reports that look like hash conflicts. Expand the has to 10 digits.
2015-04-08 21:51:50 -07:00
nikhiljindal
fe60be3179
Moving v1beta1 kubectl examples to v1beta3
2015-04-08 13:08:13 -07:00
Vish Kannan
ffffbb7edf
Merge pull request #6505 from brendandburns/hyperkube
...
Docker multi-node
2015-04-08 11:08:39 -07:00
Jeff Mendoza
98db9081a6
Azure: Wait for salt completion on cluster initlization
...
Fix for #3177 . Add a loop at the end of cluster initlization to
wait for salt completion. This may never complete if there was a
cluster deployment error.
2015-04-08 09:05:07 -07:00
Brendan Burns
b3c46b5c66
Add a Docker multi-node setup.
2015-04-07 21:22:33 -07:00
Dawn Chen
8ede54c511
Upgrade kubernetes to gcr.io/google_containers/etcd:2.0.9
2015-04-07 16:26:11 -07:00
Dawn Chen
4963783b7e
Build etcd 2.0.9 image.
2015-04-07 16:06:36 -07:00
Justin Santa Barbara
2426366ec8
Update cAdvisor with moved docker root on AWS
...
We set up a symlink now, and we also pass docker_root into the kubelet.
The symlink is probably sufficient, but doing both feels safer.
2015-04-07 10:40:22 -07:00
Brendan Burns
1ccfa589e7
Merge pull request #6498 from ArtfulCoder/stop_nginx_service
...
Disable nginx service
2015-04-07 09:51:53 -07:00
Rohit Jnagal
13b805fe1e
Merge pull request #6504 from ghodss/gce-customize-minion-size
...
Make minion disk size in GCE kube-up customizable
2015-04-07 08:36:43 -07:00
deads2k
609208b8b5
update scripts with correct templates
2015-04-07 08:07:24 -04:00
Sam Ghods
6ec32bf16c
Make minion disk size in GCE kube-up customizable
2015-04-06 21:47:45 -07:00
Abhishek Shah
a0ea2c6718
Disable nginx service
2015-04-06 18:38:03 -07:00
Fabio Yeon
fd7db14df0
Add local file option to "upgrade.sh".
2015-04-06 16:30:15 -07:00
Zach Loafman
c292d2e8d6
Update the existing salt.md, add the start of a Salt README tree
...
Starts to fix #6070
2015-04-06 14:41:21 -07:00
Robert Bailey
05fd6fe619
Merge pull request #6432 from brendandburns/hyperkube
...
Add a docker image for hyperkube, and instructions on how to use.
2015-04-06 11:23:40 -07:00
Abhi Shah
46370bcc51
Merge pull request #6471 from ArtfulCoder/prevent_docker_load
...
Prevent docker load.
2015-04-06 11:21:51 -07:00
Rohit Jnagal
62f399fb84
Merge pull request #6453 from mazswojejzony/master
...
Ubuntu-cluster updates: configure.sh fix and guide update
2015-04-06 11:17:51 -07:00
Abhishek Shah
9231fae998
Prevent docker load.
2015-04-06 11:09:27 -07:00
Brendan Burns
628b052aae
Add a docker how-to guide.
2015-04-06 10:43:42 -07:00
Rohit Jnagal
1ecb926ace
Merge pull request #6427 from zmerlynn/upgrade_master
...
First hack at upgrade script for GCE
2015-04-06 09:03:26 -07:00
Zach Loafman
616c6be653
Refactor the "gcloud compute instances create" call as well.
2015-04-06 08:35:02 -07:00
mazswojejzony
e385d552c5
Fixed default config for kube-proxy on minions
...
Without this fix kube-proxy on minions cannot connect to master as `MASTER_IP` is not reachable.
2015-04-05 22:21:03 +02:00
Zach Loafman
9e5fd874cc
First hack at upgrade script for GCE:
...
Address #6075 : Shoot the master VM while saving the master-pd. This
takes a couple of minor changes to configure-vm.sh, some of which also
would be necessary for reboot. In particular, I changed it so that the
kube-token instance metadata is no longer required after inception;
instead, we mount the master-pd and see if we've already created the
known tokens file before blocking on the instance metadata.
Also partially addresses #6099 in bash by refactoring the kube-push
path.
2015-04-05 11:42:34 -07:00
Yu-Ju Hong
70a0a93f05
Merge pull request #5682 from justinsb/options_docs
...
More options documentation
2015-04-03 18:06:42 -07:00
Brian Grant
b0b6418ca3
Merge pull request #6377 from nikhiljindal/kubevtl
...
Updating components to use v1beta3
2015-04-03 15:58:09 -07:00
Yu-Ju Hong
93d5c819d2
Merge pull request #6426 from satnam6502/kibana-image
...
Update Kibana to v1.2 which paramaterizes location of Elasticsearch
2015-04-03 15:43:03 -07:00
nikhiljindal
f2b72931fc
Updating components to use v1beta3
2015-04-03 15:19:14 -07:00
Zach Loafman
f96fbfe174
Merge pull request #6422 from ArtfulCoder/local_etcd
...
Run etcd on localhost for all providers.
2015-04-03 15:17:50 -07:00
Satnam Singh
cfb8577324
Update Kibana to v1.2 which paramaterizes location of Elasticsearch
2015-04-03 14:55:00 -07:00
Brendan Burns
ee9591e25d
Add a docker image for the hyperkube binary.
2015-04-03 14:54:50 -07:00
Satnam Singh
e4c91df35f
Merge pull request #5776 from jonlangemak/fluentd-elasticsearch-kibanafix
...
Added API variables so Kibana could access ES through the API server
2015-04-03 14:43:05 -07:00
Abhishek Shah
fb665ede4c
Run etcd on localhost for all providers.
2015-04-03 14:00:44 -07:00
Justin Santa Barbara
5d7f86b041
More options documentation
2015-04-03 13:44:06 -07:00
Eric Tune
e49424785e
Merge pull request #6380 from roberthbailey/kubelet-ssl
...
Configure the kubelet to use HTTPS (take 2)
2015-04-03 13:43:00 -07:00
Abhishek Shah
23c42cd8b2
Etcd listens on localhost for GCE
2015-04-03 11:40:09 -07:00
Yu-Ju Hong
76f1232a2e
Merge pull request #6404 from dchen1107/master
...
Using gcr.io/google_containers/etcd:2.0.8
2015-04-03 08:51:41 -07:00
Zach Loafman
3916222e5e
Merge pull request #6412 from justinsb/aws_create_in_az
...
AWS: Create instances in the specified AZ
2015-04-03 08:34:25 -07:00
Justin Santa Barbara
2fb573c482
Create instances in the specified AZ
2015-04-03 08:04:53 -07:00
Filip Grzadkowski
0ffabfa9f7
Add ability to set master/minion size for GCE using envvar.
2015-04-03 11:36:05 +02:00
Jon Langemak
35038dc19a
Added ES ENV variables so Kibana can be access in other ways
2015-04-02 21:58:10 -05:00
Zach Loafman
de67b96ff7
Merge pull request #6396 from ArtfulCoder/master_logging
...
Enable log collection from master.
2015-04-02 18:50:30 -07:00
Abhishek Shah
39bb6d3777
Enable log collection from master.
2015-04-02 18:37:07 -07:00
Zach Loafman
12cf7681a9
Merge pull request #5470 from erictune/for-abhis
...
Make secrets at cluster startup.
2015-04-02 17:43:56 -07:00
Abhi Shah
51e2518e36
Merge pull request #6392 from dchen1107/master
...
Build etcd image (version: 2.0.8) and push it to gcr.io
2015-04-02 17:14:15 -07:00
Dawn Chen
814177c21b
Using gcr.io/google_containers/etcd:2.0.8
2015-04-02 17:04:05 -07:00
Abhi Shah
a918a719e0
Merge pull request #6334 from brendandburns/nginx
...
Add an nginx docker image for use on the master.
2015-04-02 16:58:02 -07:00
Brendan Burns
9f48a2f4e6
Add an nginx docker image for use on the master.
2015-04-02 16:42:17 -07:00
Dawn Chen
1f3b5bf2f0
Build etcd image and push it to gcr.io
2015-04-02 16:20:09 -07:00
Sam Ghods
ca18e86877
Make naming of kubectl subcommands consistent
2015-04-02 16:14:53 -07:00
Eric Tune
59daeabaee
Make secrets at cluster startup.
...
These secrets will be used in subsequent PRs by:
scheduler, controller-manager, monitoring services,
logging services, and skydns.
Each of these services will then be able to stop using kubernetes-ro
or host networking.
2015-04-02 15:58:45 -07:00
Zach Loafman
c627a3598c
Merge pull request #6384 from erictune/cleanup-addons.sh
...
Use same addons script for init.d and systemd.
2015-04-02 14:49:44 -07:00
Derek Carr
4ae016e022
Merge pull request #6382 from derekwaynecarr/fix_vagrant_kubelet
...
Fix vagrant with etcd in pod
2015-04-02 17:22:44 -04:00
Eric Tune
b9570b3daa
Use same addons script for init.d and systemd.
2015-04-02 14:07:23 -07:00
derekwaynecarr
c6bf46acd7
Fix vagrant with etcd in pod
2015-04-02 16:55:29 -04:00
Dawn Chen
9b2f835a01
Merge pull request #6326 from ArtfulCoder/docker_image_creation
...
Create Docker images for master components
2015-04-02 13:12:17 -07:00
Abhishek Shah
b1b779a8d5
docker image creation
2015-04-02 12:39:12 -07:00
Robert Bailey
4488ff95a2
Create an insecure (http) read-only port on the kubelet so that
...
heapster can collect metrics. Update the heapster config to
point to the non-secured port.
2015-04-02 10:45:49 -07:00
Brendan Burns
51ec400d6d
Merge pull request #6353 from fgrzadkowski/perf
...
Increase ulimit -n for apiserver.
2015-04-02 09:42:48 -07:00
Eric Tune
ecf39a6d10
Merge pull request #5414 from chuckbutler/juju-cluster-up
...
Adds JUJU to the Kubernetes Provider listing
2015-04-02 09:27:54 -07:00
Filip Grzadkowski
65c2942a82
Increase ulimit -n for apiserver.
2015-04-02 17:01:23 +02:00
Jerzy Szczepkowski
a94ffc8625
Merge pull request #6331 from vishh/heapster_release
...
Update heapster version to v0.10.0
2015-04-02 10:21:47 +02:00
Zach Loafman
1ff0a1e2a1
Merge pull request #6270 from jlowdermilk/gcloud-updates
...
Updates for gcloud 0.9.54
2015-04-01 19:14:57 -07:00
CJ Cullen
5e6e67ba59
Add an alternative TokenSource to the GCE CloudProvider.
2015-04-01 17:52:30 -07:00
Jeff Lowdermilk
ce72839153
Merge pull request #6329 from mbforbes/fixUp
...
Fix pod that's looked for on kube up.
2015-04-01 17:51:37 -07:00
Alex Robinson
4f9b1c486f
Don't ever give up on retrying downloads in the GCE download-or-bust function.
2015-04-02 00:40:19 +00:00
Vishnu Kannan
e6833639a2
Update heapster version to v0.10.0
2015-04-02 00:39:24 +00:00
Max Forbes
152a461f39
Fix pod that's looked for on kube up.
2015-04-01 17:28:04 -07:00
Dawn Chen
ab1a8b1e7c
Merge pull request #6298 from roberthbailey/kubelet-config
...
Remove salt configuration that matches the default settings in the Kubelet.
2015-04-01 14:31:31 -07:00
Derek Carr
2af9b54147
Merge pull request #6259 from zmerlynn/fix_cloud_provider
...
Eliminate grains.cloud_provider (in preference to grains.cloud) from SaltStack
2015-04-01 17:04:05 -04:00
Robert Bailey
40ebed845f
Remove salt configuration that matches the default settings in
...
the Kubelet.
2015-04-01 12:13:40 -07:00
Abhishek Shah
8e3a41b52c
Run etcd 2.0.5 in a pod
2015-04-01 11:38:21 -07:00
Jeff Lowdermilk
cfc04f41b8
Updates for gcloud changes (alpha, kubeconfig)
2015-04-01 09:27:06 -07:00
Jeff Lowdermilk
506887515d
Rename google-containers to google_containers in image names
2015-04-01 09:16:48 -07:00
Zach Loafman
b581320bf7
Eliminate grains.cloud_provider (in preference to grains.cloud) from SaltStack
...
This variable can be entirely derived from grains.cloud, and it
simplifies the configuration somewhat. (Or someone convince me I'm
wrong. I'm happy to be wrong here.)
2015-04-01 08:32:32 -07:00
Derek Carr
762c449043
Merge pull request #6262 from zmerlynn/rm_master_ip
...
rm Salt grains.master_ip
2015-04-01 11:10:48 -04:00
António Meireles
7680c2f771
fix typo in spelling.
...
Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2015-04-01 10:43:52 +01:00
Zach Loafman
0806e3bde0
rm Salt grains.master_ip
...
This appears in the Salt documentation, is set by Vagrant, but has no
consumers. Remove vestigial references.
2015-03-31 17:31:47 -07:00
Zach Loafman
7094badf94
Merge pull request #6258 from zmerlynn/fix_gke_util
...
Fix gke/util.sh
2015-03-31 16:51:03 -07:00
Zach Loafman
52dd55c5ec
Fix gke/util.sh
2015-03-31 16:50:31 -07:00
Satnam Singh
73a9ab2928
Rename logging image to use google_containers
2015-03-31 16:00:52 -07:00
Jeff Grafton
0d382c03fc
Add missing } to fix cluster/gce/util.sh
2015-03-31 14:03:18 -07:00
Robert Bailey
fe00f7abd0
Merge pull request #6168 from brendandburns/docs
...
Auto-install gcloud and needed components, if necessary
2015-03-31 13:55:46 -07:00
Victor Marmol
f0b3493c26
Merge pull request #6240 from zmerlynn/fix_apiservers
...
s/apiservers/api_servers/ in Salt
2015-03-31 13:06:09 -07:00
Brian Grant
3354cffbf0
Merge pull request #6182 from thockin/plural_services_20
...
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Zach Loafman
6c219885e0
s/apiservers/api_servers/ in Salt
...
It looks like api_servers finally won this battle. Kill off the
last remaining places passing it, but allow the kubelet Salt to
accept apiservers for a period of time.
(This was bothering my OCD.)
2015-03-31 12:29:46 -07:00
Zach Loafman
fc8ba8d77b
Merge pull request #6011 from justinsb/aws_specify_zone
...
Fix AWS region vs zone
2015-03-31 12:26:05 -07:00
Brendan Burns
98cdf04189
Auto-install gcloud if needed.
2015-03-31 12:10:35 -07:00
Victor Marmol
51128251f1
Merge pull request #6215 from justinsb/fix_s3_us_classic
...
Fix S3 location handling for US classic
2015-03-31 08:08:56 -07:00
Justin Santa Barbara
edbebd653c
Fix S3 location handling for US classic
2015-03-31 05:42:10 -07:00
Tim Hockin
eeff1b74fb
Fixes from feedback and testing
2015-03-30 23:52:37 -07:00
Tim Hockin
186818d787
WIP: Implement multi-port Services
2015-03-30 19:28:11 -07:00
Abhishek Shah
541219db77
Retry kube-addons creation if kube-addons creation fails.
2015-03-30 18:14:54 -07:00
Robert Bailey
bc8af553a3
Configure the kubelet to bind a simple healthz server to a localhost
...
port for monitoring by monit. This is in preparation for the standard
kubelet port to switch to SSL only (and eventually to only accepting
connections on the SSL port that present a proper client SSL cert).
Also standardize the formatting of the monit config files a bit.
2015-03-30 14:20:30 -07:00
Victor Marmol
a4daa88fdc
Merge pull request #6090 from justinsb/use_s3_bucket_location
...
Use the correct region for the S3 bucket
2015-03-30 09:40:42 -07:00
Victor Marmol
b9214d4fcf
Merge pull request #6122 from satnam6502/fluentd-gcp
...
Update Salt config to use gcr.io Fluentd to Cloud Logging agent
2015-03-30 08:02:12 -07:00
Victor Marmol
0c75f26a74
Merge pull request #6148 from zmerlynn/brctl_complaint
...
Fix "brctl: invalid command" message appearing in startup logs
2015-03-30 08:01:30 -07:00
Justin Santa Barbara
07ffc26a61
Fix typo in docs
2015-03-30 06:01:00 -07:00
Zach Loafman
b3636bba34
Fix "brctl: invalid command" message appearing in startup logs
...
We were actually failing to call brctl in configure-vm.sh. I finally
tracked it down to the attempt to delete the docker0 bridge. This
particular package was getting installed later by Salt anyways, so
all this PR is doing is moving the package install up from Salt to
bash.
Also adds some minor logging.
2015-03-29 18:30:33 -07:00
Zach Loafman
708553f0bb
GCE node salt: Use the master FQDN, not the master IP
...
This will allow us to upgrade the master by full re-provision, without
even bothering to reserve the IP.
2015-03-28 13:44:45 -07:00
Zach Loafman
848134fdfa
Revert "Running etcd 2.0.5 in a pod on master"
2015-03-28 07:36:39 -07:00
Dawn Chen
179fe870cc
Merge pull request #4442 from ArtfulCoder/docker_etcd
...
Running etcd 2.0.5 in a pod on master
2015-03-27 18:33:25 -07:00
Daniel Smith
525bbfd175
Merge pull request #6103 from zmerlynn/remove_gce_node_names
...
Remove the --machines SaltStack configuration on GCE
2015-03-27 17:55:16 -07:00
Abhishek Shah
7750f35e7c
Running etcd 2.0.5 in a pod on master
2015-03-27 17:50:10 -07:00
Satnam Singh
666e2b69ac
Update Salt config to use gcr.io Fluentd to Cloud Logging agent
2015-03-27 16:39:12 -07:00
Satnam Singh
ce1e73fccc
Update Salt config use gcr.io Fluentd to ES image
2015-03-27 16:09:37 -07:00
Zach Loafman
68ccb97907
Remove the --machines SaltStack configuration on GCE
...
Per https://github.com/GoogleCloudPlatform/kubernetes/issues/6072#issuecomment-87074456 , this is no longer necessary.
We now no longer need a static node list. Woo!
2015-03-27 14:44:19 -07:00
Brendan Burns
6fd376a04f
Fix the scripts to optionally skip prompts and also return successfully no matter what.
2015-03-27 13:53:26 -07:00
Brendan Burns
1aa2b97792
Revert "Revert "Update gce starting guide to use get.k8s.io""
...
This reverts commit b369f2b48f
.
2015-03-27 13:46:28 -07:00
Justin Santa Barbara
194143e61b
Use the correct region for the S3 bucket
...
We may not have created the bucket!
2015-03-27 12:58:47 -07:00
Brendan Burns
308049e789
Merge pull request #6060 from ZJU-SEL/hotfix
...
[ubuntu-cluster] fix a serious bug when node both act as master and minion
2015-03-27 09:53:14 -07:00
Jeff Lowdermilk
bec982774b
Merge pull request #6038 from satnam6502/fluentd-es-image
...
Create a gcr.io image for Flunentd to Elasticsearch node level logging
2015-03-27 09:05:00 -07:00
Justin Santa Barbara
7179f5f004
Change AWS_ZONE to ZONE, for compatibility with e2e tests
2015-03-27 08:53:45 -07:00
Abhishek Shah
d84ff79cfd
Added a catchall to set api server ip address in kubelet cmd params
2015-03-27 08:44:52 -07:00
Piotr Szczesniak
dfd3ef174d
Merge pull request #6030 from jlowdermilk/use-gcr
...
Pull cluster addon images from gcr.io
2015-03-27 10:05:24 +01:00
Piotr Szczesniak
c516aba8e8
Merge pull request #6043 from ArtfulCoder/kubelet_salt
...
Modified salt config to get master ip address correctly
2015-03-27 10:03:05 +01:00
wizard
88dca56438
fix bug in single ubuntu node configuration
2015-03-27 15:13:43 +08:00
Abhishek Shah
f35a352782
Modified salt config to get master ip address correctly
2015-03-26 21:17:06 -07:00
Satnam Singh
19e621c951
Create a gcr.io image for Flunentd to Elasticsearch node level logging
2015-03-26 21:07:15 -07:00
Jeff Lowdermilk
2b71857816
Pull cluster addon images from gcr.io
2015-03-26 19:59:27 -07:00
Zach Loafman
b369f2b48f
Revert "Update gce starting guide to use get.k8s.io"
2015-03-26 19:36:25 -07:00
Zach Loafman
d29a4feac0
Merge pull request #6019 from brendandburns/docs
...
Update gce starting guide to use get.k8s.io
2015-03-26 16:38:40 -07:00
Brendan Burns
61b624457d
Update gce starting guide to use get.k8s.io
...
Also auto install gcloud if it's not present.
2015-03-26 16:08:56 -07:00
Brendan Burns
f089a054c2
Use stable.txt instead of latest.txt and add a script to set that file.
2015-03-26 15:16:59 -07:00
Justin Santa Barbara
583892da2d
Fix AWS region vs zone
...
We were specifying a region, but naming it as a zone in util.sh
The zone matters just as much as the region, e.g. for EBS volumes.
We also change the config to require a Zone, not a Region.
But we fallback to get the information from the metadata service.
2015-03-26 15:11:05 -07:00
Max Forbes
ddb0a70481
Fix tiny salt logging line.
2015-03-26 14:37:51 -07:00
Zach Loafman
e5914915b8
Merge pull request #6003 from justinsb/aws_wait_for_instance
...
Wait for master to be started on AWS
2015-03-26 14:06:25 -07:00
Zach Loafman
aa417ca2db
Merge pull request #6007 from justinsb/aws_wait_delete_elb
...
Wait for ELBs to be deleted
2015-03-26 13:55:52 -07:00
Eric Tune
16de216899
Merge pull request #6012 from brendandburns/docs
...
Fix the date command to work on OS X
2015-03-26 13:52:19 -07:00
Justin Santa Barbara
f256d3b77a
Wait for ELBs to be deleted
2015-03-26 13:50:35 -07:00
Brendan Burns
eea09ddfbb
Fix the date command to work on OS X
2015-03-26 13:48:59 -07:00
Charles Butler
a68de6237b
Rewrote shell script headers with accepted kubernetes boilerplate
...
because of failing build notifications on #5414
2015-03-26 16:35:24 -04:00
Justin Santa Barbara
53bdbec64e
Launch minions in parallel
2015-03-26 10:58:18 -07:00
Eric Tune
5698c32fd1
Merge pull request #5899 from jainvipin/master
...
master_ip needs updating even for minion to be discovered by master
2015-03-26 10:53:48 -07:00
Justin Santa Barbara
9556318c58
Wait for master instance running before adding route
2015-03-26 10:23:25 -07:00
Abhishek Shah
d1015e785f
Add salt configuration to remove cadvisor.manifest from master. cadvisor is now part of kubelet
2015-03-26 10:15:30 -07:00
Robert Bailey
268b617b84
Add local babysitting for the kube-proxy.
2015-03-25 23:24:24 -07:00
Saad Ali
f3ebe30605
Merge pull request #5940 from justinsb/fix_bash_style
...
Fix bash style issues in AWS script
2015-03-25 14:40:42 -07:00
Justin Santa Barbara
06704bb94f
Security group should be scoped to our vpc
...
Note that security group names only need to be unique with a VPC as well,
which is handy here.
2015-03-25 12:53:12 -07:00
Justin Santa Barbara
ac12665f48
Quote AWS_SSH_KEY
2015-03-25 12:41:02 -07:00
Justin Santa Barbara
80ba56a371
Fix variable dollar-char errors
2015-03-25 12:36:52 -07:00
Justin Santa Barbara
505488269c
Use double-square brackets in if tests
2015-03-25 12:36:20 -07:00
Alex Robinson
c22d4c6b3f
Merge pull request #5916 from justinsb/aws_cleanup_loadbalancers
...
Remove load balancers as part of kube-down.sh
2015-03-25 10:32:14 -07:00
Justin Santa Barbara
68935e0798
Remove load balancers as part of kube-down.sh
2015-03-25 05:36:47 -07:00
Brendan Burns
cf72cf098a
Disable validation on AWS where it doesn't work.
...
Also add an advanced route for the master which I forgot previously.
2015-03-24 21:08:04 -07:00
Vipin Jain
787c80bd9f
master_ip needs updating even for minion to be discovered by master
2015-03-24 21:07:59 -07:00
Victor Marmol
3ccd798d8d
Merge pull request #5892 from brendandburns/aws
...
Configure docker and kubelet on AWS master.
2015-03-24 18:00:58 -07:00
Brendan Burns
8bac135f85
Configure docker and kubelet on AWS master.
2015-03-24 17:19:06 -07:00
Zach Loafman
ed567736ea
Retry apt operations to death
...
Nodes are probably broken if update or install fails. Don't proceed
if we can't get past these. Also, instead of ignoring the error off
dpkg, use --force depends, which changes the errors to be kinder
warnings for anyone looking through the logs.
2015-03-24 16:11:40 -07:00
Derek Carr
dabd4984b7
Merge pull request #5856 from marshauf/master
...
Use VBoxManage instead of virtualbox in cluster/vagrant/util.sh
2015-03-24 16:16:12 -04:00
Clayton Coleman
97560c409f
Merge pull request #5554 from derekwaynecarr/namespace_controller
...
Namespace Controller to support Namespace Termination
2015-03-24 12:59:00 -04:00
Marcel Hauf
cf36fdc7f9
Use VBoxManage instead of virtualbox in cluster/vagrant/util.sh verify-prereqs function. The executable virtualbox does not exist.
2015-03-24 17:42:22 +01:00
Robert Bailey
b152d8e884
Merge pull request #5822 from justinsb/aws_idempotent_kube_down
...
More idempotent kube-down for AWS, and delete multiple security groups
2015-03-24 07:58:03 -07:00
derekwaynecarr
ee53dfc741
Turn on namespace lifecycle plug-in
2015-03-24 10:36:06 -04:00
Saad Ali
b01f1f9baf
Merge pull request #5683 from justinsb/aws_ephemeral_disks
...
Format ephemeral disks with btrfs, put Docker storage on there
2015-03-24 07:36:01 -07:00
Zach Loafman
8065fb5c47
Merge pull request #5801 from satnam6502/etcd
...
Upgrade etcd to v2.0.5 on the master
2015-03-23 16:13:11 -07:00
Robert Bailey
737af02fc8
Merge pull request #5749 from fabioy/gke-guestbook.fix
...
Fix guestbook.sh to make it work on GKE.
2015-03-23 14:31:34 -07:00
Satnam Singh
69f867dafb
Upgrade etcd to v2.0.5 on the master
2015-03-23 13:52:04 -07:00
Justin Santa Barbara
2a042fc423
More idempotent kube-down for AWS, and delete multiple security groups
...
There may be multiple security groups if we were using ELB, and
we have to delete them all apart from the default one, which EC2
prevents us from deleting.
Also use the same looping logic to clean up from partial up/downs.
2015-03-23 13:00:34 -07:00
Robert Bailey
a7bc9edb96
Specify bash when installing kubernetes via get.k8s.io.
...
Fixes #5689 .
2015-03-21 22:50:29 -07:00
Fabio Yeon
5b77149461
Fix guestbook.sh to make it work on GKE.
2015-03-20 18:27:31 -07:00
Maxwell Forbes
38d703f24d
Merge pull request #5726 from roberthbailey/gce-boot-disk
...
Bump the default boot disk size for GCE from 10GB to 100GB
2015-03-20 17:19:07 -07:00
Maxwell Forbes
b07c46285d
Merge pull request #5728 from fabioy/gke-kubeup.fix
...
Fix GKE kube-up code by adding project flag to network creation.
2015-03-20 16:23:09 -07:00
Dawn Chen
7a6490f572
Merge pull request #5729 from thockin/plural_endpoints_30_restart
...
Rename Service.ContainerPort to TargetPort in v1b3
2015-03-20 14:37:46 -07:00
Fabio Yeon
17be2d2047
Fix GKE kube-up code by adding project flag to network creation. Plus a
...
few more log outputs to help debugging.
2015-03-20 14:04:32 -07:00
Tim Hockin
4375376e9c
Rename Service.ContainerPort to TargetPort in v1b3
...
Fix all callers and examples. Part of multi-port service cleanup.
2015-03-20 13:50:06 -07:00
Robert Bailey
c3189657b6
Bump the default boot disk size for GCE from 10GB to 100GB so that there is
...
more space to store containers and image layers.
2015-03-20 13:06:35 -07:00
Abhishek Gupta
b0c23c1046
Headless Services: Adding option to specify None for PortalIP
2015-03-20 12:10:03 -07:00
Zach Loafman
7f02e110f4
Merge pull request #5594 from lhuard1A/libvirt-coreos_kube-push
...
libvirt-coreos: Make kube-push able to push non-release kubernetes binaries
2015-03-20 10:20:02 -07:00
Satnam Singh
8fe47aa2b9
Merge pull request #5694 from zmerlynn/kill-logging
...
Both @satnam6502 and E2E tests confirm: This code is no longer needed
2015-03-20 08:32:01 -07:00
Zach Loafman
407d1fec45
Both @satnam6502 and E2E tests confirm: This code is no longer needed
...
Deletion is wonderful. The only weird thing was where to put the
message about the proxy URLs. Satnam suggested kubectl clusterinfo,
which seemed like a good option to put at the end of cluster turn-up.
2015-03-19 22:23:11 -07:00
Justin Santa Barbara
60a07e972b
Raise the file ulimit for kube-proxy for init.d systems
2015-03-19 19:36:13 -04:00
Justin Santa Barbara
6fec242f89
Format ephemeral disks with btrfs, put Docker storage on there
...
Docker's default storage has severe bugs with older (stable) kernels.
Use btrfs to bypass those issues.
2015-03-19 19:23:29 -04:00
Jeff Grafton
d845d49dc6
Merge pull request #5437 from lhuard1A/libvirt-coreos_kubeconfig
...
Make libvirt-coreos generate a .kubeconfig file and have e2e tests use it
2015-03-19 10:18:03 -07:00
Vish Kannan
407af7b883
Merge pull request #5656 from lhuard1A/libvirt-coreos_etcd-HA
...
libvirt-coreos: make kube-apiserver connect to all the etcd nodes of the cluster
2015-03-19 09:59:08 -07:00
Lénaïc Huard
f9d718675a
libvirt-coreos: make kube-apiserver connect to all the etcd nodes of the cluster
2015-03-19 17:13:41 +01:00
Subin M
bd52a0cb80
update v1beta3 yaml files
2015-03-19 20:31:10 +05:30
Zach Loafman
57cd8165b0
Ensure salt-minion never starts by setting invoke-rc.d policy using
...
the /usr/sbin/policy-rc.d script and returning 101, per
https://people.debian.org/~hmh/invokerc.d-policyrc.d-specification.txt ,
but only for the window while we're installing Salt.
This is a much more fool-proof method than what I was attempting
before. I hunted for how to do this before and clearly failed at my
Google-fu.
Fixes #5621
2015-03-18 16:15:24 -07:00
Derek Carr
ac3b1b255f
Merge pull request #5557 from jayunit100/vagrant-fix-1
...
Fix vagrant so that ssh commands work OOTB
2015-03-18 15:04:51 -04:00
jayunit100
9b67949085
Fix vagrant so that ssh commands work OOTB, (squashed) move verify to vagrant/util.sh, remove run_provider_test, cleanup.
2015-03-18 15:02:12 -04:00
Alex Robinson
2537665ecc
Merge pull request #5381 from justinsb/aws_s3_in_us_east
...
Create S3 bucket in known region (default to us-east-1)
2015-03-18 09:34:59 -07:00
Lénaïc Huard
8fb8e20f2c
Make kube-push able to push local binaries built by make
...
and not only releases built by `make release`.
The behavior is conditionned by the KUBE_PUSH environment variable.
2015-03-18 15:31:11 +01:00
Vish Kannan
b6e7f470cb
Merge pull request #5576 from vmarmol/auth
...
Add monitoring scope to default GCE config.
2015-03-17 17:22:52 -07:00
Victor Marmol
8e2dc04da8
Add monitoring scope to default GCE config.
...
This will allow Heapster to run GCM-based monitoring on the nodes.
2015-03-17 17:02:10 -07:00
Dawn Chen
dce75998d0
Upgrade to container-vm-20150315
2015-03-17 16:10:39 -07:00
Nikhil Jindal
89f18f6fe1
Merge pull request #5493 from sdminonne/issue_341_step_2
...
Another step to introduce fields.Selector
2015-03-17 15:16:18 -07:00
Victor Marmol
3e84c2612b
Merge pull request #5568 from zmerlynn/publish_latest
...
Modify get.k8s.io script to use latest published build
2015-03-17 15:13:23 -07:00
Salvatore Dario Minonne
31ddefc347
Finalize fields.Selector
2015-03-17 22:55:43 +01:00
Zach Loafman
13600a65f8
Modify get.k8s.io script to use latest published build
...
After #5563 , all official builds will update latest.txt. Use it.
2015-03-17 14:36:12 -07:00
Satnam Singh
985d5c1f95
Add a prefix to the POS file for Fluentd to Elasticsearch
2015-03-17 13:13:03 -07:00
Satnam Singh
0212e68e91
Adjust POS file for Fluentd to Cloud Logging
2015-03-17 11:44:04 -07:00
Timothy St. Clair
140330fca8
Fix to address issue #5461 kube-proxy too many files open
...
https://github.com/GoogleCloudPlatform/kubernetes/issues/5461
2015-03-17 10:13:25 -05:00
Lénaïc Huard
efe345f8b6
Make libvirt-coreos generate a .kubeconfig file and have e2e tests use it
2015-03-17 11:10:18 +01:00
Satnam Singh
d395efa463
Make Fluentd to Cloud Logging collector read from head
2015-03-16 16:19:07 -07:00
Charles Butler
5acce1b245
Implement the feedback from filbranden
...
- Changed check_for_ppa to be parameterized
- Added bash strictmode
- refactored the package_status method to consume variables and be a bit
nicer to future re-use of the method.
- Cut out extra echo -n statements in favor of tr -d or native awk
- Refactored branching logic paths to leverage double brackets
- normalized local variable annotation
- Updated globals to be all CAPS
- remainder of filbrandens feedback in validate-cluster.sh
2015-03-16 18:35:33 -04:00
Alex Robinson
0b67c9e94c
Merge pull request #5379 from justinsb/aws_iam_roles
...
Configure separate IAM roles for master & minion, create roles in docs
2015-03-16 14:37:18 -07:00
Justin Santa Barbara
8b535ff17a
Fix copy-and-paste error in log message
2015-03-16 14:30:24 -07:00
Victor Marmol
3d9bdee5d9
Update get-kube to fetch 0.11.0 (latest stable).
2015-03-16 11:34:54 -07:00
Justin Santa Barbara
9361b76977
Configure separate IAM roles for master & minion, create roles automatically
2015-03-16 10:37:25 -07:00
Alex Robinson
0c84309059
Merge pull request #5485 from vishh/heapster_release
...
Updating heapster version to v0.9.
2015-03-16 09:39:33 -07:00
Jeff Lowdermilk
221f226396
Merge pull request #5245 from erictune/ubuntu-fix
...
Ubuntu-distro: Kubelet and kube-proxy talk to apiserver not etcd.
2015-03-16 09:23:27 -07:00
Justin Santa Barbara
2413d25d29
Create S3 bucket in us-east-1, unless set by AWS_S3_REGION
...
Buckets are globally named, so we want a single bucket for all our regions.
2015-03-16 08:37:06 -07:00
Derek Carr
440c720805
Merge pull request #5330 from zmerlynn/try_addons_again
...
Retry object creation with --validate in kube-addons
2015-03-16 10:43:39 -04:00
Vishnu Kannan
e89dd7e235
Updating heapster version to v0.9.
...
Updated the e2e test to work with the new version.
2015-03-14 19:00:18 +00:00
Victor Marmol
1a7f7245e7
Remove cAdvisor manifest from cluster startup.
...
cAdvisor is now integrated into the Kubelet and runs inside of it.
2015-03-13 16:06:42 -07:00
Zach Loafman
f2de7b4dcc
Add --can-ip-forward to master instance
...
Another piece missing in
https://github.com/GoogleCloudPlatform/kubernetes/pull/5390 . The
master should have --can-ip-forward if you're routing to it.
2015-03-13 15:17:07 -07:00
Alex Robinson
f6441a6d2f
Merge pull request #5376 from justinsb/aws_customize_s3_bucket
...
Allow the S3 bucket name to be specified via AWS_S3_BUCKET
2015-03-13 13:51:37 -07:00
Justin Santa Barbara
e3e6c8377f
Allow the S3 bucket name to be specified via AWS_S3_BUCKET
2015-03-13 16:44:26 -04:00
Filipe Brandenburger
0948cb745f
Merge pull request #5454 from jlowdermilk/get-password
...
Make get-password robust against invalid kubeconfig entries
2015-03-13 13:40:55 -07:00
Jeff Lowdermilk
8fef6fb343
Make get-password robust against invalid kubeconfig entries
2015-03-13 13:26:47 -07:00
Brendan Burns
966e8301a0
Add kubelet to the master.
2015-03-13 12:09:24 -07:00
Jeff Lowdermilk
9b55e1f176
Delete master route on kube-down
2015-03-13 11:00:19 -07:00
Vish Kannan
967f8df386
Merge pull request #5436 from lhuard1A/ssh-to-node_libvirt-coreos
...
Implement ssh-to-node, restart-kube-proxy and restart-apiserver functions in libvirt-coreos.
2015-03-13 09:42:04 -07:00
Lénaïc Huard
8cd105a42c
Implement ssh-to-node and restart-* functions in libvirt-coreos
...
in order to make the service.sh e2e test pass.
2015-03-13 15:48:35 +01:00
Satnam Singh
dfb9f2aa17
Revert "Revert "Actually update binaries during kube-push""
2015-03-12 18:04:36 -07:00
Satnam Singh
bb2c3037e0
Revert "Actually update binaries during kube-push"
2015-03-12 17:09:50 -07:00
Satnam Singh
c3951d7cf6
Merge pull request #5415 from zmerlynn/fix_binary_push
...
Actually update binaries during kube-push
2015-03-12 16:51:28 -07:00
Zach Loafman
b02188b7d8
Actually update binaries during kube-push
...
This was a dumb mistake during a re-factor of configure-vm. I tested
this early, re-factored the tail of this file, spot checked kube-push
and failed to test kube-push properly. My bad.
Fixes #5361 . Fixes #5408 .
2015-03-12 16:44:32 -07:00
Charles Butler
ea0978f4f2
Adds JUJU to the Kubernetes Provider listing
...
This feature adds Juju provisioning to the kube-up script. It currently
parses out the pre-requisits on debian/ubuntu based systems and installs
them if they are missing.
From there we followed the integration path that was found in the
libvirt-coreos path, implementing the methods found in the boilerplate
and calling juju service calls. There are a few "arbitrary sleeps" in
the code to allow the cloud provider to settle and properly deploy.
These are work-around cases from the script executing faster than juju
was able to communicate from the state server to subsequent nodes. I
left comments inline at these points.
To exercise this:
export KUBERNETES_PROVIDER=juju
cluster/kube-up.sh
It will spin up a ref arch with 1 Kubernetes Master, 2 minions, and run
the cluster validation checks against the deployment. Bridging the gap
between the juju specific bits and the upstream recommended guides for
getting started with Juju.
To note, if you do not have a "current environment" set in Juju, it will
spin up the quickstart integration wizard in interactive mode, allowing
you to configure juju, and add the proper provider/use it. Otherwise it
assumes you're in the provider you wish to use, and will deploy there.
2015-03-12 19:34:03 -04:00
Eric Tune
2255e6f757
Fix ubuntu-cluster to use apiserver not etcd.
2015-03-12 15:10:08 -07:00
Brendan Burns
5d9fe6212c
Add MASTER_IP_RANGE to e2e.
2015-03-12 14:22:03 -07:00
Zach Loafman
9fc5262c14
Infer KUBERNETES_MASTER from hostname rather than requiring it to be explicit
...
This allows GKE to have the same YAML on both the master and nodes
2015-03-12 11:51:21 -07:00
Satnam Singh
4420e0452e
Merge pull request #5391 from justinsb/aws_options_doc
...
Initial WIP on documenting options for AWS clusters
2015-03-12 11:42:19 -07:00
Satnam Singh
e16bcceceb
Merge pull request #5390 from brendandburns/shell_sucks
...
Configure docker on the master like we do on workers.
2015-03-12 11:42:03 -07:00
Justin Santa Barbara
84314d3206
Initial WIP on documenting options for AWS clusters
...
Very incomplete, but a start.
2015-03-12 13:54:37 -04:00
Brendan Burns
17ff8fb421
Configure docker on the master like we do on workers.
2015-03-12 10:37:30 -07:00
Alex Robinson
55ed70f723
Merge pull request #5382 from justinsb/aws_image_by_region
...
Choose AWS image by region
2015-03-12 10:31:00 -07:00
Alex Robinson
bc655681fe
Merge pull request #5352 from zmerlynn/conditional_disk
...
Don't always run mount-master-pd
2015-03-12 10:19:04 -07:00
Alex Robinson
4ad0ec365e
Merge pull request #5378 from justinsb/aws_instance_type
...
Allow the AWS instance type to be specified via MASTER_SIZE, MINION_SIZE
2015-03-12 09:55:06 -07:00
Alex Robinson
9344934637
Merge pull request #5377 from justinsb/aws_s3_not_world_readable
...
Don't make the s3 bucket world-readable (just the files)
2015-03-12 09:52:38 -07:00
roberthbailey
d3b0c86624
Merge pull request #5380 from justinsb/clarify_aws_comment
...
Clarify comment
2015-03-12 17:43:43 +01:00
Justin Santa Barbara
70b448b5d0
Choose AWS image by region
...
Also update to the latest LTS image (fewer security updates needed)
2015-03-12 12:05:45 -04:00
Justin Santa Barbara
0330cf616a
Don't make the s3 bucket world-readable (just the files)
2015-03-12 11:52:56 -04:00
Justin Santa Barbara
f71e0eeb22
Allow the AWS instance type to be specified via MASTER_SIZE, MINION_SIZE
2015-03-12 11:52:06 -04:00
Justin Santa Barbara
41ed9e4fef
Clarify comment
2015-03-12 11:50:12 -04:00
Victor Marmol
c03b080328
Merge pull request #5332 from vishh/heapster_e2e
...
Adding a ginkgo version of monitoring e2e test
2015-03-12 08:37:45 -07:00
Rafał Sokołowski
871c5ddd65
Merge pull request #5368 from justinsb/allow_copy_paste_config
...
Don't print a full-stop after the conf filename, it make copy&paste hard
2015-03-12 16:24:51 +01:00
Justin Santa Barbara
c43e8b192f
Don't print a full-stop after the conf filename, it make copy&paste hard
2015-03-12 11:07:44 -04:00
Piotr Szczesniak
db5fc4ff90
Added label name to kube-dns service
...
It will be displayed in kubectl clusterinfo command.
2015-03-12 13:15:35 +01:00
Zach Loafman
d4f06cea9f
Don't always run mount-master-pd
2015-03-11 19:58:44 -07:00
Victor Marmol
23c9c405fb
Merge pull request #5347 from vishh/cleanup_firewall
...
Remove firewall rules for monitoring. Enable monitoring in other cluster providers
2015-03-11 18:31:04 -07:00
Saad Ali
7629b616a7
Merge pull request #5348 from dchen1107/docker
...
Check docker unixsocket periodically through monit. If failed, restart d...
2015-03-11 17:42:58 -07:00
Dawn Chen
fe9e0ca5ce
Check docker unixsocket periodically through monit. If failed, restart docker.
2015-03-11 17:20:03 -07:00
Vishnu Kannan
e7aca5c337
Enable heapster based cluster monitoring by default on other cluster providers, expect for GKE.
2015-03-11 23:34:04 +00:00
Vishnu Kannan
663bdb91c9
Remove monitoring firewall setup methods. Heapster anf Grafana are now accessible via the API server proxy.
2015-03-11 23:20:45 +00:00
Vishnu Kannan
425dd7e3ee
Adding a heapster ginkgo e2e test.
2015-03-11 21:47:47 +00:00
Zach Loafman
018b11bc3a
Retry object creation with --validate in kube-addons
...
The better solution is some fence with Salt, but the actual logs
provided in the bug don't support any race condition here, plus the
ordering in the Salt configuration seems correct.
We haven't seen this again in a while, but given the results of the
situation (a borked cluster), I'm proposing a relatively simple
workaround.
Fixes #4357 (dubiously)
2015-03-11 14:40:37 -07:00
Zach Loafman
e780592315
Merge pull request #5264 from jlowdermilk/kube-up
...
Standalone kubeconfig for gce kube-up (mulligan)
2015-03-11 11:46:45 -07:00
Eric Tune
5d31e1ab08
Merge pull request #5142 from derekwaynecarr/unify_admission_control_salt
...
Unify admission control plug-ins across providers
2015-03-11 09:31:43 -07:00
derekwaynecarr
64eca7393a
Update to use yaml quote
2015-03-11 11:07:36 -04:00
derekwaynecarr
f71a91a131
Fix regression introduced when moving to standalone salt
2015-03-11 11:06:00 -04:00
derekwaynecarr
20853410bd
Unify azure and aws admission control
2015-03-11 11:06:00 -04:00
derekwaynecarr
468bf1da75
Enable common set of admission controllers across salt providers
2015-03-11 11:06:00 -04:00
Kieran O'Mahony
2b05820619
Update SkyDNS version
...
I had some trouble with the kubernetes docker image for SkyDNS being outdated. In my experience the version in `kubernetes/skydns:2014-12-23-001` will not behave correctly if it manages to startup before etcd, for details see skynetservices/skydns#142
Updating to SkyDNS latest fixes this.
2015-03-11 09:46:46 +00:00
Zach Loafman
759e82c29f
Remove dep on yaml for GCE startup
...
Write out "yaml" in util.sh. Dying a little. :'(
Fixes #5258
2015-03-10 16:38:52 -07:00
Zach Loafman
7333d991fb
Revert "Fix need for yaml in GCE kube-up by importing PyYAML into third_party"
2015-03-10 15:42:28 -07:00
Jeff Lowdermilk
7db006ab1a
Generate standalone kubeconfig on kube-up, clear on kube-down.
...
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-10 14:23:34 -07:00
Zach Loafman
965f684e2f
Adjust kube-env.py to use third_party PyYAML
2015-03-10 13:53:13 -07:00
Jeff Lowdermilk
7358084fd5
Utilities to create and clear kubeconfig for use by kube-up scripts
2015-03-10 13:52:04 -07:00
Brian Grant
b3d3db08ef
Merge pull request #5064 from justinsb/ignore_stopped_aws_instances
...
Ignore EC2 instances that are stopped
2015-03-10 11:03:34 -07:00
Alex Robinson
6700a7f230
Merge pull request #5253 from satnam6502/fluentd
...
Modify Fluentd to ES setup to pass flags
2015-03-10 10:46:26 -07:00
Brendan Burns
00f3779c6f
Merge pull request #5119 from zmerlynn/salt_drones
...
Change GCE to use standalone Saltstack config
2015-03-10 10:29:59 -07:00
Satnam Singh
3ce0ede78e
Modify Fluentd to ES setup to pass flags
2015-03-10 10:11:26 -07:00
Alex Robinson
8fd33476f0
Merge pull request #5218 from satnam6502/fluentd-es
...
Change Fluentd config to read from head of Docker container logs
2015-03-10 09:57:02 -07:00
Zach Loafman
b31b633f85
One additional cleanup: Send only the master name, rather the internal
...
IP address. The configure-vm script can resolve this relatively easily
on the node. This is less painful for GKE, which creates all the
resources in parallel.
2015-03-10 09:04:29 -07:00
Zach Loafman
120dba474e
Change GCE to use standalone Saltstack config:
...
Change provisioning to pass all variables to both master and node. Run
Salt in a masterless setup on all nodes ala
http://docs.saltstack.com/en/latest/topics/tutorials/quickstart.html ,
which involves ensuring Salt daemon is NOT running after install. Kill
Salt master install. And fix push to actually work in this new flow.
As part of this, the GCE Salt config no longer has access to the Salt
mine, which is primarily obnoxious for two reasons: - The minions
can't use Salt to see the master: this is easily fixed by static
config. - The master can't see the list of all the minions: this is
fixed temporarily by static config in util.sh, but later, by other
means (see
https://github.com/GoogleCloudPlatform/kubernetes/issues/156 , which
should eventually remove this direction).
As part of it, flatten all of cluster/gce/templates/* into
configure-vm.sh, using a single, separate piece of YAML to drive the
environment variables, rather than constantly rewriting the startup
script.
2015-03-10 09:04:29 -07:00
Victor Marmol
6ba53b112f
Merge pull request #5221 from erictune/libvirt_fix
...
Remove unneeded --etc_servers flags.
2015-03-10 09:00:28 -07:00
Eric Tune
8d20282229
Kubelet and kube-proxy talk to apiserver not etcd.
2015-03-10 07:57:31 -07:00
derekwaynecarr
22e559d769
Provision network before kubelet
2015-03-10 10:30:50 -04:00
Satnam Singh
2486de1287
Change Fluentd config to read from head of Docker container logs
2015-03-09 23:25:52 -07:00
Justin Santa Barbara
a3ae480acc
Ignore EC2 instances that are stopped
...
Otherwise we pick up previous cluster instances (in EC2, stopped instances hang around for
a while - maybe 30 minutes?)
2015-03-09 19:03:46 -07:00
Eric Tune
761642a9e1
Remove unneeded --etc_servers flags.
...
Kubelet already has --api_servers flag.
Kube-proxy already has --master flag.
2015-03-09 18:02:51 -07:00
Satnam Singh
89bc7bbea9
Merge pull request #5154 from jlowdermilk/kube-up
...
Standalone kubeconfig for gce kube-up
2015-03-09 16:22:51 -07:00
Jeff Lowdermilk
4173d369aa
Generate standalone kubeconfig on kube-up, clear on kube-down.
...
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-09 16:02:00 -07:00
Jeff Lowdermilk
67a5bec192
Utilities to create and clear kubeconfig for use by kube-up scripts
2015-03-09 16:00:23 -07:00
Filipe Brandenburger
9ed827fb73
Merge pull request #5145 from dchen1107/containervm
...
Upgrade to latest containervm image: v20150305
2015-03-06 14:31:42 -08:00
Dawn Chen
38178299bb
Upgrade to latest containervm image: v20150305
2015-03-06 13:54:33 -08:00
derekwaynecarr
2ed8eed004
Make admission control plug-ins work from indexes
2015-03-06 09:36:57 -05:00
Brendan Burns
7cb70b0a98
Merge pull request #5114 from justinsb/aws_set_instance_names
...
Set AWS instance Names so they match the regex
2015-03-06 15:26:36 +01:00
Brendan Burns
4baa061130
Merge pull request #5123 from ZJU-SEL/hsm
...
Update the ubuntu-cluster docs and scripts to 0.12.0
2015-03-06 15:18:56 +01:00
rsokolowski
5aa46e6342
Update version of kube2sky to 1.1.
2015-03-06 10:00:57 +01:00
wizard
ca16a57b54
Add cleanup function to make the build.sh more robust
2015-03-06 12:10:37 +08:00
wizard
c80ef5de60
Make the k8s version configurable
2015-03-06 11:04:30 +08:00
Victor Marmol
79f2773745
Merge pull request #5120 from dchen1107/docker
...
monit health check kubelet and restart unhealthy one
2015-03-05 17:39:03 -08:00
Dawn Chen
7a47ea8913
Ask monit health check kubelet; if failed, restart.
2015-03-05 17:29:38 -08:00
Justin Santa Barbara
9adfee5ddb
Set AWS instance Names so they match the regex
2015-03-05 16:06:53 -08:00
Fabio Yeon
01f7d459d3
Add etcd server check at startup to kube2sky (with retry loop).
2015-03-05 11:43:16 -08:00
rsokolowski
5026142636
Crash kube2sky after repeated etcd mutation failures.
2015-03-05 08:31:14 +01:00
roberthbailey
83c3c53ff6
Merge pull request #5014 from justinsb/aws_cluster_push
...
Copy download-or-bust helper from gce to aws
2015-03-04 16:26:01 -08:00
Justin Santa Barbara
05d4aea3bf
Copy download-or-bust helper from gce to aws
...
During a push, we were wget-ing to <filename>.1, .2, etc, which wasn't working
2015-03-04 16:30:11 -05:00
Justin Santa Barbara
12e785c3b8
Implement restart-apiserver for AWS, fix comment
2015-03-04 15:35:29 -05:00
roberthbailey
abbd171fac
Merge pull request #4976 from dchen1107/docker
...
Removed staled docker artifacts on GCE minions.
2015-03-04 11:57:11 -08:00
Vish Kannan
5aed317ffc
Merge pull request #4853 from sub-mod/grafana_v1beta3
...
v1beta3 api json for grafana example
2015-03-03 15:43:16 -08:00
Brian Grant
8fd315e324
Merge pull request #4988 from justinsb/sync_aws_with_gce
...
Use new config file & sync with GCE script
2015-03-03 11:41:48 -08:00
Brian Grant
e1ad29e071
Merge pull request #4987 from justinsb/aws_ssh
...
Make public-ip detection more robust for AWS, enable SSH function
2015-03-03 11:41:05 -08:00
Brian Grant
fd551a2249
Merge pull request #4986 from justinsb/salt_master_by_ip
...
Use internal ip for connecting to salt master, with clearer env var
2015-03-03 11:39:50 -08:00
Brian Grant
a9afb3bb9a
Merge pull request #4984 from derekwaynecarr/fix_vagrant_instance_prefix
...
Further vagrant reliability improvements.
2015-03-03 11:39:05 -08:00
Satnam Singh
709476cb5b
Merge pull request #4657 from piosz/kubectl
...
Added new command clusterinfo to kubectl
2015-03-03 11:34:17 -08:00
Piotr Szczesniak
e92192d379
Added new command clusterinfo to kubectl
...
This is first version of the command. It prints IPs of master and cluster
services. Should be improved once generalized labels are implemented #341 .
It requires label kubernet.io/cluster-service=true set for cluster services.
Follow up cl after discussion in #4417 .
2015-03-03 20:14:24 +01:00
Justin Santa Barbara
6508ca78a5
Use new config file & sync with GCE script
2015-03-03 12:24:56 -05:00
Justin Santa Barbara
6b067b3c85
Make public-ip detection more robust for AWS, enable SSH function
2015-03-03 12:21:44 -05:00
Justin Santa Barbara
94a433157e
Use internal ip for connecting to salt master, with clearer env var
2015-03-03 12:18:12 -05:00
derekwaynecarr
35ab4ccc6d
Further vagrant reliability improvements.
2015-03-03 06:55:34 -08:00
Piotr Szczesniak
3abaa6b3c8
Added cluster-service lavel to monitoring services
...
Monitoring services will be now displayed in kubectl cluster command (#4657 ).
This partially addresses #4620
2015-03-03 10:44:46 +01:00
Dawn Chen
2a6b5a2262
Removed staled docker artifacts on GCE minions.
2015-03-02 23:24:29 -08:00
Satnam Singh
e918f36c2b
Fix URL for Elasticsearch
2015-03-02 15:57:12 -08:00
Jeff Lowdermilk
66dfbe900a
Merge pull request #4963 from roberthbailey/kubectl-proxy
...
Remove host ports from the update demo and update tests (take 2).
2015-03-02 15:16:04 -08:00
Daniel Smith
f278fbabb3
Merge pull request #4959 from satnam6502/proxy
...
Use proxy instead of load balancer for Elasticsearch and Kibana
2015-03-02 14:36:37 -08:00
Lénaïc Huard
d64f0f1183
Make libvirt-CoreOS cluster able to run e2e tests
2015-03-02 23:11:48 +01:00
Lénaïc Huard
c763fbf98a
Integrate SkyDNS in libvirt-coreos
2015-03-02 22:58:12 +01:00
Lénaïc Huard
7ce6f22687
Make kube-up wait for the libvirt-coreos cluster to be ready
...
so that validate-cluster passes.
2015-03-02 22:58:11 +01:00
Lénaïc Huard
a25f2ad28d
Add node monitoring and logging facilities to libvirt-coreos
...
Deploy cadvisor and fluentd on each minion.
2015-03-02 22:58:10 +01:00
Lénaïc Huard
9077c23277
libvirt-coreos: move all IP definitions in config-default.sh
2015-03-02 22:58:01 +01:00
Satnam Singh
72183c064c
Use proxy instead of load balancer
2015-03-02 13:44:41 -08:00
Brendan Burns
9f7b78b0a8
Merge pull request #4937 from thockin/plural_23_endpoints
...
Stop using named ports in examples and scripts.
2015-03-02 10:49:31 -08:00
Robert Bailey
5799dd5f7d
Remove host ports from the update demo and update tests (take 2).
2015-03-02 10:15:34 -08:00
Tim Hockin
e0e6741027
Stop using named ports in examples and scripts.
2015-03-01 21:30:45 -08:00
Tim Hockin
d46146da7d
Stop using Docker's -r flag
...
It has been deprecated since 1.3, replaced by restart policies. We are
not supporting docker < 1.3 any more.
2015-02-28 13:36:42 -08:00
derekwaynecarr
5fdf6b131c
Fix error provisioning kube-apiserver on vagrant
2015-02-27 10:17:46 -08:00
Jerzy Szczepkowski
7763570579
Print grafana address print in kube-up.sh.
...
Print grafana address print in kube-up.sh. Resolved #4721 .
2015-02-27 09:15:08 +01:00
Zach Loafman
08402d798c
Merge pull request #4876 from satnam6502/fluentd-gcp
...
Update Fluentd to Cloud Logging image
2015-02-26 18:34:27 -08:00
Satnam Singh
16f49f6d09
Update Fluentd to Cloud Logging image
2015-02-26 15:18:22 -08:00
Brendan Burns
dca88634ae
Merge pull request #4498 from lhuard1A/libvirt-coreos
...
Provide a way to create a multi-minions cluster on local VMs faster than with vagrant.
2015-02-26 14:42:05 -08:00
Brendan Burns
16b97a4a45
Merge pull request #4591 from derekwaynecarr/origin_example
...
WIP: Example running OpenShift Origin as pod on Kubernetes
2015-02-26 14:38:21 -08:00
Eric Tune
e77745672c
Merge pull request #4577 from satnam6502/cluster-name
...
Qualify the name of forwarding rules with INSTANCE_PREFIX
2015-02-26 13:17:49 -08:00
Daniel Smith
3038a5624e
Merge pull request #4859 from dchen1107/master
...
Move salt based clusters to Docker 1.5.0
2015-02-26 11:32:07 -08:00
Zach Loafman
e10f54eebf
Merge pull request #4762 from satnam6502/es-image
...
Make a Kubernetes specific version of an Elasticsearch Docker container
2015-02-26 11:24:09 -08:00
Dawn Chen
59a9030413
Move salt based clusters to Docker 1.5.0
2015-02-26 11:06:53 -08:00
Subin M
fc21144d4e
v1beta3 api json for grafana example
2015-02-27 00:10:08 +05:30
Zach Loafman
eedd9ec317
Merge pull request #4812 from rsokolowski/skydns-version
...
Update skydns's etcd to version 2.0.3
2015-02-26 07:00:58 -08:00
Zach Loafman
84a2a9766a
Revert "Remove host ports from the update demo and update tests"
2015-02-25 09:56:03 -08:00
rsokolowski
b05274e237
Update skydns's etcd to version 2.0.3
2015-02-25 18:22:23 +01:00
Rohit Jnagal
0bc98a75f4
Merge pull request #4769 from resouer/fix-mess
...
Fix commands order & add guide in k8s-ubuntu-cluster readme
2015-02-25 06:40:19 -08:00
resouer
031e75a02d
Delete extra spaces in configure.sh
2015-02-25 02:54:12 +00:00
Robert Bailey
dd87c247a5
Remove host ports from the update demo and update tests
2015-02-24 15:34:18 -08:00
resouer
ce6d3b7ea3
Fix commands order & add guide in readme
2015-02-24 10:36:07 +00:00
Satnam Singh
eda8a676f4
Make a Kubernetes specific version of an Elasticsearch Docker container
2015-02-23 18:41:56 -08:00
Satnam Singh
19b927ea57
Name a cluster and use it to make forwarding rules for GCE
2015-02-23 17:04:33 -08:00
Zach Loafman
9936f09b78
Merge pull request #4715 from a-robinson/gce-mount
...
Add the salt-overlay directory to the GCE master-pd and reserve the master's IP
2015-02-23 15:46:36 -08:00
Alex Robinson
6a18b74fa3
Minor reordering of GCE kube-up subcommands to keep them logically grouped.
2015-02-23 13:57:09 -08:00
Alex Robinson
953982f47f
Add the salt-overlay and /etc/salt directories to the GCE master-pd and reserve
...
the master's IP upon creation to make it easier to replace the master later.
This pulls out the parts of PR #3174 that don't break anything and will
make upgrading existing clusters in the future less painful.
Add /etc/salt to the master-pd
2015-02-23 13:56:11 -08:00
Vishnu Kannan
e9271dabde
Use heapster v0.8.
2015-02-23 18:11:02 +00:00
Zach Loafman
ea5d2f99ae
Merge pull request #4622 from satnam6502/cluster-logging
...
Update cluster logging documentation to use kubectl for public IPs
2015-02-23 09:57:46 -08:00
derekwaynecarr
87a41b0934
Improve vagrant reliablility, fix race condition with openvswitch and docker
2015-02-21 13:31:50 -05:00
derekwaynecarr
b8172f9fba
Example running OpenShift Origin as pod on Kubernetes
2015-02-20 15:35:35 -05:00
Zach Loafman
0563832ab3
Merge pull request #4627 from satnam6502/delete-logging-services
...
Delete cluster level logging services during kube down
2015-02-20 12:12:27 -08:00
Victor Marmol
ff7726d1ef
Merge pull request #4655 from saad-ali/fix2884quick
...
Add monit process monitoring for kubelet and docker
2015-02-20 11:07:06 -08:00
derekwaynecarr
be0e327088
Do not pass --kubeconfig during kube-up since shell script picks it up already
2015-02-20 12:11:05 -05:00
Victor Marmol
450aeb7bfc
Merge pull request #4654 from davidopp/somebranch
...
Have etcd listen on all interfaces so that monit probes succeed. Closes ...
2015-02-20 08:07:52 -08:00
David Oppenheimer
ba749284d0
Have etcd listen on all interfaces so that monit probes succeed. Closes #3852 .
2015-02-19 23:14:14 -08:00
saadali
4dea0488e6
Add monit process monitoring for kubelet and docker
2015-02-19 22:22:05 -08:00
Vishnu Kannan
e2cdcad555
Update to heapster version v0.7.
...
Added the new label required for cluster addon services.
Made Grafana UI accessble via the proxy on the api-server.
2015-02-20 03:22:41 +00:00
Satnam Singh
df2dfd6695
Add kubernetes.io/cluster-service label to cluster level logging services
2015-02-19 16:03:41 -08:00
Satnam Singh
434b74da63
Delete cluster level logging services during kube down
2015-02-19 14:30:53 -08:00
Tim Hockin
fcfe420685
Add cluster-service label to DNS
...
Also rename the rc, pod, and service, which I have meant to do for a long time.
2015-02-19 14:15:48 -08:00
Satnam Singh
b2fcb14db1
Update cluster logging documentation to use kubectl for obtaining the public IPs
2015-02-19 14:05:16 -08:00
Brendan Burns
e4e68e2fa5
Merge pull request #4138 from justinsb/fix_duplicate_master_arg
...
Remove duplicate --master arg from kube-scheduler
2015-02-19 11:58:23 -08:00
Brendan Burns
a57d6a10e5
Merge pull request #3922 from ZJU-SEL/ubuntu-cluster
...
Scripts to install k8s on ubuntu cluster with flannel network
2015-02-19 11:48:57 -08:00
David Oppenheimer
c99a37d3a3
Merge pull request #4587 from gmarek/client2
...
Fix monit config for etcd
2015-02-19 11:37:47 -08:00
Yu-Ju Hong
cc6c48616b
Merge pull request #4584 from brendandburns/master
...
Remove kubecfg from the client tools we attempt to distribute.
2015-02-19 08:44:27 -08:00
gmarek
19b7c01084
Fix monit config for etcd
2015-02-19 13:11:43 +01:00
Lénaïc Huard
ce7a993269
libvirt-coreos cluster provider
...
libvirt-coreos is a cluster provider for kubernetes that starts local VMs and
runs kubernetes on it.
Its goal is to provide a multi-machines environment to develop and test kubernetes.
The purpose is mostly the same as the vagrant provider but with a big focus on
efficiency. The vagrant cluster takes a long time to boot and consumes a huge
amount of disk space. libvirt-coreos aims at being cheaper. As a consequence,
libvirt-coreos allows to start bigger clusters with more minions than vagrant.
2015-02-19 12:44:35 +01:00
Brendan Burns
c9657cad04
Merge pull request #4319 from justinsb/aws_fixes
...
Fixes to get AWS tests to run
2015-02-18 22:43:46 -08:00
Brendan Burns
664de16c81
Remove kubecfg from the client tools we attempt to distribute.
2015-02-18 22:26:26 -08:00
Zach Loafman
6af6de30a8
Merge pull request #4550 from brendandburns/master
...
Add a missing implementation from GKE clusters.
2015-02-18 14:37:16 -08:00
Brendan Burns
dd912936bc
Add a missing implementation from GKE clusters.
2015-02-18 13:40:00 -08:00
Prashanth Balasubramanian
6fb36dc0bc
Teach kubectl to avoid local/util, since its gone.
2015-02-18 12:43:20 -08:00
Huamin Chen
3454e4e189
remove reference to local from KUBERNETES_PROVIDER comment
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-02-18 11:45:56 -05:00
Xingyu Chen
aeeebe2126
finish the multinode ubuntu k8s setup script and guide ,tested ok
2015-02-18 19:09:06 +08:00
Brendan Burns
eee9804e97
Strip whitespace that OS X inserts on wc calls.
2015-02-17 17:19:33 -08:00
Zach Loafman
fe5b257cfc
Merge pull request #4427 from satnam6502/e2e_cluster_logging
...
Enabled Elasticsearch cluster level logging for e2e test clusters
2015-02-17 14:32:26 -08:00
Tim Hockin
003c0986b4
Merge pull request #4478 from thommay/rackspace_cloud_base
...
Basic Rackspace cloud support
2015-02-17 13:41:31 -08:00
Alex Robinson
3043ae9144
Merge pull request #4492 from jlowdermilk/e2e
...
Cleanup resources after services/guestbook e2e tests.
2015-02-17 12:04:46 -08:00
CJ Cullen
47622092fd
Merge pull request #4164 from tkulczynski/mig
...
Use Managed Instance Group for managing Nodes in GCE
2015-02-17 12:01:48 -08:00
Tomek Kulczynski
bcadad2e2e
Use Managed Instance Group instead of manually creating Nodes in GCE
2015-02-17 20:33:31 +01:00
Jeff Lowdermilk
8ad671b01e
Cleanup resources after shell tests exit
2015-02-17 11:27:54 -08:00
Zach Loafman
b339882d9e
Merge pull request #4477 from chrishiestand/gcloud-preview-check-stderr
...
bugfix in util.sh, fix silent hang
2015-02-17 11:15:55 -08:00
Nikhil Jindal
b5f29b2fc7
Merge pull request #4479 from ed0t/patch-2
...
Update kube-controller-manager
2015-02-17 11:12:58 -08:00
Edoardo Tosca
4ec5bb04fd
Update kube-controller-manager
...
found typo. too many double quotes.
2015-02-17 11:09:22 +00:00
Thom May
8357e1521a
Basic Rackspace cloud support
...
This enables all but Load Balancer support for the Rackspace public
cloud platform.
2015-02-17 10:59:40 +00:00
Chris Hiestand
38aeb72bf7
bugfix in util.sh, fix silent hang
...
`gcloud preview --help >/dev/null 2>&1` would silently hang if the
preview component was not installed. Instead, let stderr flow normally.
to reproduce the bug and verify the fix:
1. gcloud components remove preview #answer yes
2. gcloud preview --help >/dev/null 2>&1 #note the hang, ^C
3A. gcloud preview --help >/dev/null #now prompts you to install preview component
the fix also works when run via "kube-up.sh"
alternatively: `gcloud -q preview --help >/dev/null 2>&1` will silently install
the missing preview component
2015-02-17 01:35:24 -08:00
derekwaynecarr
a0cb252d40
Fix vagrant cluster/kube-up
2015-02-16 18:34:50 -05:00
Jeff Lowdermilk
aa32f1b2ce
Retry #4337 : Make gce kubeconfig context include project
2015-02-13 13:31:50 -08:00
Satnam Singh
6625136d80
Enabled Elasticsearch cluster level logging for e2e test clusters
2015-02-13 11:15:47 -08:00
Jeff Lowdermilk
d528439ee5
Unbreak cluster/validate-cluster.sh
2015-02-13 10:48:32 -08:00
Eric Tune
7e6015141d
Merge pull request #4401 from jlowdermilk/local-kubeconfig
...
Make local clusters work painlessly with kubeconfig
2015-02-13 09:11:36 -08:00
Zach Loafman
e2ec52bfdf
Revert "Make gce's kubeconfig context include the gce project"
2015-02-12 17:01:06 -08:00
Jeff Lowdermilk
61cc821506
Make local clusters work painlessly with kubeconfig
2015-02-12 16:30:41 -08:00
Satnam Singh
edea91e519
Merge pull request #4337 from jlowdermilk/kubeconfig
...
Make gce's kubeconfig context include the gce project
2015-02-12 15:22:26 -08:00
Eric Tune
dd8f335380
Merge pull request #4376 from dchen1107/podstatus
...
Fix podstatus issue caused by docker's resource temporarily unavailable issue
2015-02-12 13:16:09 -08:00
Eric Tune
9e015fd216
Handle unset dollar-at.
...
When no args are passed to a script, "$@" is unset,
which causes a shell error in "nounset" mode.
This change passes an empty string to kubectl in that case
so it can print help.
2015-02-12 11:56:58 -08:00
Dawn Chen
23b8b5ea6a
Configure docker with larger open files.
2015-02-11 23:52:58 -08:00
Jeff Lowdermilk
41547a1152
Fix kube-up bug introduced by #4353
2015-02-11 17:44:28 -08:00
Eric Tune
59a06b5073
Don't set --etcd_servers argument for kubelet.
...
This is ignored by all recent kubelet versions when api_servers is
set. And it is set in this salt file.
2015-02-11 15:53:26 -08:00
roberthbailey
0194ed8575
Merge pull request #4353 from erictune/fix_get_password
...
Don't fail get-password when no current-context.
2015-02-11 15:25:24 -08:00
Eric Tune
c348b30f62
Update util.sh
2015-02-11 14:32:41 -08:00
Eric Tune
549504dfff
Don't fail get-password when no current-context.
2015-02-11 14:25:15 -08:00
Rajat Chopra
56462c020a
democratize restart-apiserver method across clouds
2015-02-11 13:44:43 -08:00
Justin Santa Barbara
cf470f7da4
Fixes to get AWS tests to run
...
They don't pass (yet), but they at least run!
2015-02-11 15:58:33 -05:00
Jeff Lowdermilk
3da5d27ab2
Make gce's kubeconfig context include the gce project
...
Change the .kubeconfig context that gce kube-up creates to project
+ instance prefix, so you can spin up clusters with the same name
in different compute projects without overwriting .kubeconfig.
2015-02-11 12:07:59 -08:00
Brian Grant
20f7cbb87b
Merge pull request #4291 from jlowdermilk/delete-kubecfg
...
Remove kubecfg, cleanup a few stray references.
2015-02-11 11:18:59 -08:00
Ryan Fowler
289e11ae6f
In Vagrant, copy $DNS_REPLICAS to /master-start.sh
...
DNS doesn't start without `DNS_REPLICAS`
2015-02-11 09:11:37 -06:00
Jeff Lowdermilk
197059b65d
Remove kubecfg, cleanup a few stray references.
2015-02-10 16:43:12 -08:00
Zach Loafman
6b3bb763f0
Merge pull request #4287 from derekwaynecarr/docker_group_gone
...
Docker 1.4.1 on Fedora no longer provisions a docker group
2015-02-10 14:28:02 -08:00
Zach Loafman
2fb4bd4724
Merge pull request #4286 from brendandburns/etcd
...
Add restart to the kube apiserver.
2015-02-10 12:09:34 -08:00
Clayton Coleman
dce4cd8b1d
Merge pull request #3613 from derekwaynecarr/namespace_as_kind
...
Namespace as kind
2015-02-10 14:49:58 -05:00
roberthbailey
1caf529102
Merge pull request #4273 from brendandburns/net
...
Add a simple driver to test cluster networking.
2015-02-10 10:07:32 -08:00
derekwaynecarr
46eb657722
docker does not provision a docker group anymore, so do not add vagrant user to it
2015-02-10 11:15:22 -05:00
Zach Loafman
2f231e0a2a
Merge pull request #4268 from rajatchopra/master
...
Fix vagrant networking round 2
2015-02-10 07:39:48 -08:00
Brendan Burns
c50e650d8b
Add restart to the kube apiserver.
2015-02-10 07:35:00 -08:00
derekwaynecarr
0bd0e12bbc
Add support for Namespace as Kind
...
Add example for using namespaces
2015-02-10 09:50:50 -05:00
Brendan Burns
abb0b24a98
Add a simple driver to test cluster networking.
2015-02-09 20:55:51 -08:00
Rajat Chopra
1d12cad456
Fix vagrant networking. Include the master as part of overlay. And remove STP for efficiency.
...
fix e2e services for vagrant
Kubelet should wait on SDN to finish
Do not require docker on master for default clouds
2015-02-09 14:37:27 -08:00
Ravi Sankar Penta
3a5ef05f64
Make periodic sync nodes from cloud provider optional.
...
--sync_nodes=false gives user flexibility to add/remove nodes in the
cluster using REST api/kubectl cli and at the same time can use
cloud provider for other resources like persistent disks, etc.
2015-02-09 13:42:44 -08:00
Zach Loafman
6b8c332cd3
Revert "Fix vagrant networking"
2015-02-09 13:40:11 -08:00
Clayton Coleman
d6069aa13a
Merge pull request #4204 from rajatchopra/master
...
Fix vagrant networking
2015-02-09 14:52:13 -05:00
Rajat Chopra
9f10108758
Kubelet should wait on SDN to finish
2015-02-09 11:22:14 -08:00
Satnam Singh
a57d4c593c
Report the found minions during validation of cluster
2015-02-09 10:19:04 -08:00
Rajat Chopra
db493dc6ce
stick to num_minions=1 for the default
2015-02-09 09:59:31 -08:00
Brendan Burns
a86f43bf53
rev the version for get-kube.sh
2015-02-06 22:14:58 -08:00
Rajat Chopra
a9d8713db4
fix e2e services for vagrant
2015-02-06 18:34:27 -08:00
Brendan Burns
49a9f8b512
Fix kube-up.sh for OS X.
2015-02-06 16:35:39 -08:00
Zach Loafman
c5fcd9d568
Merge pull request #4205 from jlowdermilk/gce-kube-up
...
Use kubectl config -o template to get password in gce kube-up
2015-02-05 18:43:32 -08:00
Rajat Chopra
b61ea1bbf1
Fix vagrant networking. Include the master as part of overlay. And remove STP for efficiency.
2015-02-05 17:41:27 -08:00
Tim Hockin
7c5625b2dd
Merge pull request #4120 from justinsb/fix_4118
...
Fix enable_cluster_dns test
2015-02-05 16:28:46 -08:00
Jeff Lowdermilk
122124f9e1
Merge pull request #4175 from wojtek-t/kubectl_silent
...
kubectl doesn't fail silently with no k8s master
2015-02-05 14:58:24 -08:00
Jeff Lowdermilk
8f6d9c1039
Use config output formatting to get password in gce kube-up
...
Gets rid of e2e dependency on pyyaml.
2015-02-05 14:54:45 -08:00
Wojciech Tyczynski
9d9bca9958
kubectl doesn't fail silently with no k8s master
2015-02-05 19:37:20 +01:00
Zach Loafman
0b456e40bf
Fix jenkins/hack/e2e.sh, log errors better
2015-02-05 09:16:11 -08:00
Zach Loafman
2f33c06c21
Remove cluster/test-network.sh
...
To fix this, it would be an alias for:
hack/ginkgo-e2e.sh -t TestNetwork
... which may not work on binary distributions, because it's relying
on test assets, so it probably shouldn't live in cluster/ ...
2015-02-05 08:14:39 -08:00
Filipe Brandenburger
7bb62cbfb3
Make e2e shell tests work standalone
...
Simply incorporate some of the boilerplate from hack/e2e.go into the
scripts in hack/e2e-suite.
Use environment variables with default values to allow overrides in
kubectl command line and to use a versioned package root.
Tested:
- Ran `go run hack/e2e.go -test` on a test cluster.
- Ran the test cases individually.
- Ran hack/e2e-suite/goe2e.sh -t Pods to confirm it takes arguments.
- Also fixed cluster/test-network.sh (which should be more and more irrelevant.)
2015-02-05 00:22:16 -08:00
Justin Santa Barbara
e72d3392cc
Remove duplicate --master arg from kube-scheduler
2015-02-04 19:05:05 -05:00
Satnam Singh
5691b535eb
Report the found minions during validation of cluster
2015-02-04 15:58:04 -08:00
Justin Santa Barbara
7790435915
Fix for bool vs string comparisons in salt templates
...
Fixes #4118
2015-02-04 14:09:10 -05:00
Zach Loafman
ffe6149d51
Merge pull request #4097 from jlowdermilk/fix-jenkins-e2e
...
Fix get-password for gce
2015-02-03 20:09:48 -08:00
Jeff Lowdermilk
06aa8bd164
Fixes get-password for gce
2015-02-03 19:38:24 -08:00
Zach Loafman
2f546ce649
Parameterize ENABLE_{NODE,CLUSTER}_{LOGGING,MONITORING} and LOGGING_DESTINATION
...
In config-{default,test.sh}. This will make it possible for e.g.
Jenkins to override LOGGING_DESTINATION. Also reorder the parameters
so they're in the same order across files for easier scanning.
2015-02-03 17:23:17 -08:00
Brendan Burns
baba7d6004
Merge pull request #4034 from jlowdermilk/kube-up
...
Use kubectl to manage config for gce clusters
2015-02-03 14:50:38 -08:00
Alex Robinson
793677e8e2
Merge pull request #4062 from dchen1107/image
...
Upgrade to container-vm-v20150129 image
2015-02-03 10:50:28 -08:00
Zach Loafman
ae27f29c56
Reinstate cluster logging URLs to the end of kube-up.sh
...
Adds labels to the services, waits for them to be created (which
should be instant, but just in case), query the forwarding rules like
as we did before.
Fixes #3893
2015-02-03 08:27:02 -08:00
Dawn Chen
f919b3e9c6
Upgrade to container-vm-v20150129 image
2015-02-02 16:57:43 -08:00
Jeff Lowdermilk
e0ec192869
Use kubeconfig to manage config for gce/e2e clusters
2015-02-02 15:02:25 -08:00
Justin SB
9a29d9f92a
Etcd data dir must be empty
...
Otherwise we get the error "unknown wal version in data dir /var/etcd"
When this is the homedir for etcd, e.g. .bashrc confuses it
2015-02-02 08:09:32 -08:00
derekwaynecarr
4dd50a18c3
Fix vagrant regression, add flag to easily enable v1beta3
2015-01-30 12:16:24 -05:00
Satnam Singh
db416c4f39
Merge pull request #3970 from justinsb/fix_aws
...
aws cluster/kube-up.sh fixes
2015-01-30 07:56:01 -08:00
derekwaynecarr
3cb015c09c
Missing boilerplate
2015-01-30 00:22:17 -05:00
derekwaynecarr
aef084bf9d
Various vagrant fixes, etcd 2.0
2015-01-30 00:15:34 -05:00
Satnam Singh
e619f303d7
Merge pull request #3960 from brendandburns/shell_sucks
...
Update etcd to version 2.0.0
2015-01-29 18:46:18 -08:00
Justin Santa Barbara
d8791acdba
Pause between launching master and minions
...
Salt does not retry if master is not ready, apparently
2015-01-29 21:08:27 -05:00
Brendan Burns
a20ca78fb3
Update etcd to version 2.0.0
2015-01-29 17:53:53 -08:00
Justin Santa Barbara
eb1d9d0a46
Add missing = to --machines arg
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
5d864b006a
Add aws to list of clouds that use tokens
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
51225c76da
Apply jbeda's conditional tar fix
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
3fb61912aa
Quote args in /srv/salt-overlay/pillar, add new vars
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
bb406ce87f
Allow # of minions to be configured
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
8058632f5f
Move tag creation & retry logic to a function
2015-01-29 20:35:36 -05:00
Justin Santa Barbara
2f195578cc
Create /srv/kuberentes/known_tokens.csv on AWS
2015-01-29 20:35:35 -05:00
Justin Santa Barbara
d20188c6d4
Create shared secret in AWS scripts
2015-01-29 20:35:35 -05:00
Justin Santa Barbara
bb0431dce8
Pass cloud & cloud_config to kube-apiserver for AWS
2015-01-29 20:35:35 -05:00
Tim Hockin
a1b51d9165
Maybe make services e2e test more resilient to GCE errors
2015-01-29 15:50:46 -08:00
Tim Hockin
35d59e6219
Merge pull request #3851 from satnam6502/bigcluster
...
Generate IP addresses for minions of large GCE clusters
2015-01-29 14:34:13 -08:00
Tim Hockin
d01ea11a6e
Merge pull request #3856 from smarterclayton/validation_logic_needs_cleanup
...
Validation of ObjectMeta is inconsistently applied
2015-01-29 14:12:44 -08:00
Clayton Coleman
053c2b2100
Fix grafana and heapster RC names
2015-01-29 16:26:39 -05:00
Brendan Burns
ca6576d060
Add a simple script for running go e2e tests against existing clusters.
...
Also add an even simpler script for testing the network setup.
2015-01-28 16:39:21 -08:00
Brendan Burns
bd802c41ff
Merge pull request #3863 from roberthbailey/get-kube
...
Add GKE as a provider to get-kube.sh.
2015-01-28 10:15:04 -08:00
Robert Bailey
83c8cda243
Add GKE as a provider to get-kube.sh.
...
Bump the default version from 0.7.2 to 0.8.1.
2015-01-27 22:08:22 -08:00
Brendan Burns
c7c11d7731
Add monit support for restarting etcd to the master.
2015-01-27 20:15:24 -08:00
Satnam Singh
72c1820055
Generate IP addresses for minions of large GCE clusters
...
Use env for for subnet size
2015-01-27 16:11:39 -08:00
Rob Landers
6461928e6b
fixes azure provisioning with portal created vnets
2015-01-23 22:04:00 -05:00
Vish Kannan
35d0042ccf
Merge pull request #3767 from vmarmol/clean
...
Update cAdvisor to 0.8.0.
2015-01-23 15:00:17 -08:00
Victor Marmol
94988aece2
Update cAdvisor to 0.8.0.
2015-01-23 11:11:15 -08:00
Vishnu Kannan
82bbb3e78b
Update monitoring components to the latest released versions.
2015-01-23 18:59:05 +00:00
Tim Hockin
61293afad6
better DNS docs
2015-01-22 12:18:25 -08:00
Zach Loafman
a305269e18
Deferred creation of SkyDNS, monitoring and logging objects
...
This implements phase 1 of the proposal in #3579 , moving the creation
of the pods, RCs, and services to the master after the apiserver is
available.
This is such a wide commit because our existing initial config story
is special:
* Add kube-addons service and associated salt configuration:
** We configure /etc/kubernetes/addons to be a directory of objects
that are appropriately configured for the current cluster.
** "/etc/init.d/kube-addons start" slurps up everything in that dir.
(Most of the difficult is the business logic in salt around getting
that directory built at all.)
** We cheat and overlay cluster/addons into saltbase/salt/kube-addons
as config files for the kube-addons meta-service.
* Change .yaml.in files to salt templates
* Rename {setup,teardown}-{monitoring,logging} to
{setup,teardown}-{monitoring,logging}-firewall to properly reflect
their real purpose now (the purpose of these functions is now ONLY to
bring up the firewall rules, and possibly to relay the IP to the user).
* Rework GCE {setup,teardown}-{monitoring,logging}-firewall: Both
functions were improperly configuring global rules, yet used
lifecycles tied to the cluster. Use $NODE_INSTANCE_PREFIX with the
rule. The logging rule needed a $NETWORK specifier. The monitoring
rule tried gcloud describe first, but given the instancing, this feels
like a waste of time now.
* Plumb ENABLE_CLUSTER_MONITORING, ENABLE_CLUSTER_LOGGING,
ELASTICSEARCH_LOGGING_REPLICAS and DNS_REPLICAS down to the master,
since these are needed there now.
(Desperately want just a yaml or json file we can share between
providers that has all this crap. Maybe #3525 is an answer?)
Huge caveats: I've gone pretty firm testing on GCE, including
twiddling the env variables and making sure the objects I expect to
come up, come up. I've tested that it doesn't break GKE bringup
somehow. But I haven't had a chance to test the other providers.
2015-01-21 12:25:50 -08:00
Joe Beda
d20b9d4567
Merge pull request #3666 from thockin/golang-static
...
Fix static builds in go1.4
2015-01-21 10:07:41 -08:00
Tim Hockin
4061de1ef2
Merge pull request #3510 from thockin/dns
...
Update DNS doc
2015-01-21 08:46:58 -08:00
Tim Hockin
0a538132cf
Fix static builds in go1.4
...
https://github.com/golang/go/issues/9344
2015-01-20 21:04:04 -08:00
Joe Beda
4357e9b154
Fix SSH for vagrant.
...
This is used as part of the services.sh test.
2015-01-20 16:47:51 -08:00
Joe Beda
ae06ebc8ee
Fix iptables rule from when vagrant was reorganized.
2015-01-20 16:47:09 -08:00
Joe Beda
611be41aa5
Set VAGRANT_CWD so commands work from anywhere
2015-01-20 09:11:29 -08:00
Joe Beda
c5634e90ba
Verify cluster size before e2e
2015-01-20 09:11:29 -08:00
Andrew Seidl
6dee1d7fa4
Fix typos in user-facing strings
2015-01-18 01:32:34 -06:00
Tim Hockin
2367360321
Update DNS doc
2015-01-17 19:42:09 -08:00
Vishnu Kannan
50c32fbba4
Adding a replication controller for all monitoring pods.
...
Removed auth for Grafana to facilitate usage via service proxy on the api-server.
Added a grafana service
Removed elasticsearch dependency for monitoring - faster startup times.
2015-01-16 18:37:46 +00:00
Zach Loafman
43cd9e91f6
Revert "Adding a replication controller for all monitoring pods."
2015-01-16 07:16:54 -08:00
Satnam Singh
d443dd8ea6
Merge pull request #3489 from vishh/monitoring_rc
...
Adding a replication controller for all monitoring pods.
2015-01-15 18:18:54 -08:00
Vishnu Kannan
ca2267e3e9
Adding a replication controller for all monitoring pods.
...
Removed auth for Grafana to facilitate usage via service proxy on the api-server.
Added a grafana service
Removed elasticsearch dependency for monitoring - faster startup times.
2015-01-16 00:56:51 +00:00
derekwaynecarr
123c96164e
Disable defaults plugin
2015-01-15 19:42:20 -05:00
roberthbailey
5caeac7460
Merge pull request #3534 from satnam6502/validate-cluster
...
Fix Kubelet check in validate-cluster
2015-01-15 14:53:35 -08:00
bgrant0607
97c7758131
Merge pull request #3506 from satnam6502/kibana
...
Remove curl check from Kibana image
2015-01-15 13:45:20 -08:00
roberthbailey
0b9f6bc8bb
Merge pull request #3528 from satnam6502/fixoutput
...
Report project and zone only once for GCE
2015-01-15 13:35:48 -08:00
Satnam Singh
3765e83110
Fix Kubelet check in GCE validate-cluster
2015-01-15 12:55:21 -08:00
Satnam Singh
1bff012c36
Convert basic.sh e2e test to Go
2015-01-15 11:41:29 -08:00
Joe Beda
224ffa4567
Merge pull request #3480 from jbeda/all_pflag
...
Convert all main binaries to pflag library
2015-01-15 11:26:41 -08:00
Satnam Singh
9ba6525597
Report project and zone only once
2015-01-15 11:21:42 -08:00
Eric Tune
bc25748b36
Merge pull request #3472 from derekwaynecarr/default_cpu_mem
...
Admission control plugin for resource defaults
2015-01-15 09:35:17 -08:00
Joe Beda
7ee327146a
Fix typo in initd scripts
2015-01-15 09:12:20 -08:00
Joe Beda
228659a177
Fix up for posix flags
2015-01-15 09:12:19 -08:00
Satnam Singh
cd5a44e381
Remove curl check from Kibana image
2015-01-14 21:32:29 -08:00
Dawn Chen
ba8b4518c1
Upgrade OSS k8s on GCE to latest containervm image: container-vm-v20150112
2015-01-14 16:17:57 -08:00