blob: 67bb4fd2968ec32ec5cf74665d7e11a3fbee6ad5 [file] [log] [blame]
apiVersion: v1
kind: Service
metadata:
name: db
labels:
name: db
spec:
ports:
- port: 3306
targetPort: 3306
protocol: TCP
name: mysql
- port: 8080
targetPort: 8080
protocol: TCP
name: api
---
kind: Endpoints
apiVersion: v1
metadata:
name: db
subsets:
- addresses:
- ip: 192.168.1.114
ports:
- port: 3306
name: mysql
- port: 8080
name: api