Kubernetes - Get EBS Volume of a Pod

dfuentes

Using kubectl, how would I go about identifying what volume a specific pod resides on?

I tried kubectl describe pod [podname] and I can get the Node that its on but I'm not able to find anything regarding the EBS volume.

ImPurshu

When you do kubectl describe pod [podname] you will get the node where your pod is sitting. In output the node you will get in attribute Node: ip-192-168-0-219.us-east-2.compute.internal/192.168.0.219. But you have to copy only ip-192-168-0-219.us-east-2.compute.internal this part. After that just describe that node using kubectl describe node [node_id]. You will get the EBS volume of pod.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Kubernetes Horizontal Pod Autoscaler(HPA)テスト

分類Dev

how to stop/pause a pod in kubernetes

分類Dev

Kubernetes Persistent Volume Claim Indefinitely in Pending State

分類Dev

Kubernetes Persistent Volume Claim Indefinitely in Pending State

分類Dev

Kubernetes Persistent Volume Claim Indefinitely in Pending State

分類Dev

Kubernetes AWS EBS Timeout waiting for volume state

分類Dev

Can I mount a GCS bucket inside Kubernetes Pod?

分類Dev

Access built-in etcd within kubernetes pod container

分類Dev

Amazon EC2: How to change instance type without losing data on attached EBS volume

分類Dev

Terraform ebs volume

分類Dev

Is it correct to attach code through volume in kubernetes?

分類Dev

Prometheus with multi-container pod on kubernetes

分類Dev

Azure Kubernetes - not able to connect pod containers

分類Dev

Save file to Kubernetes pod during deployment

分類Dev

Share storage/volume between worker nodes in Kubernetes?

分類Dev

Docker volume vs Kubernetes persistent volume

分類Dev

Two containers within same pod on Kubernetes

分類Dev

Kubernetes pod auto-scaling

分類Dev

Monitor custom kubernetes pod metrics using Prometheus

分類Dev

Set Volume Permissions in Multi-Tenant Kubernetes Cluster

分類Dev

How to Configure Pod initialization in a specific order in Kubernetes?

分類Dev

terraform ebs_block_device vsaws_ebs_volumeリソース

分類Dev

Kubernetes mount volume on existing directory with files inside the container

分類Dev

Can volumeMounts: in kubernetes pod be optional

分類Dev

Kubernetes MLflow Service Pod Connection

分類Dev

How should I deploy Persistent Volume(PV) for JupyterHub on Kubernetes?

分類Dev

Running bash script in a kubernetes pod

分類Dev

Can I avoid using a kubernetes volume

分類Dev

How to connect to a private IP from Kubernetes Pod

Related 関連記事

  1. 1

    Kubernetes Horizontal Pod Autoscaler(HPA)テスト

  2. 2

    how to stop/pause a pod in kubernetes

  3. 3

    Kubernetes Persistent Volume Claim Indefinitely in Pending State

  4. 4

    Kubernetes Persistent Volume Claim Indefinitely in Pending State

  5. 5

    Kubernetes Persistent Volume Claim Indefinitely in Pending State

  6. 6

    Kubernetes AWS EBS Timeout waiting for volume state

  7. 7

    Can I mount a GCS bucket inside Kubernetes Pod?

  8. 8

    Access built-in etcd within kubernetes pod container

  9. 9

    Amazon EC2: How to change instance type without losing data on attached EBS volume

  10. 10

    Terraform ebs volume

  11. 11

    Is it correct to attach code through volume in kubernetes?

  12. 12

    Prometheus with multi-container pod on kubernetes

  13. 13

    Azure Kubernetes - not able to connect pod containers

  14. 14

    Save file to Kubernetes pod during deployment

  15. 15

    Share storage/volume between worker nodes in Kubernetes?

  16. 16

    Docker volume vs Kubernetes persistent volume

  17. 17

    Two containers within same pod on Kubernetes

  18. 18

    Kubernetes pod auto-scaling

  19. 19

    Monitor custom kubernetes pod metrics using Prometheus

  20. 20

    Set Volume Permissions in Multi-Tenant Kubernetes Cluster

  21. 21

    How to Configure Pod initialization in a specific order in Kubernetes?

  22. 22

    terraform ebs_block_device vsaws_ebs_volumeリソース

  23. 23

    Kubernetes mount volume on existing directory with files inside the container

  24. 24

    Can volumeMounts: in kubernetes pod be optional

  25. 25

    Kubernetes MLflow Service Pod Connection

  26. 26

    How should I deploy Persistent Volume(PV) for JupyterHub on Kubernetes?

  27. 27

    Running bash script in a kubernetes pod

  28. 28

    Can I avoid using a kubernetes volume

  29. 29

    How to connect to a private IP from Kubernetes Pod

ホットタグ

アーカイブ