Commit Graph

6421 Commits (124bb22f9209ef62b7c10d078f15c6b9b774fa0c)

Author SHA1 Message Date
saadali 234f3ed814 Make GCE PD attach block on pending detach. Retry on detach/attach errors. 2015-07-23 14:03:50 -07:00
Vish Kannan d09d121b6c Merge pull request #11572 from jiangyaoguo/new-builder-cleaner-for-nfs
Refactor nfs volume to seperate builder and cleaner
2015-07-23 13:54:46 -07:00
Andy Goldstein 9e97e4d38b Deflake remote command execution test 2015-07-23 16:54:10 -04:00
Vish Kannan 94bed5a426 Merge pull request #11739 from jiangyaoguo/new-builder-cleaner-for-glusterfs
Refector glusterfs volume to seperate builder and cleaner
2015-07-23 13:17:22 -07:00
Tim Hockin c4b707192d Remove deprecated 'se' resource alias 2015-07-23 12:04:01 -07:00
Casey D aeb7dc6b30 Allow specification of network plugins directory when starting kubelet 2015-07-23 11:21:39 -07:00
Vish Kannan ce62d35e20 Merge pull request #11735 from thockin/cleanup-volumes-legacy-mode
Remove volumes legacy mode
2015-07-23 10:53:44 -07:00
Jordan Liggitt c0bbdeda22 Add CA data to service account tokens if missing or different 2015-07-23 10:46:13 -07:00
Jordan Liggitt 39a5e1b929 Close resp.Body before returning error 2015-07-23 10:45:55 -07:00
Vish Kannan b9e974b2cf Merge pull request #11313 from thockin/rest-shortcut-for-ns
Add an 'ns' shortcut, tidy capital letters
2015-07-23 10:14:33 -07:00
Wojciech Tyczynski bff2e01994 Merge pull request #11731 from smarterclayton/better_error
Update the error message to be idiomatic
2015-07-23 16:09:24 +02:00
markturansky e5a4b75421 Added ability to get generated values of an index func 2015-07-23 10:00:04 -04:00
Wojciech Tyczynski 2a5dce1b1b Merge pull request #11112 from markturansky/label_fix
Added formatLabel to pvclaims
2015-07-23 15:33:31 +02:00
Marcin Wielgus 866bd7b4e5 Dump stdin to a temporary file in kubectl replace --force 2015-07-23 15:22:23 +02:00
Wojciech Tyczynski 6524cd5e2a Merge pull request #11562 from MikaelCluseau/master
realContainerGC reports warning when err is nil
2015-07-23 13:39:24 +02:00
Wojciech Tyczynski 4799d169bc Merge pull request #11705 from mikedanese/test-fix
fix unit test breakage by adding seed method to util/rand
2015-07-23 12:58:56 +02:00
Wojciech Tyczynski 6580464ff1 Merge pull request #11577 from wojtek-t/etcd_helper_interface
Prepare for extracting EtcdHelper interface
2015-07-23 10:33:33 +02:00
Wojciech Tyczynski fbed3492bf Merge pull request #11553 from pkern/patch-1
pkg/client/doc.go: update example to make it compile
2015-07-23 10:01:32 +02:00
Wojciech Tyczynski ee92aa3897 Prepare for extracting EtcdHelper interface 2015-07-23 09:37:39 +02:00
kargakis 4fcb4b7f8d Handle aliases in comma-separated args 2015-07-23 09:32:33 +02:00
jiangyaoguo 8bb0ae9f89 refector glusterfs volume to seperate builder and cleaner 2015-07-23 15:07:40 +08:00
Tim Hockin 6eda8f47df Remove volumes legacy mode 2015-07-22 21:53:35 -07:00
Clayton Coleman f5d040ec31 Update the error message to be idiomatic
Trim trailing newline (since this is likely to show up in a CLI)
2015-07-22 22:38:24 -04:00
Vish Kannan 5f79267b97 Merge pull request #10484 from markturansky/vol_iscsi_export
Changed ISCSI plugin name from exported to private
2015-07-22 17:07:15 -07:00
Vish Kannan 2e3841efc5 Merge pull request #10485 from markturansky/volume_rbd_export
Changed RBD Volume plugin name from exported to private
2015-07-22 17:02:55 -07:00
Vish Kannan 4421b3dfdd Merge pull request #10821 from jimmidyson/gc-container-volumes
Fixes #10803: Delete Docker container volumes on GC
2015-07-22 16:02:03 -07:00
Mike Danese fdb5cefae7 fix unit test breakage by adding seed method to util/rand 2015-07-22 15:01:51 -07:00
Mike Danese a558edf036 Revert "Revert "Move rand string func to util for reuse""
This reverts commit acebe24bf3.
2015-07-22 15:01:28 -07:00
Paul Morie 1df80e3a6a Make copy_test.go failures easier to debug 2015-07-22 13:11:10 -04:00
Philipp Kern fbbc49df30 pkg/client/doc.go: update example to make it compile
The client example does not compile (double pointer to config, missing
import, List() returning two values); fix it.
2015-07-20 23:27:08 +02:00
jiangyaoguo 612f68f820 reflector nfs volume to seperate builder and cleaner 2015-07-20 19:16:48 +08:00
jiangyaoguo 63560f385c refector host_path volume to seperate builder and cleaner 2015-07-20 17:23:04 +08:00
Mikaël Cluseau aff10f57bb realContainerGC reports warning when err is nil 2015-07-20 14:11:52 +11:00
Alex Robinson b0351ff266 Detect if UpdateTCPLoadBalancer left its GCE target pool in an incorrect state. 2015-07-17 19:01:21 +00:00
nikhiljindal c849730116 Fixing the error message 2015-07-16 23:33:16 -07:00
Brian Grant 5540917094 Merge pull request #11366 from davidopp/doc1
Move docs/services-firewalls.md into docs/user-guide/ and make small
2015-07-16 22:48:13 -07:00
Brian Grant cb58e8e43b Merge pull request #11350 from thockin/munge-check-kubectl-dash-f
Add munger to verify kubectl -f targets
2015-07-16 22:46:37 -07:00
Brian Grant 5978d50a3e Merge pull request #11397 from nikhiljindal/kubectlExpose
Updating kubectl expose to leave service port unnamed
2015-07-16 22:41:38 -07:00
nikhiljindal 496f30a92f Introduce a new service generator that leaves service port unnamed 2015-07-16 20:40:40 -07:00
Max Forbes 7a3891e5f8 Add ServiceAccount as an alias for ServiceAccountName 2015-07-16 15:48:49 -07:00
Tim Hockin f7512d007b Add munger to verify kubectl -f targets, fix docs 2015-07-16 15:39:45 -07:00
David Oppenheimer fd2c3695e3 Move docs/services-firewalls.md into docs/user-guide/ and make small
wording changes to api.md
2015-07-16 13:21:14 -07:00
nikhiljindal 1517b66001 Updating an error to apierror 2015-07-15 16:43:59 -07:00
Eric Tune d7a0bb4020 Merge pull request #11258 from nikhiljindal/dupNickname
Add namespace to swagger nicknames to prevent duplicate nicknames
2015-07-15 16:42:59 -07:00
Eric Tune ef0b68da52 Merge pull request #11250 from brendandburns/monitor
Add monitoring and healthz based on tunnel health.
2015-07-15 15:00:17 -07:00
Eric Tune 2e848ed707 Merge pull request #10585 from caesarxuchao/fix-alias
Add boundary check before accessing os.Args[1]
2015-07-15 15:00:09 -07:00
Alex Robinson e943c47e68 Fix issue of comparing instance URLs with different project ID representations
in GCE target pools.
2015-07-15 21:24:45 +00:00
deads2k 98d6b454f3 pass along status errors for upgrades 2015-07-15 15:53:29 -04:00
Tim Hockin 30697aeef2 Add an 'ns' shortcut, tidy capital letters 2015-07-15 11:31:29 -07:00
Tim Hockin fe89298c09 Fix load-balancer firewall messages 2015-07-14 21:07:46 -07:00
hurf 4f9c486308 Fix hits in help strings of kubectl get command
Removed duplicated 'nodes (no)', added 'secret' for resource type.
Use actual long resource name to avoid confusion.
2015-07-15 09:43:51 +08:00
Brendan Burns 25d3834b74 Add monitoring and healthz based on tunnel health. 2015-07-14 14:37:38 -07:00
nikhiljindal dda71bdc7b Add namespace to nickname to prevent dup swagger nicknames 2015-07-14 13:41:13 -07:00
Eric Tune 0b597aaf66 Merge pull request #11239 from mikedanese/user-docs-move
Move user docs to docs/user-guide/
2015-07-14 12:40:23 -07:00
Mike Danese 2476d78ac2 point tests to new doc location 2015-07-14 12:23:16 -07:00
hurf 6dd8a1dfa4 Add a better help message for kubectl describe
When resource type isn't given in the command, print the possible
resource types. Also added the resource type description in help
strings.
2015-07-14 16:22:42 +08:00
Tim Hockin 2d8c9d6c5e Merge pull request #10913 from feihujiang/fixSmallNitsForPortForwardCommand
Fix small nits for kubectl port-forward command
2015-07-13 12:55:34 -07:00
Brendan Burns 7620041ed4 Fix a small typo. 2015-07-13 09:38:40 -07:00
Zach Loafman ca21fca74a Fix TestRunExposeService
No longer emits "you will also need to explicitly open a firewall"
after #10974.

