Change kubectl commands to use exported methods