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
@sanchesoon THX for your answer. But I'm a way that can edit port directly in python and compile into yaml file. I think kfpv2 should have a method to add it.
Discussed in #11027
Originally posted by sefgsefg July 23, 2024
kfp == 2.8.0
kfp-kubernetes == 1.2.0
---> 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 ?
The text was updated successfully, but these errors were encountered: