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
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
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
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
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
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
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
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