Skip to content

Commit e9adcf9

Browse files
committed
updated k8s file
1 parent e2e4b62 commit e9adcf9

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

K8s/blog-deployment.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -397,17 +397,10 @@ spec:
397397
# → Prevents too many services from being created.
398398
# → Helps avoid unnecessary IP allocation.
399399

400-
deployments.apps: "10"
400+
count/deployments.apps: 10
401401
# → Prevents users from creating 20–30 deployments accidentally.
402402
# → Good for controlled production environments.
403403

404-
statefulsets.apps: "5"
405-
# → Databases must be limited for safety.
406-
# → Ensures only limited stateful workloads (MySQL, Redis, etc.) run.
407-
408-
replicasets.apps: "20"
409-
# → ReplicaSets are auto-created by Deployments.
410-
# → Limit prevents cluster clutter during multiple updates.
411404

412405
persistentvolumeclaims: "5"
413406
# → Prevents over-creation of storage volumes (very costly).

0 commit comments

Comments
 (0)