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