[fix] k8s部署文件错误修复

This commit is contained in:
PandaX
2023-12-15 09:41:58 +08:00
parent bd6656b537
commit 7669cc208a
5 changed files with 10 additions and 10 deletions

View File

@@ -187,8 +187,8 @@ spec:
- mountPath: /var/lib/mysql
name: mysql-data
volumes:
- hostPath:
name: mysql-data
- name: mysql-data
hostPath:
path: ./mysql/data
---
apiVersion: apps/v1
@@ -229,11 +229,11 @@ spec:
- mountPath: /logs
name: mysql-log
volumes:
- hostPath:
name: redis-data
- name: redis-data
hostPath:
path: ./redis/data
- hostPath:
name: redis-log
- name: redis-log
hostPath:
path: ./redis/logs
---
apiVersion: apps/v1

View File

@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: emqx
name: emqx-service
spec:
type: LoadBalancer
ports:

View File

@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: mysql
name: mysql-service
spec:
type: LoadBalancer
ports:

View File

@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: redis
name: redis-service
spec:
type: LoadBalancer
ports:

View File

@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: tdengine
name: tdengine-service
spec:
type: LoadBalancer
ports: