(command.CommandList
  children: [
    (C {<Id.KW_Set set>} {<-exuo>} {<pipefail>})
    (C {<kubectl>} {<delete>} 
      {<statefulsets> <Id.Lit_Comma ','> <persistentvolumes> <Id.Lit_Comma ','> <persistentvolumeclaims> 
        <Id.Lit_Comma ','> <services> <Id.Lit_Comma ','> <poddisruptionbudget>
      } {<-l>} {<Id.Lit_VarLike 'app='> <cockroachdb>}
    )
    (command.Sentence
      child: 
        (command.ForEach
          iter_name: i
          iter_words: [
            {
              (command_sub
                left_token: <Id.Left_DollarParen '$('>
                command_list: (command.CommandList children:[(C {<seq>} {<0>} {<3>})])
              )
            }
          ]
          do_arg_iter: F
          body: 
            (command.DoGroup
              children: [
                (command.Pipeline
                  children: [
                    (command.Simple
                      words: [{<cat>}]
                      redirects: [
                        (redir.HereDoc
                          op: <Id.Redir_DLess '<<'>
                          fd: -1
                          here_begin: {<EOF>}
                          here_end_span_id: 179
                          stdin_parts: [
                            <'kind: PersistentVolume\n'>
                            <'apiVersion: v1\n'>
                            <'metadata:\n'>
                            <'  name: pv'>
                            (${ Id.VSub_Name i)
                            <'\n'>
                            <'  labels:\n'>
                            <'    type: local\n'>
                            <'    app: cockroachdb\n'>
                            <'spec:\n'>
                            <'  capacity:\n'>
                            <'    storage: 1Gi\n'>
                            <'  accessModes:\n'>
                            <'    - ReadWriteOnce\n'>
                            <'  hostPath:\n'>
                            <'    path: '>
                            <Id.Right_DoubleQuote '"'>
                            </tmp/>
                            (${ Id.VSub_Name i)
                            <Id.Right_DoubleQuote '"'>
                            <'\n'>
                          ]
                        )
                      ]
                    )
                    (C {<kubectl>} {<create>} {<-f>} {<->})
                  ]
                  negated: F
                )
                (command.Pipeline
                  children: [
                    (command.Simple
                      words: [{<cat>}]
                      redirects: [
                        (redir.HereDoc
                          op: <Id.Redir_DLess '<<'>
                          fd: -1
                          here_begin: {<EOF>}
                          here_end_span_id: 214
                          stdin_parts: [
                            <'kind: PersistentVolumeClaim\n'>
                            <'apiVersion: v1\n'>
                            <'metadata:\n'>
                            <'  name: datadir-cockroachdb-'>
                            (${ Id.VSub_Name i)
                            <'\n'>
                            <'  labels:\n'>
                            <'    app: cockroachdb\n'>
                            <'spec:\n'>
                            <'  accessModes:\n'>
                            <'    - ReadWriteOnce\n'>
                            <'  resources:\n'>
                            <'    requests:\n'>
                            <'      storage: 1Gi\n'>
                          ]
                        )
                      ]
                    )
                    (C {<kubectl>} {<create>} {<-f>} {<->})
                  ]
                  negated: F
                )
              ]
            )
        )
      terminator: <Id.Op_Semi _>
    )
    (C {<kubectl>} {<create>} {<-f>} {<cockroachdb-statefulset.yaml>})
  ]
)