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
Daniel Smith
4e539001df
Merge pull request #3473 from zmerlynn/fix_pd_sh
...
GKE: Fix unbound variable when pd.sh fails
2015-01-14 13:43:54 -08:00
derekwaynecarr
7f724867c2
Admission control plugin for resource defaults
2015-01-14 15:28:59 -05:00
Zach Loafman
8cf93288fa
GKE: Fix unbound variable when pd.sh fails
...
In the other providers, MINION_NAMES is bound early and detect_minions
is actually only used to detect the IPs of the minions, which is why I
didn't expect to need to call it. Move the initialization to
config-common.sh in GKE as well.
This follows the pattern of cluster/gce/config-{default,test}.sh
2015-01-14 12:18:47 -08:00
Robert Bailey
df03cc3e0c
Remove unnecessary loop.
2015-01-13 16:03:30 -08:00
Satnam Singh
295bd3768d
Launch Elasticsearch and Kibana automatically
2015-01-09 13:41:46 -08:00
derekwaynecarr
2d9977cf1a
Reduce number of minions to improve user experience
2015-01-09 13:00:48 -05:00
Brendan Burns
59aae065ac
Address comments.
2015-01-08 15:57:35 -08:00
derekwaynecarr
f6eb020198
Missing config vars in vagrant provision
2015-01-08 16:53:45 -05:00
Max Forbes
c3322bc97d
Make an 'allow-ssh-on-all-nodes' firewall rule when on a non-default network.
2015-01-07 18:08:38 -08:00
Zach Loafman
fbda9f4663
Merge pull request #3297 from mbforbes/addNet
...
GKE: Create network if needed.
2015-01-07 16:53:17 -08:00
Eric Tune
c2b3d678c0
Merge pull request #3248 from derekwaynecarr/admission_control_hooks
...
Implement basic admission control framework
2015-01-07 16:52:49 -08:00
Max Forbes
67f3414ede
GKE: Create network if needed.
2015-01-07 16:44:06 -08:00
Maxwell Forbes
c48536304a
Merge pull request #3296 from zmerlynn/fix_gke_network_sigh
...
GKE: Also need to muck with the firewall rule here
2015-01-07 16:30:19 -08:00
Zach Loafman
36e2886d95
GKE: Also need to muck with the firewall rule here
2015-01-07 16:12:20 -08:00
Tim Hockin
2c54dd5cb0
Merge pull request #3291 from zmerlynn/disable_gke_cluster_dns
...
Revert "GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP"
2015-01-07 16:06:50 -08:00
Zach Loafman
a203410f15
Revert "GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP"
...
We actually can't yet support cluster DNS inside GKE yet; it conflicts
with how we handle startup internally.
This reverts commit fdccfe970d
.
2015-01-07 14:50:10 -08:00
Daniel Smith
f5c179f83d
Merge pull request #3288 from dchen1107/cleanup
...
Using google/cadvisor:0.7.1 instead of :latest
2015-01-07 14:47:38 -08:00
Dawn Chen
6cb7f0451c
Using google/cadvisor:0.7.1 instead of :latest
2015-01-07 14:14:20 -08:00
Zach Loafman
15f0068c7d
Allow specifying GCE network in GKE provider, default to "e2e" for tests
2015-01-07 12:18:11 -08:00
derekwaynecarr
520ae3ef27
Implement basic admission control framework
2015-01-07 14:42:31 -05:00
Brendan Burns
3d8289258a
Merge pull request #3106 from brendandburns/simple
...
Add a script suitable for wget https://get.k8s.io | sh installation
2015-01-07 10:05:26 -08:00
Brendan Burns
1091744a5f
Address comments.
2015-01-06 15:02:32 -08:00
Satnam Singh
8ab2e9c61a
Use DNS for Elasticsearch
2015-01-06 07:33:48 -08:00
Brendan Burns
ab429598e7
Update to 0.7.2, forgot to push...
2015-01-05 21:40:46 -08:00
Zach Loafman
b8d3938e3a
Merge pull request #3193 from zmerlynn/fix_gke_unbound
...
GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP
2015-01-05 16:38:11 -08:00
Joe Beda
943ed6d289
Merge pull request #3146 from zmerlynn/limit_liveness_gke
...
GKE: Limit liveness.sh to server version >0.7.2
2015-01-05 14:41:39 -08:00
Zach Loafman
e965fc1f79
GKE: Limit liveness.sh to server version >0.7.2
...
What I really want is
https://github.com/GoogleCloudPlatform/kubernetes/issues/2953 , but
haven't had a chance to code that yet. Maybe it's time. (Then I'd
remove the provider-specific test and just say "is it > 0.7.2, or does
it claim to be capable of something from the future?" The latter
covers the HEAD server case .. though just bumping the server version
immediately after release might also accomplish that, too.)
2015-01-05 14:21:21 -08:00
Joe Beda
9aa48b7628
Move heapster data files to cluster/addons.
...
Also pretty up the JSON (make it real JSON) and streamline the sed in cluster/gce/init.sh.
2015-01-05 12:32:35 -08:00
Joe Beda
6df6aab077
Move DNS from contrib to cluster/addons
...
This fixes #3190 .
2015-01-05 12:32:35 -08:00
Tim Hockin
c908fbe59e
Merge pull request #3199 from a-robinson/disk-size
...
Allow for easily specifying the type and size of minion disks on GCE.
2015-01-05 12:07:18 -08:00
derekwaynecarr
9203e4143b
Put skydns in portalip range
2015-01-05 13:09:31 -05:00
Alex Robinson
8b38453501
Allow for easily specifying the type and size of minion disks on GCE.
...
Issue #3192
2015-01-03 16:57:16 -08:00
Zach Loafman
fdccfe970d
GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP
...
Fixes https://github.com/GoogleCloudPlatform/kubernetes/issues/3191
2015-01-03 07:41:09 -08:00
Dawn Chen
86aa38547c
Remove duplicate volumes type.
2014-12-30 14:40:16 -08:00
Tim Hockin
7dec65f535
Merge pull request #3156 from evenemento/master
...
Add missign network flag
2014-12-29 14:06:01 -08:00
Joe Beda
a2e58d490e
Merge pull request #2224 from thockin/dns
...
Enable DNS for services
2014-12-29 10:27:57 -08:00
Justin Santa Barbara
e682997b3d
Remove erroneous . from wget commands
...
wget always downloads into current directory
2014-12-29 12:19:45 -05:00
Tim Hockin
59164ca844
Make DNS an option for cluster turnup
2014-12-29 09:18:12 -08:00
Maciej Chmielarski
d6a747481c
Add missign network flag
2014-12-29 12:59:02 +01:00
Vishnu Kannan
2d5432bc91
update cadvisor static manifest file completely.
2014-12-25 18:22:59 +00:00
Brendan Burns
bbb6d97bb5
Add a script suitable for wget https://get.k8s.io | sh installation
2014-12-23 11:34:16 -08:00
Vishnu Kannan
9a4476a60c
Update cadvisor manifest to bind mount "/sys" from global namespace.
2014-12-22 23:49:22 +00:00
roberthbailey
9b6aec5e22
Merge pull request #3092 from zmerlynn/gke-kubectl-path
...
GKE: Adjust the PATH to the right kubectl for gcloud
2014-12-22 10:37:56 -08:00
Zach Loafman
e71798df3f
Adjust the PATH to the right kubectl for gcloud, add KUBECTL_PATH override
...
Force kubectl to the git repo version if we detect a built version.
Add a KUBECTL_PATH override so that system/home directory versions of
kubectl can be used if desired. Remove existing $HOME inference.
2014-12-22 10:14:32 -08:00
Zach Loafman
b3ce311fd8
Fix binary detection on GKE
...
* kubectl is kubectl.sh in the e2es, so not needed in the path
* Use the environment variable, and try to make sure the preview
component is installed.
2014-12-21 08:03:49 -08:00
saadali
ec6d4c6078
Fix kube-controller-manager failing to start because "Jinja variable 'cloud_config' is undefined"
2014-12-19 17:20:22 -08:00
Daniel Smith
55ad41b4f3
Merge pull request #3073 from rlarocque2/kubectl_scripts
...
Replace kubecfg with kubectl in setup scripts
2014-12-19 16:30:07 -08:00
Daniel Smith
3072453c83
Merge pull request #3072 from rlarocque2/remove_kubectl_echo
...
Remove debug print in kubectl.sh
2014-12-19 16:28:50 -08:00
Richard Larocque
9ac9c69534
Replace kubecfg with kubectl in setup scripts
...
Replaces two instances of kubecfg with kubectl in cluster startup and
validation scripts.
2014-12-19 16:10:21 -08:00
Richard Larocque
2bc41e1602
Remove debug print in kubectl.sh
...
Removes a debug print that (it seems to me) was added in erro
as part of PR #3046 / commit c3efef8
.
2014-12-19 16:09:04 -08:00
Joe Beda
d8efaab679
Merge pull request #3068 from brendandburns/dutchcoders-master
...
Fix up AWS support...
2014-12-19 15:14:26 -08:00
Joe Beda
5038fc0ffa
Merge pull request #3056 from zmerlynn/testtar
...
Allow parameterization by environment in cluster/gce/config-test.sh
2014-12-19 14:38:03 -08:00
Brendan Burns
2369f0d50d
Update aws.
2014-12-19 14:16:57 -08:00
Zach Loafman
94545889fc
Allow parameterization by environment in cluster/gce/config-test.sh
...
Between this and careful use of "export HOME=/somewhere_else_for_auth/",
you can effectively get ghetto CLI profiles (for GCE tests).
2014-12-19 13:38:33 -08:00
Brendan Burns
824122f410
Merge pull request #2651 from justinsb/specify_zone_to_ec2
...
Specify AWS_DEFAULT_REGION to match configured region
2014-12-19 12:26:40 -08:00
Max Forbes
c3efef86d0
Add GKE as a provider.
2014-12-19 11:47:06 -08:00
Brendan Burns
bd712b61e6
Merge branch 'master' of https://github.com/dutchcoders/kubernetes into dutchcoders-master
...
Conflicts:
cluster/aws/config-default.sh
cluster/saltbase/salt/kube-controller-manager/default
2014-12-19 11:45:46 -08:00
bgrant0607
4943ee7b65
Merge pull request #3034 from a-robinson/pd-up
...
Store all of the master's persistent data on a separate "data" PD when running on GCE
2014-12-18 16:05:47 -08:00
Daniel Smith
cd2432891d
Merge pull request #3038 from vishh/fix_monitoring
...
Fix bug in gce monitoring setup.
2014-12-18 13:07:18 -08:00
Vishnu Kannan
aa7a311c34
Fix bug in gce monitoring setup.
2014-12-18 20:47:41 +00:00
Alex Robinson
f892e84e0a
Store all of the master's persistent data on a separate "data"
...
persistent disk when running on GCE.
I'll follow up soon with a second PR that enables kube-push to
completely bring down the master VM and replace it with a new one.
2014-12-18 20:24:57 +00:00
Jordan Liggitt
2de478f16c
Make cert CN unique to avoid certificate serial number clashes
2014-12-18 15:13:32 -05:00
Joe Beda
eed5252993
Merge pull request #3023 from tozd/fix-salt-deps
...
Add missing Salt requisites
2014-12-18 09:16:16 -08:00
Jernej Kos
430a04af45
Added missing Salt requisites.
2014-12-18 10:29:39 +01:00
CJ Cullen
90364b30b0
Only create a single firewall rule for all minions.
2014-12-17 17:10:07 -08:00
Joe Beda
428aeacf6d
Rework vagrant cluster set up.
...
* Have a single config file that mirrors other cluster providers
* Warn users not to use 'vagrant up' directly
* Allow 'extra' parameters to the docker daemon. Fixes #2685
* Renumbers things so that they are more sane. Master/minions are 10.245.1.x, container subnets are 10.246.x.1/24, portal is 10.247.0.0/16
2014-12-17 13:23:39 -08:00
Daniel Smith
8e33229792
Merge pull request #2991 from dchen1107/newdocker
...
Move salt based clusters to Docker 1.4.1
2014-12-16 16:57:31 -08:00
Filipe Brandenburger
da4967fe38
Merge pull request #2988 from jbeda/yaml-quote
...
Quote strings in bash populated YAML files.
2014-12-16 16:26:22 -08:00
Joe Beda
2fc02cb06a
Quote strings in bash populated YAML files.
...
Quoting is hard. When writing strings into YAML files, wrap them in single quotes. Also escape any embedded single quotes in those strings via a double signle quote ('').
2014-12-16 16:13:46 -08:00
Dawn Chen
c053ec63c5
Move salt based clusters to Docker 1.4.1
2014-12-16 15:54:26 -08:00
Joe Beda
911a437c1b
Make the test for the 'docker_opts' grain more robust.
...
Fixes #2982
2014-12-16 14:26:36 -08:00
Brendan Burns
58ba3c7faa
Merge pull request #2976 from dchen1107/newdocker
...
Move salt based clusters to Docker 1.4.0
2014-12-16 12:14:54 -08:00
Dawn Chen
04b136a7db
Move salt based clusters to Docker 1.4.0
2014-12-16 11:58:45 -08:00
Joe Beda
308b078ee7
Merge pull request #2857 from jainvipin/master
...
ubuntu getting started guide
2014-12-15 16:13:25 -08:00
Vipin Jain
cf24c77e78
ubuntu getting started guide
2014-12-15 15:43:35 -08:00
Brendan Burns
f2a5457296
Merge pull request #2952 from satnam6502/colour
...
Avoid redeclaration errors for kube-up.sh
2014-12-15 15:33:33 -08:00
Satnam Singh
c928c43a15
Avoid redeclaration errors for kube-up.sh
2014-12-15 15:23:04 -08:00
Steve Reed
eb0a11717f
Look up master node IP address in a loop
2014-12-15 14:38:30 -08:00
Joe Beda
056fdbb9b8
Merge pull request #2943 from brendandburns/flags
...
Add a log level flag.
2014-12-15 12:59:08 -08:00
Brendan Burns
878d85df0c
Add a log level flag.
2014-12-15 12:00:29 -08:00
Max Forbes
bea37d5b17
Fix up e2e tests.
2014-12-15 11:53:51 -08:00
Brendan Burns
19c88643b8
Merge pull request #2923 from satnam6502/kubelet-log
...
Collect Kubelet logs with Fluentd->(Elasticsearch|Cloud Logging)
2014-12-15 11:46:33 -08:00
Brendan Burns
68c1ac210b
Merge pull request #2940 from deads2k/deads-validate-cluster-broken
...
validate-cluster is broken for vagrant
2014-12-15 11:44:58 -08:00
deads2k
81e01e5099
validate-cluster is broken
2014-12-15 14:07:38 -05:00
deads2k
fd53795bc9
fix e2e for all providers except gce
2014-12-15 11:04:13 -05:00
Satnam Singh
b4fcdd7e47
Collect Kubelet logs with Fluentd->Elasticsearch and Fluentd->Cloud Logging
2014-12-14 01:47:48 -08:00
Satnam Singh
91a75c7620
Add missing detect-project to detect-minions
2014-12-12 15:29:58 -08:00
Filipe Brandenburger
d762dc46e9
Merge pull request #2816 from satnam6502/robust
...
Make multiple attempts to sanity check (GCE) and validate (ALL) cluster
2014-12-12 14:26:07 -08:00
Satnam Singh
1ce71d1e33
Make multiple attempts to sanity check (GCE) and validate (ALL) cluster
2014-12-12 13:53:57 -08:00
Joe Beda
c9acafc98a
Move salt based clusters to Docker 1.3.3
...
Part of #2896
2014-12-12 12:18:07 -08:00
Brendan Burns
9742911697
Only delete attached boot disks, don't delete other attached disks.
2014-12-11 17:09:53 -08:00
Filipe Brandenburger
45dbf16be7
Merge pull request #2803 from satnam6502/cluster
...
Make kube-down more robust for GCE provider
2014-12-11 15:39:22 -08:00
Satnam Singh
d0eeebaa66
Make kube-down more robust for GCE provider
2014-12-11 14:47:38 -08:00
Brendan Burns
6e397cfe31
Merge pull request #2870 from zulily/fix-rackspace-cloud-files-url
...
Fixes malformed OBJECT_URL in rackspace setup script
2014-12-11 13:18:26 -08:00
Steve Reed
4c312caeb0
Fixes the minion yaml as well
2014-12-11 13:01:05 -08:00
Steve Reed
d4f71b7d4a
Fixes malformed OBJECT_URL in rackspace setup script
2014-12-11 12:18:45 -08:00
Brendan Burns
149881e13e
Actually set repository QPS in the kubelet.
2014-12-11 12:06:40 -08:00
Joe Beda
89011f26f4
remove SSLv3 support in nginx config
2014-12-10 13:17:02 -08:00
Eric Tune
edeb96dca9
Merge pull request #2772 from rlarocque2/apiserver_auth
...
Implement apiserver communication for Vagrant
2014-12-10 07:13:40 -08:00
Daniel Smith
0f88d149cd
Merge pull request #2818 from dchen1107/containervm
...
Using container-vm-v20141208 as the default image on GCE.
2014-12-09 17:55:19 -08:00
Dawn Chen
d767e71475
Using container-vm-v20141208 as the default image on GCE.
2014-12-09 17:11:23 -08:00
Brendan Burns
3a7dd589d5
Merge pull request #2735 from erictune/proxy_no_etcd
...
Use apiserver instead of etcd for kube-proxy.
2014-12-09 15:27:20 -08:00
Joe Beda
09a8efefe9
Merge pull request #2791 from derekwaynecarr/salt_api_missing_cherrypy
...
Vagrant fix - Add python-cherrypy as explicit install for salt-api
2014-12-09 12:12:37 -08:00
Joe Beda
90f71ea4d9
Merge pull request #2805 from jlowdermilk/fix-salt
...
Fix conditional docker_opts in salt/docker/docker-defaults
2014-12-09 10:16:55 -08:00
Jeff Lowdermlk
0007257bce
Fix conditional on grains.docker_opts in docker-defaults
2014-12-08 16:42:41 -08:00
Brendan Burns
5b33534dcf
Merge pull request #2652 from justinsb/default_vpc_has_no_tags
...
Don't assume every AWS VPC has tags
2014-12-08 15:53:47 -08:00
Brendan Burns
30656d7522
Merge pull request #2653 from justinsb/default_cluster_monitoring
...
Default ENABLE_CLUSTER_MONITORING to false
2014-12-08 15:53:35 -08:00
derekwaynecarr
aacf2c2780
Add python-cherrypy as explicit install for salt-api
2014-12-08 11:36:26 -05:00
Brendan Burns
8364fa5c93
Fix detect-minions.
2014-12-05 15:42:28 -08:00
Richard Larocque
7d37b24cc7
Implement apiserver communication for Vagrant
...
This implementation is based on the GCE impementation from
618a367dbb48dbaa9c3b50e877858d854322fd0b.
2014-12-05 12:49:51 -08:00
Jeff Lowdermilk
a1faab9ffe
Merge pull request #2730 from satnam6502/scripting
...
Add missing project argument to gcloud commands
2014-12-04 14:30:20 -08:00
Satnam Singh
fcfdd48f8d
Add missing project argument to gcloud commands
2014-12-03 15:38:40 -08:00
Eric Tune
65b38e7af7
Use apiserver instead of etcd for kube-proxy.
...
For cloud-providers that use salt, have kube-proxy use
apiserver instead of etcd as a config source.
2014-12-02 22:21:01 -08:00
Satnam Singh
c2348052b0
Fix the addition of the logging.write scope to the MINION_SCOPES array
2014-12-02 20:25:26 -08:00
Brendan Burns
346dbc6de7
Merge pull request #2716 from zulily/fix-gce-provision-with-gcp-logging
...
Fix GCE scopes when using GCP Logging
2014-12-02 12:40:56 -08:00
Brendan Burns
b07515c5ea
Add some backward compatability for GKE.
2014-12-02 11:32:45 -08:00
Steve Reed
d229c5ba51
Proper appending of logging.write scope to array
2014-12-02 10:29:10 -08:00
Alen Komljen
d83d269c27
Remove empty lines when file is generated from jinja template
2014-12-02 15:00:58 +01:00
Joe Beda
f8505cd286
For GCE, allow insecure registries anywhere in 10.0.0.0/8.
2014-12-01 11:36:08 -08:00
Justin Santa Barbara
0b05068f40
Default ENABLE_CLUSTER_MONITORING to false
...
Otherwise kube-down fails because the variable is not defined
2014-11-27 18:07:51 -08:00
Justin Santa Barbara
a549468853
Specify AWS_DEFAULT_REGION to match configured region
...
The AWS CLI is configured with a default region, but it might not match
the configured Kubernetes region. Specify the region to be sure.
2014-11-27 17:56:14 -08:00
Justin Santa Barbara
f9a9c75697
Don't assume every AWS VPC has tags
...
The default VPC has no tags (by default), so we should use get()
2014-11-27 17:32:38 -08:00
Alen Komljen
249bbd7d9a
Remove unused nsinit salt state
2014-11-27 09:59:25 +01:00
Remco
83f3982eee
fix(aws): cloud provider wasn't set, corrected cloud config syntax
2014-11-26 17:30:35 +01:00
Remco
1265db9686
fix(aws): fix with non us standard region
2014-11-26 16:18:57 +01:00
Remco
6d79fab0c2
enhancement(aws): added logging variable and more verbose output
2014-11-26 16:18:26 +01:00
Remco
cbaa48bbc2
enhancement(aws): using iam role to pass aws credentials
2014-11-26 16:16:57 +01:00
Remco
2118c31bdb
enhancement(aws): checks for existing kubernetes vpc first
...
without this check, kube-up creates a new vpc every time. Now it will
reuse the vpc tagged Kubernetes.
2014-11-26 12:17:14 +01:00
Remco
72bd5311bf
fix(aws): error with other instances without tags
...
while starting the cluster, and having already other non-kubernetes
instances active without tags, an KeyError throwed.
2014-11-26 12:15:51 +01:00
Tim Hockin
47141f05c7
standard config opt names: logging
2014-11-25 17:41:53 -08:00
Tim Hockin
52ad94d766
standard config opt names: node monitoring
2014-11-25 17:39:28 -08:00
Tim Hockin
fad806d1d1
standard config opt names: cluster monitoring
2014-11-25 17:38:30 -08:00
Tim Hockin
e359ad5902
Change tabs to spaces
2014-11-25 17:36:41 -08:00
Joe Beda
6d65805508
fixup! Convert gcutil to gcloud compute
2014-11-25 15:20:01 -08:00
Joe Beda
6ba07b38fc
Convert gcutil to gcloud compute
2014-11-25 15:17:00 -08:00
Joe Beda
4a5a69b520
Upgrade docker to 1.3.2.
2014-11-25 14:46:25 -08:00
Joe Beda
2b712a744a
Fix up salt ordering dependencies in kube-apiserver/init.sls.
2014-11-25 14:46:25 -08:00
Joe Beda
12add3bc66
Merge pull request #2579 from brendandburns/e2e
...
Add an e2e test for gce pd.
2014-11-25 09:08:40 -08:00
Brendan Burns
e1764e2e01
Add an e2e test for gce pd.
...
Add an example for gce pd.
Add an extra log message.
2014-11-25 09:02:00 -08:00
Tim Hockin
f24ea5ce59
Merge pull request #2592 from dchen1107/mirror-registry
...
Enable Docker Cache for OSS on gce.
2014-11-25 09:23:40 +08:00
Dawn Chen
1900f0db98
Enable Docker Cache for OSS on gce.
2014-11-24 16:51:17 -08:00
Brendan Burns
ab3cfc5f75
Update the ubuntu AMI
2014-11-24 16:34:48 -08:00
Tim Hockin
b6d8215f3a
Merge pull request #2537 from dchen1107/mirror-registry
...
Enable docker registry cache. By default it is off
2014-11-25 03:46:35 +08:00
Dawn Chen
e13ce48676
Enable docker registry cache. By default it is off
2014-11-21 17:13:22 -08:00
Joe Beda
802d214ed0
Merge pull request #2461 from MSOpenTech/deploy
...
Bring Azure deploy scripts up to date
2014-11-20 17:15:44 -08:00
Joe Beda
658c5cdaaa
Check in default blank file for kubelet/kubernetes_auth
...
This lets us eliminate some per-cloud stuff in our salt. This is an alternate fix for #2475 .
2014-11-20 17:01:28 -08:00
Jeff Mendoza
d0586ed066
Azure review fixes.
2014-11-20 16:40:35 -08:00
derekwaynecarr
1a894741b2
Fix vagrant regression
2014-11-20 10:39:09 -05:00
Brendan Burns
927088de83
Fix etcd unpack by adding a explicit x flag.
2014-11-19 11:33:50 -08:00
Jeff Mendoza
5d62ac1a56
Fix Azure util.sh boilerplate.
2014-11-19 10:25:27 -08:00
Jeff Mendoza
8b0f263c00
Rearrange cluster sanity checks for Azure.
2014-11-18 22:37:06 -08:00
Jeff Mendoza
9934a0ace4
Update cert generation for Azure.
2014-11-18 14:10:50 -08:00
Jeff Mendoza
1ee5ab5e5e
Updates and formatting to azure scripts.
2014-11-18 14:10:18 -08:00
Eric Tune
67adf6473e
Don't reference non-existent token file if not GCE.
2014-11-18 00:23:41 -08:00
Eric Tune
46dcacfa93
Kubelet talks securely to apiserver.
...
Configure apiserver to serve Securely on port 6443.
Generate token for kubelets during master VM startup.
Put token into file apiserver can get and another file the kubelets can get.
Added e2e test.
2014-11-18 00:23:41 -08:00
Brendan Burns
5122e4cc3a
Remove deprecated nsinit from the node definition.
2014-11-17 22:20:57 -08:00
Brendan Burns
cea52d7e4f
Merge pull request #2409 from mattmoor/master
...
Implements a credentialprovider library for use by DockerPuller.
2014-11-17 21:53:25 -08:00
Matt Moore
0c5d9ed0d2
Implements a credentialprovider library for use by DockerPuller.
...
This change refactors the way Kubelet's DockerPuller handles the docker config credentials to utilize a new credentialprovider library.
The credentialprovider library is based on several of the files from the Kubelet's dockertools directory, but supports a new pluggable model for retrieving a .dockercfg-compatible JSON blob with credentials.
With this change, the Kubelet will lazily ask for the docker config from a set of DockerConfigProvider extensions each time it needs a credential.
This change provides common implementations of DockerConfigProvider for:
- "Default": load .dockercfg from disk
- "Caching": wraps another provider in a cache that expires after a pre-specified lifetime.
GCP-only:
- "google-dockercfg": reads a .dockercfg from a GCE instance's metadata
- "google-dockercfg-url": reads a .dockercfg from a URL specified in a GCE instance's metadata.
- "google-container-registry": reads an access token from GCE metadata into a password field.
2014-11-17 21:46:54 -08:00
Richard Larocque
914c5eb1f1
Chmod the right file in cluster/vagrant/util.sh
...
Most of platforms use ~/.kubernetes_auth, but Vagrant is different.
This commit fixes one instance where a setup script did not take this
difference into account.
2014-11-17 17:14:35 -08:00
Abhishek Gupta
65a4041d26
Fixing systemd service files to point to correct config/executors
2014-11-17 12:24:10 -08:00
Joe Beda
7b5a77c56c
Fix breakage when bringing down cluster.
2014-11-17 11:26:25 -08:00
Joe Beda
66d287f7e4
Merge branch 'rename-to-kube' of https://github.com/eparis/kubernetes into eparis-rename-to-kube
...
* 'rename-to-kube' of https://github.com/eparis/kubernetes :
rename kube server binaries to kube-
Conflicts:
docs/salt.md
2014-11-17 09:52:10 -08:00
Vladimir Shcherbakov
6ea7191592
deploy update
2014-11-16 23:56:15 -08:00
Joe Beda
c82bd2127f
Fix up formatting and sed usage for heapster deploy.
...
Also, 'sed -i' isn't supported well across BSD and GNU versions of sed. See http://stackoverflow.com/questions/5694228/sed-in-place-flag-that-works-both-on-mac-bsd-and-linux . And we were editing files that were checked in to git with a password. Instead, do this with class sed redirection in a temp dir.
Fixes #2400 .
2014-11-16 17:13:02 -08:00
Joe Beda
06d838ffb1
Merge pull request #2369 from jbeda/vagrant-fix
...
Vagrant fixes
2014-11-14 16:43:06 -08:00
Eric Tune
13345953e3
Merge pull request #2371 from dchen1107/upstream
...
Don't show Kubernetes username & password to console for heapster.
2014-11-14 10:50:36 -08:00
Brendan Burns
c2485a4056
Merge pull request #2147 from justinsb/ipv6
...
Initial ipv6 / iptables work
2014-11-14 10:34:37 -08:00
Dawn Chen
a9defc413a
Don't show Kubernetes username & password to console for heapster.
2014-11-13 23:08:55 -08:00
Joe Beda
5a0159ea00
Get Vagrant to start using TLS client certs.
...
Also fix up cert generation. It was failing during the first salt highstate when trying to chown the certs as the apiserver user didn't exist yet. Fix this by creating a 'kube-cert' group and chgrping the files to that. Then make the apiserver a member of that group.
Fixes #2365
Fixes #2368
2014-11-13 22:16:45 -08:00
Eric Paris
a99c3c7963
rename kube server binaries to kube-
...
apiserver becomes kube-apiserver
controller-manager -> kube-controller-manager
scheduler and proxy similarly.
Only thing I promise is that right now hack/build-go.sh and
build/release.sh exit with 0. That's it. Who knows if any of this
actually works....
2014-11-13 20:08:26 -05:00
Richard Larocque
63d6e7cd9f
make-cert.sh: Create directory before writing cert
...
Adds a "mkdir -p" to the make-cert.sh. This fixes an issue where the
script could fail if /srv/kubernetes did not exist previously.
2014-11-13 16:39:09 -08:00
Dawn Chen
8c358f0cae
Merge pull request #2357 from filbranden/monitoring
...
Fix bugs and improve monitoring support
2014-11-13 13:59:58 -08:00
Vishnu Kannan
46a22b3c44
Fix monitoring setup script.
...
Remove the firewall rule created for monitoring as part of kube-down.
Reuse master auth for Grafana.
2014-11-13 16:43:05 -05:00
Eric Tune
19ec2234f9
Make server certs accessible to apiserver user.
2014-11-13 13:02:48 -08:00
Joe Beda
ee2f030623
Give the API server access to TLS certs.
...
Moved the cert generation to a separate salt state and put it in a more appropriate sharable location (`/srv/kubernetes/`).
2014-11-12 18:14:24 -08:00
Dawn Chen
5ab6947bdd
Merge pull request #2307 from satnam6502/logbydefault
...
Turn on Elasticsearch logging by default for GCE platform
2014-11-12 10:03:06 -08:00
Dawn Chen
d71408f465
Merge pull request #2321 from jimmydivvy/fix_linux_md5sum
...
Strip extra '-' from md5sum output when creating S3 bucket
2014-11-12 10:00:13 -08:00
James Davies
ff5a425b67
Strip extra '-' from md5sum output when creating GCE projects
2014-11-12 17:04:01 +10:00
James Davies
945339362f
Strip extra '-' from md5sum output when creating S3 bucket
...
md5sum prints out the hash, followed by the filename. When piped in from
stdin, this equates to a '-' character.
cluster/aws/util.sh was incorrect including this '-' character as part
of the S3 bucket name, causing the script to fail on Linux machines with
the md5sum binary.
i.e. "s3://kubernetes-staging-0ac68d8c77915cc1069a9e2f5e1f1d2d -"
Fixed by using `awk` to return only the first column (up to the space)
2014-11-12 16:56:50 +10:00
Brendan Burns
4faefda415
Really fix the gce turn up script.
2014-11-11 20:55:12 -08:00
Joe Beda
21ff53c70b
Merge pull request #2311 from pietern/vsphere-curl
...
Use curl exclusively in vSphere deployment
2014-11-11 17:32:09 -08:00
Pieter Noordhuis
1df6f9ce6a
Use curl exclusively in vSphere deployment
...
This fixes #2295 .
2014-11-11 17:22:02 -08:00
Joe Beda
4f62efcc23
Fix kube-push.sh
2014-11-11 17:10:56 -08:00
Brendan Burns
fa8e0f6a6f
Merge pull request #2296 from brendandburns/fix
...
Fix paths for kubectl
2014-11-11 16:23:11 -08:00
Satnam Singh
d837f16045
Turn on Elasticsearch logging by default for GCE platform
2014-11-11 14:49:42 -08:00
Haney Maxwell
fae27e2f17
Clean up e2e test
2014-11-11 11:03:07 -08:00
Brendan Burns
0393212624
Fix paths for kubectl
2014-11-11 10:49:44 -08:00
Brendan Burns
48498cf9bb
Fix docs somewhat, add monitoring hooks.
2014-11-10 17:17:25 -08:00
Brendan Burns
62bd634c07
Update the AWS config.
2014-11-10 13:33:43 -08:00
Andriy Yurchuk
1ff79fdeb0
AWS support draft
...
Fix calling function before declaration
Set Name tags on instances
Hide import-key-pair error
Fix instances names resolution
Implement kube-down for AWS provider
Add cluster validation routines. Make changes according to #1255
Implement post-deployment cluster validation
Set proper master name in userdata scripts
Fix kube-down path in hint
Add getting started for AWS
2014-11-10 13:32:52 -08:00
Joe Beda
dba0f2d661
Fix typo in README
2014-11-10 13:09:58 -08:00
Brendan Burns
bdc4ab62c7
Merge pull request #2245 from jbeda/gcs-deps
...
Start pulling external dependencies from GCS where possible
2014-11-10 11:00:41 -08:00
bgrant0607
6c70227a2e
Merge pull request #2249 from satnam6502/salt
...
Make Docker container dirs writable for pos file
2014-11-08 11:56:48 -08:00
Satnam Singh
9fac9949b2
Make Docker container dirs writable for pos file
2014-11-07 17:42:48 -08:00
Joe Beda
a839599883
Install client tools on master.
...
We now include kubecfg and kubectl in "server binary" tar and place them into /usr/local/bin on the master.
2014-11-07 17:13:18 -08:00
Daniel Smith
d5c6499d93
Update scripts to expect versioned output in templates.
2014-11-07 16:47:22 -08:00
Joe Beda
887c9b18d6
Install Salt from debs on GCS.
...
Also make downloading more reliable and run 'highstate' after install for good measure. As part of this we no longer use gsutil to download and have to make 'staged' binaries in GCS publicly readable.
2014-11-07 16:16:45 -08:00
Joe Beda
d033dfcc2b
Load etcd tarball from GCS.
...
Also fix up comment about how to cache docker debs.
2014-11-07 13:43:07 -08:00
Vishnu Kannan
37af9210ba
Improve the monitoring setup script and fix bugs in the monitoring config.
2014-11-07 19:27:52 +00:00
Vishnu Kannan
ad9cb982e5
Add an option for enabling monitoring in gce/config-default.sh and disable it
...
for tests.
Updated heapster readme.
2014-11-07 00:47:56 +00:00
Vishnu Kannan
edf6d8ee3f
Use Heapster as an in-built monitoring solution for Kubernetes in GCE.
...
Users will have an option to enable it when they setup their cluster (kube-up).
2014-11-07 00:47:56 +00:00
Justin SB
ddaa716de1
Allow specification of docker daemon args
2014-11-04 14:12:59 -08:00
Justin SB
8e70a664e8
Extend container_bridge.py (salt lib) to support IPv6
2014-11-04 06:33:34 -08:00
Deyuan Deng
a7bdb362da
Fix local cluster scripts
2014-11-02 23:30:14 -05:00
Brendan Burns
8d34231381
Fix a bunch of places where the -machines flag was still attached to the apiserver.
2014-11-01 20:38:45 -07:00
Joe Beda
bbb66af3db
Merge pull request #2092 from jbeda/1729-hack-build
...
Rationalize `build` and `hack` directories
2014-11-01 18:02:12 -07:00
Joe Beda
5d33ce46cc
Rework hack/ and build/ directories.
...
* Rewrite a bunch of the hack/ directory with modular reusable bash libraries.
* Have 'build/*' build on 'hack/*'. The stuff in build now just runs hack/* in a docker container.
* Use a docker data container to enable faster incremental builds.
* Standardize output to _output/{local,dockerized}/bin/OS/ARCH/*. This regularized placement makes cross compilation work.
* Move travis specific scripts under hack/travis
With new dockerized incremental builds, I can do a no-op `make quick-release` in ~30s. This is a significant improvement.
2014-11-01 17:56:41 -07:00
Brendan Burns
f44bb9d673
Merge pull request #2104 from jbeda/gcs-docker-install
...
Get docker deb from GCS
2014-10-31 21:15:06 -07:00
Joe Beda
29455398e6
Get docker deb from GCS.
...
Also lock to 1.3.0 due to issues in 1.3.1 (docker/docker#8889 )
2014-10-31 16:27:00 -07:00
Deyuan Deng
019b7fc74c
Separate minion controller from master.
2014-10-30 20:24:15 -04:00
Joe Beda
4c8dbbc346
Use the Container VM image in the google-cloud project.
...
Fixes #2078
2014-10-30 11:29:25 -07:00
Joe Beda
78df01172a
Merge pull request #1747 from pietern/vsphere-binary-deploy
...
vSphere support for binary deploys
2014-10-29 16:52:12 -07:00
Filipe Brandenburger
5619fb2f45
Merge pull request #2046 from dchen1107/containervm
...
Using containervm image for gce by default
2014-10-29 14:49:17 -07:00
Pieter Noordhuis
918c8e2b96
Limit GCE specific mods to GCE
2014-10-29 12:39:07 -07:00
Pieter Noordhuis
5b22dd7631
Move customizations of /srv/salt to overlay
...
Also see #1783 .
2014-10-29 11:30:09 -07:00
Pieter Noordhuis
5ba3a551f9
Fix kube-push
2014-10-29 11:30:09 -07:00
Pieter Noordhuis
fa24face8c
Add 'portal_net' parameter to pillar
...
In preparation for #1402 .
2014-10-29 11:30:09 -07:00
Pieter Noordhuis
4a13d752ed
Copy release tars with scp
...
This displays a progress report, so any slowness can be attributed.
2014-10-29 11:30:09 -07:00
Pieter Noordhuis
a1c40922e0
Rely on ssh-agent for key management
2014-10-29 11:30:09 -07:00
Pieter Noordhuis
1152471db7
Split reactor files
...
There now are reactor files to run highstate on:
* New nodes only
* Master nodes
* Minion nodes
2014-10-29 11:30:09 -07:00
Pieter Noordhuis
e90f98a52c
Make vSphere scripts work for binary deploys
...
Fixes #1732 .
2014-10-29 11:30:08 -07:00
Brendan Burns
74998eead4
Merge pull request #2061 from brendandburns/master
...
Fix the etcd md5 since they uploaded a new binary.
2014-10-29 11:20:49 -07:00
Brendan Burns
c4d6f3a1cd
Fix the etcd md5 since they uploaded a new binary.
2014-10-29 11:18:37 -07:00
Dawn Chen
18685d49ed
Using containervm image for gce by default
2014-10-29 09:42:50 -07:00
Dawn Chen
03503a5627
Always check default-internal firewall absent or not; if not, create it
...
anyway.
2014-10-28 13:55:52 -07:00
Joe Beda
8100c063b8
Turn on auto security updates for debian based systems.
...
Fixes #2008
2014-10-27 13:49:51 -07:00
Clayton Coleman
bd1b3fb245
Vagrant util has minion query for ID, not Name
...
Related to the ID->Name refactor, noticed while running e2e
2014-10-23 23:12:04 -04:00
Daniel Smith
bfabb41604
New e2e script (in go this time) that doesn't completely suck
2014-10-23 11:03:30 -07:00
Joe Beda
33763d07b2
Fix e2e test for .ID->.Name change
2014-10-22 17:19:53 -07:00
Joe Beda
25b1eea116
Merge pull request #1832 from doublerr/rackspace_switch_to_coreos
...
Rackspace - Switch to CoreOS for standard cluster
2014-10-22 09:30:55 -07:00
derekwaynecarr
b836e31cf4
Fixup docker configuration for sdn
2014-10-22 11:32:38 -04:00
Brendan Burns
86e67c0fe2
Fix GCE since KUBE_ADMIN_TOKEN is never set, since get-admin-token is never called.
2014-10-21 21:13:24 -07:00
Satnam Singh
605314ff62
Second attempt at correctly unspecting FLUENTD_GCP
2014-10-21 14:58:03 -07:00
Joe Beda
da6866c720
Merge pull request #1931 from derekwaynecarr/fix_kubectl_for_vagrant
...
Fix kubectl flags for vagrant
2014-10-21 14:43:46 -07:00
derekwaynecarr
c929ec5a44
Fix kubectl flags for vagrant
2014-10-21 15:29:35 -04:00
Satnam Singh
ed58d024ca
Check to see if FLUENTD_GCP is defined before use
2014-10-21 12:18:42 -07:00
Clayton Coleman
fa4e186e54
Merge pull request #1911 from erictune/token_client
...
Handle auth files with BearerToken sections.
2014-10-21 14:08:42 -04:00
Satnam Singh
39212f5e2e
Flunentd to GCP logging node level configuration
2014-10-20 18:05:00 -07:00
Eric Tune
21dae01005
Handle auth files with BearerToken sections.
2014-10-20 17:02:03 -07:00
Satnam Singh
b7722a631d
Adjust test in salt file to use boolean value
2014-10-20 15:52:28 -07:00
Joe Beda
893e897d9b
Merge pull request #1913 from derekwaynecarr/move_network_closure
...
Do not require a writeable /vagrant
2014-10-20 15:04:43 -07:00
Joe Beda
60a8249bdf
Merge pull request #1891 from jbeda/vagrant-bash-fix
...
Make vagrant scripts work with bash 3
2014-10-20 14:52:12 -07:00
Joe Beda
ea95cefb91
Make vagrant scripts work with bash 3
...
Fixes #1890
2014-10-20 14:50:09 -07:00
derekwaynecarr
0d86be680b
Do not require a writeable /vagrant
2014-10-20 16:59:15 -04:00
Robert Bailey
216cc64975
Bump up the default machine size on GCP.
2014-10-20 13:02:28 -07:00
Daniel Smith
bf942e859f
remove old proxy code.
2014-10-20 11:28:12 -07:00
Ryan Richard
d513854851
Remove extra newline and update comments in util.sh
2014-10-20 12:18:34 -05:00
Ryan Richard
a26aefaa2e
Migrate Rackspace upload scripts to util.sh
...
The functions to upload built k8s tars to Cloud Files were incorrectly
placed in build/common.sh. These have been migrated to
cluster/rackspace/util.sh
2014-10-20 12:14:20 -05:00
Ryan Richard
0bfb5ae772
remove hardcoded cloudfiles path and fix PORTAL_NET
2014-10-20 12:14:20 -05:00
Ryan Richard
f2838483a1
Add Rackspace to build/release.sh
...
Updates to the build/release.sh scripts to upload build binaries to
Cloud Files.
2014-10-20 12:14:20 -05:00
Ryan Richard
a8bae68865
Rackspace - Switch to CoreOS for standard cluster
...
The Rackspace setup for Kubernetes now leverages CoreOS instead of Ubuntu. We've dropped Salt completely for our cluster.
2014-10-20 12:14:20 -05:00
bgrant0607
75e2cf8e12
Merge pull request #1826 from thockin/kubectl
...
add kubectl.sh
2014-10-16 13:02:13 -07:00
Mrunal Patel
f8845147f6
Need not add --ip-masq flag till fedora ships docker 1.3
2014-10-16 12:40:01 -07:00
Tim Hockin
bad0b72926
add kubectl.sh
2014-10-16 12:30:08 -07:00
Dawn Chen
a8a036a9e6
Disable --ip-masq for vagrand.
2014-10-16 12:17:18 -07:00
Dawn Chen
baf3bea79a
Set --ip-masq to false
2014-10-16 12:17:18 -07:00
Tim Hockin
5c4bd55273
Add vagrant support
2014-10-16 08:36:47 -07:00
Tim Hockin
1c2f04b8b7
Add e2e test
2014-10-16 08:36:47 -07:00
Tim Hockin
e907011111
Core support for ip-per-service
2014-10-16 08:36:47 -07:00
Joe Beda
3701c2ac0e
Add kubectl to build/release scripts.
...
Also Refactor build helpers into client/cross and server/linux. This make it easier to tell users what to build to get just the client binaries.
2014-10-15 16:50:17 -07:00
Joe Beda
81635a2549
Remove duplicate code for GCE cluster start
2014-10-15 10:21:22 -07:00
Joe Beda
9bb20b41ee
Break out dynamic salt files to enable clean kube-push.
...
This lets us blow away salt files and replace them with a new version while keeping a tree of "overlay" files that are cluster specific and generated at cluster up time.
Fixes #1783
2014-10-14 15:01:43 -07:00
derekwaynecarr
b8d2f08192
Fix race condition in start-up of salt-minion and salt-master
2014-10-14 12:41:45 -04:00
Joe Beda
b2395c76f2
Have build/make-cross.sh
copy binaries back over if using boot2docker.
...
Also clarified error message in cluster/kubecfg.sh.
2014-10-11 07:24:12 -07:00
Joe Beda
e397371b95
Fix up project hash on linux
...
Somehow this got dropped!
2014-10-10 14:24:35 -07:00
Joe Beda
96c1bc17ca
Set shell options for reliability.
...
Tweak a few other small things in our shell scripts.
2014-10-10 12:33:36 -07:00
Joe Beda
d43a6ec5a3
Standardize how we refer to the kubernetes root.
...
Now use $KUBE_ROOT as the variable pretty much everywhere.
2014-10-10 12:33:36 -07:00
Joe Beda
38d5906044
Clean up READMEs and broken stuff.
...
Move all support for clouds that are broken with this change into an `icebox` directory. We'll move that stuff back out as we fix it up.
2014-10-10 12:33:36 -07:00
Joe Beda
db14944f61
Fix up kubecfg.sh script to find correct binary.
2014-10-10 12:30:12 -07:00
Joe Beda
881cf80182
Vagrant now using pre-built binaries.
2014-10-10 12:30:12 -07:00
Joe Beda
15cd6f07d6
Use binary releases for cluster push scripts.
...
This is for GCE right now. Other clouds/clusters are probably broken.
2014-10-10 12:30:11 -07:00
Joe Beda
9a8807b033
get.docker.com is now the preferred place to get Docker
...
Update salt configs
2014-10-09 12:31:53 -07:00
Danny Jones
4ec25f3b81
Adds support for attaching GCEPersitentDisks
...
Adds GCEPersistentDisk volume struct
Adds gce-utils to attach disk to kubelet's VM.
Updates config to give compute-rw to every minion.
Adds GCEPersistentDisk to API
Adds ability to mount attached disks
Generalizes PD and adds tests.
PD now uses an pluggable API interface.
Unit Tests more cleanly separates TearDown and SetUp
Modify boilerplate hook to omit build tags
Adds Mounter interface; mount is now built by OS
TearDown() for PD now detaches disk on final refcount
Un-generalized PD; GCE calls moved to cloudprovider
Address comments.
2014-10-08 20:03:59 -07:00
Joe Beda
0de2ef496e
Merge pull request #1595 from thockin/flageq
...
Use '=' for flags or else parsing gets confused sometimes
2014-10-06 13:14:35 -07:00
Tim Hockin
440d14c239
Use '=' for flags or else parsing gets confused sometimes
2014-10-06 12:25:56 -07:00
Deyuan Deng
253907ab04
Add etcdctl in master
2014-10-04 11:26:01 -04:00
Joe Beda
90800bdc43
Merge pull request #1544 from justinlindh/configurable-sleep-interval
...
Add configurable sleep between polling intervals for GCE status
2014-10-03 09:36:39 -07:00
derekwaynecarr
1567ac0d74
Do not verify certs against vagrant
2014-10-02 15:38:16 -04:00
Justin Lindh
4f31b1918f
Add configurable sleep between polling intervals for GCE status
2014-10-02 12:47:40 -06:00
Joe Beda
c323179d9b
Don't print Kubernetes username/password to console.
...
It is too easy to copy/paste this on-line.
Fixes #1483
2014-09-29 13:18:29 -07:00
Joe Beda
648a400e36
Merge pull request #1492 from jbeda/backports-fix
...
Change back to generic image description now that GCE is fixed.
2014-09-29 12:27:51 -07:00
Jeff Mendoza
9eefbab575
Update default image used for Azure.
...
Fixes CVE-2014-6271.
Still vulnerable to CVE-2014-7169.
2014-09-29 11:43:10 -07:00
Joe Beda
7cadeb2af3
Change back to generic image description now that GCE is fixed.
2014-09-29 11:30:39 -07:00
Joe Beda
4ae3fa521e
For GCE hard code backports image version as autodetection is currently broken.
2014-09-29 10:31:34 -07:00
Joe Beda
81e91db697
Grab images as part of update e2e test
2014-09-26 14:31:12 -07:00
Brendan Burns
77d13db307
Fix the vagrant build.
2014-09-26 14:02:56 -07:00
Joe Beda
b3e7fd4209
Be more robust in how we pass flags.
...
Using the '=' form of a flag makes things better if we have an empty list of machines.
2014-09-25 11:52:18 -07:00
Brendan Burns
511ec280b9
Add a new network for e2e tests, to isolate it from any other cluster.
2014-09-24 22:37:19 -07:00
Brendan Burns
e21f5f7c8f
Fix the scripts.
2014-09-24 11:04:25 -07:00
Brendan Burns
8398dbd367
Fix the scripts.
2014-09-24 09:57:24 -07:00
Brendan Burns
cafd20b233
Complete the mitm prevention on GCE.
2014-09-23 16:51:04 -07:00
Brendan Burns
d38b498b0f
Add a script for generating CA signed certs, and a client cert.
2014-09-23 11:38:29 -07:00
Brian Grant
b9eee0f0c7
Replace --lines= with -n to fix tail on mac os.
2014-09-23 14:16:43 +00:00
Brian Grant
cf60f4fa7d
Fixes #1392 . Redirects error messages to stderr so users can see them.
2014-09-22 17:25:25 +00:00
Yves Junqueira
412aab302a
Fix typo in cluster/local/config-default.sh
2014-09-19 00:36:54 +02:00
Brendan Burns
bb829ce8f6
fix salt.
2014-09-17 17:13:41 -07:00
Brendan Burns
ffa4500e09
Add a salt flag for enabling privileged containers.
2014-09-17 14:25:28 -07:00
brendandburns
c74060d465
Merge pull request #1282 from derekwaynecarr/add_vagrant_to_docker_group
...
Add vagrant user to docker group
2014-09-15 17:07:02 -07:00
Brendan Burns
61e90fdaff
Fix the logrotate cron job.
2014-09-11 20:56:31 -07:00
Brendan Burns
76c0ce374d
Start log rolling for docker containers too. Fix logrotate for other daemons.
2014-09-11 15:47:06 -07:00
derekwaynecarr
63bd987561
Add vagrant user to docker group
2014-09-11 16:48:17 -04:00
derekwaynecarr
0c20fffa06
No DNS in vagrant cross minions, need explicit IP as host
2014-09-11 13:38:50 -04:00
Daniel Smith
b5c6edcd79
Merge pull request #1189 from simon3z/ovirt-cloud
...
Add support for oVirt cloud provider
2014-09-11 09:50:31 -07:00
Federico Simoncelli
320fd528e2
Add support for oVirt cloud provider
...
This patch adds the initial support for the oVirt cloud provider.
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2014-09-11 13:08:46 +00:00
Pieter Noordhuis
63ac1dc213
Update vSphere getting started doc
2014-09-10 00:17:41 +00:00
Brendan Burns
686c3bec84
Add initial logrotate support.
2014-09-09 13:35:06 -07:00
derekwaynecarr
f42fcef620
Add explicit flag to use openvswitch
2014-09-08 15:31:22 -04:00
Joe Beda
2978c9923e
Merge pull request #1203 from brendandburns/nginx
...
Update nginx to support websockets and not buffer watches.
2014-09-06 11:15:08 -07:00
Brendan Burns
e8afebf1e1
Update nginx to support websockets and not buffer watches.
2014-09-05 21:46:01 -07:00
Joe Beda
77488835fe
Merge pull request #1190 from derekwaynecarr/vagrant_cluster_hostname
...
Improve vagrant hostname support across cluster
2014-09-05 14:30:09 -07:00
Joe Beda
2edbfcf25d
Merge pull request #1188 from carlossg/detect-zone
...
[GCE] detect-master and detect-minions api calls should specify the zone
2014-09-05 14:24:49 -07:00
derekwaynecarr
7f75aae8ab
Improve vagrant hostname support across cluster
2014-09-05 16:39:39 -04:00
Daniel Smith
ee1c0838d8
Merge pull request #1142 from jbeda/tweak-demo
...
Improve update demo, support rolling template update
2014-09-05 10:07:58 -07:00
Joe Beda
ccfdf14097
Merge pull request #1155 from derekwaynecarr/improve_vagrant_startup
...
Improve kube-up to validate salt provisioned each machine
2014-09-04 13:39:34 -07:00
Joe Beda
c47b405841
Use KUBECFG instead of CLOUDCFG in scripts
2014-09-04 13:25:39 -07:00
Brendan Burns
4a934427db
Exclude vendored etcd.
2014-09-04 12:05:34 -07:00
Brendan Burns
3864cf453a
Fix travis and cluster installs.
2014-09-04 10:31:09 -07:00
derekwaynecarr
4b4be926f5
Improve kube-up to validate salt provisioned
2014-09-03 16:36:21 -05:00
Joe Beda
847c87faa8
Fix docker start after minion reboot on GCE/debian
...
Uncomment docker service state as it should no longer be affected by race bug in docker init.d start script. Also make sure that the docker service state depends on the cbr state.
Fixes #802
2014-09-03 11:11:28 -07:00
Ryan Richard
58b9b2fb88
switch kubelets to connect to etcd on cloud network
...
Previously we were connecting across the public interfaces. This will connect across eth2 and send communication over a private network.
2014-09-02 19:05:57 -05:00
Ryan Richard
0fed66a667
add sanity checking steps and fix KUBE_MASTER_IP
2014-09-02 19:05:56 -05:00
Ryan Richard
0b50244c72
workaround lack of jinja2.7 support
2014-09-02 19:05:56 -05:00
Carlos Sanchez
588a428175
[GCE] detect-master and detect-minions api calls should specify the zone
...
Otherwise KUBE_MASTER_IP and KUBE_MINION_IP_ADDRESSES may contain 'external-ip'
$ detect-master
Using master: kubernetes-master (external IP: external-ip)'
2014-09-02 13:47:26 +02:00
Filipe Brandenburger
54b2ed0078
Suppress non-error output of systemctl enable
...
The `systemctl enable` command ordinarily prints the `ln` command used
to enable the unit to stderr, but that's not ideal in the vagrant setup
because it gets printed in red, which should be reserved for errors, but
it's not a real error.
Set an environment variable to raise the log level to prevent `info`
messages from being printed to stderr (as they are not actually errors.)
I looked into the `systemctl` calls happening from the Salt setup script
to understand why they were not going to stderr, and it turns out the
Salt script will redirect all messages to stdout so they will all be
green regardless...
Tested:
- Started a fresh Vagrant cluster, confirmed no red messages in output
when creating the cluster successfully. Successfully started nginx
through Kubernetes using cluster/kubecfg.sh.
- Confirmed that the salt-api service was up after `vagrant up`:
$ vagrant ssh master -c 'systemctl status salt-api.service'
salt-api.service - The Salt API
Loaded: loaded (/usr/lib/systemd/system/salt-api.service; enabled)
Active: active (running) since Fri 2014-08-29 23:19:47 UTC; 11min ago
Main PID: 2090 (salt-api)
CGroup: /system.slice/salt-api.service
+-2090 /usr/bin/python /usr/bin/salt-api
+-2110 /usr/bin/python /usr/bin/salt-api
Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-29 16:44:05 -07:00
Joe Beda
843ae1fbe2
Rename output/
directory to _output/
...
go build ./... will ignore any directory starting with an underscore.
2014-08-29 14:44:55 -07:00
Filipe Brandenburger
c5520dd39d
Remove workaround for salt-minion startup in vagrant/provision-minion.sh
...
The workaround was not needed, as salt-minion was always correctly
started in the Vagrant minion setup.
The issue reported in #270 was clearly specific do System V style init
scripts and will not affect systemd.
Also remove the inaccurate comment from provision-master.sh, since -X
was not even really in use there.
Tested:
- Performed 3 full `vagrant up` and `vagrant destroy -f` cycles with at
least 3 minions and up to 6 minions in one case. Checked that
salt-minion was up in each of the minions using a `systemctl status
salt-minion` command.
- Started nginx on the cluster using cluster/kubecfg.sh, confirmed it
was up with `list /pods` and confirmed it was reachable using wget on
port 8080 of the minions.
Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-29 08:50:10 -07:00
Daniel Smith
93818a9ce0
Merge pull request #1095 from dchen1107/cleanup
...
Fixed kubelet /healthz by using healthz package
2014-08-28 17:25:56 -07:00
Joe Beda
2ac0770694
Make salt configs work with Jinja 2.6.
...
Fixes #1089
2014-08-28 16:54:14 -07:00
Dawn Chen
223fb6e610
Fixed kubelet /healthz by using healthz package
...
Fixed #1094
2014-08-28 15:34:39 -07:00
Clayton Coleman
2f74a15a7b
Merge pull request #1080 from filbranden/vagrant_salt_master1
...
Fix `which salt-master` warning in Vagrant startup
2014-08-28 13:17:34 -04:00
Ryan Richard
2565164a8d
Add Rackspace support for dev-build-and-up
2014-08-28 10:36:58 -05:00
Filipe Brandenburger
86c1ddc121
Fix which salt-master
warning in Vagrant startup
...
The `which` command in Fedora 20 (differently from the one in Debian)
prints to stderr when the binary is not found. Redirect both stdout and
stderr to /dev/null to prevent messages from being printed by `which`.
Check whether the binary exists or not by the exit status of `which`
(non-zero means the binary does not exist) instead of checking for empty
output.
Tested:
- Started a Vagrant cluster with `vagrant up` and confirmed these
messages were gone. Checked master and minions for Kubernetes
components using the systemd status commands.
- Confirmed that the same error message for salt-minion is also
suppressed from the output with this patch.
Fixes: Issue #1079
Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-08-27 23:15:08 -07:00
Clayton Coleman
f5a835b067
Merge pull request #978 from rajatchopra/podnet
...
Add IP per pod with Open vSwitch in Vagrant
2014-08-26 19:29:42 -04:00