🚀Luckysheet ,一款纯前端类似excel的在线表格,功能强大、配置简单、完全开源。
文档
docker-compose.yml
在线例子

luckysheet系列

Kubernetes部署luckysheet在线表格系统1-redis
Kubernetes部署luckysheet在线表格系统2-postgresql
Kubernetes部署luckysheet在线表格系统3-java web server
Kubernetes部署luckysheet在线表格系统4-前端页面
Kubernetes部署luckysheet在线表格系统5-nginx配置

redis on kubernetes

cm redis-conf-luckysheet

apiVersion: v1
kind: ConfigMap
metadata:
  name: redis-conf-luckysheet
  namespace: sre
data:
  redis.conf: |
        bind 0.0.0.0
        port 6379
        requirepass 123456
        appendonly yes
        cluster-node-timeout 5000
        protected-mode no


dp redis-luckysheet

apiVersion: apps/v1
kind: Deployment
metadata:
  name: redis-luckysheet
  namespace: sre
spec:
  replicas: 1
  selector:
    matchLabels:
      name: redis-luckysheet
  template:
    metadata:
      labels:
        name: redis-luckysheet
    spec:
      containers:
      - name: redis
        image: redis
        imagePullPolicy: IfNotPresent
        command:
        - sh
        - -c
        - "exec redis-server /etc/redis/redis.conf"
        ports:
        - containerPort: 6379
          name: redis
          protocol: TCP
        volumeMounts:
        - name: redis-config
          mountPath: /etc/redis
      volumes:
      - name: redis-config
        configMap:
          name: redis-conf-luckysheet  

svc redis-luckysheet

kind: Service
apiVersion: v1
metadata:
  name: redis-luckysheet
  namespace: sre
spec:
  ports:
  - name: redis
    port: 6379
    targetPort: 6379
    protocol: TCP
  selector:
    name: redis-luckysheet

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

Captcha Code