Commit Graph

1885 Commits (21f540194bd6e9664794bb9aa33aab1cd2384ad5)

Author SHA1 Message Date
Robert Bailey aeb0068547 Add 'kubernetes' (the service name) and the master name as SANs on the
master's certificate.
2015-06-08 20:17:45 -07:00
Robert Bailey 2feb658ed7 Distribute the cluster CA cert to cluster addon pods through
the kubeconfig file. Use the $KUBERNETES_MASTER_NAME from the
kube-env for skydns, because it can't use the service name.
2015-06-08 20:17:45 -07:00
Abhishek Shah fe906677d4 Etcd log mount 2015-06-08 17:21:11 -07:00
krousey e14d9038fe Merge pull request #9367 from justinsb/aws_ssh_check
AWS: Check for SSH connectivity & better logging on failure
2015-06-08 16:48:04 -07:00
Abhishek Shah 193e078808 Build etcd image from busybox 2015-06-08 16:47:37 -07:00
krousey 8a9e0e00bf Merge pull request #9128 from marekbiskup/addonUpgrade
Addon upgrade (partial implementation of #8107)
2015-06-08 15:15:27 -07:00
krousey 7ab3106dae Merge pull request #9369 from justinsb/aws_mount_all_ephemeral
AWS: Mount ephemeral devices, even if not specified in the AMI
2015-06-08 15:11:01 -07:00
Justin Santa Barbara d955e532f9 AWS: Add mounts to fstab, to survive reboot 2015-06-08 18:07:22 -04:00
Justin Santa Barbara f6440247ca AWS: Don't thin provision LVM volume on wheezy
Thin provisioning isn't supported (unless you backport from jessie).

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

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

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

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

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

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

pkg/apiserver:

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

pkg/kubectl:

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

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

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

```
$ tree platforms/
platforms/
├── darwin
│   ├── 386
│   │   └── kubectl
│   └── amd64
│       └── kubectl
├── linux
│   ├── 386
│   │   └── kubectl
│   ├── amd64
│   │   └── kubectl
│   └── arm
│       └── kubectl
└── windows
    └── amd64
            └── kubectl.exe
```
2015-05-25 22:06:14 +09:00
Jan Safranek 20004e0c16 Add e2e tests for Gluster and NFS tests.
- add appropriate server containers into contrib/for-tests/volumes-tester
- the tests are off by default (they need kubelet --allow_privileged=True)
  - enable by 'go run hack/e2e.go ... --ginkgo.focus=Volume'
- add glusterfs tools to list of installed packages on each node
2015-05-25 12:02:41 +02:00
Filip Grzadkowski 5b03939b84 Fix WARNING when creating firewall during e2e tests 2015-05-25 09:46:24 +02:00
invenfantasy 9ff8f7ec7d remove duplicate configuration 2015-05-24 23:20:03 +08:00
wizard ca0d82dd44 add kubectl fix#8373 2015-05-24 16:33:11 +08:00
Mat Schaffer e7ae425385 Colorize errors for consistency with other checks 2015-05-23 16:12:24 +09:00
Vishnu Kannan f0c20e17c5 Adding support for generating A records for headless services. 2015-05-22 23:00:24 -07:00
Justin Santa Barbara ae80ed53cf Automatically open NodePort firewall rules for e2e tests 2015-05-22 22:39:40 -04:00
CJ Cullen d6e0aedec1 Re-add the cluster_name flag that the ServiceController and RouteController need. 2015-05-22 16:31:22 -07:00
saadali 27c777d61d Modify GCE upgrade script to not require exact version number 2015-05-22 15:57:35 -07:00
Dawn Chen c2831fb047 Merge pull request #8624 from chuckbutler/flannel-docker-namespace
Repoint flannel-docker service to ~kubernetes namespace
2015-05-22 14:33:58 -07:00
Victor Marmol 656be14e84 Run Docker containers as top-level containers in Debian.
Part of #8215
2015-05-22 13:27:25 -07:00
Dawn Chen a823f6d1d5 Merge pull request #8558 from ZJU-SEL/updateEtcd
Update etcd version to 2.0.9 for ubuntu k8s
2015-05-22 12:35:53 -07:00
Dawn Chen 677a4aa1a7 Merge pull request #8164 from cjcullen/cloudprovider
Route creation reconciler loop.
2015-05-22 12:27:50 -07:00
Dawn Chen 626d25d50e Initial cpu limit for fluentd pods (file based). 2015-05-21 23:44:26 -07:00
Mat Schaffer 26736e494c Check that s3 bucket has been created
Fixes #8395
2015-05-22 14:12:36 +09:00
CJ Cullen e6da5b9601 Make routecontroller_test less hacky.
Rename reconcilePodCIDRs to reconcileNodeCIDRs.
Add comments and TODOs about using controller framework.
2015-05-21 18:05:11 -07:00
Zach Loafman 3e4a94080d Merge pull request #7938 from mbforbes/rollingUpgrade
Rolling node upgrade
2015-05-21 14:48:40 -07:00
Charles Butler 7f38d62b65 Repeat fix for docker charm (but point @ store copy) 2015-05-21 14:46:29 -04:00
Charles Butler f40820391a Repoint flannel-docker service to ~kubernetes namespace
This branch of the charm-store charm is tracking features targeted at
kubernetes based deployments, while the devel focus will continually be
in a state of experimentation and learning.

As all things awesome - deploy in lockstep from a source that has
extensive testing to ensure we aren't handing out experimental code that
hasn't been fully tested e2e w/ the kubernetes project.
2015-05-21 14:23:25 -04:00
Dawn Chen 017fb6a818 Merge pull request #8575 from yifan-gu/kube_refactor
Minor kubelet/rkt refactors
2015-05-21 09:37:31 -07:00
Dawn Chen 9a316dd409 Merge pull request #8501 from ArtfulCoder/kubelet_svc_subdomain
Support old and new style dns service names.
2015-05-21 09:22:03 -07:00
Dawn Chen 456262c43c Merge pull request #8475 from dchen1107/clean
Create default LimitRange object for cluster: 100m cpu.share per container
2015-05-21 09:14:20 -07:00
Dawn Chen 04c4d25065 Merge pull request #7905 from bakins/aws-coreos
AWS: use CoreOS for nodes
2015-05-21 09:05:56 -07:00
Marc Cyprien 36b2f2dd04 PR for [#8559](https://github.com/GoogleCloudPlatform/kubernetes/issues/8559) 2015-05-21 16:16:53 +02:00
wizard a070bad50f update etcd version to 2.0.9 for ubuntu k8s 2015-05-21 12:51:39 +08:00
Abhishek Shah dff3a7daaa skydns changes 2015-05-20 17:04:30 -07:00
CJ Cullen 0d12a15971 Route creation reconciler loop. 2015-05-20 14:21:30 -07:00
CJ Cullen bf646abf8d Revert "Revert "Modify nodes to register directly with the master.""
This reverts commit c53786ab31.
2015-05-20 14:21:03 -07:00
Quinton Hoole c53786ab31 Revert "Modify nodes to register directly with the master." 2015-05-20 13:47:51 -07:00
Yifan Gu 02eee4890b cluster/gce/coreos: Make rkt version configuable. 2015-05-20 12:08:32 -07:00
Satnam Singh 32842b4d22 Update Fluentd GCP image 2015-05-19 16:12:50 -07:00
Alex Robinson 24c532bef1 Change the default master data disk on GCE to be a 20GB SSD. 2015-05-19 15:49:18 -07:00
Eric Tune f85e6bcf74 Merge pull request #8502 from whitmo/juju-petstore-action
Juju provider petstore action  & kubectl.sh fix
2015-05-19 12:20:23 -07:00
Yu-Ju Hong 8e5d78c687 Merge pull request #8485 from brendandburns/docker
More fixes for release 0.17.0
2015-05-19 12:06:00 -07:00
Max Forbes 3437ac691a Rolling node upgrade 2015-05-19 11:42:34 -07:00
Eric Tune 1f4172d23c Merge pull request #6949 from roberthbailey/node-register
Modify nodes to register directly with the master.
2015-05-19 11:29:43 -07:00
Yu-Ju Hong 1714579f8f Merge pull request #8497 from lvlv/master
Fix influxdb external url and its port
2015-05-19 10:28:06 -07:00
Dawn Chen 061155c1eb Create LimitRange object for cluster before addons service 2015-05-19 10:23:41 -07:00
Dawn Chen 55501a6314 Have default LimitRange created for cluster: 100m cpu.share per container 2015-05-19 10:23:40 -07:00
Eric Tune dc81fe1f12 Merge pull request #7998 from doublerr/rackspace_fixes
Rackspace fixes
2015-05-19 09:59:54 -07:00
Robert Bailey 8e356f8439 Configure the cloud provider for the kubelet. 2015-05-19 09:55:07 -07:00
Robert Bailey 01467e0bb8 Modify nodes to register directly with the master.
- Delete nodes when they are no longer ready and don't exist in the
cloud provider.
 - Label each node with it's hostname.
 - Add flag to skip node registration.
 - Add a test for registering an existing node.
2015-05-19 09:55:07 -07:00
Whit Morriss 52112ad985 make ./kubectl.sh work with juju provider 2015-05-19 10:01:55 -05:00
Whit Morriss 5d19597ffa Add juju action to start petstore example
This is @chuckbutler's work, with some small fixes

`juju action do kubernetes-master/0 petstore` launches the example code
2015-05-19 09:47:08 -05:00
Lv Lv e8fe157a7f Fix influxdb external url and its port 2015-05-19 20:35:19 +08:00
Brendan Burns f51f8b3a86 More fixes for release 0.17.0 2015-05-18 20:47:03 -07:00
Satnam Singh 702bf625ce Add explicit version to name of monitoring RCs 2015-05-18 18:13:18 -07:00
Brendan Burns cbef26b1dd Update docker instructions to 0.17.0 2015-05-18 16:51:48 -07:00
Tim Hockin 6b6b47a777 Merge pull request #8452 from satnam6502/skydns
Embed version number in kube-dns RC
2015-05-18 16:36:43 -07:00
Tim Hockin 931f448af1 Merge pull request #8456 from satnam6502/doc
Document process for updating version of kube-dns
2015-05-18 16:35:54 -07:00
Victor Marmol 7dde223c2a Merge pull request #8458 from satnam6502/elasticsearch
Give explicit version number to Elasticsearch logging RC
2015-05-18 16:27:08 -07:00
Satnam Singh 3337cea8bb Give explicit version number to Kibana RC 2015-05-18 16:04:13 -07:00
Victor Marmol e83a4e3fd8 Merge pull request #8450 from satnam6502/kibana
Add version label to Kibana controller and service
2015-05-18 15:56:27 -07:00
Satnam Singh 83cd97a2e7 Give explicit version number to Elasticsearch logging RC 2015-05-18 15:53:01 -07:00
Satnam Singh c7d5b4fa2f Document process for updating version of kube-dns 2015-05-18 15:41:08 -07:00
Satnam Singh fbf6d36e1c Embed version number in kube-dns RC 2015-05-18 15:18:44 -07:00
Satnam Singh 4a0c6b3e0b Add version label to Kibana controller and service 2015-05-18 14:49:12 -07:00
Satnam Singh c84fd94b11 Update Elasticsearch cluster level service to add version label 2015-05-18 14:43:58 -07:00
Victor Marmol 397b7d1bf2 Merge pull request #8427 from vishh/heapster_v0.12.1
Updating heapster to v0.12.1.
2015-05-18 14:01:20 -07:00
Vishnu Kannan 63a5e3895c Updating heapster to v0.12.1. This adds support for tokens and improves scalability
in large clusters.
2015-05-18 12:04:46 -07:00
Paul Weil e565b20b37 fix gendocs 2015-05-18 13:32:55 -04:00
Victor Marmol f9c9564561 Merge pull request #8047 from ZJU-SEL/0.15dns
Revert to v0.15.0 dns manifest temporarily in ubuntu deployment
2015-05-18 08:41:08 -07:00
Victor Marmol d064e843ab Merge pull request #8287 from vishh/kube2sky
Adding unit tests for existing kube2sky logic
2015-05-18 08:40:19 -07:00
Victor Marmol 4ba22e713a Merge pull request #8296 from jlowdermilk/gen-analytics
Add ga-beacon analytics to gendocs scripts
2015-05-18 08:40:02 -07:00
Victor Marmol d0e7040b94 Merge pull request #8367 from thockin/kube2sky
Add docs on making a release
2015-05-18 08:37:28 -07:00
Vishnu Kannan 684122f2a7 Adding unit tests for existing kube2sky logic. 2015-05-17 19:13:50 -07:00
Justin Santa Barbara 87dfddb259 AWS: Set MASTER_RESERVED_IP in config-default.sh
Otherwise jenkins fails
2015-05-16 20:32:23 -04:00
Vish Kannan d51e131726 Merge pull request #8354 from vishh/kube2sky_2
Revert kube2sky to use kubernetes-ro service
2015-05-15 21:23:15 -07:00
wizard 4a8406ee8e use v0.15.0 dns manifest 2015-05-16 10:11:42 +08:00
Jeff Lowdermilk 553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Tim Hockin 284f87040c Add docs on making a release 2015-05-15 17:51:01 -07:00
Vishnu Kannan 50522a207b Revert kube2sky to use kubernetes-ro service until the dns-token is updated
to not use dns names.
2015-05-15 16:44:20 -07:00
nikhiljindal fa9f864782 Adding a script to update etcd objects 2015-05-15 16:20:35 -07:00
Daniel Smith ce4b54ec70 Merge pull request #8209 from krousey/v1beta1_cluster
Removing some v1beta1 uses in cluster/
2015-05-15 14:56:41 -07:00
Kris Rousey 98c457c397 Updating /cluster to use v1beta 3 specs, and change a lot of polling to
healthz instead of api endpoints.
2015-05-15 14:17:55 -07:00
Satnam Singh afedb2d24a Merge pull request #8322 from thockin/dns
Base the kube2sky container on busybox
2015-05-15 12:05:37 -07:00
Prashanth B 1f0b4c5e2a Merge pull request #8232 from zmerlynn/i8196
Ensure basic DNS functionality before doing real work in configure-vm.sh
2015-05-15 10:19:35 -07:00
Tim Hockin 850e0e682e Base the kube2sky container on busybox 2015-05-15 08:49:52 -07:00
Victor Marmol d3c6fb0d6a Merge pull request #8275 from dchen1107/clean
Install monit_watcher as a cron job (1m) to check if monit is running,
2015-05-15 08:02:55 -07:00
Victor Marmol c869f5d0cc Merge pull request #8282 from mbruzek/fixing-permissions
Fixing the permissions on python files.
2015-05-14 18:26:43 -07:00
CJ Cullen 213a1b5e71 Merge pull request #8290 from roberthbailey/unbound-var
Fix an unbound variable error when CA_CERT isn't set.
2015-05-14 15:51:55 -07:00
Robert Bailey 9edc359de7 Fix an unbound variable error when CA_CERT isn't set. 2015-05-14 15:42:16 -07:00
Robert Bailey a236f04a5f Remove newlines output by base64 on linux. 2015-05-14 15:39:26 -07:00
Dawn Chen e6c159eda2 Install monit_watcher as a cron job (1m) to check if monit is running,
and oom protect monit processes.
2015-05-14 15:19:11 -07:00
Matt Bruzek 985375e82b Changing hooks.py back to executable. 2015-05-14 16:51:55 -05:00
Robert Bailey 9d6c032929 Merge pull request #7888 from madis/associate_aws_elastic_ip_with_master
Associate master instance with AWS Elastic IP
2015-05-14 13:18:19 -07:00
Matt Bruzek d8b9e2e184 Fixing the permissions on python files. 2015-05-14 15:02:22 -05:00
Robert Bailey 9ab41db7ea Static cert distribution for GCE.
To make cert validation work, no longer use the
fqdn for the master name on the node VMs.
2015-05-14 11:59:13 -07:00
Rohit Jnagal e4c98a05ea Merge pull request #8182 from GoogleCloudPlatform/revert-7863-etcd_maxprocs
Revert "Set GOMAXPROCS for etcd"
2015-05-14 11:19:56 -07:00
Satnam Singh e8f55e81e5 Add a TAG Makefile variable for the kube2sky image 2015-05-14 10:57:45 -07:00
Rohit Jnagal bd0156c65a Merge pull request #8204 from jlowdermilk/gke-todos
Cleanup some todos for gke + rip out dead code
2015-05-14 10:30:24 -07:00
Tim Hockin ae52c15f1c Merge pull request #8253 from thockin/dns-health
Fix spurious quote in DNS healthcheck
2015-05-14 10:08:09 -07:00
Victor Marmol 5e7a7b9206 Merge pull request #8241 from gmarek/remove_name
Remove unused ClusterName from NodeController
2015-05-14 09:49:34 -07:00
Tim Hockin 1b1010621f Fix spurious quote in DNS healthcheck 2015-05-14 09:39:02 -07:00
Victor Marmol 2b1b85468a Merge pull request #7330 from chrismoos/volume_format_script_updates
Add safe_format_and_mount to hyperkube image.
2015-05-14 09:17:20 -07:00
Victor Marmol def22b51c8 Merge pull request #8046 from ZJU-SEL/add-ubuntu-test-build-release
add func test-build-release
2015-05-14 09:07:04 -07:00
gmarek 8a4717d3f5 Remove unused ClusterName from NodeController 2015-05-14 18:01:23 +02:00
Madis Nõmme 15643a2c72 Add 'auto' option for MASTER_RESERVED_IP. No ElasticIP allocation by default.
Default behaviour when setting up a cluster is using the Amazon-assigned public ip.
It will change between reboots. If MASTER_RESERVED_IP is set to 'auto', new Elastic
IP will be allocated & assigned to master. If MASTER_RESERVED_IP is set to an existing
Elastic IP, it will be used. When something fails, original Amazon-given IP will be used.
2015-05-14 08:33:07 +03:00
Ryan Richard 4e2f350bc9 rackspace: kube_bearer_token -> kubelet_token 2015-05-13 21:38:29 -05:00
Ryan Richard 1e8ee4d1f1 minor fixes to get a working cluster 2015-05-13 21:33:25 -05:00
Ryan Richard 16a448082f add functions to generate tokens 2015-05-13 21:33:25 -05:00
Ryan Richard 6968074c90 remove manifest config and bump rax coreos image 2015-05-13 21:33:25 -05:00
Ryan Richard 6ae14b3630 add initial support for flannel 2015-05-13 21:33:24 -05:00
Ryan Richard b2aa089df0 fix download-release.sh
Download-release.sh was overwriting previous downloads
even if the temp URL had expired which resulted in the
release and binaries being overriden.
2015-05-13 21:33:24 -05:00
Ryan Richard 75dac16c34 leverage $public_ip4 for apiserver communication 2015-05-13 21:33:24 -05:00
Eric Tune 936f9cc95d WIP: Update Rackspace so node talks to apiserver
Kubernetes project has decided that it is better if kubelet
and kube-proxy use the apiserver REST interface to get and
set resources instead of accessing resource keys in etcd directly.
This is necessary to support kubelet reporting of events,
and also encapsulates the apiserver store details.

This means that the kubelet and kube-proxy need to know the
apiserver host(s) via a flag.

Since the Rackspace config already used etcd to advertise the
minions to the controller-manager, I used the same pattern to advertise
the apiserver(s) to the minions.

Setting --public_address_override=$private_ipv4 is intended to ensure that
the master serves its http interface on the right ethernet device, since I think
there are two on a droplet.

The new apiserver-advertiser.service puts the IPs of any apiservers in etcd.

The kubelet and kube-proxy now take an environment file which contains
the list of apiserver IPs, and that env var goes into a flag.  The
etcd_servers argument is removed -- the point is for these binaries
to not access etcd.

The new apiserver-finder.service watches for changes in etcd and
restarts kubelet and kube proxy when there are new apiservers.
2015-05-13 21:33:23 -05:00
Zach Loafman 06c22c699a Ensure basic DNS functionality before doing real work in configure-vm.sh
Fixes #8196. Maybe. If my theory is correct on how we got there. Also
changes the inference of master to be based on the master name, not
the node instance prefix. That way if we somehow have a bogus
hostname, the master will configure itself as a node, the whole
cluster fails, and it's a ton more obvious.
2015-05-13 19:12:53 -07:00
Dawn Chen 309a157665 Merge pull request #7984 from cjcullen/kubelet
Kubelet configure cbr0 instead of configure-vm.sh
2015-05-13 17:32:52 -07:00
Vish Kannan f49757cba5 Merge pull request #8221 from ArtfulCoder/use_https
Use https to access apiserver from kube2sky
2015-05-13 17:21:41 -07:00
Abhishek Shah 71a10c2044 Use https 2015-05-13 17:03:29 -07:00
Robert Bailey a61baf6a74 Merge pull request #8208 from saad-ali/fixTemplateUpDown2
Fix GCE kube-down incorrect MIG delete OpID
2015-05-13 15:28:52 -07:00
saadali c118b6d603 Fix GCE kube-down incorrect MIG delete OpID 2015-05-13 15:06:43 -07:00
Vish Kannan 5b8e70181f Merge pull request #8199 from satnam6502/es
Revert to using emptyDir for Elasticsearch data
2015-05-13 14:47:03 -07:00
Jeff Lowdermilk 3f3760a14a Cleanup some todos for gke + rip out dead AuthConfig code 2015-05-13 13:54:02 -07:00
Brian Akins fac4350fa6 Initial addition of CoreOS as minion for AWS cluster 2015-05-13 16:39:22 -04:00
Rohit Jnagal a1ef8585da Merge pull request #8168 from brendandburns/docker
Update single node docker to 0.16.2
2015-05-13 13:25:27 -07:00
Quinton Hoole d114945b90 Merge pull request #8181 from thockin/dns-health
Fix DNS health check
2015-05-13 13:08:37 -07:00
Satnam Singh ca121ee98d Revert to using emptyDir for Elasticsearch data 2015-05-13 12:52:56 -07:00
Yu-Ju Hong ad83197c63 Merge pull request #8187 from satnam6502/nosecret
Remove the use of secrets from node level logging agents
2015-05-13 11:12:08 -07:00
Jeff Lowdermilk f8ebc4e21e Merge pull request #8104 from roberthbailey/kubelet-using-kubeconfig
Replace the auth config file with a kubeconfig file when starting the kubelet on GCE.
2015-05-13 11:09:27 -07:00
Derek Carr 9454d58547 Merge pull request #8127 from liggitt/service_account_admission
Add ServiceAccount admission plugin
2015-05-13 14:03:11 -04:00
Zach Loafman abd1f89ba7 Merge pull request #8189 from dchen1107/clean
Monit watch kubelet and kube-proxy on master node too.
2015-05-13 10:57:41 -07:00
Dawn Chen e32daf4229 Monit watch kubelet and kube-proxy on master node too. 2015-05-13 10:36:00 -07:00
Satnam Singh 53ec5e38c7 Remove the use of secrets from node level logging agents 2015-05-13 10:11:07 -07:00
Filip Grzadkowski eecd7b8c0f Revert "Set GOMAXPROCS for etcd" 2015-05-13 17:53:04 +02:00
Tim Hockin ab30484a4f Fix DNS health check 2015-05-13 08:51:06 -07:00
Zach Loafman 02f3a32196 Merge pull request #8131 from justinsb/aws_install_salt_gce_style
Install specific salt version on AWS, based on GCE
2015-05-13 06:55:32 -07:00
Brendan Burns 48d7604f4e Update single node docker to 0.16.2 2015-05-13 11:15:56 +01:00
Robert Bailey c47b9178b4 Replace the auth config file with a kubeconfig file when
starting the kubelet on GCE.
2015-05-13 01:03:28 -07:00
Madis Nõmme eb220f05a6 Properly get return value (considering errexit). Quote variables. 2015-05-13 10:45:51 +03:00
Madis Nõmme d4d02a9028 Optionally associate master instance with AWS Elastic IP
When MASTER_RESERVED_IP is set to elastic IP from AWS, then aws/util.sh will
associate it with master instance and assign it to KUBE_MASTER_IP. If no MASTER_RESERVED_IP
is set, new elastic ip will be requested from amazon. This allows cluster certificates to
be generated for an IP that doesn't change between stopping & starting cluster instances.

The requested elastic ip is not released when kube-down.sh is run. I think it is good
because user could have created DNS records and it would be bad if the IP was removed.
He can reuse it next time through MASTER_RESERVED_IP when setting up cluster again.
2015-05-13 10:45:51 +03:00
CJ Cullen 31ea7d1295 Put cbr0-modifying stuff behind a flag. Address some other comments. 2015-05-12 23:00:28 -07:00
CJ Cullen 5e3d2b9138 Kubelet configure cbr0 instead of configure-vm.sh 2015-05-12 23:00:12 -07:00
Justin Santa Barbara 23b1a22203 AWS: Don't use policy-rc.d to prevent starting daemons until we're ready
It isn't required
2015-05-12 21:18:48 -04:00
Nikhil Jindal c2fecff3d5 Merge pull request #8067 from piosz/kubectl
Added label kubernetes.io/name to cluster services
2015-05-12 17:09:22 -07:00
Quinton Hoole de0d59be05 Merge pull request #8096 from saad-ali/fixTemplateUpDown
Make MIG deletion during GCE kube down blocking, so that subsequent template deletion doesn't fail.
2015-05-12 17:05:13 -07:00
saadali 932cdd954d Clean up GCE kube-down script by using set e 2015-05-12 16:58:22 -07:00
Nikhil Jindal 5e11830e13 Merge pull request #7988 from satnam6502/es-image
Make the Elasticsearch logging pods discover each other
2015-05-12 16:19:57 -07:00
Satnam Singh 7cff506c93 Make the Elasticsearch logging pods discover each other 2015-05-12 15:26:09 -07:00
Alex Robinson a98d883134 Merge pull request #8121 from satnam6502/fluentd-gcp
Convert node level logging to Cloud Logging to use token-system-logging
2015-05-12 14:26:46 -07:00
Alex Robinson 96cb4360fa Merge pull request #8120 from satnam6502/fluentd-es
Convert nodel level logging to ES to use token-system-logging
2015-05-12 14:26:28 -07:00
Clayton Coleman 7d620c20b9 Merge pull request #8105 from thockin/dns-domain
Rename default DNS domain to cluster.local
2015-05-12 17:18:45 -04:00
Zach Loafman 0b0bace006 Merge pull request #8009 from mbforbes/refactorEnv
Refactor master vs node kube-env and salt auth
2015-05-12 13:37:54 -07:00
Justin Santa Barbara ffb0e7f9b8 Install specific salt version on AWS, based on GCE
The latest salt version breaks the container_bridge.py _state function

We can lock to the same version as GCE.  This is not a full fix,
because we can't update to the latest salt without breaking GCE,
but this at least unbreaks and sync AWS with GCE.

This isn't a straight copy from GCE, because we still use
the salt master on AWS (for now)

Fixes #8114
2015-05-12 16:33:56 -04:00
Max Forbes 76c89db5a8 Master vs node salt auth refactor in configure-vm.sh 2015-05-12 13:26:11 -07:00
Max Forbes 0acf8f9a00 Refactor GCE kube-env for both OSes. 2015-05-12 13:26:10 -07:00
Jordan Liggitt e5d47081a2 Add ServiceAccount admission plugin 2015-05-12 15:19:05 -04:00
Nikhil Jindal d75bd8bf2a Merge pull request #7101 from liggitt/service_account
ServiceAccounts
2015-05-12 10:23:41 -07:00
Satnam Singh ade18e4ff3 Conver node level logging to Cloud Logging to use token-system-logging 2015-05-12 10:17:45 -07:00
Satnam Singh f9af0658fa Convert nodel level logging to ES to use token-system-logging 2015-05-12 10:07:49 -07:00
Tim Hockin e83e49b076 rename default DNS domain to cluster.local 2015-05-11 23:00:43 -07:00
saadali c5b1508774 Make MIG deletion during GCE kube down blocking, so that subseqent template deletion doesn't fail. 2015-05-11 18:51:59 -07:00
Alex Robinson e2b7ef8d2c Merge pull request #8078 from satnam6502/fluentd-gcp
Convert Fluentd to Cloud Logging pod specs to YAML
2015-05-11 16:55:14 -07:00
Satnam Singh e246685468 Convert Fluentd to Cloud Logging pod specs to YAML 2015-05-11 14:55:46 -07:00
Satnam Singh 2f5ba28a17 Switch Fluentd to ES manifest back to YAML 2015-05-11 14:37:41 -07:00
Jordan Liggitt 7e14a80f63 ServiceAccount admission plugin 2015-05-11 17:18:06 -04:00
Jordan Liggitt db1f0dc906 JWT token generation/verification 2015-05-11 17:18:06 -04:00
Daniel Smith caddcd8cd3 Merge pull request #7901 from vishh/kube2sky
Updated kube2sky to use the controller framework.
2015-05-11 13:49:20 -07:00
Robert Bailey 6c42cb154b Stop copying certs into /usr/share/nginx/ since nothing relies
on that location any longer.
2015-05-11 11:44:19 -07:00
Alex Robinson 8bec62e42c Merge pull request #7995 from satnam6502/es-logging
Upgrade to Kibana 4 for cluster logging
2015-05-11 10:40:41 -07:00
Piotr Szczesniak 12e44ff8a9 Added label kubernetes.io/name to cluster services
The label specifies service name which is displayed in kubectl cluster-info
2015-05-11 19:35:53 +02:00
Nikhil Jindal 72ac82eba9 Merge pull request #8005 from lavalamp/kubectlFix
Don't print debugging things on every run of kubectl.sh
2015-05-11 10:19:37 -07:00
Jeff Lowdermilk 6523d18130 Future proof GKE kubeconfig handling in e2e driver 2015-05-11 09:57:54 -07:00
Filip Grzadkowski 26d14300e9 Increase disk size for kubernetes master.
Signed-off-by: Filip Grzadkowski <filipg@google.com>
2015-05-11 15:35:38 +02:00
Piotr Szczesniak 02aa97d695 Added name to kube-dns service
Fixes #7922
2015-05-11 12:42:22 +02:00
He Simei 9e2ac1b8bd add func test-build-release
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-05-11 10:07:58 +08:00
Jeff Lowdermilk 78386e48ad fix #7921 2015-05-09 07:48:29 -07:00
Jeff Lowdermilk 051288c4ee Merge pull request #7921 from roberthbailey/gke-kubeconfig
Stop setting a GKE specific version of the kubeconfig file
2015-05-08 19:48:49 -07:00
Daniel Smith ccecb115ed Don't print debugging things on every run of kubectl.sh 2015-05-08 15:55:28 -07:00
Satnam Singh fcbe2229df Kibana by itself
Upgrade to Kibana 4 for cluster logging
2015-05-08 14:55:52 -07:00
Robert Bailey 9db0c68e3e For GKE, only use the special kubeconfig location if the file exists.
This will allow Jenkins to keep running after the next gcloud release
without needing to make immediate modifications to this file. We can
then remove the extra logic at our own convenience.
2015-05-08 14:53:49 -07:00
Justin Santa Barbara 3cf8d72d96 Copy some new properties from config-default => config.test
ENABLE_MINION_PUBLIC_IP was causing a failure because the variable wasn't declared.

ADMISSION_CONTROL should just be set the same for both test & default
2015-05-08 14:30:17 -07:00
Derek Carr 39de2ee5b8 Merge pull request #7982 from BenTheElder/vagrant_test_fixes
Call kube-down in test-teardown for vagrant.
2015-05-08 15:01:21 -04:00
BenTheElder 0b32bb1e4c Call kube-down in test-teardown
See https://github.com/GoogleCloudPlatform/kubernetes/issues/7978
2015-05-08 14:50:35 -04:00
Robert Bailey a7bb598889 Merge pull request #7928 from manolitto/disable_minion_public_ip
AWS: make it possible to disable minion public ip assignment
2015-05-08 09:52:42 -07:00
Manfred Geiler c5c62f7d57 fixed second missing $ and added curly brackets 2015-05-08 17:18:52 +02:00
Manfred Geiler 1119340260 fixed missing $ 2015-05-08 16:58:49 +02:00
Manfred Geiler 96d34c1106 AWS: added docs for KUBE_ENABLE_MINION_PUBLIC_IP option 2015-05-08 16:56:06 +02:00
Paul Morie ad4b6dcb0d Ease building kubelet image 2015-05-08 01:21:25 -04:00
Fabio Yeon 89b3ffa5b7 Check node status as part of validate-cluster.sh. 2015-05-07 16:13:07 -07:00
Manfred Geiler 205ed2bf6e AWS: make it possible to disable minion public ip association 2015-05-08 00:09:47 +02:00
Vishnu Kannan e521b3f1af Updated kube2sky to use the controller framework.
Refactored the code a bit to make it easy for future enhancements and
unit testing.
Tested the change manually on a kube node with and without kubeConfig based tokens.
2015-05-07 14:40:44 -07:00
Rohit Jnagal 36bb479c52 Merge pull request #5498 from ZJU-SEL/refactor-ubuntu
Ubuntu-distro: deprecate & merge ubuntu single node work to ubuntu cluster node stuff
2015-05-07 09:41:20 -07:00
Vish Kannan e25210d367 Merge pull request #7822 from thockin/dns
DNS: expose 53/TCP
2015-05-07 09:34:52 -07:00
wizard 595345c6a6 Merge the old single-node and multi-node ubuntu deployment into one better approach and update the guidance 2015-05-07 21:01:29 +08:00
Wojciech Tyczynski ca0f678b9a Merge pull request #7792 from pweil-/security-context-types
SecurityContext admission clean up
2015-05-07 10:43:43 +02:00
Wojciech Tyczynski 600b00f2b1 Merge pull request #7863 from fgrzadkowski/etcd_maxprocs
Set GOMAXPROCS for etcd
2015-05-07 10:09:29 +02:00
Tim Hockin ec8ba4a62f Expose 53/TCP on DNS service 2015-05-07 00:40:39 -07:00
Tim Hockin 9eb1fb85bd Convert DNS service to v1beta3 2015-05-07 00:40:35 -07:00
Tim Hockin 58a18447fa Expose 53/TCP in DNS pod (not service yet) 2015-05-07 00:40:31 -07:00
Tim Hockin dfe81b7974 Cleanups in DNS pod YAML. 2015-05-07 00:40:23 -07:00
Filip Grzadkowski 7e8bde53dd Set GOMAXPROCS for etcd 2015-05-07 08:11:39 +02:00
CJ Cullen f0c26052eb Fix controller-manager manifest for providers that don't specify CLUSTER_IP_RANGE 2015-05-06 17:50:04 -07:00
Maxwell Forbes 7426b533df Merge pull request #7862 from cjcullen/cbr0
Remove restriction that cluster-cidr be a class-b
2015-05-06 15:46:57 -07:00
saadali 4569de7a46 Enable Google Cloud Monitoring and Google Cloud Logging instead of
Influxdb for Google Compute Engine deployments.
2015-05-06 15:23:40 -07:00
CJ Cullen fbd125e4e2 Remove restriction that cluster-cidr be a class-b 2015-05-06 15:01:13 -07:00
Dawn Chen 07afcb2bce Merge pull request #7820 from zmerlynn/container-vm-v20150505
Update to container-vm-v20150505 (Also updates GCE to Docker 1.6)
2015-05-06 09:22:35 -07:00
Filipe Brandenburger b7f9e2cea0 Merge pull request #7651 from zmerlynn/upload_hash_in_util
Also push .sha1 for devel builds
2015-05-06 09:07:39 -07:00
Victor Marmol 302de065f2 Merge pull request #7798 from pmorie/run-containerized
Add ability to dockerize kubelet in local cluster
2015-05-06 08:13:04 -07:00
CJ Cullen a6b8b2ef59 Merge pull request #7764 from AntonioMeireles/skydns_etcd_deprecatedFlags
skydns: use the etcd-2.x native syntax, enable IANA attributed ports.
2015-05-06 07:31:20 -07:00
Paul Morie fa1d065595 Add ability to dockerize kubelet in local cluster 2015-05-06 09:36:52 -04:00
Mark Lamourine b7c1b7eed2 Added port 6443 to kube-proxy default IP address for api-server
added  api_servers_with_port variable and settings.

removed extra port string

split azure api_server host and port out
2015-05-06 12:43:24 +00:00
António Meireles 24a0e5618a skydns: use the etcd-2.x native syntax, enable IANA attributed ports.
per https://github.com/coreos/etcd/blob/master/Documentation/backward_compatibility.md
(there are no functional changes, we just stop using the legacy flags, for
consistency.)

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
2015-05-06 10:07:34 +01:00
Jerzy Szczepkowski 58962100db Merge pull request #7827 from zmerlynn/safe_format_cleanup
Clean up safe_format_and_mount spam in the startup logs
2015-05-06 10:50:32 +02:00
Jerzy Szczepkowski ce590ff961 Merge pull request #7797 from pmorie/kubelet-image
Create docker image for kubelet
2015-05-06 09:23:07 +02:00
Robert Bailey 357df12c02 Set allocate_node_cidrs to be blank by default. 2015-05-05 23:41:30 -07:00
Robert Bailey 06c2f4e3d5 Merge pull request #7799 from cjcullen/test_pull_5246
Fix sync problems in #5246
2015-05-05 22:31:10 -07:00
Zach Loafman 399f7dee43 Clean up safe_format_and_mount spam in the startup logs
Totally minor cleanup, but I'm tired of seeing it's spam in the
startup logs.
2015-05-05 21:23:57 -07:00
Zach Loafman c78eabbfac Update to container-vm-v20150505 2015-05-05 17:15:54 -07:00
Paul Morie 7b22218f67 Create docker image for kubelet 2015-05-05 20:14:26 -04:00
Jerzy Szczepkowski e967ffd522 Added flag to set cluster class B network address for pods, add flag to disable allocation CIDRs for Pods. Fixed synchornization bug in NodeController registerNodes(). 2015-05-05 16:10:43 -07:00
Tomek Kulczynski 290c7b94ef Make nodecontroller configure nodes' pod IP ranges 2015-05-05 16:10:42 -07:00
Zach Loafman 875e83a741 Revert "Revert "Security context - types, kubelet, admission"" 2015-05-05 16:02:13 -07:00