Fixes #11105
2015-07-13 06:48:58 -07:00
markturansky 4b601a80fe added formatLabel to pvclaims 2015-07-11 09:47:03 -04:00
Brendan Burns 9c84d0118f Revert "Versioning docs and examples for 1.0.0"
This reverts commit efe72fd580.
2015-07-10 21:03:27 -07:00
Brendan Burns fcb7c8c15d Kubernetes version v1.0.0-dev 2015-07-10 21:02:31 -07:00
Brendan Burns cd821444dc Kubernetes version v1.0.0 2015-07-10 21:01:34 -07:00
Brendan Burns efe72fd580 Versioning docs and examples for 1.0.0 2015-07-10 21:00:33 -07:00
Rohit Jnagal d61d272beb Merge pull request #10974 from brendandburns/lakesong
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 19:21:06 -07:00
Zach Loafman 9aeb96c21e Merge pull request #11097 from zmerlynn/v0.21.2-merge-to-master
V0.21.2 merge to master
2015-07-10 19:16:33 -07:00
Zach Loafman 27449ab1f7 0.21.2 merge to master 2015-07-10 18:55:54 -07:00
Zach Loafman 196ed7dc5b Merge pull request #11084 from brendandburns/fix
add spec.host as a synonym for spec.nodeName in v1
2015-07-10 18:50:23 -07:00
Zach Loafman 6ea0c2b3b7 Fix gofmt from #11084
(cherry picked from commit 63c73a58a5)
2015-07-10 17:14:12 -07:00
Zach Loafman c85f20021b Revert "Versioning docs and examples for 0.21.2"
This reverts commit baf92e62a0.
2015-07-10 17:06:22 -07:00
Zach Loafman bc4e751093 Kubernetes version v0.21.2-dev 2015-07-10 17:06:22 -07:00
Zach Loafman 4e89f2e667 Kubernetes version v0.21.2 2015-07-10 17:06:22 -07:00
Zach Loafman baf92e62a0 Versioning docs and examples for 0.21.2 2015-07-10 17:06:22 -07:00
Zach Loafman 63c73a58a5 Fix gofmt from #11084 2015-07-10 17:01:28 -07:00
Brendan Burns a93d33d961 add spec.host as a synonym for spec.nodeName in v1 2015-07-10 15:51:35 -07:00
Brendan Burns 2f47b3ed11 add spec.host as a synonym for spec.nodeName in v1 2015-07-10 15:16:48 -07:00
Kris Rousey 1d033b9912 Adding proper timeouts. 2015-07-10 14:42:59 -07:00
Brendan Burns a8f02e5472 Automatically open a firewall when creating a GCE load balancer. 2015-07-10 14:35:29 -07:00
Rohit Jnagal b465f7a860 Merge pull request #11024 from a-robinson/throttle
Increase the rate limiting of GCE's token source
2015-07-10 12:22:34 -07:00
Rohit Jnagal affba42a05 Merge pull request #10958 from cjcullen/racefix
Remove race in setting/reading kubelet.podCIDR
2015-07-10 10:09:44 -07:00
Rohit Jnagal ebc11e11ad Merge pull request #9782 from andronat/9578_TestCreateCleanWithPrefix
TestCreateCleanWithPrefix was failing if env variables existed
2015-07-10 10:04:20 -07:00
deads2k f203b16cd9 add originator to reflector logging 2015-07-10 11:34:49 -04:00
Stef Walter 3db0bfdf65 kubectl: Handle splitting host:port when no port is present
In the proxy filter, if listening on port 80 or 443 there will
be no port present in the Host: HTTP header. Just use the entire
thing in these cases, and don't reject requests when no port
is present in the Host: HTTP header.
2015-07-10 09:35:22 +02:00
Chao Xu 48679d21d2 add boundary check before access os.Args 2015-07-09 16:15:42 -07:00
Alex Robinson b52c6f673e Increase the rate limiting of GCE's token source. The burst being at 3
means transient errors won't incur such long waits, but repeating
failures shouldn't be retrying every second.
2015-07-09 22:51:23 +00:00
Joe Beda 31de03c18a Fix up #10851 to be golang 1.3 compatible.
See also #11016
2015-07-09 14:53:57 -07:00
Joe Beda 0426ab3290 Update list of resources for 'kubectl get' help output. 2015-07-09 08:59:32 -07:00
Joe Beda c15953662e Fix up alignment of columns w/ namespaces.
Fixes #10842

