Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloud: uncomment and fix default CPU resources in K8s configs #66065

Merged
merged 1 commit into from
Jun 8, 2021
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 @@ -158,13 +158,13 @@ spec:
# the resources that can be allocated on each of your Kubernetes nodes by running:
# kubectl describe nodes
# Note that requests and limits should have identical values.
# resources:
# requests:
# cpu: "16"
# memory: "8Gi"
# limits:
# cpu: "16"
# memory: "8Gi"
resources:
requests:
cpu: "2"
memory: "8Gi"
limits:
cpu: "2"
memory: "8Gi"
ports:
- containerPort: 26257
name: grpc
Expand Down
14 changes: 7 additions & 7 deletions cloud/kubernetes/cockroachdb-statefulset-secure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,13 @@ spec:
# the resources that can be allocated on each of your Kubernetes nodes by running:
# kubectl describe nodes
# Note that requests and limits should have identical values.
# resources:
# requests:
# cpu: "16"
# memory: "8Gi"
# limits:
# cpu: "16"
# memory: "8Gi"
resources:
requests:
cpu: "2"
memory: "8Gi"
limits:
cpu: "2"
memory: "8Gi"
ports:
- containerPort: 26257
name: grpc
Expand Down
14 changes: 7 additions & 7 deletions cloud/kubernetes/cockroachdb-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ spec:
# the resources that can be allocated on each of your Kubernetes nodes by running:
# kubectl describe nodes
# Note that requests and limits should have identical values.
# resources:
# requests:
# cpu: "16"
# memory: "8Gi"
# limits:
# cpu: "16"
# memory: "8Gi"
resources:
requests:
cpu: "2"
memory: "8Gi"
limits:
cpu: "2"
memory: "8Gi"
ports:
- containerPort: 26257
name: grpc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ spec:
# the resources that can be allocated on each of your Kubernetes nodes by running:
# kubectl describe nodes
# Note that requests and limits should have identical values.
# resources:
# requests:
# cpu: "16"
# memory: "8Gi"
# limits:
# cpu: "16"
# memory: "8Gi"
resources:
requests:
cpu: "2"
memory: "8Gi"
limits:
cpu: "2"
memory: "8Gi"
ports:
- containerPort: 26257
name: grpc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,13 @@ spec:
# the resources that can be allocated on each of your Kubernetes nodes by running:
# kubectl describe nodes
# Note that requests and limits should have identical values.
# resources:
# requests:
# cpu: "16"
# memory: "8Gi"
# limits:
# cpu: "16"
# memory: "8Gi"
resources:
requests:
cpu: "2"
memory: "8Gi"
limits:
cpu: "2"
memory: "8Gi"
ports:
- containerPort: 26257
name: grpc
Expand Down
14 changes: 7 additions & 7 deletions cloud/kubernetes/performance/cockroachdb-statefulset-secure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,13 @@ spec:
# the resources that can be allocated on each of your Kubernetes nodes by running:
# kubectl describe nodes
# Note that requests and limits should have identical values.
# resources:
# requests:
# cpu: "16"
# memory: "8Gi"
# limits:
# cpu: "16"
# memory: "8Gi"
resources:
requests:
cpu: "2"
memory: "8Gi"
limits:
cpu: "2"
memory: "8Gi"
ports:
- containerPort: 26257
name: grpc
Expand Down