[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 - mountPath: /var/lib/mysql
name: mysql-data name: mysql-data
volumes: volumes:
- hostPath: - name: mysql-data
name: mysql-data hostPath:
path: ./mysql/data path: ./mysql/data
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
@@ -229,11 +229,11 @@ spec:
- mountPath: /logs - mountPath: /logs
name: mysql-log name: mysql-log
volumes: volumes:
- hostPath: - name: redis-data
name: redis-data hostPath:
path: ./redis/data path: ./redis/data
- hostPath: - name: redis-log
name: redis-log hostPath:
path: ./redis/logs path: ./redis/logs
--- ---
apiVersion: apps/v1 apiVersion: apps/v1

View File

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

View File

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

View File

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

View File

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