Service.yaml and Workload

What do I specify in the helm service.yaml file to have a Service Discovery Entry Type: Workload? Can’t figure this out

1 Like

Is there anything which is required and Rancher specific to get this working ?

annotations:
field.cattle.io/publicEndpoints: '[{"addresses":["10.132.194.38"],"port":31042,"protocol":"TCP","serviceName":"default:ingress-b847d7a922dd5688a4a141df88ff51b1","allNodes":true}]'
field.cattle.io/targetWorkloadIds: '["deployment:default:app-scheduler-gateway"]'

anyone pls ?