I am doing a deployment of my application on the AKS cluster (with DS4_v2 configuration). This application is connected to Azure PostgreSQL DB service. Unfortunately, I have serious performance issues that don't appear on any other installations. Does anyone of you know any ways to tune the Azure PostgreSQL service in terms of performance? Thank you in advance!
EDIT: There are some details of my environment: Cluster data:
- cluster capacity: 2 x Standard DS4 v2 (8 vcpus, 28 GB memory)
- location: Southeast Asia
PostgreSQL DB data:
- pricing tier: General Purpose
- compute generation: Gen 5
- number of vCores: 16
- storage: 7 GB
- location: West India
My YAML configuration file looks as follows:
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: qa-performance
spec:
replicas: 2
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
template:
metadata:
labels:
app: qa-performance
spec:
containers:
- name: qa-performance
image: <name_of_image>
resources:
limits:
cpu: "8"
memory: "28Gi"
requests:
cpu: "6"
memory: "20Gi"
args:
ports:
- containerPort: 8080
- containerPort: 8443
imagePullPolicy: Always
---
apiVersion: v1
kind: Service
metadata:
name: qa-performance
spec:
type: LoadBalancer
sessionAffinity: ClientIP
ports:
- port: 8080
name: http
- port: 8443
name: https
selector:
app: qa-performance
Comments
Post a Comment