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

13
Jenkinsfile vendored
View File

@ -81,12 +81,21 @@ 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') { stage('Debug Kubernetes') {
steps { steps {
container('kubectl') { container('kubectl') {
sh ''' sh '''
kubectl cluster-info
kubectl get nodes
kubectl get pods --all-namespaces kubectl get pods --all-namespaces
''' '''
} }