adding debugging item
This commit is contained in:
parent
06d69ca388
commit
c2d58d263a
|
|
@ -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
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue