15 lines
251 B
YAML
15 lines
251 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: mysql-external
|
|
namespace: app-notifications
|
|
spec:
|
|
type: NodePort
|
|
selector:
|
|
app: mysql
|
|
ports:
|
|
- name: mysql
|
|
protocol: TCP
|
|
port: 3306
|
|
targetPort: 3306
|
|
nodePort: 30306 |