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