Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update k8s api in deployment #434

Open
igorrenquin opened this issue Jun 27, 2023 · 3 comments
Open

Update k8s api in deployment #434

igorrenquin opened this issue Jun 27, 2023 · 3 comments
Assignees
Labels
👷‍♂️ SRE Issue opened by SRE team

Comments

@igorrenquin
Copy link
Contributor

igorrenquin commented Jun 27, 2023

La version v1.25 de kubernetes va supprimer certaines API qui avaient été depracated dans les versions précédentes.

La liste de quelques produits qui consomment les anciennes API :

Removed Release	Resource	API	Verbs	User Agents	URIs
componentstatuses	/v1	list	agent/v0.0.0 (linux/amd64) kubernetes/$Format	/api/componentstatuses
volumesnapshots	snapshot.storage.k8s.io/v1beta1	list	pykube-ng/20.7.2	/apis//volumesnapshots
1.25	horizontalpodautoscalers	autoscaling/v2beta1	list	pykube-ng/20.7.2	/apis//horizontalpodautoscalers
1.25	cronjobs	batch/v1beta1	patch, list	kubectl/v1.27.1 (linux/amd64) kubernetes/4c94112
pykube-ng/20.7.2	/apis//namespaces/cdtn-admin-maxgfr-node-v20-keke15b4/cronjobs/cron-cleanup-db
/apis//namespaces/cdtn-admin-maxgfr-node-v20-keke15b4/cronjobs/cron-ingester
/apis//namespaces/cdtn-admin-fix-theme-ui-downgrade-d3npmj1p/cronjobs/cron-alert
/apis//cronjobs
/apis//namespaces/amtestdev-backup/cronjobs
/apis//namespaces/cdtn-admin-secret/cronjobs
/apis//namespaces/cdtn-ci/cronjobs
/apis//namespaces/covid-data-secret/cronjobs
/apis//namespaces/covid-secret/cronjobs
/apis//namespaces/domifa-ci/cronjobs
...
Showing 10 of 55
1.25	endpointslices	discovery.k8s.io/v1beta1	list	pykube-ng/20.7.2	/apis//endpointslices
1.25	podsecuritypolicies	policy/v1beta1	update, watch, list	operator/v0.0.0 (linux/amd64) kubernetes/$Format
agent/v0.0.0 (linux/amd64) kubernetes/$Format
argocd-application-controller/v0.0.0 (linux/amd64) kubernetes/$Format	/apis//podsecuritypolicies/calico-typha
/apis//podsecuritypolicies/calico-node
/apis//podsecuritypolicies/calico-kube-controllers
/apis//podsecuritypolicies
1.25	poddisruptionbudgets	policy/v1beta1	list	pykube-ng/20.7.2	/apis//poddisruptionbudgets
1.26	horizontalpodautoscalers	autoscaling/v2beta2	list	pykube-ng/20.7.2	/apis//horizontalpodautoscalers
1.27	csistoragecapacities	storage.k8s.io/v1beta1	list	pykube-ng/20.7.2	/apis//csistoragecapacities

PROD

https://portal.azure.com/#view/WebsitesExtension/SCIFrameBlade/id/%2Fsubscriptions%2F27c6b463-3e60-4b03-be7f-98a64d49bebd%2FresourceGroups%2Fprod2-stack%2Fproviders%2FMicrosoft.ContainerService%2FmanagedClusters%2Fprod/source/CaseSubmissionV2-NonContext/supportTopicId/32844749/sapSupportTopicId/4c7705a4-8d8d-f87f-cdcc-792fa4632f81/sapProductId/5a3a423f-8667-9095-1770-0a554a934512/workflowId/cf71f30e-d3ca-4cb6-91d5-7d74b22abcb1/optionalParameters~/%5B%7B%22key%22%3A%22caseSubject%22%2C%22value%22%3A%22api%20deleted%22%7D%2C%7B%22key%22%3A%22supportPlans%22%2C%22value%22%3A%7B%22supportPlanType%22%3A%22UnifiedEnterprise%22%7D%7D%5D



