Skip to content

v25-1.1-beta2 Redpanda Operator via FluxCD Failing #811

@PeregrineFalcon

Description

@PeregrineFalcon

Continuing a conversation from over in theSlack with @chrisseto.

Deploying the CRD and HelmRelease with the following kustomization(s):

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
  - https://github.com/redpanda-data/redpanda-operator//operator/config/crd?ref=v25.1.1-beta2
  - redpanda-operator-helm-release.yaml

with redpanda-operator-helm-release.yaml as follows:

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
  name: redpanda-operator-helm-release
  namespace: redpanda
spec:
  releaseName: redpanda-operator
  chart:
    spec:
      chart: operator
      sourceRef:
        kind: HelmRepository
        name: redpanda
        namespace: flux-system
  interval: 1h
  timeout: 10m
  install:
    remediation:
      retries: 3
  values:
    image:
      tag: v25.1.1-beta2
    #    createAdditionalControllerCRs is required for a workaround for v25.1.1-beta2, should be fixed in beta3+
    createAdditionalControllerCRs: true

For redpanda using:

apiVersion: cluster.redpanda.com/v1alpha2
kind: Redpanda
metadata:
  name: redpanda
  namespace: redpanda
spec:
  clusterSpec:
    tls:
      enabled: false
    external:
      enabled: true
    statefulset:
      replicas: 3
      extraVolumes: |-
        - name: redpanda-io-config
          configMap:
            name: redpanda-io-config
      extraVolumeMounts: |-
        - name: redpanda-io-config
          mountPath: /etc/redpanda-io-config
      additionalRedpandaCmdFlags:
        - "--io-properties-file=/etc/redpanda-io-config/io-config.yaml"

As far as the cluster, I have confirmed that this is the chart as it is represented in the running cluster:

additionalCmdFlags: []
affinity: {}
clusterDomain: cluster.local
commonLabels: {}
config:
  apiVersion: controller-runtime.sigs.k8s.io/v1alpha1
  health:
    healthProbeBindAddress: :8081
  kind: ControllerManagerConfig
  leaderElection:
    leaderElect: true
    resourceName: aa9fc693.vectorized.io
  metrics:
    bindAddress: 127.0.0.1:8080
  webhook:
    port: 9443
fullnameOverride: ""
image:
  pullPolicy: IfNotPresent
  repository: docker.redpanda.com/redpandadata/redpanda-operator
  tag: v25.1.1-beta2
imagePullSecrets: []
kubeRbacProxy:
  image:
    pullPolicy: IfNotPresent
    repository: gcr.io/kubebuilder/kube-rbac-proxy
    tag: v0.14.0
  logLevel: 10
logLevel: info
monitoring:
  enabled: false
nameOverride: ""
nodeSelector: {}
podAnnotations: {}
podLabels: {}
podTemplate:
  metadata: {}
  spec:
    containers:
    - name: manager
      resources: {}
    securityContext:
      runAsUser: 65532
rbac:
  create: true
  createAdditionalControllerCRs: true
  createRPKBundleCRs: false
replicaCount: 1
resources: {}
scope: Namespace
serviceAccount:
  automountServiceAccountToken: false
  create: true
strategy:
  type: RollingUpdate
tolerations: []
webhook:
  enabled: false
webhookSecretName: webhook-server-cert

Errors I'm seeing on the redpanda-0 pod are as follows:

MountVolume.SetUp failed for volume "redpanda-configurator" : secret "redpanda-configurator" not found

and of the four containers all have a similar error:

Failed to load logs: container "redpanda-configurator" in pod "redpanda-0" is waiting to start: PodInitializing
Reason: BadRequest (400)

with what appears to the be cause of:

MountVolume.SetUp failed for volume "redpanda-configurator" : secret "redpanda-configurator" not found

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