adding debugging item

This commit is contained in:
areeqakbr 2025-02-26 09:22:59 +07:00
parent 06d69ca388
commit c2d58d263a
1 changed files with 12 additions and 3 deletions

15
Jenkinsfile vendored
View File

@ -81,13 +81,22 @@ spec:
}
}
stage('testing network to kubernetes')
{
steps {
container('kubectl') {
sh '''
ping -c 4 https://console.kube.winteraccess.id/api/endpoints/1/kubernetes
'''
}
}
}
stage('Debug Kubernetes') {
steps {
container('kubectl') {
sh '''
kubectl cluster-info
kubectl get nodes
kubectl get pods --all-namespaces
kubectl get pods --all-namespaces
'''
}
}