Commit Graph

6617 Commits

Author SHA1 Message Date
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
Zach Loafman
5dbe90f0ba Merge pull request #10493 from krousey/namespace
Unify command line namespace resolution
2015-07-01 19:33:44 -07:00
nikhiljindal
b38d8b18a5 Updating kubectl to use POST instead of GET 2015-07-01 17:07:24 -07:00
Zach Loafman
700a6441de Merge pull request #10313 from yujuhong/kubelet_delete
Add an e2e test to verify that pods are deleted on nodes
2015-07-01 16:47:30 -07:00
Eric Tune
21bbde46d4 Error: kubectl --all-namespaces get {node|ev|cs}
Report an error if someone asks for --all-namespaces
when getting a thing that is not namespaced.

This is in preparation for a subsequent commit which prints namespace
as its own column.

Restructured test to expect an error for non-namespaced things.
Dropped the part where it was trying to test that not printing
namespace didn't contain namespace.  Some other test can cover that.
2015-07-01 16:35:55 -07:00
Zach Loafman
b60c8e567f Merge pull request #10077 from timstclair/ui-server
Move dashboard UI out of the apiserver to a separate pod
2015-07-01 15:56:33 -07:00
Zach Loafman
e5670c104d Merge pull request #10604 from nikhiljindal/v1
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
Yifan Gu
b30e77c1b3 apiservier: avoid stacktracing for StatusUnauthorized and StatusForbidden. 2015-07-01 14:41:52 -07:00
nikhiljindal
274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Tim St. Clair
78609986b9 Remove dashboard ui from apiserver & point /ui at kube-ui 2015-07-01 14:21:51 -07:00
Tim St. Clair
b6b2d6df42 Add kube-ui cluster addon for serving k8s dashboard UI.
Changes include:
- Add kube-ui binary for serving static dashboard UI
- Add kube-ui docker image, replication controller, and service
- Make the kube-ui a cluster-addon (enabled by default)
- Split the compiled pkg/ui/datafile.go into separate dashboard and swagger packages
- Update docs to reflect changes
2015-07-01 14:21:47 -07:00
Yu-Ju Hong
d6ff297a1f Kubelet: stop logging "Error on reading termination-log..." messages
If a pod was deleted and the associated volumes/directory were removed, there
could be a window where the pod worker is still active. If the pod worker tries
to inspect the logs, such an error would be logged. Since the pod has been
deleted, such error messages are meaningless.

This change stops logging this error, but stores the error string in the pod
status. The pod status will be updated for pods that are still alive, and will
be discarded eventually for deleted pods.
2015-07-01 14:20:42 -07:00
Zach Loafman
9363285b4a Merge pull request #10320 from yujuhong/kubelet_logging
Kubelet: add and modify some logging messsages
2015-07-01 14:16:23 -07:00
Eric Paris
7a29af4d2c Add Subject Alt Names to self signed apiserver certs
A cert from GCE shows:
- IP Address:23.236.49.122
- IP Address:10.0.0.1
- DNS:kubernetes,
- DNS:kubernetes.default
- DNS:kubernetes.default.svc
- DNS:kubernetes.default.svc.cluster.local
- DNS:e2e-test-zml-master

A similarly configured self signed cert shows:
- IP Address:23.236.49.122
- IP Address:10.0.0.1
- DNS:kubernetes
- DNS:kubernetes.default
- DNS:kubernetes.default.svc

So we are missing the fqdn kubernetes.default.svc.cluster.local. The
apiserver does not even know the fqdn! it's defined entirely by the
kubelet! We also do not have the cluster name certificate. This may be
--cluster-name= argument to the apiserver but will take a bit more
research.
2015-07-01 17:05:17 -04:00
Clayton Coleman
4e7526fc18 The bearer token client transport should not override Authorization
If an authorization header is already set via the client or request,
the bearer transport for the client should not override the
Authorization header.

