k8s-merge-robot
99951007ff
Merge pull request #26539 from ripcurld00d/fix_json_template_url
...
Automatic merge from submit-queue
Update the jsonpath template URL
It seems like http://releases.k8s.io/HEAD/docs/user-guide/jsonpath.md redirects to http://kubernetes.io/docs/user-guide/jsonpath/ .
Therefore, updating to the new URL where is required.
Relate to https://github.com/openshift/origin/pull/9013
2016-06-25 08:17:31 -07:00
k8s-merge-robot
7c355e18a7
Merge pull request #25085 from metral/recursive-edit
...
Automatic merge from submit-queue
enable recursive processing in kubectl edit
This PR was split out of https://github.com/kubernetes/kubernetes/pull/23673 per @deads2k's suggestion: https://github.com/kubernetes/kubernetes/pull/23673#discussion_r61291178
It makes use of the recursive processing of a directory in `kubectl edit`
2016-06-24 23:59:54 -07:00
Buddha Prakash
c3551ae6cd
Refactor qos package
...
Signed-off-by: Buddha Prakash <buddhap@google.com >
2016-06-24 15:36:04 -07:00
k8s-merge-robot
ce0227bb8b
Merge pull request #27402 from pwittrock/owners
...
Automatic merge from submit-queue
Remove bgrant from owners since he has plenty to do.
@bgrant0607 FYI
[]()
2016-06-24 13:56:59 -07:00
Sylwester Brzeczkowski
a558cadedd
Fix attach command for InitContainers
2016-06-24 14:35:02 +02:00
Vishnu kannan
fc3101f515
remove reference to documentation webpage from kubectl describe nodes output
...
Signed-off-by: Vishnu kannan <vishnuk@google.com >
2016-06-23 16:28:01 -07:00
Dominika Hodovska
59db75f893
kubectl/autoscale: fix tips when validating --max flag
...
bug 1336632
Bugzilla link https://bugzilla.redhat.com/show_bug.cgi?id=1336632
2016-06-22 09:51:15 +02:00
Janet Kuo
ee81e5ebfa
Retry Pod/RC updates in kubectl rolling-update
2016-06-21 16:08:10 -07:00
k8s-merge-robot
1fd4047961
Merge pull request #27549 from Clarifai/eventorder
...
Automatic merge from submit-queue
swap FIRSTSEEN/LASTSEEN columns in `kubectl get event -w`
```release-note
Show LASTSEEN, the sorting key, as the first column in `kubectl get event` output
```
Not having LASTSEEN as the first column can confuse users into thinking
that events are not delivered in order.
Fixes #27060
2016-06-21 00:09:53 -07:00
k8s-merge-robot
ca76cc0e9f
Merge pull request #27566 from metral/clarify-docs
...
Automatic merge from submit-queue
clarify kubectl recursive flag description
Clarify the description of the recursive flag in `kubectl` so that it's more intuitive to the user
This should make it into v1.3 as the rest of the recursive feature PR's will be available in 1.3
2016-06-20 13:06:40 -07:00
k8s-merge-robot
b613908cf2
Merge pull request #27365 from derekwaynecarr/describe_allocatable
...
Automatic merge from submit-queue
kubectl describe node is allocatable aware
`kubectl describe node` will render node.status.allocatable if present.
in addition, it will report allocated resources relative to node.status.allocatable if present instead of capacity.
old code was confusing if you setup system-reserved and kube-reserved as allocated resource percentages were relative to node capacity and not schedulable amount of resources.
this is a small but valuable usability improvement, so i think it would be good to make 1.3 milestone.
/cc @kubernetes/sig-node @kubernetes/rh-cluster-infra @kubernetes/kubectl @davidopp
2016-06-20 13:06:35 -07:00
k8s-merge-robot
3df228fd76
Merge pull request #27431 from jsafrane/pv-events-print
...
Automatic merge from submit-queue
'kubectl describe pv' now shows events
2016-06-19 15:31:55 -07:00
goltermann
218645b346
Fix several spelling errors in comments.
2016-06-17 10:41:18 -07:00
Mike Metral
6b172657b0
clarify recursive flag description
2016-06-17 08:35:44 -07:00
Rudi Chiarito
bf873df1ee
swap FIRSTSEEN/LASTSEEN columns in kubectl get event
...
Not having LASTSEEN as the first column can confuse users into thinking
that events are not delivered in order.
Fixes #27060
2016-06-16 14:39:41 -04:00
Dr. Stefan Schimanski
734f05057e
Add pod-terminated check to kubectl-exec
...
Fixes https://github.com/openshift/origin/issues/8472#event-681794952
2016-06-16 19:44:47 +02:00
Phillip Wittrock
0ed3bd63e4
Remove bgrant from pkg/OWNERS and pkg/kubectl/OWNERS since he has plenty to do.
2016-06-16 08:21:27 -07:00
Jan Safranek
e1e9a41757
Show events in 'kubectl describe pv'
2016-06-15 14:17:02 +02:00
deads2k
ac64404d86
let patch use local file content to mutate
2016-06-14 14:38:00 -04:00
derekwaynecarr
65764c8ed2
kubectl describe node is allocatable aware
2016-06-14 13:06:47 -04:00
Łukasz Oleś
11e1188dbe
Show restart count for init containers
...
Coutner is reset for normal containers.
fixes issue: #26892
2016-06-14 14:35:37 +02:00
k8s-merge-robot
0d02f8c0f6
Merge pull request #26557 from AdoHe/patch_retry
...
Automatic merge from submit-queue
kubectl apply retry stale resource version
```release-note
kubectl apply: retry applying a patch if a version conflict error is encountered
```
[]()
fixes #15493
@pwittrock I just got my original implementation back, ptal.
2016-06-13 10:13:27 -07:00
Dr. Stefan Schimanski
65e2e63170
Set AttachOptions.CommandName from kubectl run using corba CommandPath
...
This sets AttachOptions.CommandName dynamically depending on the corba Command
hierarchy. If the root command is named e.g. "oc" (for the OpenShift cli) this
will result in "oc attach" instead of the static "kubectl attach" before this
patch.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1341450
2016-06-13 17:16:35 +02:00
k8s-merge-robot
98f0d22bcc
Merge pull request #26975 from ericchiang/kubectl-resource-printer-for-rbac-group
...
Automatic merge from submit-queue
pkg/kubectl: add resource printers for rbac api group
This PR adds the necessary kubectl printers for the rbac api group which we overlooked in previous PRs.
cc @erictune
2016-06-12 17:13:55 -07:00
Clayton Coleman
b2f72e6b1b
resource.Builder should not alter error type from server
...
The current helpful message loses the error type, which means
resource.Builder consumers can't filter errors or have downstream logic.
If the error is a known type, only mutate the message, not the message
type.
2016-06-11 19:22:54 -04:00
k8s-merge-robot
2ef20b41f6
Merge pull request #26686 from metral/fix-get-output
...
Automatic merge from submit-queue
fix recursive & non-recursive kubectl get of generic output format
This PR fixes the issues with `kubectl get` in https://github.com/kubernetes/kubernetes/issues/26466
Changes made:
- fix printing when using the generic output format in both non-recursive & recurvise settings to ensure that errors are being shown
- add tests to check printing generic output in a **non-recursive** setting with non-existent pods
- clean up the **recursive** `kubectl get` tests
/cc @janetkuo
2016-06-11 14:26:31 -07:00
Boaz Shuster
d6f69c0f22
Update the jsonpath template URL
2016-06-10 12:22:36 +03:00
Piotr Szczesniak
1818b5b3fc
Added hpa/v1 generator to kubectl autoscale
2016-06-10 09:26:35 +02:00
k8s-merge-robot
f1ccc2f1be
Merge pull request #26354 from csrwng/fix_visitor_error
...
Automatic merge from submit-queue
kubectl: fix URLVisitor error message
The status of a failed fetch will usually include the code, resulting in a duplicate code in the error message:
```
unable to read URL "http://git:8080/ruby-hello-world.git ", server reported 401 401 Unauthorized
```
This change rearranges them so at least the message doesn't stutter (and includes the code in case it's not part of the status):
```
unable to read URL "http://git:8080/ruby-hello-world.git ", server reported 401 Unauthorized, status code 401
```
[]()
2016-06-09 02:43:27 -07:00
k8s-merge-robot
0b6e0e2b02
Merge pull request #26749 from Clarifai/describe-svc
...
Automatic merge from submit-queue
AWS: kubectl get service should print hostnames for LB services
Fixes #21526
Also test wide outputs. We only guarantee the first IP to be fully printed
if multiple ingresses are present. For AWS, which has no ingress IPs, but
only hostnames, the ELB hostname will be truncated, unless -o=wide is
specified.
2016-06-09 02:43:23 -07:00
k8s-merge-robot
5a5c490a43
Merge pull request #27057 from janetkuo/kubectl-run-server-discovery
...
Automatic merge from submit-queue
Don't ignore error when Discovery().ServerResources() in kubectl run
Ref #27014
This doesn't fix the flake directly, but expose the error happened when the flake happens.
@kubernetes/kubectl @caesarxuchao
[]()
2016-06-08 23:49:04 -07:00
AdoHe
69bcdc20ff
kubectl apply retry stale resource version
2016-06-09 00:14:17 -04:00
Rudi Chiarito
40f76a95cb
AWS: kubectl get service should print hostnames for LoadBalancer services
...
Fixes #21526
Also test wide outputs. We only guarantee the first IP to be fully printed
if multiple ingresses are present. For AWS, which has no ingress IPs, but
only hostnames, the ELB hostname will be truncated, unless -o=wide is
specified.
2016-06-08 19:29:48 -04:00
Matt Liggett
d09af4a1d6
Stop 'drain' deleting pods with local storage.
...
Unless forced with --delete-local-data. Also a refactoring of the
kubectl drain logic that selects/rejects pods and produces error/warning
messages.
2016-06-08 14:59:03 -07:00
Janet Kuo
75c3cbcbfb
Don't ignore error when Discovery().ServerResources() in kubectl run
2016-06-08 10:34:09 -07:00
Michail Kargakis
c7140b3749
kubectl: return more meaningful timeout errors
2016-06-08 18:03:49 +02:00
Michail Kargakis
a74f700b63
kubectl: ignore only update conflicts in the scaler
2016-06-08 18:03:49 +02:00
Eric Chiang
acfac5aff8
pkg/kubectl: add resource printers for rbac api group
2016-06-07 15:26:57 -07:00
Michail Kargakis
886014b1a3
kubectl: fix sort logic for logs
...
Use a separate sorting algorithm for kubectl logs that sorts from older
to newer instead of the other way that ActivePods is doing.
2016-06-07 10:52:42 +02:00
k8s-merge-robot
5c41b93d8b
Merge pull request #26719 from pwittrock/kubectl-owners
...
Automatic merge from submit-queue
Add pwittrock to the kubectl OWNERS file
[]()
2016-06-06 13:46:13 -07:00
AdoHe
9d28bab847
make kubectl get ingress output more consistency
2016-06-04 22:43:51 -04:00
k8s-merge-robot
421c16addd
Merge pull request #25894 from brendandburns/thirdparty-watch
...
Automatic merge from submit-queue
Fix third party
Fixes https://github.com/kubernetes/kubernetes/issues/25421
Fixes https://github.com/kubernetes/kubernetes/issues/25422
@AdoHe @sjenning @caesarxuchao @lavalamp
@kubernetes/sig-api-machinery
[]()
2016-06-04 15:42:41 -07:00
k8s-merge-robot
9bf1ce42f8
Merge pull request #26843 from AdoHe/describe_ingress
...
Automatic merge from submit-queue
update ingress describe output
refer #26684 for more detail. @bprashanth ptal.
2016-06-04 13:27:46 -07:00
k8s-merge-robot
95e2535682
Merge pull request #26793 from fabianofranz/expose_show_labels_in_printers
...
Automatic merge from submit-queue
Expose printer utils that append labels
So that it can be reused downstream. @smarterclayton
[]()
2016-06-04 09:59:39 -07:00
k8s-merge-robot
22d405477b
Merge pull request #26568 from derekwaynecarr/kubectl_qos
...
Automatic merge from submit-queue
Update kubectl describe pod to use pod level qos
Fixes https://github.com/kubernetes/kubernetes/issues/26374
/cc @vishh
2016-06-04 02:40:47 -07:00
AdoHe
ab743708fe
update ingress describe output
2016-06-04 04:58:37 -04:00
derekwaynecarr
89ff3b2530
Update kubectl describe pod to use pod level qos
2016-06-03 15:32:32 -04:00
Fabiano Franz
8f62a196fd
Expose print utils to append labels
2016-06-03 15:00:50 -03:00
k8s-merge-robot
525140a278
Merge pull request #26693 from AdoHe/init_containers
...
Automatic merge from submit-queue
exec support init containers
Partially fixes #25818
@smarterclayton ptal.
2016-06-03 10:13:49 -07:00
AdoHe
1cfcb24f37
exec support init container
2016-06-03 02:05:15 -04:00