Jenkinsfile started POD and terminating

Hi im new user jenkins

Create pipline in Jenkins

pipeline {
  agent {
    kubernetes {
      yaml '''
        apiVersion: v1
        kind: Pod
        spec:
          containers:
          - name: debian
            image: debian:latest
            command:
            - cat
            tty: true
        '''
    }
  }
  stages {
    stage('Run IP A ') {
      steps {
        container('debian') {
          sh 'uname -a'
        }
      }
    }
  }
}

POD started and terminated

What am I doing wrong?

Maybe better Deployment ?