Skip to content

Commit

Permalink
doc: include example resource requests
Browse files Browse the repository at this point in the history
  • Loading branch information
serdarkkts committed Sep 14, 2023
1 parent 0764b8b commit d0f9212
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/examples/deployment-mssql-tcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ kind: AuthProxyWorkload
metadata:
name: authproxyworkload-sample
spec:
authProxyContainer:
# Resource configuration depends on an application's requirements. You
# should adjust the following values based on what your application
# needs. For details, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
requests:
# The proxy's CPU use scales linearly with the amount of IO between
# the database and the application. Adjust this value based on your
# application's requirements.
cpu: "1"
# The proxy's memory use scales linearly with the number of active
# connections. Fewer open connections will use less memory. Adjust
# this value based on your application's requirements.
memory: "2Gi"
workloadSelector:
kind: "Deployment" # Applies to a "Deployment"
name: "gke-cloud-sql-app" # named 'gke-cloud-sql-app'
Expand Down
14 changes: 14 additions & 0 deletions docs/examples/deployment-mysql-tcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ kind: AuthProxyWorkload
metadata:
name: authproxyworkload-sample
spec:
authProxyContainer:
# Resource configuration depends on an application's requirements. You
# should adjust the following values based on what your application
# needs. For details, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
requests:
# The proxy's CPU use scales linearly with the amount of IO between
# the database and the application. Adjust this value based on your
# application's requirements.
cpu: "1"
# The proxy's memory use scales linearly with the number of active
# connections. Fewer open connections will use less memory. Adjust
# this value based on your application's requirements.
memory: "2Gi"
workloadSelector:
kind: "Deployment" # Applies to a "Deployment"
name: "gke-cloud-sql-app" # named 'gke-cloud-sql-app'
Expand Down
14 changes: 14 additions & 0 deletions docs/examples/deployment-postgres-tcp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,20 @@ kind: AuthProxyWorkload
metadata:
name: authproxyworkload-sample
spec:
authProxyContainer:
# Resource configuration depends on an application's requirements. You
# should adjust the following values based on what your application
# needs. For details, see https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources:
requests:
# The proxy's CPU use scales linearly with the amount of IO between
# the database and the application. Adjust this value based on your
# application's requirements.
cpu: "1"
# The proxy's memory use scales linearly with the number of active
# connections. Fewer open connections will use less memory. Adjust
# this value based on your application's requirements.
memory: "2Gi"
workloadSelector:
kind: "Deployment" # Applies to a "Deployment"
name: "gke-cloud-sql-app" # named 'gke-cloud-sql-app'
Expand Down

0 comments on commit d0f9212

Please sign in to comment.