# I'm not able to call shared library function using JTE in K8s cluster

**URL:** <https://community.jenkins.io/t/im-not-able-to-call-shared-library-function-using-jte-in-k8s-cluster/13800>\
**Category:** Using Jenkins\
**Created:** [March 29, 2024, 3:01pm UTC](https://community.jenkins.io/t/im-not-able-to-call-shared-library-function-using-jte-in-k8s-cluster/13800 "2024-03-29T15:01:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DasariVinay879](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/dasarivinay879/32/7614_2.png) [@DasariVinay879](https://community.jenkins.io/u/DasariVinay879)\
**Post date:** [March 29, 2024, 3:01pm UTC](https://community.jenkins.io/t/im-not-able-to-call-shared-library-function-using-jte-in-k8s-cluster/13800/1 "2024-03-29T15:01:46Z")

</div>

podTemplate(label: kubernetes, yaml: readTrusted(‘pod.yaml’)) {  
timestamps {  
node(“kubernetes”) {  
stage(‘Info’) {  
sh ‘whoami’  
container(‘node’) {  
sh ‘node -v’  
}  
}  
}  
}  
}
