Skip to content

Commit

Permalink
Updated db service from nodeport to ClusterIp
Browse files Browse the repository at this point in the history
  • Loading branch information
nikasakandelidze committed Sep 30, 2023
1 parent 0503160 commit c755b6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions role-ai-api/k8s/db/db-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ kind: Service
metadata:
name: roles-ai-db-service
spec:
type: NodePort
type: ClusterIP
selector:
app: roles-ai-db
ports:
- name: "postgres"
protocol: TCP
port: 5432
targetPort: 5432
nodePort: 30432

0 comments on commit c755b6b

Please sign in to comment.