Read a Namespaced Persistent Volume Claim

  1. GET /api/v1/namespaces/:namespace/persistentvolumeclaims/:name

Get a PersistentVolumeClaim object.

Request

Path Parameters

name stringrequired

Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*

Name of the resource

namespace stringrequired

Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*

Object name and auth scope, such as for teams and projects

Query Parameters

exact boolean

Should the export be exact. Exact export maintains cluster-specific fields like ‘Namespace’.

export boolean

Should this value be exported. Export strips fields that a user can not specify.

Responses

  • 200
  • 401

OK

  • application/json
  • application/json;stream=watch
  • application/yaml

  • Schema

  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

accessModes string[]

dataSource object

apiGroup string

kind stringrequired

name stringrequired

dataSourceRef object

apiGroup string

kind stringrequired

name stringrequired

namespace string

resources object

claims object[]

  • Array [

name stringrequired

  • ]

limits object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

requests object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

selector object

matchExpressions object[]

  • Array [

key stringrequired

operator stringrequired

values string[]

  • ]

matchLabels object

property name* string

storageClassName string

volumeMode string

volumeName string

status object

accessModes string[]

allocatedResources object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

capacity object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

conditions object[]

  • Array [

lastProbeTime k8s.io.v1.Time (string)

Default value: [object Object]

lastTransitionTime k8s.io.v1.Time (string)

Default value: [object Object]

message string

reason string

status stringrequired

type stringrequired

  • ]

phase string

Possible values: [Bound, Lost, Pending]

resizeStatus string

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "accessModes": [
  10. "string"
  11. ],
  12. "dataSource": {
  13. "apiGroup": "string",
  14. "kind": "string",
  15. "name": "string"
  16. },
  17. "dataSourceRef": {
  18. "apiGroup": "string",
  19. "kind": "string",
  20. "name": "string",
  21. "namespace": "string"
  22. },
  23. "resources": {
  24. "claims": [
  25. {
  26. "name": "string"
  27. }
  28. ],
  29. "limits": {},
  30. "requests": {}
  31. },
  32. "selector": {
  33. "matchExpressions": [
  34. {
  35. "key": "string",
  36. "operator": "string",
  37. "values": [
  38. "string"
  39. ]
  40. }
  41. ],
  42. "matchLabels": {}
  43. },
  44. "storageClassName": "string",
  45. "volumeMode": "string",
  46. "volumeName": "string"
  47. },
  48. "status": {
  49. "accessModes": [
  50. "string"
  51. ],
  52. "allocatedResources": {},
  53. "capacity": {},
  54. "conditions": [
  55. {
  56. "lastProbeTime": {},
  57. "lastTransitionTime": {},
  58. "message": "string",
  59. "reason": "string",
  60. "status": "string",
  61. "type": "string"
  62. }
  63. ],
  64. "phase": "Bound",
  65. "resizeStatus": "string"
  66. }
  67. }
  • Schema
  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

accessModes string[]

dataSource object

apiGroup string

kind stringrequired

name stringrequired

dataSourceRef object

apiGroup string

kind stringrequired

name stringrequired

namespace string

resources object

claims object[]

  • Array [

name stringrequired

  • ]

limits object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

requests object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

selector object

matchExpressions object[]

  • Array [

key stringrequired

operator stringrequired

values string[]

  • ]

matchLabels object

property name* string

storageClassName string

volumeMode string

volumeName string

status object

accessModes string[]

allocatedResources object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

capacity object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

conditions object[]

  • Array [

lastProbeTime k8s.io.v1.Time (string)

Default value: [object Object]

lastTransitionTime k8s.io.v1.Time (string)

Default value: [object Object]

message string

reason string

status stringrequired

type stringrequired

  • ]

phase string

Possible values: [Bound, Lost, Pending]

