add batch partition (#2097)

This commit is contained in:
wyike
2021-08-16 20:30:56 +08:00
committed by GitHub
parent 309e71a60f
commit b6a2ab804e
2 changed files with 4 additions and 0 deletions
@@ -26,6 +26,7 @@ spec:
rolloutStrategy: "IncreaseFirst"
rolloutBatches: parameter.rolloutBatches
targetSize: parameter.targetSize
batchPartition: parameter.batchPartition
}
}
}
@@ -33,6 +34,7 @@ spec:
targetRevision: *context.revision | string
targetSize: int
rolloutBatches: [...rolloutBatch]
batchPartition?: int
}
rolloutBatch: replicas: int
skipRevisionAffect: true
@@ -23,6 +23,7 @@ template: {
rolloutStrategy: "IncreaseFirst"
rolloutBatches: parameter.rolloutBatches
targetSize: parameter.targetSize
batchPartition: parameter.batchPartition
}
}
}
@@ -31,6 +32,7 @@ template: {
targetRevision: *context.revision | string
targetSize: int
rolloutBatches: [...rolloutBatch]
batchPartition?: int
}
rolloutBatch: replicas: int