Comments (8)
Strimzi never updates the Kafka custom resource metadata or specification. Only the status
subresource. So if the changes are reverted, you have to look at your infrastructure and tooling to find out what is causing the issue. Maybe the resource is managed through some GitOps tooling or something and you have to apply the change there at the source? I think this should be closed and we should continue with the discussion you already started.
from strimzi-kafka-operator.
It's not managed by anything, no. It is a directly applied manifest which is not tied to our deploy system at all, nor have we done any deploys or even commits to the repository where the manifests live. There's nothing that touches this outside of human fingers, we have two people that have access including myself and neither touched it.
The reconciliation steps that the strimzi operator is mentioning are certainly interacting with the kafka custom resource.
Is there any way in the operator or kafka custom resource that we can update the defaults to reflect our changes? The 100Gb disk size for instance, that must be set somewhere, I presume it to be the default.
Namespace events would be the only potential tracking of this that I'm aware of and unless I happen to catch it those rotate out after an hour.
from strimzi-kafka-operator.
There is no place in the code that updates the Kafka resource spec or metadata. Feel free to look for it in the source code if you want. I do not know what your environment looks like, what tools you use or don't use, or who has access to it. But it is not Strimzi reverting your changes. The steps you describe are not reproducible in other environments.
from strimzi-kafka-operator.
Can you tell me how the operator knows what defaults to use when creating the kafka custom resource in the first place? Where does it get this from, for disk size on the jdb
type and for what custom configs exist in .spec.kafka.config
?
It'd be a bandage for us but if we couple update the source of this to have our own custom defaults then this would at least cause these instances to work correctly while we try to figure out what is changing things.
Again last night, when nothing was running, zero deployments, zero commits at all, zero manipulative services within K8s or outside of it, the kafka resource is now one generation higher at 13
and we've again lost our custom log retention setting from the kafka boxes.
from strimzi-kafka-operator.
There is no default storage size. There is no default value for .spec.kafka.config
. The storage size is mandatory. The .spec.kafka.config
is optional and if you don't specify it, you don't specify it. Once again, Strimzi does not overwrite your resource with any defaults.
from strimzi-kafka-operator.
So in a new setup, if I apply the operator and do whatever needs to be done, I would have to specify a disk size when it creates the initial kafka custom resource? The Strimzi operator I assume does that initial creation, no?
Or is it just a yaml manifest that is applied by the creating user and strimzi is only aware of it by the strimzi.io/cluster
label?
from strimzi-kafka-operator.
Yes. You have to specify the disk size in the Kafka CR. Strimzi will use that to create the PVCs, so you do not need to create those. But the size will be the one you specified in the Kafka CR.
from strimzi-kafka-operator.
Ok, that original manifest is nowhere to be found so mystery remains. I'll close this off then and keep investigating.
from strimzi-kafka-operator.
Related Issues (20)
- [Bug]: StrimziPodSet ignores strimzi.io/pause-reconciliation annotation HOT 10
- Performance Scaling Issues with KRaft-Based Kafka Clusters HOT 4
- Strimizi kafka operator, vulnerabilities for v 3.6.0
- [Enhancement]: Support additionalVolumes HOT 5
- [CRD-v1] Make the .spec section in all resources required HOT 1
- [CRD-v1] Try to enforce the Connect topic names or make better defaults HOT 2
- [Bug]: podTemplate securityContext doesn't honor sysctl values HOT 12
- [Bug]: Strimzi operator unable to spin up kafka cluster on gke
- [Enhancement]: Deploy different versions of Strimzi operators in a single k8s cluster, allowing the cluster to deploy different versions of Kafka clusters
- [Bug]: KafkaRebalance resource reconciliation gets stuck if CC pod is restarted during rebalance HOT 10
- Kafka Users are created with ACL entries and during performing operations allowed by ACL we see Denied Operation HOT 1
- [Enhancement]: Ensure Helm chart is published after image published
- [Bug]: Unable to create kafka cluster with security.protocol=SASL_SSL and security.mechanis=PLAIN HOT 2
- [Bug]: Configure kafka connect connection to an existing kafka cluster
- [Bug]: Adding a serviceAccount annotation in KafkaConnect spec makes Cluster Operator Stuck on Reconciliation of Strimzipodset
- [Bug]: KafkaRebalance not respecting replicationThrottle HOT 7
- Add Cruise Control timer metrics to the Topic Operator HOT 1
- [Bug]: The StrimziPodSetController is not checking controller flag of the old owner before adding new one
- [Bug]: Kafka Brokers metrics endpoint unresponsive on port 9094
- [Bug]: Error reconciling KafkaTopic null + Broker: Unknown member HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strimzi-kafka-operator.