-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spec.ports: Required value
when running role: Stateless-Aggregator
with customConfig
#205
Comments
Ah - so we walk the I'll think about it a bit and try and sneak this into the |
I think that makes sense. For context, I was trying to deploy Vector to just consume from AWS S3 so it had no need for any listeners. I think other "pull based deployments" of Vector (like consuming from Kafka) would be similar. |
Yep! Definitely reasonable, looking at it though... they way I've set things up it's not super easy to toggle it based on the "contents" of the parsed ports. I don't think this will make it into |
Same error when install vector helm chart with customConfig:
|
One immediate thing here is that sinks:
sink_to_loki:
endpoint: "http://loki-loki-distributed-gateway.loki" The cause of this is how the The logic doesn't handle not rendering the Service if there were no ports parsed from the config, and Kubernetes doesn't allow for a Service without ports defined. I recently looked at this but couldn't pull together anything that would work in an automatic fashion, perhaps we should just document this, or try and add a |
The It uses My config is customConfig:
sources:
kubernetes:
type: kubernetes_logs
sinks:
elasticsearch:
type: elasticsearch
endpoints:
- https://elasticsearch-master:9200
auth:
strategy: basic
user: elastic
password: elastic-password
inputs:
- kubernetes But What would be a "valid" customConfig that would trigger the ports to be generated ? |
Your example config has no such components, |
Thanks! I was tweaking |
I also see this issue when just doing an |
I believe I solved this while working on a different project, I'll see if I can port those changes over to resolve this issue 👍 |
Hi, I have the same error when using Vector with Role Agent, My Loki is set up in the parent cluster, and I want to set up vector agents on child clusters.
|
@seaadevil Did you set |
I disabled the service, and I don't have the error |
Hey, |
We haven't had a chance to fix this. If you run into the |
If anyone is interested in updating this, the fix would be similar to what is done here |
I attempted to deploy the chart with the following values file:
To which it gave me:
The text was updated successfully, but these errors were encountered: