Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ describe('spartan_upgrade_rollup_version', () => {
await waitForResourceByLabel({
resource: 'pods',
namespace: config.NAMESPACE,
label: 'app.kubernetes.io/component=rpc',
label: 'app.kubernetes.io/component=rpc-node',
timeout: '5m',
});
}
Expand Down
14 changes: 11 additions & 3 deletions yarn-project/end-to-end/src/spartan/utils/nodes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,24 +363,32 @@ export async function enableValidatorDynamicBootNode(
*/
export async function rollAztecPods(namespace: string, clearState: boolean = false) {
// Pod components use 'validator', but StatefulSets and PVCs use 'sequencer-node' for validators
// RPC nodes have nodeType='rpc-node' in Helm values, so their component label is 'rpc-node' (not 'rpc')
const podComponents = [
'p2p-bootstrap',
'prover-node',
'prover-broker',
'prover-agent',
'sequencer-node',
'rpc',
'rpc-node',
'validator-ha-db',
];
const pvcComponents = [
'p2p-bootstrap',
'prover-node',
'prover-broker',
'sequencer-node',
'rpc-node',
'validator-ha-db',
];
const pvcComponents = ['p2p-bootstrap', 'prover-node', 'prover-broker', 'sequencer-node', 'rpc', 'validator-ha-db'];
// StatefulSet components that need to be scaled down before PVC deletion
// Note: validators use 'sequencer-node' as component label, not 'validator'
const statefulSetComponents = [
'p2p-bootstrap',
'prover-node',
'prover-broker',
'sequencer-node',
'rpc',
'rpc-node',
'validator-ha-db',
];

Expand Down
Loading