1.24.9
--
Deprecated APIs 
| Removed ReleaseResourceAPIVerbsUser AgentsURIscomponentstatuses/v1listagent/v0.0.0 (linux/amd64) kubernetes/$Format/api/componentstatusesvolumesnapshotssnapshot.storage.k8s.io/v1beta1listpykube-ng/20.7.2/apis//volumesnapshots1.25horizontalpodautoscalersautoscaling/v2beta1listpykube-ng/20.7.2/apis//horizontalpodautoscalers1.25cronjobsbatch/v1beta1list, patchpykube-ng/20.7.2kubectl/v1.27.1 (linux/amd64) kubernetes/4c94112/apis//cronjobs/apis//namespaces/cnpg-matomo-metabase/cronjobs/apis//namespaces/cnpg-secretariat/cronjobs/apis//namespaces/falco/cronjobs/apis//namespaces/mda/cronjobs/apis//namespaces/cdtn-admin/cronjobs/cron-alert/apis//namespaces/cdtn-admin/cronjobs/cron-cleanup-db/apis//namespaces/cdtn-admin/cronjobs/cron-ingester1.25endpointslicesdiscovery.k8s.io/v1beta1listpykube-ng/20.7.2/apis//endpointslices1.25podsecuritypoliciespolicy/v1beta1update, watch, listoperator/v0.0.0 (linux/amd64) kubernetes/$Formatagent/v0.0.0 (linux/amd64) kubernetes/$Formatargocd-application-controller/v0.0.0 (linux/amd64) kubernetes/$Format/apis//podsecuritypolicies/calico-typha/apis//podsecuritypolicies/calico-node/apis//podsecuritypolicies/calico-kube-controllers/apis//podsecuritypolicies1.25poddisruptionbudgetspolicy/v1beta1listpykube-ng/20.7.2/apis//poddisruptionbudgets1.26horizontalpodautoscalersautoscaling/v2beta2listpykube-ng/20.7.2/apis//horizontalpodautoscalers1.27csistoragecapacitiesstorage.k8s.io/v1beta1listpykube-ng/20.7.2/apis//csistoragecapacities |   | componentstatuses | /v1 | list | agent/v0.0.0 (linux/amd64) kubernetes/$Format | /api/componentstatuses |   | volumesnapshots | snapshot.storage.k8s.io/v1beta1 | list | pykube-ng/20.7.2 | /apis//volumesnapshots | 1.25 | horizontalpodautoscalers | autoscaling/v2beta1 | list | pykube-ng/20.7.2 | /apis//horizontalpodautoscalers | 1.25 | cronjobs | batch/v1beta1 | list, patch | pykube-ng/20.7.2kubectl/v1.27.1 (linux/amd64) kubernetes/4c94112 | /apis//cronjobs/apis//namespaces/cnpg-matomo-metabase/cronjobs/apis//namespaces/cnpg-secretariat/cronjobs/apis//namespaces/falco/cronjobs/apis//namespaces/mda/cronjobs/apis//namespaces/cdtn-admin/cronjobs/cron-alert/apis//namespaces/cdtn-admin/cronjobs/cron-cleanup-db/apis//namespaces/cdtn-admin/cronjobs/cron-ingester | 1.25 | endpointslices | discovery.k8s.io/v1beta1 | list | pykube-ng/20.7.2 | /apis//endpointslices | 1.25 | podsecuritypolicies | policy/v1beta1 | update, watch, list | operator/v0.0.0 (linux/amd64) kubernetes/$Formatagent/v0.0.0 (linux/amd64) kubernetes/$Formatargocd-application-controller/v0.0.0 (linux/amd64) kubernetes/$Format | /apis//podsecuritypolicies/calico-typha/apis//podsecuritypolicies/calico-node/apis//podsecuritypolicies/calico-kube-controllers/apis//podsecuritypolicies | 1.25 | poddisruptionbudgets | policy/v1beta1 | list | pykube-ng/20.7.2 | /apis//poddisruptionbudgets | 1.26 | horizontalpodautoscalers | autoscaling/v2beta2 | list | pykube-ng/20.7.2 | /apis//horizontalpodautoscalers | 1.27 | csistoragecapacities | storage.k8s.io/v1beta1 | list | pykube-ng/20.7.2 | /apis//csistoragecapacities

  | componentstatuses | /v1 | list | agent/v0.0.0 (linux/amd64) kubernetes/$Format | /api/componentstatuses
  | volumesnapshots | snapshot.storage.k8s.io/v1beta1 | list | pykube-ng/20.7.2 | /apis//volumesnapshots
1.25 | horizontalpodautoscalers | autoscaling/v2beta1 | list | pykube-ng/20.7.2 | /apis//horizontalpodautoscalers
1.25 | cronjobs | batch/v1beta1 | list, patch | pykube-ng/20.7.2kubectl/v1.27.1 (linux/amd64) kubernetes/4c94112 | /apis//cronjobs/apis//namespaces/cnpg-matomo-metabase/cronjobs/apis//namespaces/cnpg-secretariat/cronjobs/apis//namespaces/falco/cronjobs/apis//namespaces/mda/cronjobs/apis//namespaces/cdtn-admin/cronjobs/cron-alert/apis//namespaces/cdtn-admin/cronjobs/cron-cleanup-db/apis//namespaces/cdtn-admin/cronjobs/cron-ingester
1.25 | endpointslices | discovery.k8s.io/v1beta1 | list | pykube-ng/20.7.2 | /apis//endpointslices
1.25 | podsecuritypolicies | policy/v1beta1 | update, watch, list | operator/v0.0.0 (linux/amd64) kubernetes/$Formatagent/v0.0.0 (linux/amd64) kubernetes/$Formatargocd-application-controller/v0.0.0 (linux/amd64) kubernetes/$Format | /apis//podsecuritypolicies/calico-typha/apis//podsecuritypolicies/calico-node/apis//podsecuritypolicies/calico-kube-controllers/apis//podsecuritypolicies
1.25 | poddisruptionbudgets | policy/v1beta1 | list | pykube-ng/20.7.2 | /apis//poddisruptionbudgets
1.26 | horizontalpodautoscalers | autoscaling/v2beta2 | list | pykube-ng/20.7.2 | /apis//horizontalpodautoscalers
1.27 | csistoragecapacities | storage.k8s.io/v1beta1 | list | pykube-ng/20.7.2 | /apis//csistoragecapacities



@octomir octomir added the 👷‍♂️ SRE Issue opened by SRE team label Jul 4, 2023
@igorrenquin
Copy link
Contributor Author

cluster de PROD ci-dessous:

Image

@devthejo devthejo self-assigned this Jul 11, 2023
@devthejo
Copy link
Member

@igorrenquin
Copy link
Contributor Author

Attente de retour SE suite au déploiement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👷‍♂️ SRE Issue opened by SRE team
Projects
None yet
Development

No branches or pull requests

3 participants