resizeStatus string

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "accessModes": [
  10. "string"
  11. ],
  12. "dataSource": {
  13. "apiGroup": "string",
  14. "kind": "string",
  15. "name": "string"
  16. },
  17. "dataSourceRef": {
  18. "apiGroup": "string",
  19. "kind": "string",
  20. "name": "string",
  21. "namespace": "string"
  22. },
  23. "resources": {
  24. "claims": [
  25. {
  26. "name": "string"
  27. }
  28. ],
  29. "limits": {},
  30. "requests": {}
  31. },
  32. "selector": {
  33. "matchExpressions": [
  34. {
  35. "key": "string",
  36. "operator": "string",
  37. "values": [
  38. "string"
  39. ]
  40. }
  41. ],
  42. "matchLabels": {}
  43. },
  44. "storageClassName": "string",
  45. "volumeMode": "string",
  46. "volumeName": "string"
  47. },
  48. "status": {
  49. "accessModes": [
  50. "string"
  51. ],
  52. "allocatedResources": {},
  53. "capacity": {},
  54. "conditions": [
  55. {
  56. "lastProbeTime": {},
  57. "lastTransitionTime": {},
  58. "message": "string",
  59. "reason": "string",
  60. "status": "string",
  61. "type": "string"
  62. }
  63. ],
  64. "phase": "Bound",
  65. "resizeStatus": "string"
  66. }
  67. }
  • Schema
  • Example (from schema)

Schema

apiVersion stringrequired

kind stringrequired

metadata object

name stringrequired

namespace string

spec object

accessModes string[]

dataSource object

apiGroup string

kind stringrequired

name stringrequired

dataSourceRef object

apiGroup string

kind stringrequired

name stringrequired

namespace string

resources object

claims object[]

  • Array [

name stringrequired

  • ]

limits object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

requests object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

selector object

matchExpressions object[]

  • Array [

key stringrequired

operator stringrequired

values string[]

  • ]

matchLabels object

property name* string

storageClassName string

volumeMode string

volumeName string

status object

accessModes string[]

allocatedResources object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

capacity object

property name* k8s.io.apimachinery.pkg.api.resource.Quantity (string)

Default value: [object Object]

conditions object[]

  • Array [

lastProbeTime k8s.io.v1.Time (string)

Default value: [object Object]

lastTransitionTime k8s.io.v1.Time (string)

Default value: [object Object]

message string

reason string

status stringrequired

type stringrequired

  • ]

phase string

Possible values: [Bound, Lost, Pending]

resizeStatus string

  1. {
  2. "apiVersion": "string",
  3. "kind": "string",
  4. "metadata": {
  5. "name": "string",
  6. "namespace": "string"
  7. },
  8. "spec": {
  9. "accessModes": [
  10. "string"
  11. ],
  12. "dataSource": {
  13. "apiGroup": "string",
  14. "kind": "string",
  15. "name": "string"
  16. },
  17. "dataSourceRef": {
  18. "apiGroup": "string",
  19. "kind": "string",
  20. "name": "string",
  21. "namespace": "string"
  22. },
  23. "resources": {
  24. "claims": [
  25. {
  26. "name": "string"
  27. }
  28. ],
  29. "limits": {},
  30. "requests": {}
  31. },
  32. "selector": {
  33. "matchExpressions": [
  34. {
  35. "key": "string",
  36. "operator": "string",
  37. "values": [
  38. "string"
  39. ]
  40. }
  41. ],
  42. "matchLabels": {}
  43. },
  44. "storageClassName": "string",
  45. "volumeMode": "string",
  46. "volumeName": "string"
  47. },
  48. "status": {
  49. "accessModes": [
  50. "string"
  51. ],
  52. "allocatedResources": {},
  53. "capacity": {},
  54. "conditions": [
  55. {
  56. "lastProbeTime": {},
  57. "lastTransitionTime": {},
  58. "message": "string",
  59. "reason": "string",
  60. "status": "string",
  61. "type": "string"
  62. }
  63. ],
  64. "phase": "Bound",
  65. "resizeStatus": "string"
  66. }
  67. }

Unauthorized

  • application/json
  • application/json;stream=watch
  • application/yaml

  • Schema

Schema

string

  • Schema

Schema

string

  • Schema

Schema

string

Loading…