In WebFOCUS Container Edition Cachemanager, Edaserver and Appserver components failed due to no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2".

In WebFOCUS Container Edition Cachemanager, Edaserver and Appserver components failed due to no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2".

book

Article ID: KB0070798

calendar_today

Updated On:

Products

ibi WebFOCUS

Description

When we deploy WFCE 122 on K8s version 1.19 then Cachemanager,Edaserver and Appserver Releases Failed due to no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2"

Issue/Introduction

This article explains the workaround to resolve the issue when we deploy WebFOCUS Container Edition(WFCE) 122 on K8s version 1.19 then Cachemanager, Edaserver and Appserver releases failed due to no matches for kind "HorizontalPodAutoscaler" in version "autoscaling/v2".

Resolution

Follow the below workaround to resolve this issue:

1.  CD  <webfocus-ce>/scripts/charts/cachemanager/templates

Edit the “hpa.yaml” file and replace the “apiVersion: autoscaling/v2” with “apiVersion: autoscaling/v2beta2”

2. CD  <webfocus-ce>/Scripts/charts/appserver/templates

Edit the “hpa.yaml” file and replace the “apiVersion: autoscaling/v2” with “apiVersion: autoscaling/v2beta2”

3. CD  <webfocus-ce>/Scripts/charts/edaserver/templates

Edit the “hpa.yaml”  and “hpa-custom.yaml” file and replace  “apiVersion: autoscaling/v2” with “apiVersion:autoscaling/v2beta2”

4. Deploy the webfocus.