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
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
CJ Cullen
90364b30b0
Only create a single firewall rule for all minions.
2014-12-17 17:10:07 -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
Max Forbes
bea37d5b17
Fix up e2e tests.
2014-12-15 11:53:51 -08:00
deads2k
fd53795bc9
fix e2e for all providers except gce
2014-12-15 11:04:13 -05:00
Satnam Singh
91a75c7620
Add missing detect-project to detect-minions
2014-12-12 15:29:58 -08:00
Satnam Singh
1ce71d1e33
Make multiple attempts to sanity check (GCE) and validate (ALL) cluster
2014-12-12 13:53:57 -08:00
Satnam Singh
d0eeebaa66
Make kube-down more robust for GCE provider
2014-12-11 14:47:38 -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
8364fa5c93
Fix detect-minions.
2014-12-05 15:42:28 -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
Satnam Singh
c2348052b0
Fix the addition of the logging.write scope to the MINION_SCOPES array
2014-12-02 20:25:26 -08:00
Steve Reed
d229c5ba51
Proper appending of logging.write scope to array
2014-12-02 10:29:10 -08:00
Joe Beda
f8505cd286
For GCE, allow insecure registries anywhere in 10.0.0.0/8.
2014-12-01 11:36:08 -08: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
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
Dawn Chen
1900f0db98
Enable Docker Cache for OSS on gce.
2014-11-24 16:51:17 -08:00
Dawn Chen
e13ce48676
Enable docker registry cache. By default it is off
2014-11-21 17:13:22 -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
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
Joe Beda
7b5a77c56c
Fix breakage when bringing down cluster.
2014-11-17 11:26:25 -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
Dawn Chen
a9defc413a
Don't show Kubernetes username & password to console for heapster.
2014-11-13 23:08:55 -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
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
Brendan Burns
4faefda415
Really fix the gce turn up script.
2014-11-11 20:55:12 -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
Joe Beda
dba0f2d661
Fix typo in README
2014-11-10 13:09:58 -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
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
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
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
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
Daniel Smith
bfabb41604
New e2e script (in go this time) that doesn't completely suck
2014-10-23 11:03:30 -07: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
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
Robert Bailey
216cc64975
Bump up the default machine size on GCP.
2014-10-20 13:02:28 -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
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
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
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
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
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
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
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
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
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
Brendan Burns
514f443854
Move healthz checking to cluster validation. Switch to code == 200
2014-08-20 15:52:29 -07:00
Brendan Burns
aa9d0d774c
Uniquify the http firewall rule between different runs of the e2e tests.
2014-08-19 16:35:11 -07:00
Tim Hockin
03ade159c3
Proper ip-per-pod on GCE.
...
Back out the second iptables rule, now that we know what the problem was - we
need to open a firewal rule on each minion.
2014-08-15 15:54:20 -07:00
Joe Beda
629f964791
Fix e2e teardown
2014-08-14 13:57:50 -07:00
Brendan Burns
9f49650fba
Add a tear down option to the e2e, that just tears down the cluster
...
Useful for cleaning state after failed runs.
2014-08-14 09:58:40 -07:00
Amy Unruh
f9bbddf892
minor docs/error msg cleanup
2014-08-06 15:43:27 -07:00
Tim Hockin
f9f8db5171
Fix indents
2014-08-04 11:42:33 -07:00
derekwaynecarr
69ae2fe4bb
Initial vagrant setup and e2e testing support
2014-07-24 16:32:36 -04:00