cockroachdb / cockroachdb/cockroach-operator

Cornershop: API Fields needed in the Operator (placeholder)

Open
#317 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
318
Forks
104
Avg merge
1d 6h
Merged PRs (30d)
1

Description

Cornershop requested support for the following:
- taints/tolerations
- affinity rules
- ability to put custom annotations at pod level, service level, and ingress level (for nginx Ingress external authentication outproxy)

From the closed [helm chart parity issue](https://github.com/cockroachdb/cockroach-operator/issues/25):

- statefulset.labels | Additional labels of StatefulSet and its Pods | {"app.kubernetes.io/component": "cockroachdb"}
- statefulset.annotations | Additional annotations of StatefulSet Pods | {}
- statefulset.nodeAffinity | Node affinity rules of StatefulSet Pods | {}
- statefulset.podAffinity | Inter-Pod affinity rules of StatefulSet Pods | {}
- statefulset.podAntiAffinity | Anti-affinity rules of StatefulSet Pods | auto
- statefulset.podAntiAffinity.type | Type of auto anti-affinity rules | soft
- statefulset.podAntiAffinity.weight | Weight for soft auto anti-affinity rules | 100
- statefulset.nodeSelector | Node labels for StatefulSet Pods assignment | {}
- statefulset.tolerations | Node taints to tolerate by StatefulSet Pods | []
- service.public.annotations | Additional annotations of public Service | {}

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by locating the operator's CRD and the reconciliation code that generates StatefulSets, Services, and Ingress resources, then trace how configuration is exposed. Done means supporting the requested taints, tolerations, affinity rules, and pod, service, and ingress annotations, with tests covering the generated resources.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.