# Kubeless - Error: You should specify a path for the trigger event

**URL:** <https://forum.serverless.com/t/kubeless-error-you-should-specify-a-path-for-the-trigger-event/12741>\
**Category:** Serverless Framework\
**Created:** [October 2, 2020, 9:26pm UTC](https://forum.serverless.com/t/kubeless-error-you-should-specify-a-path-for-the-trigger-event/12741 "2020-10-02T21:26:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brunoguidone](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/brunoguidone/32/4592_2.png) [@brunoguidone](https://forum.serverless.com/u/brunoguidone)\
**Post date:** [October 2, 2020, 9:26pm UTC](https://forum.serverless.com/t/kubeless-error-you-should-specify-a-path-for-the-trigger-event/12741/1 "2020-10-02T21:26:10Z")

</div>

Hey guys.

I’m using serverless to deploy functions to my kubeless running on k8s.

I wasn’t able to create the Ingress using YAML.

Here’s my serverless.yml:

```
service: testserverless2

provider:
  name: kubeless
  runtime: python2.7
  namespace: x
  hostname: x

plugins:
  - serverless-kubeless

functions:
  hello:
    handler: handler.hello
    namespace: x
    labels:
      foo: bar
      test: test
    events:
      - http:
        path: /

```

My function is being deployed and if I create the ingress manually it works fine.

but I’m getting the following message and the Ingress is not being created automatically:  
Error: You should specify a path for the trigger event

I appreciate any help! Thanks!
