• k8s-merge-robot's avatar
    Merge pull request #28110 from mfojtik/describe-volume-mounts · f549570e
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    Describe container volume mounts
    
    This patch will list the volume mounts defined for the container in `kubectl describe`:
    
    ```console
    [root@localhost origin]# kubectl describe pods/ruby-ex-3-ehchv
    Name:			ruby-ex-3-ehchv
    Namespace:		test
    Security Policy:	restricted
    Node:			localhost/10.0.2.15
    Start Time:		Mon, 27 Jun 2016 11:15:19 +0000
    Labels:			app=ruby-ex
    			deployment=ruby-ex-3
    			deploymentconfig=ruby-ex
    Status:			Running
    IP:			172.17.0.3
    Controllers:		ReplicationController/ruby-ex-3
    Containers:
      ruby-ex:
        Container ID:	docker://75869f5dd5da39025ebfcf4cb970004d9cc99ee2f95524732f9102254b289b1e
        Image:		172.30.159.185:5000/test/ruby-ex@sha256:0faa1fcca255a269378a4db51b8eef2ae67312de8b21b033c46fe0ff414efaea
        Image ID:		docker://052fe9b4b929cc883fcbbf1e223373d2fbe8bdf407170210ee29a94c33b40cd3
        Port:		8080/TCP
        QoS Tier:
          cpu:		BestEffort
          memory:		BestEffort
        State:		Running
          Started:		Mon, 27 Jun 2016 11:15:20 +0000
        Ready:		True
        Restart Count:	0
        Volume Mounts:
          volume-eckcb:		/test
          default-token-uffs0:	/var/run/secrets/kubernetes.io/serviceaccount
        Environment Variables:	<none>
    ```
    f549570e
Name
Last commit
Last update
..
cmd Loading commit data...
resource Loading commit data...
testing Loading commit data...
OWNERS Loading commit data...
apply.go Loading commit data...
autoscale.go Loading commit data...
bash_comp_utils.go Loading commit data...
configmap.go Loading commit data...
configmap_test.go Loading commit data...
custom_column_printer.go Loading commit data...
custom_column_printer_test.go Loading commit data...
describe.go Loading commit data...
describe_test.go Loading commit data...
doc.go Loading commit data...
explain.go Loading commit data...
generate.go Loading commit data...
generate_test.go Loading commit data...
history.go Loading commit data...
interfaces.go Loading commit data...
kubectl.go Loading commit data...
kubectl_test.go Loading commit data...
namespace.go Loading commit data...
namespace_test.go Loading commit data...
proxy_server.go Loading commit data...
proxy_server_test.go Loading commit data...
resource_printer.go Loading commit data...
resource_printer_test.go Loading commit data...
rollback.go Loading commit data...
rolling_updater.go Loading commit data...
rolling_updater_test.go Loading commit data...
rollout_status.go Loading commit data...
run.go Loading commit data...
run_test.go Loading commit data...
scale.go Loading commit data...
scale_test.go Loading commit data...
secret.go Loading commit data...
secret_for_docker_registry.go Loading commit data...
secret_for_docker_registry_test.go Loading commit data...
secret_for_tls.go Loading commit data...
secret_for_tls_test.go Loading commit data...
secret_test.go Loading commit data...
service.go Loading commit data...
service_test.go Loading commit data...
serviceaccount.go Loading commit data...
serviceaccount_test.go Loading commit data...
sorted_event_list.go Loading commit data...
sorted_event_list_test.go Loading commit data...
sorted_resource_name_list.go Loading commit data...
sorted_resource_name_list_test.go Loading commit data...
sorting_printer.go Loading commit data...
sorting_printer_test.go Loading commit data...
stop.go Loading commit data...
stop_test.go Loading commit data...
version.go Loading commit data...
watchloop.go Loading commit data...