All issues for types that use "extra lines" for extended information.  Two issues fixed: (1) When namespaces are listed an extra column isn't inserted for extra lines and (2) trailing tabs aren't inserted when label columns are specified.

This code should probably move to a more explicit model of putting data into "cells".

The test for this hits https://github.com/golang/go/issues/6416 and so I introduced a "LineDelimiter" writer filter to make white space more visible.
2015-07-09 08:59:32 -07:00
Victor Marmol edaa1a69e5 Merge pull request #10525 from nikhiljindal/delbeta3
Stop exposing v1beta3 by default
2015-07-09 08:38:32 -07:00
Zach Loafman 3910893d37 0.21.1 merge to master 2015-07-08 18:52:51 -07:00
Zach Loafman 9d2691d48b Kubernetes version v0.21.1-dev 2015-07-08 18:52:51 -07:00
Zach Loafman 906122a279 Kubernetes version v0.21.1 2015-07-08 18:52:51 -07:00
Victor Marmol 7bb9cdf660 Merge pull request #10830 from jimmidyson/gc-log-symlinks
Fixes #8945: Cleanup log symlinks on remove & dead log symlinks
2015-07-08 17:22:21 -07:00
Victor Marmol f427b997ca Merge pull request #10889 from cjcullen/tokenMetrics
Add prometheus metrics for altTokenSource.
2015-07-08 16:13:38 -07:00
nikhiljindal c465a50891 Stop exposing v1beta3 by default 2015-07-08 15:27:41 -07:00
CJ Cullen da0bc5f690 Remove race in setting/reading kubelet.podCIDR 2015-07-08 14:58:14 -07:00
nikhiljindal fc4da6844e removing references to pre v1beta3 apis 2015-07-08 13:51:43 -07:00
Janet Kuo 524e70d501 Make "age" of pod print example static 2015-07-08 11:26:13 -07:00
Victor Marmol 127fe8d4a5 Merge pull request #10854 from JanetKuo/swag-doc-url
Embed doc URLs in swagger document
2015-07-08 10:01:10 -07:00
Victor Marmol d90cd98d7b Merge pull request #10894 from jlowdermilk/describe-docs
Update kubectl describe help to document prefix matching behavior
2015-07-08 09:59:57 -07:00
feihujiang eca0ae08c5 Fix small nits for kubectl port-forward command 2015-07-08 15:53:53 +08:00
Jimmi Dyson 8e482462fb Fixes #8945: Cleanup log symlinks on remove & dead log symlinks 2015-07-08 08:43:59 +01:00
nikhiljindal 5c2cd0045a Updating swagger-ui to the latest version 2015-07-07 17:48:22 -07:00
Jeff Lowdermilk 229cbd472d Update kubectl describe help to document prefix matching behavior 2015-07-07 16:57:37 -07:00
CJ Cullen 53c9f324c2 Add prometheus metrics for altTokenSource. 2015-07-07 15:25:23 -07:00
Zach Loafman 75fb18a354 Revert "Versioning docs and examples for 0.21.0"
This reverts commit aa9d423e78.
2015-07-07 14:56:56 -07:00
Zach Loafman 708f3a9b55 Kubernetes version v0.21.0-dev 2015-07-07 14:56:55 -07:00
Zach Loafman 39b013a5d5 Kubernetes version v0.21.0 2015-07-07 14:56:55 -07:00
Zach Loafman aa9d423e78 Versioning docs and examples for 0.21.0 2015-07-07 14:56:55 -07:00
Janet Kuo 9c3c23686f Embed doc URLs in swagger document 2015-07-07 14:23:52 -07:00
Jeff Lowdermilk 8d4167e7f6 kubectl resource builder: don't check extension for single files
`kubectl create -f filename` doesn't need to check the extension
of filename. This fixes that behavior.
2015-07-07 13:48:29 -07:00
Yu-Ju Hong e29b76d46e Merge pull request #10849 from bgrant0607/bugfix1
Update UI redirect to kube-system.
2015-07-07 13:18:04 -07:00
Brian Grant ee06479a66 Update UI redirect to kube-system. 2015-07-07 18:21:07 +00:00
Yu-Ju Hong 530bff315f Merge pull request #10719 from justinsb/aws_mountpoints
AWS: Some images require volume mounts on /dev/xvdX
2015-07-07 10:48:19 -07:00
Jimmi Dyson 159c3c87de Fixes #10803: Delete Docker container volumes on GC 2015-07-07 13:11:28 +01:00
MarkDv ab40fca77c align example with code implementation 2015-07-07 02:05:15 -07:00
Yu-Ju Hong d675cbfc71 Merge pull request #10690 from thockin/version-api-descriptions
Version API descriptions
2015-07-06 17:41:10 -07:00
Brendan Burns 988aa6fdf6 Move things into a 'kube-system' namespace. 2015-07-06 15:08:23 -07:00
Yu-Ju Hong 7b55cbb0bd Merge pull request #10569 from yifan-gu/authn
apiservier: avoid stacktracing when http.StatusUnauthorized.
2015-07-06 15:05:12 -07:00
Yu-Ju Hong ad88cf9a99 Merge pull request #10557 from smarterclayton/override_auth
The bearer token client transport should not override Authorization
2015-07-06 15:04:45 -07:00
Yu-Ju Hong a802ac29a9 Merge pull request #10625 from bcbroussard/table-updates
Update Web UI table formatting
2015-07-06 12:56:55 -07:00
Yu-Ju Hong b9cc548799 Merge pull request #10763 from bprashanth/timer_leak
Don't leak tickers during an exec probe
2015-07-06 11:59:24 -07:00
Yu-Ju Hong 97baadab46 Merge pull request #10711 from eparis/self-sign-cert-san
Do not create subject alt dns names for kubelet self signed certs
2015-07-06 11:40:34 -07:00
Yu-Ju Hong 4d86127098 Merge pull request #10644 from erictune/noslash
NAMESPACE in own column: kubectl --all-namespaces
2015-07-06 11:40:02 -07:00
Yu-Ju Hong 736b3cb050 Merge pull request #10181 from swagiaal/aws-ebs-name
Use instance availability zone for AWS EBS
2015-07-06 11:39:33 -07:00
Yu-Ju Hong 04018f9ca2 Merge pull request #10619 from andronat/rename_REASON
Rename REASON column to STATUS for kubectl get
2015-07-06 11:39:16 -07:00
Yu-Ju Hong b58e7c8c2d Merge pull request #10655 from dchen1107/cadvisor
Set minimal shares for containers with no cpu specified
2015-07-06 11:38:54 -07:00
Yu-Ju Hong d5ae8192fc Merge pull request #10654 from nikhiljindal/getToPostClient
Updating kubectl to use POST instead of GET for port-forward and exec
2015-07-06 10:54:27 -07:00
Yu-Ju Hong 9b9fd43973 Merge pull request #10717 from justinsb/aws_instance_not_found
AWS: Return InstanceNotFound from ExternalID when not found
2015-07-06 09:59:38 -07:00
Yu-Ju Hong 056ed89706 Merge pull request #10665 from thockin/ep-shortcut
Add 'ep' as a shortcut for 'endpoints'
2015-07-06 09:55:06 -07:00
Prashanth Balasubramanian 33e2f7cb8b Don't leak tickers in the exec probe 2015-07-05 17:52:52 -07:00
Eric Paris cde68d294b Do not create subject alt dns names for kubelet self signed certs
PR #10643 Started adding the dns names for the kubernetes master to self
sign certs which were created. The kubelet uses this same code, and thus
the kubelet cert started saying it was valid for these name as well.
While hardless, the kubelet cert shouldn't claim to be these things. So
make the caller explicitly list both their ip and dns subject alt names.
2015-07-04 23:01:01 -04:00
Tim Hockin 3caf3ccad2 make API descriptions use releases.k8s.io 2015-07-04 13:32:22 -07:00
Justin Santa Barbara f33df03d50 AWS: Some images require volume mounts on /dev/xvdX
It seems impossible to determine from outside.  Thankfully we're running
the attachment from inside the instance, so can check for /dev/sdX or
/dev/xvdX.

