chaostoolkit-incubator / community-playground

Contains the Chaos Toolkit Community Playground Project
Apache License 2.0
54 stars 17 forks source link

Deprecated Kubernetes apiVersion for Deployment #47

Open yanntoque opened 2 years ago

yanntoque commented 2 years ago

The current apiVersion for the kubernetes deployment is set to apps/v1beta1 which is deprecated since Kubernetes 1.16 cause the following command to fail as shown in the image below. Deployment cannot be created : kubectl apply -f <deployment.(yaml|json)>

image

How to fix this issue

Following the recommandation of the Kubernetes | API Reference the deployment apiVersion should be set to apps/v1 as mentioned in the Deployment Kubernetes API Reference

I will make the changes.