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 AWS EBS Timeout waiting for volume state

分類Dev

Terraform ebs volume

分類Dev

Docker volume vs Kubernetes persistent volume

分類Dev

terraform ebs_block_device vsaws_ebs_volumeリソース

分類Dev

how to stop/pause a pod in kubernetes

分類Dev

Kubernetes pod auto-scaling

分類Dev

Can volumeMounts: in kubernetes pod be optional

分類Dev

Kubernetes MLflow Service Pod Connection

分類Dev

Running bash script in a kubernetes pod

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

Is it correct to attach code through volume in kubernetes?

分類Dev

Share storage/volume between worker nodes in Kubernetes?

分類Dev

Can I avoid using a kubernetes volume

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

Two containers within same pod on Kubernetes

分類Dev

Monitor custom kubernetes pod metrics using Prometheus

分類Dev

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

分類Dev

How to connect to a private IP from Kubernetes Pod

分類Dev

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

分類Dev

Set Volume Permissions in Multi-Tenant Kubernetes Cluster

分類Dev

Kubernetes mount volume on existing directory with files inside the container

分類Dev

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

分類Dev

Kubernetes Horizontal Pod Autoscaler(HPA)テスト

分類Dev

Can I mount a GCS bucket inside Kubernetes Pod?

分類Dev

Access built-in etcd within kubernetes pod container

Related 関連記事

  1. 1

    Kubernetes AWS EBS Timeout waiting for volume state

  2. 2

    Terraform ebs volume

  3. 3

    Docker volume vs Kubernetes persistent volume

  4. 4

    terraform ebs_block_device vsaws_ebs_volumeリソース

  5. 5

    how to stop/pause a pod in kubernetes

  6. 6

    Kubernetes pod auto-scaling

  7. 7

    Can volumeMounts: in kubernetes pod be optional

  8. 8

    Kubernetes MLflow Service Pod Connection

  9. 9

    Running bash script in a kubernetes pod

  10. 10

    Kubernetes Persistent Volume Claim Indefinitely in Pending State

  11. 11

    Kubernetes Persistent Volume Claim Indefinitely in Pending State

  12. 12

    Kubernetes Persistent Volume Claim Indefinitely in Pending State

  13. 13

    Is it correct to attach code through volume in kubernetes?

  14. 14

    Share storage/volume between worker nodes in Kubernetes?

  15. 15

    Can I avoid using a kubernetes volume

  16. 16

    Prometheus with multi-container pod on kubernetes

  17. 17

    Azure Kubernetes - not able to connect pod containers

  18. 18

    Save file to Kubernetes pod during deployment

  19. 19

    Two containers within same pod on Kubernetes

  20. 20

    Monitor custom kubernetes pod metrics using Prometheus

  21. 21

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

  22. 22

    How to connect to a private IP from Kubernetes Pod

  23. 23

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

  24. 24

    Set Volume Permissions in Multi-Tenant Kubernetes Cluster

  25. 25

    Kubernetes mount volume on existing directory with files inside the container

  26. 26

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

  27. 27

    Kubernetes Horizontal Pod Autoscaler(HPA)テスト

  28. 28

    Can I mount a GCS bucket inside Kubernetes Pod?

  29. 29

    Access built-in etcd within kubernetes pod container

ホットタグ

アーカイブ