Allows one client to be used for multiple users when acting as a
proxy or gateway.
2015-07-01 16:14:25 -04:00
Clayton Coleman
8d189245fb Make util.empty public for conversions
Some downstream components want to use a StringSet in their internal
objects, but leaving util.empty private means that generated conversions
cannot create constructors generically for those objects.  This makes
Empty public until such a time as the generator supports private types.
2015-07-01 16:12:15 -04:00
Zach Loafman
9db58ff2b2 Merge pull request #10632 from nikhiljindal/revert-etcderrors
Revert "Merge pull request #10246 from nikhiljindal"
2015-07-01 13:06:18 -07:00
Kris Rousey
ffa764d60b Unify command line namespace resolution
This change allows the namespace in kubeconfig to be overridden by
specifying the namespace in the spec file. If namespace is explicitly
provided in the command line flags and the spec file has a different
namespace, this will cause an error.
2015-07-01 12:59:17 -07:00
Zach Loafman
62aca7e762 Merge pull request #9791 from hurf/ns_describe
Display namespace while describing resources.
2015-07-01 12:01:50 -07:00
Zach Loafman
9e23ad7102 Merge pull request #10510 from mikedanese/kubectl-context-err
make use-context return error when context does not exist
2015-07-01 12:01:24 -07:00
Zach Loafman
00193bf1ac Merge pull request #10529 from jlowdermilk/upgrade-aware-proxy-ssh
Make UpgradeAwareProxyHandler use transport.Dial if provided
2015-07-01 12:01:01 -07:00
Zach Loafman
0edd827c1c Merge pull request #10566 from markturansky/pvspec_desc
Removed extraneous json descriptions from internal types
2015-07-01 12:00:31 -07:00
Clayton Coleman
d8bb4552de Cloud provider should return an error
Not fatal - makes cloud provider useful in methods that
can return error.
2015-07-01 14:41:49 -04:00
Jordan Liggitt
b4802b7cee Fix service account describer 2015-07-01 14:15:30 -04:00
Zach Loafman
7689391c68 Merge pull request #10504 from bcbroussard/explore-updates
Update Web UI Explore page
2015-07-01 11:09:49 -07:00
nikhiljindal
d82d5d11a7 Revert "Merge pull request #10246 from nikhiljindal"
This reverts commit a902a2f014, reversing
changes made to 7df8d76a93.
2015-07-01 11:07:18 -07:00
Jeff Lowdermilk
f0a36b0afd Make UpgradeAwareProxyHandler use transport.Dial if provided
This change is required for the handler to work with sshtunnels.
Without it, `kubectl exec` and `kubectl port-forward` are broken
when an ssh proxy is used (see #9292). I manually verified this
fixes that issue, e2e test coming shortly.
2015-07-01 10:56:05 -07:00
Daniel Smith
5911a12b14 Fix node not rejoining cluster on reboot
Also improve logging. Fixes #10368.

GCE's external ID apparently can change after a reboot.
2015-07-01 10:21:24 -07:00
Anastasis Andronidis
7480077f2b Rename REASON column to STATUS for kubectl get
Fixes #10560
2015-07-01 17:38:27 +02:00
Zach Loafman
b42cac69cb Merge pull request #10519 from JanetKuo/kubectl-c
Enable -c for kubectl logs container arg
2015-07-01 08:36:38 -07:00
Zach Loafman
03be2f3f0b Merge pull request #10545 from liggitt/rate_limit
Switch to token bucket rate limiter with better performance
2015-07-01 08:36:19 -07:00
Zach Loafman
502103cdc6 Merge pull request #10453 from satnam6502/fix-es
Change port names to avoid validation failure
2015-07-01 08:30:28 -07:00
Zach Loafman
add08cb9c3 Merge pull request #10491 from JanetKuo/kubectl
Implement 'kubectl get ... -o wide'
2015-07-01 06:41:44 -07:00
Zach Loafman
513bf2ceba Merge pull request #10583 from cjcullen/lockfix
Don't hold lock while opening new sshTunnels.
2015-07-01 06:41:04 -07:00
Wojciech Tyczynski
5965e82a3a Merge pull request #10500 from lavalamp/etcdChanFix
Fix logging.
2015-07-01 11:47:22 +02:00
feihujiang
70036069ee Using NAME to replace ID in help string 2015-07-01 15:35:08 +08:00
nikhiljindal
2e9e46dd08 Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
Zach Loafman
1715505d6b Merge pull request #10538 from marekbiskup/typo-hypen
correct typo
2015-06-30 23:11:11 -07:00
Mike Danese
aea3403734 make use-context return error when context does not exist 2015-06-30 19:08:55 -07:00
CJ Cullen
0e2be0d320 Fix record tests 2015-06-30 17:08:27 -07:00
CJ Cullen
2a803769fc Fix gofmt in replication_controller_test.go 2015-06-30 17:01:15 -07:00
CJ Cullen
12553c9b91 Fix errors test 2015-06-30 16:43:33 -07:00
Zach Loafman
9a5891dc89 Merge pull request #10391 from wojtek-t/longer_metrics
Increase the length of sliding window for latency metrics
2015-06-30 16:04:53 -07:00
Zach Loafman
2884446c50 Merge pull request #10443 from bprashanth/sort_rc
Handle overlapping controllers semi-deterministically
2015-06-30 15:56:54 -07:00
Zach Loafman
df753b74ed Merge pull request #10509 from nikhiljindal/getToPost
Support both GET and POST methods in api server for /exec and /portforward
2015-06-30 15:56:31 -07:00
Zach Loafman
a902a2f014 Merge pull request #10246 from nikhiljindal/minionPrefix
Return api/errors instead of raw etcd errors
2015-06-30 15:47:58 -07:00
Zach Loafman
7df8d76a93 Merge pull request #10169 from saad-ali/fixPDIssue2
Work around for PDs stop mounting after a few hours issue
2015-06-30 15:47:21 -07:00
Zach Loafman
a80cbe6069 Merge pull request #10567 from alex-mohr/merge-release-0.20-to-master
Merge release 0.20.2 to master
2015-06-30 15:10:21 -07:00
Alex Mohr
63913da73e Update version to 0.20.2+ 2015-06-30 14:24:14 -07:00
Janet Kuo
682734bcc7 Implement 'kubectl get ... -o wide' 2015-06-30 14:06:47 -07:00
Zach Loafman
5529f11eb9 Merge pull request #10533 from thockin/better-errors
Don't repeat field name in errors
2015-06-30 14:01:39 -07:00
Zach Loafman
686f5a3084 Merge pull request #10556 from smarterclayton/remove_hardcoded_version
Do not hardcode version
2015-06-30 13:53:35 -07:00
saadali
c952ee23a7 Work around for PDs stop mounting after a few hours issue 2015-06-30 13:31:03 -07:00
Janet Kuo
62b488359f Enable -c for kubectl logs container arg 2015-06-30 13:25:54 -07:00
markturansky
c39be4bc74 Removed extraneous json desc 2015-06-30 15:28:12 -04:00
Tim Hockin
15766bfbbc Don't repeat field name in errors 2015-06-30 11:58:21 -07:00
Satnam Singh
4e58e001da Change port names to avoid validation failure 2015-06-30 10:56:20 -07:00
Daniel Smith
eabc344eed Fix logging; extend queue length to 100 2015-06-30 10:27:24 -07:00
Jordan Liggitt
f265d5c5ee Switch token bucket rate limiter to github.com/juju/ratelimit 2015-06-30 10:34:41 -04:00
Clayton Coleman
873fa1067e Do not hardcode version
The version is inferred automatically by client.New in
SetKubernetesDefaults(), and also negotiated.
2015-06-30 10:30:58 -04:00
Marek Biskup
88c70d2ae0 correct typo 2015-06-30 11:23:48 +02:00
feihujiang
55db7ec369 Output error when using kubectl describe for a nonexisting resource 2015-06-30 14:12:58 +08:00
Alex Robinson
835eded294 Merge pull request #10526 from mikedanese/nil-deref-test
bug: fix possible nil pointer derefrence in test
2015-06-29 21:01:37 -07:00
Mike Danese
5a48eee611 bug: fix possible nil pointer derefrence in test 2015-06-29 20:34:26 -07:00
BC Broussard
d1893bc366 Update Web UI Explore
Hide blank label dropdowns
Escape characters in group descriptions and label selectors
Update label selectors
2015-06-29 16:51:48 -07:00
Chao Xu
7f89a29aad add "kubectl patch". It will replace "kubectl udpate --patch" in the future 2015-06-29 16:36:45 -07:00
nikhiljindal
4b7f7ce535 Dont return raw etcd errors 2015-06-29 16:18:46 -07:00
CJ Cullen
ea2d617944 Don't hold lock while opening new sshTunnels. 2015-06-29 16:16:25 -07:00
Alex Robinson
764d34d363 Merge pull request #10468 from caesarxuchao/add-cmd-replace
Add command "kubectl replace"
2015-06-29 16:06:33 -07:00
nikhiljindal
e0d48d4983 Support both GET and POST methods for /exec and /portforward 2015-06-29 16:01:01 -07:00
Prashanth Balasubramanian
90ebc1ad29 Sort overlapping rcs 2015-06-29 15:30:19 -07:00
Alex Robinson
68bbf6c129 Merge pull request #10447 from feihujiang/helpfulErrorForUnsupportedVersion
Provide more helpful error when using unsupported api version
2015-06-29 15:00:58 -07:00
Alex Robinson
5d13e78572 Merge pull request #9781 from andronat/5840_yaml_2
Fixes ignored objects in one YAML file
2015-06-29 14:29:59 -07:00
Anastasis Andronidis
530369cc01 TestCreateCleanWithPrefix was failing if env variables existed 2015-06-29 23:14:36 +02:00
Alex Robinson
b758be0daf Merge pull request #9047 from kazegusuri/allocator_test
add unit test for allocator
2015-06-29 14:11:48 -07:00
Anastasis Andronidis
697e07f864 Correctly parse multiple resources from files
Refactored how files, directories and stdin are handled. Every file must pass
through the FileVisitor and then streamed through StreamVisitor. FileVisitor
takes care of opening/closing files and StreamVisitor is parsing multiple
resources.
2015-06-29 23:11:46 +02:00
Alex Robinson
b3aad24d40 Merge pull request #10414 from swagiaal/iscsi-print-error
iscsi plugin: print error messages not just exit status.
2015-06-29 14:06:09 -07:00
Alex Robinson
10a0dc9aae Merge pull request #9928 from jlowdermilk/version-negotiate-tests
Unittest for #9762
2015-06-29 13:34:13 -07:00
Alex Robinson
83f0bd668c Merge pull request #10427 from lavalamp/etcdChanFix
Don't block etcd client
2015-06-29 13:28:48 -07:00
Chao Xu
9b3d42c090 Add command "kubectl replace". "kubectl update" is still supported as an alias.
"kubectl replace --patch" is NOT supported. It's moved to "kubectl patch" as a separate command in another commit.
2015-06-29 12:14:24 -07:00
Yu-Ju Hong
de75a42cb2 Add a kubelet /runningpods endpoint
/runningpods returns a list of pods currently running on the kubelet. The list
is composed by examining the container runtime, and may be different from the
desired pods to run known by kubelet.

This is useful for tests to verify that pods are indeed deleted on nodes.
2015-06-29 11:29:23 -07:00
Alex Robinson
21f750fdc3 Merge pull request #10287 from wojtek-t/changes_to_registry
Remove some dead code
2015-06-29 11:02:41 -07:00
Alex Robinson
143bfeb40e Merge pull request #10471 from bprashanth/master_list
Kubelet doesn't fight apiserver for cputime on the master.
2015-06-29 10:22:00 -07:00
markturansky
fe6399a689 Changed plugin name from exported to private 2015-06-29 13:07:22 -04:00
markturansky
7e1eb15434 Changed plugin name from exported to private 2015-06-29 13:04:09 -04:00
Alex Robinson
fa1d0e59e8 Merge pull request #10422 from bcbroussard/gauge-colors
Update Web UI Bar Gauge Graphs
2015-06-29 09:25:47 -07:00
Sami Wagiaalla
a317b5ffc8 iscsi plugin: print error messages not just exit status.
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-29 11:28:56 -04:00
feihujiang
878a72228f Provide more helpful error when using unsupported api version 2015-06-29 15:32:54 +08:00
Tim Hockin
025f728e50 Fix 'a' vs 'an' 2015-06-28 20:51:36 -07:00
jiangyaoguo
79ed954ec2 replace Reflector with client.cache.Reflector in kube-proxy 2015-06-29 11:21:50 +08:00
Prashanth Balasubramanian
029e0ad350 Kubelet doesn't fight apiserver for cputime on the master. 2015-06-28 19:53:35 -07:00
hurf
b13d29fbe8 Display namespace while describing resources.
Display namespace while describing pod, rc, secret, service,
serviceAccount, limitRange, resourceQuota and pvc.

For containers and events are always displayed with other
resources, it's not necessary to show namespace for them.
2015-06-29 09:17:12 +08:00
Tim Hockin
08f66f04d6 Fix error message 2015-06-28 14:49:38 -07:00
Robert Bailey
6b97ac0880 Merge pull request #10131 from thockin/svc-docs
Hopefully make NodePort docs clearer
2015-06-26 21:50:46 -07:00
Robert Bailey
ed03973ae0 Merge pull request #10269 from nikhiljindal/eventsErrors
Returning api/errors from event/rest.go
2015-06-26 17:12:09 -07:00
Robert Bailey
8ee63307e4 Merge pull request #9958 from smarterclayton/use_copier
Use runtime.Copier instead of hardcoding api.Scheme
2015-06-26 17:11:48 -07:00
Daniel Smith
45ac0cf25e Don't block etcd client 2015-06-26 14:27:13 -07:00
BC Broussard
2f43fc72db Update Web UI Bar Gauge Graphs
- Changed file system abbreviation from 'FS' to Filesystem
- Made chart height dynamic and incorporated legend height change into the master code/datafile.go binary
- Updated the max colors for the graph
- Realigned graph numbers
2015-06-26 13:52:08 -07:00
nikhiljindal
7b56d89e80 Returning api/errors from event 2015-06-26 13:51:55 -07:00
Robert Bailey
f9db614f95 Merge pull request #10234 from mikedanese/rolling-update-weird
Detect if replicas have been defaulted in rolling-update and use old replica count
2015-06-26 12:54:35 -07:00
Clayton Coleman
6970dda54e Use runtime.Copier instead of hardcoding api.Scheme
Allow other schemes to be supported by etcd_helper.go

runtime.Scheme.Copy() should be using the built in DeepCopy()
2015-06-26 14:50:33 -04:00
Clayton Coleman
93b14b9ede Search the parent FS for the proper binaries 2015-06-26 14:48:22 -04:00
Robert Bailey
8ebd896351 Merge pull request #10274 from brendandburns/release-0.20
Release 0.20
2015-06-26 11:34:10 -07:00
Clayton Coleman
fa7000a5bc Use nsenter on PATH in container, and separate args
nsenter needs '--' to separate calls
2015-06-26 14:28:08 -04:00
Robert Bailey
508f7f1697 Merge pull request #10358 from caesarxuchao/add-force-update
Add --force to `kubectl update`
2015-06-26 10:49:04 -07:00
Robert Bailey
54a3ebef3c Merge pull request #10315 from nikhiljindal/invalidValue
Updating the "invalid value" error message to include the list of valid values
2015-06-26 10:46:59 -07:00
Robert Bailey
0048eae8eb Merge pull request #9965 from stevekuznetsov/skuznets/allow-https
Allowing for HTTPS Probes
2015-06-26 10:43:37 -07:00
Wojciech Tyczynski
4c4d59a236 Increase the length of sliding window for latency metrics 2015-06-26 13:08:21 +02:00
Brendan Burns
8972a4865b Kubernetes version v0.20.0-dev 2015-06-25 20:10:17 -07:00
Brendan Burns
c17a15a0cb Kubernetes version v0.20.0 2015-06-25 20:08:58 -07:00
Maxwell Forbes
712f303350 Merge pull request #9736 from sdminonne/bug_fix2
To add validation for service ports when defined as string
2015-06-25 19:37:04 -07:00
Chao Xu
ef5de91fd7 add "--force" flag to "kubectl update";
update relevant tests
2015-06-25 17:16:20 -07:00
Maxwell Forbes
03121c2536 Merge pull request #10252 from akramer/patch-1
Fixing spacing in documentation comments
2015-06-25 15:09:41 -07:00
Steve Kuznetsov
3008ff6150 Changed HTTPGetAction to allow user-defined schemes 2015-06-25 16:59:12 -04:00
Maxwell Forbes
5e748c1d47 Merge pull request #10070 from lavalamp/e2eProxyFix
proxy e2e test improvements
2015-06-25 13:15:03 -07:00
nikhiljindal
3b3ee0ed77 Improving an error message 2015-06-25 13:08:09 -07:00
Sami Wagiaalla
4a6a492281 Use instance availability zone for AWS EBS
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-06-25 16:00:30 -04:00
Mike Danese
0c8f71aa0b make rolling update check if the replication controller has been defaulted 2015-06-25 12:29:21 -07:00
Mike Danese
f79736d767 make replicas a pointer in v1beta3 api 2015-06-25 11:53:18 -07:00
Mike Danese
2906f85227 allow conversions.Scheme to expose intermidiate versioned api object 2015-06-25 11:53:17 -07:00
Maxwell Forbes
a526e6ddb4 Merge pull request #10332 from dchen1107/cleanup
Include PodStatus.Message and PodStatus.Reason when kubectl describe …
2015-06-25 10:57:31 -07:00
Maxwell Forbes
d90895adfd Merge pull request #10221 from feihujiang/addSourceForErrorFromServerMessage
Add source in “error from server” message when using kubectl
2015-06-25 10:56:46 -07:00
Tim Hockin
ff91fef26b Hopefully make NodePort docs clearer 2015-06-25 10:46:15 -07:00
Maxwell Forbes
1904d4e1ce Merge pull request #10330 from brendandburns/addon
Use the namespace of the pod when creating the mirror.
2015-06-25 10:04:25 -07:00
Maxwell Forbes
655179dcfb Merge pull request #10264 from mikedanese/ca-token
add ca cert to token controller and all service accounts
2015-06-25 09:56:35 -07:00
Maxwell Forbes
fc349fdd47 Merge pull request #10060 from nikhiljindal/scopeParamPath
Updating the path param name to "namespace" instead of "namespaces"
2015-06-25 09:56:15 -07:00
Maxwell Forbes
2bb4cf3f8f Merge pull request #10266 from ArtfulCoder/kubelet_resolv
update docker's resolv.conf file with options ndots:5
2015-06-25 09:54:36 -07:00
Abhishek Shah
23caf446ae update docker's resolv.conf file with options ndots:5 2015-06-24 23:33:58 -07:00
feihujiang
b41b53122a Add source in “error from server” message when using kubectl 2015-06-25 14:20:09 +08:00
Dawn Chen
0a369fead6 Include PodStatus.Message and PodStatus.Reason when kubectl describe pods 2015-06-24 23:07:20 -07:00
Brendan Burns
c669fe300c Use the namespace of the pod when creating the mirror. 2015-06-24 21:49:40 -07:00
Maxwell Forbes
3afda5d566 Merge pull request #10312 from dchen1107/cleanup
Take 2: Fix the race between configuring cbr0 and restarting static pods
2015-06-24 17:59:50 -07:00
Maxwell Forbes
28946766a3 Merge pull request #9807 from krousey/container_manifest
Removing ContainerManifest
2015-06-24 17:55:29 -07:00
Dawn Chen
710fb4e413 add iptables rule for MASQUERADE for egress 2015-06-24 17:19:57 -07:00
Maxwell Forbes
e44f61993b Merge pull request #9304 from jsdir/master
Show resource limits with describe
2015-06-24 16:44:53 -07:00
Yu-Ju Hong
f7fd7e9687 Kubelet: add and modify some logging messsages
This helps debug #6651
2015-06-24 16:29:19 -07:00
Justin Santa Barbara
4461daa218 AWS: Enabling resize tests 2015-06-24 19:01:42 -04:00
Mike Danese
5760fe1957 use ca.crt as client certificate authority for inClusterConfig 2015-06-24 15:10:20 -07:00
Mike Danese
56bde3342a add ca to token controller and all service accounts 2015-06-24 15:10:20 -07:00
Maxwell Forbes
befe545033 Merge pull request #10253 from yifan-gu/log
kubelet/status_manager: Small logging fix.
2015-06-24 15:01:40 -07:00
Daniel Smith
689a3ee7a2 Make UI work through kubectl proxy (again)
Fixes #10115.
2015-06-24 13:54:14 -07:00
Daniel Smith
ddbe4c914f Fix proxy rewriting 2015-06-24 13:54:14 -07:00
akramer
5f44175dc4 Fixing spacing in documentation comments
There was some ugly spacing in the 'kubectl exec' documentation comments, I've fixed it and wrapped it to 80 chars.
2015-06-24 13:50:30 -07:00
nikhiljindal
6c6398edaa Update the path param name to namespace instead of namespaces 2015-06-24 13:45:49 -07:00
Maxwell Forbes
060cb43785 Merge pull request #10134 from brendandburns/gongysh2004-nodeport
Fix the warning when you create an externalized service
2015-06-24 13:21:27 -07:00
Maxwell Forbes
461fc2b01b Merge pull request #10277 from brendandburns/health
Switch to using the official etcd health check.
2015-06-24 11:45:51 -07:00
Kris Rousey
d13421e084 Removing ContainerManifest 2015-06-24 11:31:34 -07:00
Dawn Chen
6ddfa512de Revert "Revert "Fix the race between configuring cbr0 and restarting static pods""
This reverts commit fd0a95dd12.
2015-06-24 11:10:10 -07:00
Maxwell Forbes
11f9fd1dcd Merge pull request #10074 from nikhiljindal/retryUpdate
Allow update without resource version
2015-06-24 10:55:41 -07:00
Brendan Burns
f4e97be78e Switch to using the official etcd health check. 2015-06-24 10:18:39 -07:00
Wojciech Tyczynski
f6153445f1 Remove dead code 2015-06-24 15:14:33 +02:00
Piotr Szczesniak
fd0a95dd12 Revert "Fix the race between configuring cbr0 and restarting static pods" 2015-06-24 09:56:49 +02:00
Daniel Smith
bee68e48cd Have client store status code in Result 2015-06-23 18:48:01 -07:00
Jeff Lowdermilk
f4e7b5480d Merge pull request #10249 from mikedanese/unlink-test-libs
unlink testlibs from kube-apiserver and kubelet, remove test flags
2015-06-23 17:16:31 -07:00
Jeff Lowdermilk
838ddba1d9 Merge pull request #10188 from fabianofranz/fix_kubectl_set_credentials_example
Fixes wrong "kubectl config set-credentials" examples
2015-06-23 17:11:40 -07:00
Jeff Lowdermilk
50d50a3cb8 Merge pull request #10211 from dchen1107/cleanup
Fix the race between configuring cbr0 and restarting static pods
2015-06-23 17:09:01 -07:00
Dawn Chen
9dbe6fe4e4 Added more comments. 2015-06-23 16:28:41 -07:00
Jeff Lowdermilk
50e67d4034 Merge pull request #10216 from wojtek-t/reset_metrics
Expose /resetMetrics handle in apiserver
2015-06-23 16:07:41 -07:00
Jeff Lowdermilk
6dc6992023 Merge pull request #10192 from nikhiljindal/etcdError
Updating the error message to say node instead of minion
2015-06-23 15:48:53 -07:00
Jeff Lowdermilk
d212ea17cd Merge pull request #10182 from bprashanth/kubelet_status
Fix kubelet deadlock
2015-06-23 15:40:49 -07:00
Jeff Lowdermilk
141eba39e9 Merge pull request #9975 from derekwaynecarr/admission_name
Admission control attributes has access to resource name
2015-06-23 14:30:45 -07:00
Jeff Lowdermilk
9b1b72ea49 Merge pull request #10147 from bprashanth/sync_rc
Prevent restarts of kube-controller from overshooting and correcting replicas
2015-06-23 14:17:56 -07:00
Yifan Gu
384f022681 kubelet/status_manager: small logging fix. 2015-06-23 13:49:34 -07:00
Dawn Chen
23200d303f Fix several issues on running syncPods until network is configured.
Also fixed unittests and compiling.
2015-06-23 12:11:19 -07:00
Mike Danese
06c35a177c unlink testlibs from kube-apiserver and kubelet 2015-06-23 12:04:05 -07:00
derekwaynecarr
f6fb72ec51 Admission control attributes has access to resource name 2015-06-23 13:54:55 -04:00
Jeff Lowdermilk
5e25827919 Merge pull request #10204 from caesarxuchao/pr/9754/head
Continue on #9754, Improvements to the guestbook README, switch to .yaml files
2015-06-23 09:44:06 -07:00
Wojciech Tyczynski
23d405ad86 Expose /resetMetrics handle in apiserver 2015-06-23 11:12:45 +02:00
nikhiljindal
221ae4d63b Allow update without resource version 2015-06-23 00:16:08 -07:00
Brendan Burns
192ffdfb25 Fix the container bridge so that it can create cbr0
Fix the kubelet so that it tries to sync status, even if Docker is down
2015-06-22 23:18:01 -07:00
Chao Xu
59b654c996 fix tests for 22f1b07858 2015-06-22 17:10:09 -07:00
Jeff Lowdermilk
19991d5315 Merge pull request #10193 from zmerlynn/merge-release-0.19-to-master
Merge release 0.19.3 to master
2015-06-22 13:58:56 -07:00
Prashanth Balasubramanian
af175cc00b Add a pod status equality method to the status manager. 2015-06-22 13:49:49 -07:00
fabianofranz
fae27669aa Fixes kubectl config set-credentials examples 2015-06-22 17:34:04 -03:00
Zach Loafman
4274fccbc5 Merge remote-tracking branch 'upstream/release-0.19' into merge-release-0.19-to-master 2015-06-22 13:32:37 -07:00
Jeff Lowdermilk
7002ce2336 Merge pull request #10148 from mikedanese/log-service-account
log a message when we fall back to service account
2015-06-22 13:20:43 -07:00
Jeff Lowdermilk
cbf0a4f2db Merge pull request #10152 from markturansky/pv_recycler_precision_fix
Fixed PV recycler ActiveDeadlineSeconds precision
2015-06-22 13:17:03 -07:00
Jeff Lowdermilk
0c7fbacfb1 Merge pull request #10052 from derekwaynecarr/admission_subresources
Admission control exposes subresource
2015-06-22 13:11:58 -07:00
Jeff Lowdermilk
1874599c00 Merge pull request #8947 from bcbroussard/services-nodeport
Update the services web ui for nodeport and loadbalancer
2015-06-22 13:11:34 -07:00
nikhiljindal
4e02aef87d Updating the error message to say node instead of minion 2015-06-22 12:52:14 -07:00
Jeff Lowdermilk
b7583b799f Merge pull request #10151 from brendandburns/explore
Remove some dead code.
2015-06-22 12:02:05 -07:00
Jeff Lowdermilk
d0fc0d884d Merge pull request #9876 from andronat/9631_labelcolumn
Printing resource labels as columns
2015-06-22 11:55:26 -07:00
Zach Loafman
5534a8ca81 Revert "Release 0.19.3" 2015-06-22 10:56:38 -07:00
Robert Bailey
8a73b13859 Merge pull request #10184 from zmerlynn/release-0.19
Release 0.19.3
2015-06-22 10:56:18 -07:00
Jeff Lowdermilk
85770295c2 Merge pull request #10004 from ArtfulCoder/kubelet_health
Augmented kubelet healthz with syncLoop check.
2015-06-22 10:53:05 -07:00
Zach Loafman
82ae56a918 Kubernetes version v0.19.3-dev 2015-06-22 10:46:14 -07:00
Zach Loafman
3103c8ca0f Kubernetes version v0.19.3 2015-06-22 10:46:14 -07:00
Zach Loafman
0e30307512 Kubernetes version v0.19.2-dev 2015-06-22 10:43:26 -07:00
Zach Loafman
c3331c4f34 Kubernetes version v0.19.2 2015-06-22 10:43:25 -07:00
Jeff Lowdermilk
0f59847cc5 Merge pull request #9905 from justinsb/aws_ssh_user
Don't assume we always SSH as the current user
2015-06-22 10:37:07 -07:00
Jeff Lowdermilk
2418173784 Merge pull request #9963 from smarterclayton/add_options_to_proxy
OPTIONS should be passed through the proxy
2015-06-22 10:36:25 -07:00
Prashanth Balasubramanian
5f61392e6f Add logging to debug container runtime failures 2015-06-22 10:22:35 -07:00
Prashanth Balasubramanian
64ad3e17ad Fix deadlock 2015-06-22 10:22:35 -07:00
Prashanth Balasubramanian
4b990d128a Don't flood the status manager with updates from multi-container pods 2015-06-22 10:22:28 -07:00
Salvatore Dario Minonne
4b13faa346 To add validation for service ports when defined as string (fixing issue #9734) 2015-06-22 17:21:51 +02:00
Anastasis Andronidis
b06ef70057 Print resource labels as columns 2015-06-22 00:44:51 +02:00
Anastasis Andronidis
101739a6be Added Reason in PodStatus 2015-06-21 17:05:34 +02:00
Justin Santa Barbara
c5f9085398 Mark realSSHDialer as implementing sshDialer 2015-06-20 18:18:38 -04:00
Justin Santa Barbara
efdd03a6a9 Don't assume we always SSH as the current user
This works on gcloud (where the user is dynamically created by the tool),
but doesn't hold on other clouds (e.g. AWS).

The function in pkg/util now takes a user arg, and it is called only
from the e2e tests, which now check for env-var KUBE_SSH_USER, and then
fall back to the existing behaviour of env-var USER.

I am using this from Jenkins by directly setting the env-var:

export KUBE_SSH_USER=jenkins
...
hack/jenkins/e2e.sh
2015-06-20 18:18:38 -04:00
markturansky
39c5152e2c fixed pv recycler timeout precision 2015-06-20 00:34:29 -04:00
Brendan Burns
26b682d6a0 Remove some dead code. 2015-06-19 21:32:13 -07:00
Prashanth Balasubramanian
35950c04ff Avoid syncing rcs till the pods controller has synced. 2015-06-19 18:20:28 -07:00
Abhishek Shah
3556993179 Augmented kubelet healthz with syncLoop check.
Monit uses read-only port for health monitoring.
2015-06-19 18:14:01 -07:00
Mike Danese
0da17683f0 log a message when we fall back to service account 2015-06-19 17:52:38 -07:00
Satnam Singh
29ffee51a8 Merge pull request #10102 from mikedanese/kubeconfig-bug-fix
make clientcmd use inClusterConfig only if no other configs are available
2015-06-19 16:45:33 -07:00
Satnam Singh
b964f3c911 Merge pull request #9739 from bprashanth/sno
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Satnam Singh
2012238204 Merge pull request #9457 from yujuhong/seen
Kubelet: record the initial pod processing latency
2015-06-19 15:24:16 -07:00