티스토리 수익 글 보기

티스토리 수익 글 보기

storageTarget unsupported in BigtableInstance CRD · Issue #729 · GoogleCloudPlatform/k8s-config-connector · GitHub
Skip to content

storageTarget unsupported in BigtableInstance CRD #729

Closed

Description

@travisrandolph-bestbuy

Checklist

Bug Description

It appears that storageTarget isn’t actually a supported field for cluster autoscaling config. When we try to add the storageTarget configuration we are seeing an error that states it’s an unknown field.

image

Additional Diagnostic Information

error: error validating "test.yaml": error validating data: ValidationError(BigtableInstance.spec.cluster[0].autoscalingConfig): unknown field "storageTarget" in com.google.cloud.cnrm.bigtable.v1beta1.BigtableInstance.spec.cluster.autoscalingConfig; if you choose to ignore these errors, turn validation off with --validate=false

Kubernetes Cluster Version

v1.22.12-gke.2300

Config Connector Version

1.95.0

Config Connector Mode

namespaced mode (default)

Log Output

No response

Steps to reproduce the issue

Deploy the YAML snippet below.

YAML snippets

apiVersion: bigtable.cnrm.cloud.google.com/v1beta1
kind: BigtableInstance
metadata:
  name: bigtable-test
spec:
  displayName: BigtableAuto
  instanceType: PRODUCTION
  resourceID: bigtable-test
  cluster:
  - clusterId: test-cluster
    zone: us-central1-a
    autoscalingConfig:
      cpuTarget: 25
      maxNodes: 10
      minNodes: 1
      storageTarget: 3000

Activity

  1. mbzomowski commented on Oct 31, 2022

    @mbzomowski

    This field was released w/ v1.96.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions