Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
Bundle generation ps with headers details
Browse files Browse the repository at this point in the history
  • Loading branch information
Arau committed Feb 18, 2021
1 parent ac02e35 commit 90bd124
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 30 deletions.
20 changes: 15 additions & 5 deletions v1.x/yaml/bundle-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,17 @@ spec:
- "--print-type"
timeout: 90s
- run:
name: "ps-forest"
collectorName: "ps-forest"
name: "ps-general"
collectorName: "ps-general"
image: storageos/support-bundle:0.1
namespace: kube-system
hostPID: true
nodeSelector:
node-role.kubernetes.io/worker: "true"
command: ["ps"]
args:
- "--forest"
- "-ewwO"
- "uname,ppid,pgid,sid,c,sz,rssize,psr,lstart,etimes"
- "-ewwo"
- "pid,uname,ppid,pgid,sid,sz,rssize,vsize,psr,c,bsdtime,nlwp,lstart,etimes,state,tname,args"
timeout: 90s
- run:
name: "ps-threads"
Expand Down Expand Up @@ -144,3 +143,14 @@ spec:
storageos get volumes --all-namespaces -ojson --timeout 30s;
echo '-----------------------------------------';
"
- exec:
name: "proc-mounts"
collectorName: "proc-mounts"
selector:
- kind=daemonset
- app=storageos
namespace: kube-system
command: ["cat"]
args:
- "/proc/mounts"
timeout: 90s
20 changes: 15 additions & 5 deletions v2.0/yaml/bundle-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,17 @@ spec:
- "--print-type"
timeout: 90s
- run:
name: "ps-forest"
collectorName: "ps-forest"
name: "ps-general"
collectorName: "ps-general"
image: storageos/support-bundle:0.1
namespace: kube-system
hostPID: true
nodeSelector:
node-role.kubernetes.io/worker: "true"
command: ["ps"]
args:
- "--forest"
- "-ewwO"
- "uname,ppid,pgid,sid,c,sz,rssize,psr,lstart,etimes"
- "-ewwo"
- "pid,uname,ppid,pgid,sid,sz,rssize,vsize,psr,c,bsdtime,nlwp,lstart,etimes,state,tname,args"
timeout: 90s
- run:
name: "ps-threads"
Expand Down Expand Up @@ -144,3 +143,14 @@ spec:
storageos get volumes --all-namespaces -ojson --timeout 30s;
echo '-----------------------------------------';
"
- exec:
name: "proc-mounts"
collectorName: "proc-mounts"
selector:
- kind=daemonset
- app=storageos
namespace: kube-system
command: ["cat"]
args:
- "/proc/mounts"
timeout: 90s
20 changes: 15 additions & 5 deletions v2.1/yaml/bundle-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,17 @@ spec:
- "--print-type"
timeout: 90s
- run:
name: "ps-forest"
collectorName: "ps-forest"
name: "ps-general"
collectorName: "ps-general"
image: storageos/support-bundle:0.1
namespace: kube-system
hostPID: true
nodeSelector:
node-role.kubernetes.io/worker: "true"
command: ["ps"]
args:
- "--forest"
- "-ewwO"
- "uname,ppid,pgid,sid,c,sz,rssize,psr,lstart,etimes"
- "-ewwo"
- "pid,uname,ppid,pgid,sid,sz,rssize,vsize,psr,c,bsdtime,nlwp,lstart,etimes,state,tname,args"
timeout: 90s
- run:
name: "ps-threads"
Expand Down Expand Up @@ -144,3 +143,14 @@ spec:
storageos get volumes --all-namespaces -ojson --timeout 30s;
echo '-----------------------------------------';
"
- exec:
name: "proc-mounts"
collectorName: "proc-mounts"
selector:
- kind=daemonset
- app=storageos
namespace: kube-system
command: ["cat"]
args:
- "/proc/mounts"
timeout: 90s
20 changes: 15 additions & 5 deletions v2.2/yaml/bundle-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,17 @@ spec:
- "--print-type"
timeout: 90s
- run:
name: "ps-forest"
collectorName: "ps-forest"
name: "ps-general"
collectorName: "ps-general"
image: storageos/support-bundle:0.1
namespace: kube-system
hostPID: true
nodeSelector:
node-role.kubernetes.io/worker: "true"
command: ["ps"]
args:
- "--forest"
- "-ewwO"
- "uname,ppid,pgid,sid,c,sz,rssize,psr,lstart,etimes"
- "-ewwo"
- "pid,uname,ppid,pgid,sid,sz,rssize,vsize,psr,c,bsdtime,nlwp,lstart,etimes,state,tname,args"
timeout: 90s
- run:
name: "ps-threads"
Expand Down Expand Up @@ -144,3 +143,14 @@ spec:
storageos get volumes --all-namespaces -ojson --timeout 30s;
echo '-----------------------------------------';
"
- exec:
name: "proc-mounts"
collectorName: "proc-mounts"
selector:
- kind=daemonset
- app=storageos
namespace: kube-system
command: ["cat"]
args:
- "/proc/mounts"
timeout: 90s
20 changes: 15 additions & 5 deletions v2/yaml/bundle-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,17 @@ spec:
- "--print-type"
timeout: 90s
- run:
name: "ps-forest"
collectorName: "ps-forest"
name: "ps-general"
collectorName: "ps-general"
image: storageos/support-bundle:0.1
namespace: kube-system
hostPID: true
nodeSelector:
node-role.kubernetes.io/worker: "true"
command: ["ps"]
args:
- "--forest"
- "-ewwO"
- "uname,ppid,pgid,sid,c,sz,rssize,psr,lstart,etimes"
- "-ewwo"
- "pid,uname,ppid,pgid,sid,sz,rssize,vsize,psr,c,bsdtime,nlwp,lstart,etimes,state,tname,args"
timeout: 90s
- run:
name: "ps-threads"
Expand Down Expand Up @@ -144,3 +143,14 @@ spec:
storageos get volumes --all-namespaces -ojson --timeout 30s;
echo '-----------------------------------------';
"
- exec:
name: "proc-mounts"
collectorName: "proc-mounts"
selector:
- kind=daemonset
- app=storageos
namespace: kube-system
command: ["cat"]
args:
- "/proc/mounts"
timeout: 90s
20 changes: 15 additions & 5 deletions yaml/bundle-configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,17 @@ spec:
- "--print-type"
timeout: 90s
- run:
name: "ps-forest"
collectorName: "ps-forest"
name: "ps-general"
collectorName: "ps-general"
image: storageos/support-bundle:0.1
namespace: kube-system
hostPID: true
nodeSelector:
node-role.kubernetes.io/worker: "true"
command: ["ps"]
args:
- "--forest"
- "-ewwO"
- "uname,ppid,pgid,sid,c,sz,rssize,psr,lstart,etimes"
- "-ewwo"
- "pid,uname,ppid,pgid,sid,sz,rssize,vsize,psr,c,bsdtime,nlwp,lstart,etimes,state,tname,args"
timeout: 90s
- run:
name: "ps-threads"
Expand Down Expand Up @@ -144,3 +143,14 @@ spec:
storageos get volumes --all-namespaces -ojson --timeout 30s;
echo '-----------------------------------------';
"
- exec:
name: "proc-mounts"
collectorName: "proc-mounts"
selector:
- kind=daemonset
- app=storageos
namespace: kube-system
command: ["cat"]
args:
- "/proc/mounts"
timeout: 90s

0 comments on commit 90bd124

Please sign in to comment.