pulumi-kubernetes icon indicating copy to clipboard operation
pulumi-kubernetes copied to clipboard

[WIP] Upgrade to Kubernetes v1.25.0

Open stack72 opened this issue 3 years ago • 4 comments

This is currently tracking 1.25.0-rc.0

stack72 avatar Aug 09 '22 23:08 stack72

Does the PR have any schema changes?

Found 12 breaking changes: Type "kubernetes:batch/v1beta1:CronJobSpec" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" missing property "hints" Type "kubernetes:batch/v1beta1:CronJobStatus" missing property "lastSuccessfulTime" Type "kubernetes:batch/v1beta1:CronJobStatusPatch" missing property "lastSuccessfulTime" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch" missing property "conditions" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus" missing property "conditions" Type "kubernetes:discovery.k8s.io/v1beta1:Endpoint" missing property "hints" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHintsPatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:ForZone" missing Type "kubernetes:discovery.k8s.io/v1beta1:ForZonePatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHints" missing Type "kubernetes:batch/v1beta1:CronJobSpecPatch" missing property "timeZone"

New resources:

  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDR
  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRList
  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch

github-actions[bot] avatar Aug 09 '22 23:08 github-actions[bot]

It looks like there are a few breaking changes we'll need to look into. We should have until the final release on August 23 to get this fixed.

lblackstone avatar Aug 09 '22 23:08 lblackstone

Yeah some of the changes look a bit fishy. We do have time here.

viveklak avatar Aug 09 '22 23:08 viveklak

This is why I wanted to get a WIP open to surface the issues :)

stack72 avatar Aug 10 '22 11:08 stack72

Does the PR have any schema changes?

Found 12 breaking changes: Type "kubernetes:discovery.k8s.io/v1beta1:ForZonePatch" missing Type "kubernetes:batch/v1beta1:CronJobSpecPatch" missing property "timeZone" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch" missing property "conditions" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" missing property "hints" Type "kubernetes:batch/v1beta1:CronJobSpec" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:ForZone" missing Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus" missing property "conditions" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHintsPatch" missing Type "kubernetes:batch/v1beta1:CronJobStatusPatch" missing property "lastSuccessfulTime" Type "kubernetes:batch/v1beta1:CronJobStatus" missing property "lastSuccessfulTime" Type "kubernetes:discovery.k8s.io/v1beta1:Endpoint" missing property "hints" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHints" missing

New resources:

  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDR
  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRList
  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch

github-actions[bot] avatar Aug 18 '22 10:08 github-actions[bot]

I took a look at the breaking changes and found the following:

  • EndpointHints" missing - This "beta" resource was removed, so no action needed.
  • ForZone missing - This "beta" resource was removed, so no action needed.
  • missing property "conditions" - This was removed from a "beta" API, so no action needed.
  • missing property "timeZone" - This was an "alpha" feature that was removed, so no action needed.
  • missing property "lastSuccessfulTime" - This was removed from a "beta" API, so no action needed.
  • missing property "hints" - This was removed from a "beta" API, so no action needed.

Since all of these changes affect either alpha or beta APIs, and don't appear to be core features, I don't think we need to do anything special to work around for this release.

lblackstone avatar Aug 22 '22 21:08 lblackstone

This is great news @lblackstone - thanks for looking into this :)

stack72 avatar Aug 22 '22 21:08 stack72

Does the PR have any schema changes?

Found 12 breaking changes: Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus" missing property "conditions" Type "kubernetes:batch/v1beta1:CronJobSpec" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:ForZone" missing Type "kubernetes:batch/v1beta1:CronJobStatus" missing property "lastSuccessfulTime" Type "kubernetes:discovery.k8s.io/v1beta1:ForZonePatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" missing property "hints" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHints" missing Type "kubernetes:discovery.k8s.io/v1beta1:Endpoint" missing property "hints" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch" missing property "conditions" Type "kubernetes:batch/v1beta1:CronJobStatusPatch" missing property "lastSuccessfulTime" Type "kubernetes:batch/v1beta1:CronJobSpecPatch" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHintsPatch" missing

New resources:

  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDR
  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRList
  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch

github-actions[bot] avatar Aug 22 '22 21:08 github-actions[bot]

Does the PR have any schema changes?

Found 12 breaking changes: Type "kubernetes:batch/v1beta1:CronJobStatusPatch" missing property "lastSuccessfulTime" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch" missing property "conditions" Type "kubernetes:batch/v1beta1:CronJobSpecPatch" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHintsPatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:ForZone" missing Type "kubernetes:discovery.k8s.io/v1beta1:ForZonePatch" missing Type "kubernetes:batch/v1beta1:CronJobStatus" missing property "lastSuccessfulTime" Type "kubernetes:batch/v1beta1:CronJobSpec" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:Endpoint" missing property "hints" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" missing property "hints" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHints" missing Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus" missing property "conditions"

New resources:

  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDR
  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRList
  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch

github-actions[bot] avatar Aug 23 '22 21:08 github-actions[bot]

Does the PR have any schema changes?

Found 12 breaking changes: Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatus" missing property "conditions" Type "kubernetes:discovery.k8s.io/v1beta1:ForZone" missing Type "kubernetes:batch/v1beta1:CronJobSpec" missing property "timeZone" Type "kubernetes:batch/v1beta1:CronJobStatusPatch" missing property "lastSuccessfulTime" Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHints" missing Type "kubernetes:discovery.k8s.io/v1beta1:EndpointHintsPatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:Endpoint" missing property "hints" Type "kubernetes:batch/v1beta1:CronJobStatus" missing property "lastSuccessfulTime" Type "kubernetes:batch/v1beta1:CronJobSpecPatch" missing property "timeZone" Type "kubernetes:discovery.k8s.io/v1beta1:ForZonePatch" missing Type "kubernetes:discovery.k8s.io/v1beta1:EndpointPatch" missing property "hints" Type "kubernetes:policy/v1beta1:PodDisruptionBudgetStatusPatch" missing property "conditions"

New resources:

  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDR
  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRList
  • kubernetes:networking.k8s.io/v1alpha1:ClusterCIDRPatch

github-actions[bot] avatar Aug 23 '22 21:08 github-actions[bot]