More modern images seem to be moving to /dev/xvdX
2015-07-04 10:45:06 -04:00
Justin Santa Barbara 591a113406 AWS: Return InstanceNotFound from ExternalID when not found
Despite finding and documenting the importance of this, I was still doing it
wrong!
2015-07-04 10:41:38 -04:00
Justin Santa Barbara fca7822800 Misc (non-code) spelling fixes 2015-07-04 10:39:37 -04:00
Maciej Szulik a11911d20d Fixed notin operator in labels' selectors comments. 2015-07-03 17:33:46 +02:00
Eric Tune 88fa471d06 NAMESPACE in own column: kubectl --all-namespaces 2015-07-02 22:23:52 -07:00
Justin Santa Barbara 5ae7c13ad3 AWS: Use private dns name for node name again
This is a partial reversion of #9728, and should fix #10612.

9728 used the AWS instance id as the node name.  But proxy, logs
and exec all used the node name as the host name for contacting the minion.

It is possible to resolve a host to the IP, and this fixes logs.  But
exec and proxy also require an SSL certificate match on the hostname,
and this is harder to fix.

So the sensible fix seems to be a minimal reversion of the changes in #9728,
and we can revisit this post 1.0.
2015-07-03 01:23:51 -04:00
Nikhil Jindal 91fc591e5e Merge pull request #10598 from feihujiang/nameInsteadOfID
Using NAME to replace ID in help string
2015-07-02 15:26:24 -07:00
Nikhil Jindal 05ce0472e9 Merge pull request #10643 from eparis/self-sign-cert-san
Add Subject Alt Names to self signed apiserver certs
2015-07-02 12:21:22 -07:00
Nikhil Jindal 09a57fadfb Merge pull request #10532 from feihujiang/outputErrorWhenUsingDescribeForNonexist
Output error when using kubectl describe for a nonexisting resource
2015-07-02 11:07:19 -07:00
Dawn Chen 9ce11545c0 Explicitly configure master component containers and nginx with 200m each. 2015-07-02 10:46:39 -07:00
Nikhil Jindal 204b90e697 Merge pull request #10593 from lavalamp/kubeletRegister
Fix node not rejoining cluster on reboot
2015-07-02 10:39:17 -07:00
BC Broussard 288c1df4e4 Update Web UI tables
- Condense table styling
- Default table size to 50
- Make all columns sortable
- Rename service portalIP to clusterIP
- Allow default descending table ordering
2015-07-02 08:43:37 -07:00
jhadvig 7df1d33204 Fix NewNotFound method name in comments 2015-07-02 12:41:12 +02:00
Wojciech Tyczynski ef41ceb3e4 Merge pull request #10646 from yujuhong/reduce_noise
Kubelet: stop logging "Error on reading termination-log..." messages
2015-07-02 09:32:27 +02:00
Wojciech Tyczynski 2f4574167d Merge pull request #10561 from smarterclayton/make_empty_public
Make util.empty public for conversions
2015-07-02 09:31:25 +02:00
Tim Hockin 3c2359384c Add 'ep' as a shortcut for 'endpoints' 2015-07-01 23:02:46 -07:00
Dawn Chen 4b85e02504 Set minimal shares for containers with no cpu specified 2015-07-01 21:17:07 -07:00