We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
kfp == 2.8.0
kfp-kubernetes == 1.2.0
@dsl.component() def server(): ....
@dsl.pipeline() def my_pipeline(): server_task=server() server_task.add_port(V1ContainerPort(name='my-port', container_port=8080)) ---> server_task.add_port(V1ContainerPort(name='my-port', container_port=8080))
AttributeError: 'PipelineTask' object has no attribute 'add_port'
In kfpv1 the code can work, but in kfpv2 'add_port' had been removed. Is there any method to add port on task ?
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
kfp == 2.8.0
kfp-kubernetes == 1.2.0
@dsl.component()
def server():
....
@dsl.pipeline()
def my_pipeline():
server_task=server()
server_task.add_port(V1ContainerPort(name='my-port', container_port=8080))
---> server_task.add_port(V1ContainerPort(name='my-port', container_port=8080))
AttributeError: 'PipelineTask' object has no attribute 'add_port'
In kfpv1 the code can work, but in kfpv2 'add_port' had been removed. Is there any method to add port on task ?
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: