PSA: timelines for removing extensions/v1beta1, apps/v1beta1, apps/v1beta2 APIs

1,295 views
Skip to first unread message

Jordan Liggitt

unread,
Mar 28, 2019, 9:02:19 AM3/28/19
to Kubernetes developer/contributor discussion
In case you missed it in the 1.14.0 release notes, there are now concrete timelines for deprecated resources in the extensions/v1beta1, apps/v1beta1, and apps/v1beta2 API groups to no longer be served by default:
  • NetworkPolicy resources will no longer be served from extensions/v1beta1 by default in v1.16. Migrate to the networking.k8s.io/v1 API, available since v1.8. Existing persisted data can be retrieved/updated via the networking.k8s.io/v1 API.
  • PodSecurityPolicy resources will no longer be served from extensions/v1beta1 by default in v1.16. Migrate to the policy/v1beta1 API, available since v1.10. Existing persisted data can be retrieved/updated via the policy/v1beta1 API.
  • DaemonSet, Deployment, and ReplicaSet resources will no longer be served from extensions/v1beta1, apps/v1beta1, or apps/v1beta2 by default in v1.16. Migrate to the apps/v1 API, available since v1.9. Existing persisted data can be retrieved/updated via the apps/v1 API.
  • Ingress resources are available via networking.k8s.io/v1beta1 as of v1.14. Ingress resources in extensions/v1beta1 are deprecated and will no longer be served in v1.18. Existing persisted data can be retrieved/updated via the networking.k8s.io/v1beta1 API.
Even though those timelines are 6-12 months away, it's never to early to sweep manifests and client API calls that need to be migrated. To start an API server with these resources disabled to flush out dependencies on these deprecated APIs, use the following --runtime-config argument:

--runtime-config=apps/v1beta1=false,apps/v1beta2=false,extensions/v1beta1/daemonsets=false,extensions/v1beta1/deployments=false,extensions/v1beta1/replicasets=false,extensions/v1beta1/networkpolicies=false,extensions/v1beta1/podsecuritypolicies=false



Jordan Liggitt

unread,
Jun 22, 2019, 6:23:06 PM6/22/19
to Kubernetes developer/contributor discussion
In case you missed it in the 1.15.0 release notes, the timelines for deprecated resources in the extensions/v1beta1apps/v1beta1, and apps/v1beta2 API groups to no longer be served by default have been updated:
    • NetworkPolicy resources will no longer be served from extensions/v1beta1 by default in v1.16. Migrate to the networking.k8s.io/v1 API, available since v1.8. Existing persisted data can be retrieved/updated via the networking.k8s.io/v1 API.
    • PodSecurityPolicy resources will no longer be served from extensions/v1beta1 by default in v1.16. Migrate to the policy/v1beta1 API, available since v1.10. Existing persisted data can be retrieved/updated via the policy/v1beta1 API.
    • DaemonSet, Deployment, StatefulSet, and ReplicaSet resources will no longer be served from extensions/v1beta1, apps/v1beta1, or apps/v1beta2 by default in v1.16. Migrate to the apps/v1 API, available since v1.9. Existing persisted data can be retrieved/updated via the apps/v1 API.
    To start a v1.15.0 API server with these resources disabled to flush out dependencies on these deprecated APIs, and ensure your application/manifests will work properly against the v1.16 release, use the following --runtime-config argument:

    --runtime-config=apps/v1beta1=false,apps/v1beta2=false,extensions/v1beta1/daemonsets=false,extensions/v1beta1/deployments=false,extensions/v1beta1/replicasets=false,extensions/v1beta1/networkpolicies=false,extensions/v1beta1/podsecuritypolicies=false
    Reply all
    Reply to author
    Forward
    This conversation is locked
    You cannot reply and perform actions on locked conversations.
    0 new messages