Skip to content

Installing Multigres operator CRD fails on a K3s cluster due to metadata.annotations Too long error #532

Description

@bhupixb

Issue

I am locally trying to install Multigres operator based on https://multigres.com/blog/deploying-the-multigres-operator.

But it fails here:

$ kubectl apply -f https://github.com/multigres/multigres-operator/releases/download/v0.1.0/install.yaml
namespace/multigres-operator unchanged
customresourcedefinition.apiextensions.k8s.io/cells.multigres.com unchanged
customresourcedefinition.apiextensions.k8s.io/celltemplates.multigres.com unchanged
customresourcedefinition.apiextensions.k8s.io/coretemplates.multigres.com unchanged
customresourcedefinition.apiextensions.k8s.io/shards.multigres.com unchanged
customresourcedefinition.apiextensions.k8s.io/shardtemplates.multigres.com unchanged
customresourcedefinition.apiextensions.k8s.io/tablegroups.multigres.com unchanged
customresourcedefinition.apiextensions.k8s.io/toposervers.multigres.com unchanged
serviceaccount/multigres-operator-controller-manager unchanged
role.rbac.authorization.k8s.io/multigres-operator-leader-election-role unchanged
clusterrole.rbac.authorization.k8s.io/multigres-operator-manager-role unchanged
clusterrole.rbac.authorization.k8s.io/multigres-operator-metrics-auth-role unchanged
clusterrole.rbac.authorization.k8s.io/multigres-operator-metrics-reader unchanged
rolebinding.rbac.authorization.k8s.io/multigres-operator-leader-election-rolebinding unchanged
clusterrolebinding.rbac.authorization.k8s.io/multigres-operator-manager-rolebinding unchanged
clusterrolebinding.rbac.authorization.k8s.io/multigres-operator-metrics-auth-rolebinding unchanged
service/multigres-operator-controller-manager-metrics-service unchanged
service/multigres-operator-webhook-service unchanged
deployment.apps/multigres-operator-controller-manager configured
mutatingwebhookconfiguration.admissionregistration.k8s.io/multigres-operator-mutating-webhook-configuration configured
validatingwebhookconfiguration.admissionregistration.k8s.io/multigres-operator-validating-webhook-configuration configured

# notice this
The CustomResourceDefinition "multigresclusters.multigres.com" is invalid: metadata.annotations: Too long: may not be more than 262144 bytes

My setup:

I am trying this on a local K3s cluster:

$ kubectl version
Client Version: v1.36.0
Kustomize Version: v5.8.1
Server Version: v1.36.0+k3s1

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions