kubepug / kubepug

Kubernetes PreUpGrade (Checker)
https://kubepug.xyz/
Apache License 2.0
1.57k stars 68 forks source link

APIs erroneously marked deleted #567

Open igaskin opened 3 months ago

igaskin commented 3 months ago

Various APIs are being marked as "Deleted" in versions that don't match the official docs.

https://kubepug.xyz/status/

For example networking.k8s.io/v1 supposedly was deleted in v1.25, while the official docs indicate that this this the stable version: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25

Was there a change to the format of the upstream APIs used to generate the data.json?

Deleted APIs:
     APIs REMOVED FROM THE CURRENT VERSION AND SHOULD BE MIGRATED IMMEDIATELY!!
Service found in /v1
     ├─ Deleted at: 1.6
     ├─ Service is a named abstraction of software service (for example, mysql) consisting of local port

Deployment found in apps/v1
     ├─ Deleted at: 1.15
     ├─ Deployment enables declarative updates for Pods and ReplicaSets.     

Ingress found in networking.k8s.io/v1
     ├─ Deleted at: 1.25
     ├─ Ingress is a collection of rules that allow inbound connections to reach theendpoints defined by a backend. An Ingress can be configured to give servicesexternally-reachable urls, load balance traffic, terminate SSL, offer namebased virtual hosting etc.    
rikatz commented 3 months ago

Ouch I will check later today!

On Tue, 20 Aug 2024 at 19:51 Isaac Gaskin @.***> wrote:

Various APIs are being marked as "Deleted" in versions that don't match the official docs.

https://kubepug.xyz/status/

For example networking.k8s.io/v1 supposedly was deleted in v1.25, while the official docs indicate that this this the stable version: https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25

Was there a change to the format of the upstream APIs used to generate the data.json?

Deleted APIs: APIs REMOVED FROM THE CURRENT VERSION AND SHOULD BE MIGRATED IMMEDIATELY!! Service found in /v1 ├─ Deleted at: 1.6 ├─ Service is a named abstraction of software service (for example, mysql) consisting of local port

Deployment found in apps/v1 ├─ Deleted at: 1.15 ├─ Deployment enables declarative updates for Pods and ReplicaSets.

Ingress found in networking.k8s.io/v1 ├─ Deleted at: 1.25 ├─ Ingress is a collection of rules that allow inbound connections to reach theendpoints defined by a backend. An Ingress can be configured to give servicesexternally-reachable urls, load balance traffic, terminate SSL, offer namebased virtual hosting etc.

— Reply to this email directly, view it on GitHub https://github.com/kubepug/kubepug/issues/567, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWZQBP7WOGGQZ5BS4PCJ23ZSPCADAVCNFSM6AAAAABM22MOOCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TMNRWGYZTINQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rikatz commented 3 months ago

Apparnetly there is a change on kubernetes codegen that is causing this. The json is being created with a lot of bad markers as we can see in https://kubepug.xyz/status/

I need to check what's going on the generator

rikatz commented 3 months ago

I think it is fixed now, can you double check. Works here for me :)