Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPA failed status - unknow FlinkApplication / not found #247

Open
jmorcar opened this issue Feb 11, 2022 · 0 comments
Open

HPA failed status - unknow FlinkApplication / not found #247

jmorcar opened this issue Feb 11, 2022 · 0 comments

Comments

@jmorcar
Copy link

jmorcar commented Feb 11, 2022

I've created FlinkApplication cluster. After I've create a HPA with scaleTargetRef.. but hpa describe never find the new object FlinkApplication cluster "flinkoperator":

Cluster Green ok:

NAME                       PHASE     CLUSTER HEALTH   JOB HEALTH   JOB RESTARTS   AGE
flinkoperator   Running   Green            Green                       34m
Conditions:
  Type         Status  Reason          Message
  ----         ------  ------          -------
  AbleToScale  False   FailedGetScale  the HPA controller was unable to get the target's current scale: flinkapplications.flink.k8s.io "flinkoperator" not found
Events:
  Type     Reason          Age   From                       Message
  ----     ------          ----  ----                       -------
  Warning  FailedGetScale  8s    horizontal-pod-autoscaler  flinkapplications.flink.k8s.io "flinkoperator" not found
NAME                           REFERENCE                                   TARGETS                            MINPODS   MAXPODS   REPLICAS   AGE
flinkoperator-hpa   FlinkApplication/flinkoperator   <unknown>/14100Mi, <unknown>/95%   9         12        0          11m

Flink version: 1.9.2
AKS version:

% kubectl version             
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.4", GitCommit:"b695d79d4f967c403a96986f1750a35eb75e75f1", GitTreeState:"clean", BuildDate:"2021-11-17T15:48:33Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"10428892c761e8ca8908e71146eea4751feb545b", GitTreeState:"clean", BuildDate:"2021-11-15T08:35:11Z", GoVersion:"go1.16.4", Compiler:"gc", Platform:"linux/amd64"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant