kubernetes: Add field-level warnings for deprecated / known bad values

See:

/assign /sig api-machinery /milestone v1.20 See:

/assign /sig api-machinery /milestone v1.20 See:

/assign /sig api-machinery /milestone v1.20

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Reactions: 1
  • Comments: 27 (23 by maintainers)

Most upvoted comments

next set of tasks expected to be done in 1.21

looks like 1.22

Thanks for confirming. Since it is possible to have multi-os image (multi-arch) I don’t think that we would be able to effectively warn for pods that set both linux and windows options. In azure we use a mutli-os/multi arch image for the pause container: mcr.microsoft.com/oss/kubernetes/pause:1.4.0 which has a manifest for linux and windows:

docker manifest inspect --verbose mcr.microsoft.com/oss/kubernetes/pause:1.4.0 | jq '.[] .Descriptor.platform'   
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.17763.1282"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.18362.900"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.18363.900"
}
{
  "architecture": "amd64",
  "os": "windows",
  "os.version": "10.0.19041.329"
}
{
  "architecture": "amd64",
  "os": "linux"
}