更新 redis/redis.yaml

This commit is contained in:
2026-06-30 16:39:27 +08:00
parent d8fefb1723
commit 4cbb1dae04
+19 -1
View File
@@ -29,4 +29,22 @@ spec:
memory: 300Mi memory: 300Mi
limits: limits:
cpu: 200m cpu: 200m
memory: 300Mi memory: 300Mi
---
apiVersion: v1
kind: Service
metadata:
namespace: mall
name: redis-svc
annotations:
lb.kubesphere.io/v1alpha1: openelb
eip.openelb.kubesphere.io/v1alpha1: "192.168.2.136"
spec:
selector:
mall: redis
ports:
- name: redis-6379
port: 6379
targetPort: 6379
type: LoadBalancer
loadBalancerIP: 192.168.2.136