-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
Missing required Service.spec.ports in Kubernetes #1238
Comments
might could solve the open todo of #552 |
So you are trying to run a pipeline with this context (no ports defined)?: services:
docker:
image: docker:22.06-rc-dind
pipeline:
build:
image: docker:22.06-rc-dind
commands:
- printenv | sort I will try to debug it against a cluster again. |
Correct, no ports defined. |
@mmoya, what do you expect in that case? |
I am not sure this applies anymore given it's age. Also so much has changed in the helm chart lately and nobody else reported similar issues. I'd vote to close and re-evaluate if something similar comes up again? |
I'm not actively using the CI these days. If I find time to test a more recent build I'll add a note with the results. Although I second @pat-s's recommendation of closing this, I'll add an answer to @zc-devs for the record.
Expected behaviour: The Actual behaviour: You get the following error ci config:
|
this problem still exists. the service of the job awaits a port: but there is no option to pass a service port into this by the please reopen the issue |
Component
agent
Describe the bug
Service.spec.ports
is required and not being passed.Same environment and pipeline of #1232. This time using agent version
next-3130a1c5
. The error is:I see that
kubernetes.Service
has aports
parameter but all calls are done with an empty array as its value.System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: