Add k8s manifest: service-proxysql.yaml
This commit is contained in:
16
k8s/anvil/service-proxysql.yaml
Normal file
16
k8s/anvil/service-proxysql.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: proxysql
|
||||||
|
spec:
|
||||||
|
type: NodePort
|
||||||
|
selector:
|
||||||
|
app: proxysql
|
||||||
|
ports:
|
||||||
|
- name: mysql
|
||||||
|
port: 3306
|
||||||
|
targetPort: 6033
|
||||||
|
nodePort: 31943
|
||||||
|
- name: admin
|
||||||
|
port: 6032
|
||||||
|
targetPort: 6032
|
||||||
Reference in New Issue
Block a user