Commit Graph

1885 Commits (21f540194bd6e9664794bb9aa33aab1cd2384ad5)

Author SHA1 Message Date
Saad Ali 4d25121206 Merge pull request #9769 from brendandburns/secure
Revert the revert of https://github.com/GoogleCloudPlatform/kubernetes/pull/9761
2015-06-16 14:21:54 -07:00
Saad Ali 068000a8ba Merge pull request #9847 from mikedanese/apiserver-liveness-probe
add livenessProbe to kube-apiserver.manifest
2015-06-16 14:03:13 -07:00
Saad Ali 03af349173 Merge pull request #9758 from satnam6502/gcl-default
Make Google Cloud Logging the default for GCE
2015-06-16 13:47:56 -07:00
Saad Ali fc30ab308b Merge pull request #9886 from vishh/heapster_v0.14.1
Updating heapster version to v0.14.1.
2015-06-16 13:14:07 -07:00
Vishnu Kannan 31f7ea10c6 Updating heapster version to v0.14.1.
Adding a standalone version of heapster which exposes stats via REST API.
2015-06-16 11:56:23 -07:00
Saad Ali d31fd4035d Merge pull request #9227 from jlowdermilk/shell-cleanup
Remove the last provider-specific handling in kubectl.sh, ginkgo-e2e.sh
2015-06-16 11:55:47 -07:00
Saad Ali 41545d0a66 Merge pull request #9135 from jlowdermilk/fix-gce-kube-down
Fix route regexp for gce-kube-down
2015-06-16 11:54:45 -07:00
Jeff Lowdermilk e02483e3fe Fix route regexp for gce-kube-down 2015-06-16 11:25:43 -07:00
Jeff Lowdermilk 47901b7edd Remove the last provider-specific handling in kubectl.sh, ginkgo-e2e.sh 2015-06-16 10:58:04 -07:00
Saad Ali 27704beae5 Merge pull request #9856 from justinsb/spelling_mistakes
Minor typos in cluster/addons/README.md
2015-06-16 10:55:41 -07:00
Saad Ali 5596e6f789 Merge pull request #9493 from marekbiskup/testAddonUpdate
e2e test for addon upgrade
2015-06-16 10:50:15 -07:00
Justin Santa Barbara 0d2f587cea Minor typos in cluster/addons/README.md 2015-06-16 09:18:23 -04:00
Mike Danese 491eb5e583 add livenessProbe to kube-apiserver.manifest 2015-06-15 23:22:56 -07:00
Fabio Yeon bb659de2f1 Merge pull request #9832 from brendandburns/project
Add a missing ${PROJECT}
2015-06-15 19:35:32 -07:00
Fabio Yeon 9b3e9a509d Merge pull request #9616 from jeffbean/kube_addons
kube_addons - Adding variable with default for kubectl bin.
2015-06-15 19:31:42 -07:00
wizard 4e92f409a0 update docker k8s approach 2015-06-16 09:44:21 +08:00
Brendan Burns dea86ed926 Add a missing ${PROJECT} 2015-06-15 16:59:08 -07:00
Fabio Yeon 19a7e87c06 Merge pull request #9813 from dchen1107/cleanup
Using bigger nodes for e2e test on gce.
2015-06-15 16:08:35 -07:00
Fabio Yeon c4d040c720 Merge pull request #9745 from justinsb/aws_manage_route_table
AWS: Create our own route table & tag it for management
2015-06-15 15:18:39 -07:00
Dawn Chen c78ac489aa Using bigger nodes for e2e test on gce. 2015-06-15 13:39:45 -07:00
Fabio Yeon f033349bea Merge pull request #9746 from justinsb/aws_faster_tagging
AWS: delay less when creating tags
2015-06-15 13:34:44 -07:00
Fabio Yeon 8d2c7ff1d7 Merge pull request #9687 from satnam6502/fluentd-gcp
Adjust Fluentd source format for Docker files to be JSON for Cloud Lo…
2015-06-15 13:32:49 -07:00
Fabio Yeon 4fc1570dcc Merge pull request #9747 from justinsb/aws_dont_register_master_kubelet
AWS: Stop the master kubelet from registering as a node (like GCE does)
2015-06-15 13:30:54 -07:00
Satnam Singh 33311b46a2 Adjust Fluentd source format for Docker files to be JSON for Cloud Logging 2015-06-15 10:22:27 -07:00
Fabio Yeon 85cc14945e Merge pull request #9699 from a-robinson/heapster
Update heapster's combined googleinfluxdb version to 0.14.0.
2015-06-15 10:06:26 -07:00
Fabio Yeon 09af2bfd19 Merge pull request #9563 from BenTheElder/vagrant_certificates
Fix vagrant client authorization.
2015-06-15 09:57:32 -07:00
Fabio Yeon b1465aee0b Merge pull request #9738 from quinton-hoole/2015-06-12-fix-e2e-projects
Add missing gcloud --project flags introduced by PR #9016
2015-06-15 09:53:36 -07:00
Marek Biskup dcc4034d57 e2e test for addon update 2015-06-15 17:37:24 +02:00
Brendan Burns 2c59a3c4a4 Fix the scripts to default empty string if EXTRA_DOCKER_OPTS isn't set. 2015-06-12 21:47:30 -07:00
Brendan Burns 51b20b35e2 Revert "Revert "Optionalize (default false) --insecure-registry.""
This reverts commit 1645c9a9b8.
2015-06-12 21:00:16 -07:00
Dawn Chen 1645c9a9b8 Revert "Optionalize (default false) --insecure-registry." 2015-06-12 17:50:38 -07:00
Satnam Singh 7f24215761 Make Google Cloud Logging the default for GCE 2015-06-12 17:12:03 -07:00
Abhi Shah a6bed65f06 Merge pull request #9685 from brendandburns/secure
Optionalize (default false) --insecure-registry.
2015-06-12 17:06:32 -07:00
Abhi Shah 4da902c72e Merge pull request #9579 from doublerr/rackspace/update_flannel
simplify flannel configuration on rackspace
2015-06-12 16:58:36 -07:00
Abhi Shah 42be6db6e9 Merge pull request #9744 from ixdy/gcs-staging-path
Allow adding a suffix to the devel staging path for server tars on GCS.
2015-06-12 16:54:12 -07:00
Abhi Shah 65dca78ede Merge pull request #9735 from iterion/correct-ssh-user
Update SSH User for AWS Utils
2015-06-12 16:45:10 -07:00
Justin Santa Barbara 16d6ba8a9d AWS: Stop the master kubelet from registering as a node (like GCE does) 2015-06-12 18:33:45 -04:00
Justin Santa Barbara 6839ae9a44 AWS: delay less when creating tags
This is important because tag creation isn't atomic, and we want to minimize
the window in which we can leave 'dangling' resources around.
2015-06-12 18:32:55 -04:00
Justin Santa Barbara 1f04284508 AWS: Create our own route table & tag it for management 2015-06-12 18:32:10 -04:00
Jeff Grafton fcba3136d0 Allow adding a suffix to the devel staging path for server tars on GCS.
This is needed to allow multiple GCE e2e runs to occur using the same
project on Jenkins.
2015-06-12 15:18:47 -07:00
Abhi Shah d56a911b4e Merge pull request #9726 from cjcullen/fwfix
Make GKE-CI test firewalls work on Jenkins
2015-06-12 14:02:39 -07:00
Abhi Shah 8b235210c6 Merge pull request #9595 from mikedanese/gce-upgrade-bug
fix unbound variable bug in cluster/common.sh
2015-06-12 13:57:05 -07:00
Abhi Shah f345432b53 Merge pull request #9651 from brendandburns/rev-docker
Update Docker instructions.
2015-06-12 13:54:09 -07:00
Quinton Hoole 58885c7b48 Add missing gcloud --project flags introduced by PR 9016 2015-06-12 13:43:29 -07:00
Adam Sunderland 7760d079ae Update SSH User For Master SSH Check 2015-06-12 15:38:48 -05:00
CJ Cullen 6f30aa78a7 Make GKE-CI test firewalls work on Jenkins 2015-06-12 13:33:50 -07:00
Adam Sunderland d82bfffe9d Use RSA to Generate Fingerprint 2015-06-12 15:29:37 -05:00
Abhi Shah b3ab7d8db4 Merge pull request #9693 from zmerlynn/testing_container_vm
Update GCE/debian to container-vm-v20150611
2015-06-12 11:02:28 -07:00
Abhi Shah c08f202fb9 Merge pull request #9670 from cjcullen/fwfix
Apply test firewalls to both the new gke- node tags and the old k8s- tags
2015-06-12 10:13:46 -07:00
Brendan Burns 455a787c69 Add a missing $PROJECT to the tear down. 2015-06-12 09:28:25 -07:00
CJ Cullen 4e57dbdc26 Make GKE test firewalls work with new short-hash node names. 2015-06-12 07:46:41 -07:00
Brendan Burns dcb09e73a9 Aggressively delete a cluster template if it exists. 2015-06-11 21:31:31 -07:00
BenTheElder 4437312993 Fix vagrant client authorization. 2015-06-11 23:46:01 -04:00
Alex Robinson 8b1f2d2bf2 Update heapster's combined googleinfluxdb version to 0.14.0. 2015-06-12 01:32:50 +00:00
CJ Cullen 69f5765fa2 Apply test firewalls to both the new gke- node tags and the old k8s- tags 2015-06-11 18:07:10 -07:00
Quinton Hoole 60d3f91dea Specify project when checking for existance of instance group templates. 2015-06-11 16:40:21 -07:00
Brendan Burns 675d8378f2 Optionalize (default false) --insecure-registry. 2015-06-11 16:33:14 -07:00
Zach Loafman c031708219 Update GCE/debian to container-vm-v20150611
Updates:
- Docker 1.6.2
- /sys/fs/cgroup/memory/memory.use_hierarchy=1
2015-06-11 16:10:08 -07:00
Abhi Shah 0e3633d404 Merge pull request #9615 from vishh/heapster_v0.14.0
Update to heapster v0.14.0
2015-06-11 15:14:34 -07:00
Abhi Shah 82aa8f9984 Merge pull request #9371 from justinsb/aws_support_wheezy
AWS: Support wheezy, for parity with GCE
2015-06-11 15:08:32 -07:00
Jeff Lowdermilk 2af7dd5b57 Fix #9506 2015-06-11 14:12:02 -07:00
Mike Danese 8b337b0b3e fix unbound variable bug 2015-06-11 14:09:07 -07:00
Abhi Shah 9df284b19e Merge pull request #9572 from EricMountain-1A/libvirt-coreos-fix-dockeroptsquote
Fixes quoting on systemd drop-in for DOCKER_OPTS.
2015-06-11 11:27:33 -07:00
Abhi Shah 064e7146e1 Merge pull request #9481 from justinsb/aws_fix_push
AWS: Include (idempotent) ensure-temp-dir in upload-server-tars
2015-06-11 11:24:18 -07:00
Abhi Shah c5553af281 Merge pull request #9506 from cjcullen/resize
Make resize tests work on GKE
2015-06-11 11:05:07 -07:00
Abhi Shah 59a347d119 Merge pull request #9309 from saad-ali/issue9028
Enable InfluxDB/Grafana for GCE in addition to GCL. Disable GCM
2015-06-11 11:04:09 -07:00
Abhi Shah 30558d259d Merge pull request #9548 from brendandburns/docsfix3
Add instructions for validating the DNS server.
2015-06-11 10:53:45 -07:00
Justin Santa Barbara 4db5b6f465 AWS: Don't change the default OS
It may be that we should change the default, but that is a big move,
late in the day, and it warrants its own discussion.
2015-06-11 13:02:33 -04:00
Abhi Shah 6c7ee0b5ce Merge pull request #9639 from jlowdermilk/gke-provider
Allow gke provider to handle internal gcloud versions for testing.
2015-06-11 09:36:43 -07:00
Matt Bruzek 2576b56113 Fixing an error I saw in testing, that make clean resolves. 2015-06-11 10:14:06 -05:00
Marek Grabowski ccb1b658b2 Merge pull request #9658 from fgrzadkowski/fix_failing_firewall
Wait longer for firewall creation during e2e cluster setup.
2015-06-11 15:40:35 +02:00
Filip Grzadkowski f93895dd36 Wait longer for firewall creation during e2e cluster setup. 2015-06-11 15:38:35 +02:00
Brendan Burns 4b904c34a8 Update Docker instructions. 2015-06-10 21:40:06 -07:00
Vishnu Kannan a38204a498 Update to heapster v0.14.0 2015-06-10 16:38:34 -07:00
Jeff Lowdermilk ea6756210e Allow gke provider to handle internal gcloud versions for testing. 2015-06-10 16:23:32 -07:00
Brendan Burns ebe43fd5ca Add instructions for validating the DNS server. 2015-06-10 14:56:41 -07:00
Abhi Shah f4eb2f366f Merge pull request #9568 from marekbiskup/docker_log_rotate
rotate docker log
2015-06-10 14:50:07 -07:00
Jeffrey Bean 99f64a8a07 kube_addons - Adding variable with default for kubectl bin. Fixes #9599 2015-06-10 14:47:31 -07:00
Abhi Shah 53fa4e1366 Merge pull request #9383 from brendandburns/liveness
Add liveness checks to the controller-manager and scheduler.
2015-06-10 14:44:12 -07:00
Ryan Richard 0b26e4e301 simplify flannel configuration on rackspace 2015-06-10 16:07:23 -05:00
Deyuan Deng 396fabf2af Document why we use 'tr -d' instead of 'base64 w0' 2015-06-10 16:24:20 -04:00
Abhi Shah c8591bd323 Merge pull request #9491 from ArtfulCoder/etcd_log
Etcd log mount
2015-06-10 13:17:10 -07:00
Abhi Shah fdf2d6057f Merge pull request #9226 from erictune/makefile
Clarify where DNS resolution works.
2015-06-10 12:57:24 -07:00
Eric Tune 1c1272a3e4 Clarify where resolution works. 2015-06-10 12:55:49 -07:00
Eric Mountain 0fd26a5359 Fixes quoting on systemd drop-in for DOCKER_OPTS. 2015-06-10 13:51:54 +02:00
Marek Biskup 83f8cd148d rotate docker log 2015-06-10 12:19:13 +02:00
Mike Danese 1a6842e06e fix auth in gce/upgrade.sh 2015-06-09 22:33:34 -07:00
Justin Santa Barbara 8aae864784 AWS: Support wheezy, for parity with GCE 2015-06-09 23:45:41 -04:00
Brendan Burns 1d7e85b477 Pull out a deprecation message. 2015-06-09 18:19:56 -07:00
Robert Wilson c3579f76d9 Added vagrant-libvirt plugin to vagrant provider check in install script 2015-06-10 00:00:11 +01:00
Brendan Burns 9e198a6ed9 Purge cluster/kubectl.sh from nearly all docs.
Mark cluster/kubectl.sh as deprecated.
2015-06-09 13:35:52 -07:00
krousey 6a979704b7 Merge pull request #9419 from roberthbailey/kube2sky-secure-gce
Distribute the cluster CA cert to cluster addon pods through the kubeconfig file
2015-06-09 13:28:16 -07:00
Brendan Burns ff3f463e00 Add liveness checks to the controller-manager and scheduler. 2015-06-09 13:06:04 -07:00
krousey fba6462c0b Merge pull request #9377 from justinsb/aws_persistent_mounts
AWS: add mounts to fstab
2015-06-09 12:57:43 -07:00
krousey 02c9d2810d Merge pull request #9446 from ArtfulCoder/etcd_busybox
Build etcd image from busybox
2015-06-09 12:56:11 -07:00
CJ Cullen abc4e53648 Make resize tests work on GKE 2015-06-09 12:00:10 -07:00
krousey 82f922b61d Merge pull request #9378 from justinsb/aws_no_thin_on_wheezy
AWS: Disable thin LVM provisioning on wheezy
2015-06-09 10:01:04 -07:00
krousey e19e4bcd12 Merge pull request #9365 from justinsb/fix_9246
AWS: Only log "Starting cluster using os distro..." in kube-up
2015-06-09 09:51:22 -07:00
krousey 37ed34261e Merge pull request #9364 from justinsb/fix_aws_local_not_in_function
AWS: Fix script issue where local used outside of function
2015-06-09 09:50:43 -07:00
Justin Santa Barbara d92863523f AWS: Include (idempotent) ensure-temp-dir in upload-server-tars
This way we won't forget it.  Fixes kube-push, where I forgot it.
2015-06-09 11:10:15 -04:00
Robert Bailey aeb0068547 Add 'kubernetes' (the service name) and the master name as SANs on the
master's certificate.
2015-06-08 20:17:45 -07:00
Robert Bailey 2feb658ed7 Distribute the cluster CA cert to cluster addon pods through
the kubeconfig file. Use the $KUBERNETES_MASTER_NAME from the
kube-env for skydns, because it can't use the service name.
2015-06-08 20:17:45 -07:00
Abhishek Shah fe906677d4 Etcd log mount 2015-06-08 17:21:11 -07:00
krousey e14d9038fe Merge pull request #9367 from justinsb/aws_ssh_check
AWS: Check for SSH connectivity & better logging on failure
2015-06-08 16:48:04 -07:00
Abhishek Shah 193e078808 Build etcd image from busybox 2015-06-08 16:47:37 -07:00
krousey 8a9e0e00bf Merge pull request #9128 from marekbiskup/addonUpgrade
Addon upgrade (partial implementation of #8107)
2015-06-08 15:15:27 -07:00
krousey 7ab3106dae Merge pull request #9369 from justinsb/aws_mount_all_ephemeral
AWS: Mount ephemeral devices, even if not specified in the AMI
2015-06-08 15:11:01 -07:00
Justin Santa Barbara d955e532f9 AWS: Add mounts to fstab, to survive reboot 2015-06-08 18:07:22 -04:00
Justin Santa Barbara f6440247ca AWS: Don't thin provision LVM volume on wheezy
Thin provisioning isn't supported (unless you backport from jessie).

Just use normal LVM volumes with aufs.
2015-06-08 18:06:24 -04:00
krousey 5aa0219ada Merge pull request #9292 from cjcullen/test_pull_8946
Add an ssh tunnel option to the /proxy endpoint
2015-06-08 14:30:12 -07:00
Justin Santa Barbara 1c229e5284 Removed extra blank line in aws util.sh 2015-06-08 16:59:03 -04:00
Justin Santa Barbara 2619b6198a AWS: Mount ephemeral devices, even if not specified in the AMI
We mount up to 4; this covers almost all instance types.
2015-06-08 16:59:03 -04:00
Marek Biskup 13ba177668 kube-addon-update.sh 2015-06-08 15:10:40 +02:00
Justin Santa Barbara 72496e7368 AWS: Check for SSH connectivity & better logging on failure 2015-06-06 14:27:41 -04:00
Justin Santa Barbara a9e1e1033b AWS: Only log "Starting cluster using os distro..." in kube-up
Fixes #9246
2015-06-06 12:48:49 -04:00
Justin Santa Barbara 24de0b4598 AWS: Fix script issue where local used outside of function 2015-06-06 12:19:30 -04:00
Justin Santa Barbara 112a013567 AWS: Support different docker storage mechanism by setting DOCKER_STORAGE
For parity with GCE, we really want to support aufs.

But we previously supported btrfs, so we want to expose that.

Most of the work here is required for aufs, and we let advanced users choose
devicemapper/btrfs if they have a setup that works for those configurations.
2015-06-06 12:13:51 -04:00
saadali a839f47d4a Disable GCM for GCE 2015-06-05 17:54:06 -07:00
CJ Cullen 04cd9b3c75 Make sshproxy use a hostmount on master PD (don't spam sshKeys on upgrade/reboot).
Add comment describing what SSHTunnelList.Close() does.
Simplify util.FileExists.
2015-06-05 15:03:03 -07:00
CJ Cullen cb317604ab Some refactoring. Only selectively use ssh proxy.
Add NetworkName to gce.Config.
Add locking to uses of master.tunnels.
2015-06-05 14:55:16 -07:00
CJ Cullen 1ae8801387 Fix transport creation logic.
Refactor loadTunnels to allow one path for load, another for refresh.
Make SSHTunnelList.Close sleep for a minute before actually closing each tunnel.
2015-06-05 14:55:16 -07:00
CJ Cullen de9a5f43bc Specify sshUser, sshKeyfile in kube-apiserver manifest.
Trim space on ssh key so GCE doesn't treat it as 2 lines.
A couple other minor fixes.
2015-06-05 14:55:15 -07:00
CJ Cullen 82afaaf31d Mount cloud-config files for cloudproviders in kube-apiserver & kube-controllermanager. 2015-06-05 14:54:20 -07:00
Justin Santa Barbara 48e8a8b0ec AWS: Set up security groups, to mirror GCE firewalling
Some slightly fussy code to enable load-balancers to talk to
instances, but otherwise relatively simple.
2015-06-05 16:10:08 -04:00
Justin Santa Barbara 33a3d884f2 AWS: Filter by Cluster tag, rationalize EC2 abstraction
Whenever we do a list we now filter on tags so we only see resources relating
to our cluster.

Also, rationalize all the DescribeX calls:
 * They all take a request object (so that we can pass filters)
 * They do paging if that is required (and return the underlying resources)
 * They wrap any error with a "error while listing X: %v" message
2015-06-05 16:09:01 -04:00
Quinton Hoole 4384b57a27 Merge pull request #9327 from ArtfulCoder/srv_doc
README.md updated to explain SRV Record support.
2015-06-05 12:56:20 -07:00
Abhishek Shah bd36b0d315 README.md updated to explain SRV Record support. 2015-06-05 12:33:22 -07:00
Quinton Hoole 9ebeea1d83 Merge pull request #9303 from doublerr/rackspace/18.1
remove kube-register and update config-default
2015-06-05 11:58:05 -07:00
Quinton Hoole 21db71db1a Merge pull request #9073 from ArtfulCoder/srv_dns
SRV record support
2015-06-05 11:24:32 -07:00
Quinton Hoole 710df2b619 Merge pull request #9294 from justinsb/aws_ssh_key_fingerprint
AWS: Support multiple SSH keys (embed the hash in the name)
2015-06-05 09:37:31 -07:00
Abhishek Shah 7d0adbcb1c SRV record support 2015-06-05 09:31:07 -07:00
Ryan Richard ab0a3a1f84 remove kube-register and update config-default
* use newer rackspace cloud flavor names
* update coreos (beta) image id
* use NUM_MINIONS instead of RAX_NUM_MINIONS
2015-06-05 10:01:01 -05:00
saadali bc53533c83 Enable InfluxDB/Grafana for GCE in addition to GCM/GCL 2015-06-05 01:17:45 -07:00
Justin Santa Barbara d8dc416b5b AWS: Support multiple SSH keys (embed the hash in the name)
This should eliminate a nasty problem where the script doesn't cope well if
your keys don't match.
2015-06-04 21:40:57 -04:00
Quinton Hoole eef3283960 Merge pull request #9254 from justinsb/aws_sync_to_s3
AWS: Use s3 sync to optimize upload to s3 when nothing changed
2015-06-04 13:09:08 -07:00
Quinton Hoole 5ac1151c5d Merge pull request #9251 from satnam6502/fix-node-list
Fix node numbers for node list
2015-06-04 12:02:43 -07:00
Quinton Hoole a39a6013cb Merge pull request #8469 from satnam6502/heapster
Add explicit version to name of monitoring RCs
2015-06-04 10:42:54 -07:00
derekwaynecarr 2168cee414 Upgrade to Fedora 21, Docker 1.6, clean-up SDN 2015-06-04 10:59:23 -04:00
Justin Santa Barbara c92c63b3a9 AWS: Use s3 sync to optimize upload to s3 when nothing changed 2015-06-04 10:14:45 -04:00
Satnam Singh a1c2641b53 Fix node numbers for node list 2015-06-04 12:09:58 +01:00
Daniel Smith 1690617ee6 remove ro service 2015-06-03 16:45:54 -07:00
Brian Grant f8bf996000 Merge pull request #9211 from lavalamp/no-ro-nonbreaking
Nonbreaking pieces of #8155
2015-06-03 16:44:24 -07:00
Daniel Smith 40eb1599dd fix elasticsearch 2015-06-03 15:41:09 -07:00
Daniel Smith 5d6b8d7de6 doc updates 2015-06-03 15:41:09 -07:00
Brian Grant 984b779b05 Merge pull request #9192 from dchen1107/clean
Watch kubelet flag file, so restart kubelet upon changes.
2015-06-03 14:45:07 -07:00
Brian Grant a72be4667f Merge pull request #9157 from iterion/aws-elb-policy
AWS: Update Master IAM Policy to Include ELB
2015-06-03 12:35:03 -07:00
Brian Grant d37264edde Merge pull request #9158 from dchen1107/cleanup
stop monit kube-proxy on master node.
2015-06-03 12:13:17 -07:00
Adam Sunderland 2b4d37427e Update Master IAM Policy to Include ELB 2015-06-03 12:20:19 -05:00
Dawn Chen 1d94348023 Watch kubelet flag file, so restart kubelet upon changes. 2015-06-03 09:13:28 -07:00
Prashanth Balasubramanian f7c0f1c1e3 Set min-request-timeout in test clusters 2015-06-03 08:46:28 -07:00
Brian Grant d861631f08 Merge pull request #9142 from roberthbailey/kubelet-on-master
Prevent access to the /run and /exec endpoints on the master's kubelet
2015-06-02 22:55:06 -07:00
Brian Grant 36a4ece87a Merge pull request #9080 from thockin/dns-new-search-kubelet
Insert 'svc' into the DNS search paths
2015-06-02 22:54:07 -07:00
Brian Grant 3da686fea5 Merge pull request #8894 from cjcullen/kmaster2
Add an explicit variable to indicate whether an instance is master or not
2015-06-02 20:37:43 -07:00
Brian Grant e77ded1e84 Merge pull request #8649 from cjcullen/servicefix
Add an advertise-address flag
2015-06-02 19:54:28 -07:00
Brian Grant 21147d784a Merge pull request #9074 from roberthbailey/unbound-var
Don't assume that CA_CERT_BASE64 will be set.
2015-06-02 18:52:49 -07:00
Dawn Chen 301bed535e stop monit kube-proxy on master node.
Fixed #8783
2015-06-02 17:48:24 -07:00
CJ Cullen dcf5b16cea Add an explicit KUBERNETES_MASTER variable to the kube-env. 2015-06-02 17:17:02 -07:00
CJ Cullen 934c553c04 Clarify description/usage of --advertise-address, Master.PublicAddress 2015-06-02 15:23:32 -07:00
Robert Bailey 1dad552edc Prevent access to the /run and /exec endpoints on the master's kubelet
so that users can't run arbitrary code on the master.
2015-06-02 14:42:11 -07:00
Filip Grzadkowski 98115facfd Revert "Gracefully delete pods from the Kubelet" 2015-06-02 23:40:05 +02:00
CJ Cullen 085a48a70e Add an advertise-address flag. This allows the address that the apiserver binds
to (possibly 0.0.0.0) to be different than the address on which members of the cluster
can reach the apiserver (possibly not a local interface).
2015-06-02 14:33:15 -07:00
Brian Grant aa2f0be626 Merge pull request #8718 from vishh/kube2sky
Avoid making connections to the apiserver insecure by default in kube2sky
2015-06-02 14:11:58 -07:00
Brian Grant 5e5fe225d8 Merge pull request #9102 from ZJU-SEL/updateK8sversion
bump the ubuntu k8s version to 0.18.0
2015-06-02 10:40:54 -07:00
Brian Grant b7ae48eb1e Merge pull request #8641 from smarterclayton/gracefully_delete_pods
Gracefully delete pods from the Kubelet
2015-06-02 10:36:27 -07:00
Zach Loafman 6f1d60ed31 gke provider: Fix "gcloud .* describe" checks in util.sh
This basically prevents you from re-running e2es cross-project on the
GKE provider. (The current Jenkins jobs that have been moved to
different projects are working kind of accidentally.)
2015-06-02 07:03:32 -07:00
Filip Grzadkowski caafd28245 Retry downloading binary tars in case of unpack failure 2015-06-02 14:59:15 +02:00
wizard 73b7128941 bump the k8s version to 0.18.0 2015-06-02 13:18:45 +08:00
Tim Hockin be4b700ccb Document the supported DNS schema 2015-06-01 17:02:17 -07:00
Vishnu Kannan 404558f29c New release of kube2sky v1.8 2015-06-01 16:59:53 -07:00
Clayton Coleman f12a68cd60 Apply fix for #8642 to GracefulDeletion 2015-06-01 19:24:02 -04:00
Eric Tune 8195f13b86 Merge pull request #9063 from piosz/cluster_upgrade
Refactored kube-push.sh script
2015-06-01 13:47:15 -07:00
Eric Tune 43951b04d2 Merge pull request #9016 from goltermann/kube-down-fix
GCE kube-down.sh error fixes
2015-06-01 13:46:54 -07:00
Eric Tune a687d62b81 Merge pull request #9037 from rjnagal/monitoring
Fix cluster monitoring setup config.
2015-06-01 13:45:24 -07:00
Eric Tune 3c067b766a Merge pull request #8996 from manolitto/aws_cluster_monitoring_fix
aws: fix cluster monitoring (new option "influxdb" instead of "true")
2015-06-01 13:43:43 -07:00
Piotr Szczesniak 0142e4c9c2 Refactored kube-push.sh script
The script allows also to push binaries only to the master or specified node.
Added support for released tars.

Introduced new push methods and implemented them for GCE.
2015-06-01 21:21:00 +02:00
Robert Bailey 0c62b71f8a Don't assume that CA_CERT_BASE64 will be set. 2015-06-01 11:35:26 -07:00
Eric Tune 5b3e01d2fd Merge pull request #8653 from matschaffer/s3-creation-wait
Check that s3 bucket has been created
2015-06-01 10:29:03 -07:00
Eric Tune be2e61d069 Merge pull request #8986 from ZJU-SEL/fix-util.sh
Add trap-add in util.sh
2015-06-01 10:27:49 -07:00
Eric Tune c1d0a48075 Merge pull request #8912 from justinsb/volumes_kubelet_root_not_symlink
Ensure kubelet root is not a symlink
2015-06-01 09:24:32 -07:00
Eric Tune 84dfa9b1b8 Merge pull request #8958 from mbruzek/build-local
Use locally built kubernetes binaries in charms
2015-06-01 09:23:58 -07:00
Manfred Geiler 8c8f8feb62 aws: fix cluster monitoring ("none" instead of "false") 2015-06-01 09:12:41 +02:00
Rohit Jnagal 3659aef63a Fix cluster monitoring setup config.
Older options used to be true/false. Newer ones are none|influxdb|google.
2015-05-30 05:31:53 +00:00
Kris f4e2c738f6 Delete deprecated API versions
pkg/service:

There were a couple of references here just as a reminder to change the
behavior of findPort. As of v1beta3, TargetPort was always defaulted, so
we could remove findDefaultPort and related tests.

pkg/apiserver:

The tests were using versioned API codecs for some of their encoding
tests. Necessary API types had to be written and registered with the
fake versioned codecs.

pkg/kubectl:

Some tests were converted to current versions where it made sense.
2015-05-29 17:17:35 -07:00
Justin Santa Barbara c4a2631593 Mount logic breaks if /var/lib/kubelet is a symlink
Pass the correct kubelet root-dir on AWS
2015-05-29 20:13:09 -04:00
Matt Bruzek e32c9e4f10 Merge branch 'master' of github.com:GoogleCloudPlatform/kubernetes into build-local
Conflicts:
	cluster/juju/bundles/local.yaml
2015-05-29 17:36:48 -05:00
goltermann 4c19734b71 Fix kube-down errors for GCE 2015-05-29 14:12:22 -07:00
Matt Bruzek 774f7e3738 Changed a comment for flake8 reasons. 2015-05-29 15:26:07 -05:00
Rohit Jnagal 6274d845b9 Merge pull request #8931 from dchen1107/clean
Fix the race when monit is used to monitor services which are also
2015-05-29 11:23:21 -07:00
Rohit Jnagal 50b9d6284a Merge pull request #8681 from vmarmol/system-container
Create a system container
2015-05-29 09:41:06 -07:00
Rohit Jnagal ff51f0b2e1 Merge pull request #8696 from derekwaynecarr/force_namespace_creation
Force explicit namespace provision, update e2e for failures
2015-05-29 09:28:47 -07:00
Wojciech Tyczynski 4fc38849ea Retry downloading tars in case of unpack failure 2015-05-29 13:06:24 +02:00
Manfred Geiler 635b6bc097 aws: fix cluster monitoring (new option "influxdb" instead of "true") 2015-05-29 11:15:21 +02:00
Wojciech Tyczynski 44360e401b Increase timeout for verifying clusters 2015-05-29 09:44:14 +02:00
resouer c86e626e35 Add trap-add in util.sh 2015-05-29 11:04:47 +08:00
Tim Hockin 677d0fdf87 Merge pull request #8782 from orangain/fix-kubectl-path-in-x86
kubectl's dir should be 386 not x86 in x86 enviroment
2015-05-28 16:59:25 -07:00
Tim Hockin ac3cc3c518 Rename PORTAL_NET all over 2015-05-28 16:10:44 -07:00
Tim Hockin 3005471100 Add new apiserver flags for clusterIP (nee portal)
Leave old flags but marked as deprecated
2015-05-28 16:10:44 -07:00
Tim Hockin 4318ca5a8b Rename 'portal IP' to 'cluster IP' most everywhere
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin 2c20c3664c Merge pull request #8902 from brendandburns/fix
Turn off certificate checking for Mavericks, as the curl is borked.
2015-05-28 15:32:50 -07:00
Tim Hockin 4ac239499b Merge pull request #8904 from justinsb/fix_8903
GCE kube-up; write the marker only after we have uploaded the file
2015-05-28 15:30:47 -07:00
Tim Hockin ba07e5d472 Merge pull request #8920 from whitmo/bundle-version-update
Update kubernetes version to 0.17.1 in bundle
2015-05-28 15:30:14 -07:00
Matt Bruzek f261702ef6 Adding kube-down logic to utils.sh to clean up. 2015-05-28 16:58:55 -05:00
Tim Hockin ccafaaf8ef Merge pull request #8729 from justinsb/gce_up_csv
Pass arg lists to gcloud as comma-separated single arg
2015-05-28 14:58:43 -07:00
Tim Hockin e88249e78e Merge pull request #8273 from krousey/cluser_skydns
Updating some SkyDNS templates to v1beta3
2015-05-28 14:58:03 -07:00
Dawn Chen 79a2a4f18d Fix the race when monit is used to monitor services which are also
started at boot time via init.d at boot time.
2015-05-28 11:58:33 -07:00
Matt Bruzek a464d624e6 Chaning the bundle to use the new config value. 2015-05-28 13:40:25 -05:00
Matt Bruzek d344eb6cf0 Making the alias a variable to be replaced by the code. 2015-05-28 13:39:11 -05:00
Matt Bruzek b112606f54 Setting the alias variable on the template data. 2015-05-28 13:36:53 -05:00
Vishnu Kannan 0ae4defc9d Avoid making connections to the apiserver insecure by default in kube2sky. 2015-05-28 11:04:09 -07:00
derekwaynecarr 3e8b1d5e01 Update all salt providers to force explicit namespace creation; update e2e 2015-05-28 13:45:49 -04:00
Matt Bruzek 08733d9362 Adding the 'local' option to install binaries from local filesystem. 2015-05-28 11:16:14 -05:00
Matt Bruzek e013541573 Changing the util.sh to build kubernetes binaries locally. 2015-05-28 11:08:09 -05:00
Kris Rousey 8678164357 Updating some SkyDNS templates to v1beta3 2015-05-28 08:32:33 -07:00
Whit Morriss dd81cfd4b8 update to latest tag 2015-05-28 10:13:19 -05:00
Justin Santa Barbara 521cb0e85b Pass arg lists to gcloud as comma-separated single arg
This should get rid of the scary warning messages on GCE up.

Fixes #8117
2015-05-28 00:36:13 -04:00
Justin Santa Barbara dc11a5434a GCE kube-up; write the marker only after we have uploaded the file
We can't write the marker before we upload the file, otherwise anything
that interrupts the upload will leave a corrupted upload that we believe
to be current.
2015-05-27 23:33:29 -04:00
Brendan Burns e1c0e100b5 Turn off certificate checking for Mavericks, as the curl is borked. 2015-05-27 19:53:24 -07:00
Tim Hockin 16db5a9c69 Merge pull request #8621 from MCyprien/util-verify-prereqs
ubuntu cluster utils.sh verify-ssh-prereqs
2015-05-27 12:43:56 -07:00
Tim Hockin b74786c1b6 Merge pull request #8865 from derekwaynecarr/fix_kube_push
Fix Vagrant node registration and kube-push
2015-05-27 12:42:13 -07:00
Tim Hockin 93a67b75a0 Merge pull request #8537 from a-robinson/ssd
Change the default master data disk on GCE to be a 20GB SSD
2015-05-27 09:39:19 -07:00
Eric Tune b76dd0e585 Merge pull request #8722 from roberthbailey/dead-flags-salt
Remove deprecated nodecontroller flags from the salt configuration.
2015-05-27 08:22:26 -07:00
derekwaynecarr 2f1dd9228f Fix Vagrant node registration and kube-push 2015-05-27 10:50:57 -04:00
Wojciech Tyczynski e25a34c8a1 Extend logging for cluster validation 2015-05-27 12:05:26 +02:00
Victor Marmol c97dda068d Create a /system system container in Debian. 2015-05-26 20:52:09 -07:00
Saad Ali fae1636eda Merge pull request #8586 from vmarmol/use-root-containers
Run Docker containers as top-level containers in Debian.
2015-05-26 18:44:36 -07:00
Saad Ali 2c92915f63 Merge pull request #8752 from ZJU-SEL/Fix#8373
Fix #8373 add kubectl for cluster validation
2015-05-26 18:29:07 -07:00
Saad Ali bed9f826d3 Merge pull request #7435 from jsafrane/devel/volume-tests
V2: Add e2e tests for NFS and Gluster
2015-05-26 17:49:41 -07:00
Saad Ali 496be63c00 Merge pull request #8717 from saad-ali/gceUpgradeScriptNewParams
Modify GCE upgrade script to not require exact version number
2015-05-26 15:09:15 -07:00
Saad Ali e25af35252 Merge pull request #8757 from invenfantasy/master
remove duplicate configuration
2015-05-26 14:54:44 -07:00
Saad Ali abaa278b0e Merge pull request #8643 from vishh/headless
Adding support for generating A records for headless services.
2015-05-26 14:44:00 -07:00
CJ Cullen 28a8c13c19 Fix detect-minion-names for gke provider 2015-05-26 14:15:01 -07:00
Robert Bailey e46b5641ae Remove deprecated flags from the salt configuration. 2015-05-26 12:36:09 -07:00
Filip Grzadkowski e2c4a01b60 Merge pull request #8808 from fgrzadkowski/fix_warnings
Fix WARNING during kube-push.sh
2015-05-26 08:29:04 -07:00
Filip Grzadkowski 8fe771b4a3 Fix WARNING during kube-push.sh 2015-05-26 17:04:57 +02:00
gmarek 584496d2c4 Small fixes to get-kube.sh 2015-05-26 14:29:07 +02:00
Vishnu Kannan d3c7edb78f New release of kube2sky (v1.7) 2015-05-25 19:43:57 -07:00
orangain dec143600a kubectl's dir should be 386 not x86 in x86 enviroment
Before applying this patch, `cluster/kubectl.sh` failed to find
`kubectl` binary in x86 environment.

e.g. The latest release v0.17.1 contains following binaries:
https://github.com/GoogleCloudPlatform/kubernetes/releases/tag/v0.17.1

```
$ tree platforms/
platforms/
├── darwin
│   ├── 386
│   │   └── kubectl
│   └── amd64
│       └── kubectl
├── linux
│   ├── 386
│   │   └── kubectl
│   ├── amd64
│   │   └── kubectl
│   └── arm
│       └── kubectl
└── windows
    └── amd64
            └── kubectl.exe
```
2015-05-25 22:06:14 +09:00
Jan Safranek 20004e0c16 Add e2e tests for Gluster and NFS tests.
- add appropriate server containers into contrib/for-tests/volumes-tester
- the tests are off by default (they need kubelet --allow_privileged=True)
  - enable by 'go run hack/e2e.go ... --ginkgo.focus=Volume'
- add glusterfs tools to list of installed packages on each node
2015-05-25 12:02:41 +02:00
Filip Grzadkowski 5b03939b84 Fix WARNING when creating firewall during e2e tests 2015-05-25 09:46:24 +02:00
invenfantasy 9ff8f7ec7d remove duplicate configuration 2015-05-24 23:20:03 +08:00
wizard ca0d82dd44 add kubectl fix#8373 2015-05-24 16:33:11 +08:00
Mat Schaffer e7ae425385 Colorize errors for consistency with other checks 2015-05-23 16:12:24 +09:00
Vishnu Kannan f0c20e17c5 Adding support for generating A records for headless services. 2015-05-22 23:00:24 -07:00
Justin Santa Barbara ae80ed53cf Automatically open NodePort firewall rules for e2e tests 2015-05-22 22:39:40 -04:00
CJ Cullen d6e0aedec1 Re-add the cluster_name flag that the ServiceController and RouteController need. 2015-05-22 16:31:22 -07:00
saadali 27c777d61d Modify GCE upgrade script to not require exact version number 2015-05-22 15:57:35 -07:00
Dawn Chen c2831fb047 Merge pull request #8624 from chuckbutler/flannel-docker-namespace
Repoint flannel-docker service to ~kubernetes namespace
2015-05-22 14:33:58 -07:00
Victor Marmol 656be14e84 Run Docker containers as top-level containers in Debian.
Part of #8215
2015-05-22 13:27:25 -07:00
Dawn Chen a823f6d1d5 Merge pull request #8558 from ZJU-SEL/updateEtcd
Update etcd version to 2.0.9 for ubuntu k8s
2015-05-22 12:35:53 -07:00
Dawn Chen 677a4aa1a7 Merge pull request #8164 from cjcullen/cloudprovider
Route creation reconciler loop.
2015-05-22 12:27:50 -07:00