US 12,430,116 B2
External distributed storage layer upgrade
Brendan Kerr, San Jose, CA (US); Avesh Kumar Agarwal, Cary, NC (US); Christopher Alan Busick, Littleton, MA (US); Christopher Lee Cason, Boulder, CO (US); Kyle Gene Knutson, Boulder, CO (US); and Mohinish Vinnakota, Santa Clara, CA (US)
Assigned to NetApp, Inc., San Jose, CA (US)
Filed by NetApp Inc., San Jose, CA (US)
Filed on Dec. 30, 2022, as Appl. No. 18/091,421.
Prior Publication US 2024/0220227 A1, Jul. 4, 2024
Int. Cl. G06F 9/44 (2018.01); G06F 8/65 (2018.01); G06F 9/50 (2006.01)
CPC G06F 8/65 (2013.01) [G06F 9/5083 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
creating a node management custom resource defined through a container hosting platform for tracking an upgrade process performed by an operator and a cluster controller hosted within the container hosting platform to upgrade a node of a first set of nodes within a first protection domain in an external distributed storage layer external to the container hosting platform;
determining an upgrade sequence order for upgrading the first set of nodes based upon a protection domain rule indicating that an initial pair of nodes of the first protection domain cannot be sequentially upgraded and a final pair of nodes of the first protection domain cannot be sequentially upgraded; and
upgrading the first set of nodes according to the upgrade sequence order, wherein for the node:
in response to the creation of the node management custom resource triggering the cluster controller to issue a first command to the external distributed storage layer to transition the node into a maintenance mode, updating the node management custom resource to indicate that the node is in the maintenance mode;
in response to the node management custom resource indicating that the node is in the maintenance mode, triggering the operator to upgrade the node according to the upgrade sequence order by stopping a container hosting the node, replacing a current base image for the node with an upgraded base image, and restarting the container using the upgraded base image; and
in response to the operator upgrading the node, updating the node management custom resource to trigger the cluster controller to issue a second command to the external distributed storage layer to transition the node out of the maintenance mode.