Skip to content

Instantly share code, notes, and snippets.

@alecmerdler
Created October 12, 2018 17:25
Show Gist options
  • Save alecmerdler/f3373650c804f1f1d84ecce107d5d28a to your computer and use it in GitHub Desktop.
Save alecmerdler/f3373650c804f1f1d84ecce107d5d28a to your computer and use it in GitHub Desktop.
Problems with CouchbaseCluster CRD

Issues with CouchbaseCluster CRD

Noticing some inconsistencies with the CRDs of other Operators, which makes it difficult to integrate cleanly with the OLM UI.

  1. status.members should look like:
status:
  members:
    ready:
      - cb-example-0000
      - cb-example-0001
      - cb-example-0002
  1. status.conditions should look like:
status:
  conditions:
    - type: Available
      lastTransitionTime: '2018-10-11T18:20:20Z'
      lastUpdateTime: '2018-10-11T18:20:20Z'
      reason: Cluster available
      status: 'True'
    - type: Balanced:
      lastTransitionTime: '2018-10-11T18:22:39Z'
      lastUpdateTime: '2018-10-11T18:22:39Z'
      message: Data is equally distributed across all nodes in the cluster
      reason: Cluster is balanced
      status: 'True'
  1. spec.buckets (array) is not the same format as status.buckets (map)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment