From 90bd12428087c77016e9ef6c5179ba9c0ee9c733 Mon Sep 17 00:00:00 2001 From: Ferran Date: Thu, 18 Feb 2021 15:51:17 +0000 Subject: [PATCH] Bundle generation ps with headers details --- v1.x/yaml/bundle-configuration.yaml | 20 +++++++++++++++----- v2.0/yaml/bundle-configuration.yaml | 20 +++++++++++++++----- v2.1/yaml/bundle-configuration.yaml | 20 +++++++++++++++----- v2.2/yaml/bundle-configuration.yaml | 20 +++++++++++++++----- v2/yaml/bundle-configuration.yaml | 20 +++++++++++++++----- yaml/bundle-configuration.yaml | 20 +++++++++++++++----- 6 files changed, 90 insertions(+), 30 deletions(-) diff --git a/v1.x/yaml/bundle-configuration.yaml b/v1.x/yaml/bundle-configuration.yaml index 61236cc6e..67de85780 100644 --- a/v1.x/yaml/bundle-configuration.yaml +++ b/v1.x/yaml/bundle-configuration.yaml @@ -78,8 +78,8 @@ 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 @@ -87,9 +87,8 @@ spec: 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" @@ -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 diff --git a/v2.0/yaml/bundle-configuration.yaml b/v2.0/yaml/bundle-configuration.yaml index 61236cc6e..67de85780 100644 --- a/v2.0/yaml/bundle-configuration.yaml +++ b/v2.0/yaml/bundle-configuration.yaml @@ -78,8 +78,8 @@ 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 @@ -87,9 +87,8 @@ spec: 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" @@ -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 diff --git a/v2.1/yaml/bundle-configuration.yaml b/v2.1/yaml/bundle-configuration.yaml index 61236cc6e..67de85780 100644 --- a/v2.1/yaml/bundle-configuration.yaml +++ b/v2.1/yaml/bundle-configuration.yaml @@ -78,8 +78,8 @@ 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 @@ -87,9 +87,8 @@ spec: 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" @@ -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 diff --git a/v2.2/yaml/bundle-configuration.yaml b/v2.2/yaml/bundle-configuration.yaml index 61236cc6e..67de85780 100644 --- a/v2.2/yaml/bundle-configuration.yaml +++ b/v2.2/yaml/bundle-configuration.yaml @@ -78,8 +78,8 @@ 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 @@ -87,9 +87,8 @@ spec: 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" @@ -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 diff --git a/v2/yaml/bundle-configuration.yaml b/v2/yaml/bundle-configuration.yaml index 61236cc6e..67de85780 100644 --- a/v2/yaml/bundle-configuration.yaml +++ b/v2/yaml/bundle-configuration.yaml @@ -78,8 +78,8 @@ 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 @@ -87,9 +87,8 @@ spec: 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" @@ -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 diff --git a/yaml/bundle-configuration.yaml b/yaml/bundle-configuration.yaml index 61236cc6e..67de85780 100644 --- a/yaml/bundle-configuration.yaml +++ b/yaml/bundle-configuration.yaml @@ -78,8 +78,8 @@ 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 @@ -87,9 +87,8 @@ spec: 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" @@ -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