Unable to activate the "kubernetes" provider

When I try to activate the "kubernetes" provider—adhering to the static configuration schema here—Traefik version 2.0.0-beta1 fails as follows:

command /traefik error: field not found, node: kubernetes

My static configuration file is as follows (with the fields sorted):

api: {}
entryPoints: 
  traefik: 
    address: ":8080"
  web: 
    address: ":80"
  web-secure: 
    address: ":443"
global: 
  sendAnonymousUsage: false
log: 
  level: "DEBUG"
metrics: 
  prometheus: {}
providers: 
  file: 
    filename: "/etc/traefik/dynamic.yaml"
  kubernetes: 
    ingressEndpoint: 
      hostname: "some.local"
  kubernetesCRD: {}
serversTransport: 
  insecureSkipVerify: true

By contrast, the "kubernetesCRD" provider loads fine. Is the "kubernetes" provider supposed to work with version 2?

Hello @seh,

The provider in v2 is kubernetesIngress:

https://docs.traefik.io/v2.0/providers/kubernetes-ingress/#enabling-and-using-the-provider

Thanks!

Again, I was looking in the wrong section of the documentation. Thank you for pointing that out. It works!