fix autoscaling
Change-Id: I7d5b4a7127dd61450a83ecbeed1c63f5b98a7072
This commit is contained in:
@@ -24,6 +24,7 @@ from combinations of apiVersion and kind to the exact model.
|
|||||||
|
|
||||||
from pykube.objects import ConfigMap
|
from pykube.objects import ConfigMap
|
||||||
from pykube.objects import Deployment
|
from pykube.objects import Deployment
|
||||||
|
from pykube.objects import HorizontalPodAutoscaler
|
||||||
from pykube.objects import Ingress
|
from pykube.objects import Ingress
|
||||||
from pykube.objects import NamespacedAPIObject
|
from pykube.objects import NamespacedAPIObject
|
||||||
from pykube.objects import Pod
|
from pykube.objects import Pod
|
||||||
@@ -75,6 +76,9 @@ MAPPING = {
|
|||||||
"Deployment": Deployment,
|
"Deployment": Deployment,
|
||||||
"StatefulSet": StatefulSet,
|
"StatefulSet": StatefulSet,
|
||||||
},
|
},
|
||||||
|
"autoscaling/v1": {
|
||||||
|
"HorizontalPodAutoscaler": HorizontalPodAutoscaler,
|
||||||
|
},
|
||||||
"extensions/v1beta1": {
|
"extensions/v1beta1": {
|
||||||
"Ingress": Ingress
|
"Ingress": Ingress
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user