feat: MySQL纳入K8s清单并开放NodePort

This commit is contained in:
admin
2026-08-02 10:21:05 +08:00
parent 84f9efc031
commit 674221a0cb
13 changed files with 558 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: mysql
namespace: lpt-prod
labels:
app: mysql
spec:
type: NodePort
selector:
app: mysql
ports:
- port: 3306
targetPort: 3306
protocol: TCP
nodePort: 30307