refactor(k8s): Reorganize into 5-layer structure with production kustomizations
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- orders-fifo.yaml
|
||||
@@ -0,0 +1,32 @@
|
||||
apiVersion: kmsvc.io/v1
|
||||
kind: Queue
|
||||
metadata:
|
||||
name: orders-fifo
|
||||
namespace: sqs
|
||||
spec:
|
||||
fifoQueue: true
|
||||
visibilityTimeoutSeconds: 30
|
||||
messageRetentionPeriodSeconds: 345600
|
||||
maxReceiveCount: 5
|
||||
deadLetterTargetQueue: orders-fifo-dlq
|
||||
delaySeconds: 0
|
||||
partitionsPerShard: 6
|
||||
minShards: 1
|
||||
maxShards: 8
|
||||
shardSplitThresholdBytesPerSec: 5242880
|
||||
shardSplitCooldownSeconds: 300
|
||||
---
|
||||
apiVersion: kmsvc.io/v1
|
||||
kind: Queue
|
||||
metadata:
|
||||
name: orders-fifo-dlq
|
||||
namespace: sqs
|
||||
spec:
|
||||
fifoQueue: true
|
||||
isDLQ: true
|
||||
visibilityTimeoutSeconds: 30
|
||||
messageRetentionPeriodSeconds: 1209600
|
||||
maxReceiveCount: 5
|
||||
partitionsPerShard: 6
|
||||
minShards: 1
|
||||
maxShards: 1
|
||||
Reference in New Issue
Block a user