Home > Storage > PowerFlex > White Papers > Dell APEX Block Storage for Azure: PostgreSQL Deployment and Performance on Kubernetes > Service YAML file
The following code sample shows the service YAML file:
apiVersion: v1
kind: Service
metadata:
name: postgres
labels:
app: postgres
spec:
ports:
- name: postgres
port: 5432
selector:
app: postgres
type: NodePort