My top level pipeline directive looks like this:
pipeline { agent { kubernetes { defaultContainer "mycontainer" yaml