diff --git a/podinfo/podinfo-hpa-custom.yaml b/podinfo/podinfo-hpa-custom.yaml index 9e5319c..60ac76f 100644 --- a/podinfo/podinfo-hpa-custom.yaml +++ b/podinfo/podinfo-hpa-custom.yaml @@ -1,11 +1,11 @@ --- -apiVersion: autoscaling/v2beta1 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: podinfo spec: scaleTargetRef: - apiVersion: extensions/v1beta1 + apiVersion: apps/v1 kind: Deployment name: podinfo minReplicas: 2 diff --git a/podinfo/podinfo-hpa.yaml b/podinfo/podinfo-hpa.yaml index 24bf323..1851471 100644 --- a/podinfo/podinfo-hpa.yaml +++ b/podinfo/podinfo-hpa.yaml @@ -1,5 +1,5 @@ --- -apiVersion: autoscaling/v2beta2 +apiVersion: autoscaling/v2 kind: HorizontalPodAutoscaler metadata: name: podinfo diff --git a/podinfo/podinfo-ingress.yaml b/podinfo/podinfo-ingress.yaml index 5c56522..b9880df 100644 --- a/podinfo/podinfo-ingress.yaml +++ b/podinfo/podinfo-ingress.yaml @@ -11,7 +11,7 @@ spec: selector: app: podinfo --- -apiVersion: extensions/v1beta1 +apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: podinfo