You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
276 B
16 lines
276 B
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: mysql-master-svc
|
|
namespace: epdc-mysql
|
|
labels:
|
|
svc: mysql-master-svc
|
|
spec:
|
|
type: NodePort
|
|
ports:
|
|
- port: 3306
|
|
protocol: TCP
|
|
targetPort: 3306
|
|
nodePort: 33306
|
|
selector:
|
|
app: mysql-master-pod
|
|
|