diff --git a/rootfs/api/models/app.py b/rootfs/api/models/app.py index c7cf11613..0c6d73533 100644 --- a/rootfs/api/models/app.py +++ b/rootfs/api/models/app.py @@ -968,7 +968,7 @@ def autoscale(self, proc_type, autoscale): """ name = '{}-{}'.format(self.id, proc_type) # basically fake out a Deployment object (only thing we use) to assign to the HPA - target = {'apiVersion': 'extensions/v1beta1', + target = {'apiVersion': 'apps/v1', 'kind': 'Deployment', 'metadata': {'name': name}}