You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
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: