简体   繁体   English

Kubernetes集群上的Deepstream.io

[英]Deepstream.io on Kubernetes cluster

Is it possible to deploy DeepStream and Redis on multi-node cluster using Kubernetes? 是否可以使用Kubernetes在多节点集群上部署DeepStream和Redis?

Docker Compose option is available in DeepStreamHub ( https://deepstreamhub.com/open-source/install/docker-compose/ ) but not finding Kubernetes YAML option. DeepStreamHub( https://deepstreamhub.com/open-source/install/docker-compose/ )中提供了Docker Compose选项,但没有找到Kubernetes YAML选项。

The DeepStream + Redis + RethinkDB docker compose file content is: DeepStream + Redis + RethinkDB docker的撰写文件内容为:

version: '2'
services:
deepstream:
    build: "."
    ports:
        - "6020:6020"
        - "6021:6021"
    volumes:
        - ./conf:/usr/local/deepstream/conf
        - ./var:/usr/local/deepstream/var
    depends_on:
        - redis
        - rethinkdb
deepstream-search-provider:
    # build: "../deepstream.io-provider-search-rethinkdb/1.1.1"
    image: deepstreamio/deepstream.io-provider-search-rethinkdb
    environment:
        - DEEPSTREAM_HOST=deepstream
        - DEEPSTREAM_PORT=6021
        - RETHINKDB_HOST=rethinkdb
    depends_on:
        - deepstream
redis:
    image: redis:alpine
    ports:
        - "6379:6379"
rethinkdb:
    image: rethinkdb
    ports:
        - "28015:28015"
        - "8080:8080"
    volumes:
        - ./rethinkdb_data:/data/rethinkdb_data

PS: I tried to convert docker-compose.yml to Kubernetes YAMLs using kompose, but received following warnings: PS:我尝试使用kompose将docker-compose.yml转换为Kubernetes YAML,但收到以下警告:

WARN Unsupported depends_on key - ignoring
WARN Volume mount on the host "./conf" isn't supported - ignoring path on the host
WARN Volume mount on the host "./var" isn't supported - ignoring path on the host
WARN Volume mount on the host "./rethinkdb-data" isn't supported - ignoring path on the host
INFO Kubernetes file "deepstream-service.yaml" created
INFO Kubernetes file "deepstream-search-provider-service.yaml" created
INFO Kubernetes file "redis-service.yaml" created
INFO Kubernetes file "rethinkdb-service.yaml" created
INFO Kubernetes file "deepstream-deployment.yaml" created
INFO Kubernetes file "deepstream-claim0-persistentvolumeclaim.yaml" created
INFO Kubernetes file "deepstream-claim1-persistentvolumeclaim.yaml" created
INFO Kubernetes file "deepstream-search-provider-deployment.yaml" created
INFO Kubernetes file "redis-deployment.yaml" created
INFO Kubernetes file "rethinkdb-deployment.yaml" created
INFO Kubernetes file "rethinkdb-claim0-persistentvolumeclaim.yaml" created

Kompose doesn't support host volume mounting, Hence you can see logs that volume mount isn't supported. Kompose不支持主机卷挂载,因此您可以看到不支持卷挂载的日志。 My suggestions is create volumes manually and put respective data. 我的建议是手动创建卷并放入相应的数据。 for example, conf & var file in deepstream service. 例如,深度流服务中的confvar文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Socket.IO 集群在 Kubernetes 中,多个节点未发送到所有客户端 - Socket.IO Cluster In Kubernetes With Multiple Nodes Not Emitting To All Clients 如何在Kubernetes中设置Deepstream服务并使客户端连接到它? - How to setup a Deepstream service in Kubernetes and have a client connect to it? 如何使用curl -sS创建多个Kubernetes集群https://get.k8s.io | 重击 - How to create multiple kubernetes cluster with curl -sS https://get.k8s.io | bash Spark kubernetes java.io.InvalidClassException: org.apache.spark.scheduler.cluster.CoarseGrainedClusterMessages$RetrieveSparkAppConfig$ - Spark kubernetes java.io.InvalidClassException: org.apache.spark.scheduler.cluster.CoarseGrainedClusterMessages$RetrieveSparkAppConfig$ AWS EKS Terraform - 未找到标记“KubernetesCluster”或“kubernetes.io/cluster/...” - AWS EKS Terraform - Tag "KubernetesCluster" nor "kubernetes.io/cluster/..." not found storageClass kubernetes.io/no-provisioner是否可用于多节点集群? - Will storageClass kubernetes.io/no-provisioner work for multi-node cluster? 如何授予我的 Kubernetes 集群从 gcr.io 提取图像的权限? - How do I grant permission to my Kubernetes cluster to pull images from gcr.io? Jenkins在Kubernetes集群上的安装 - Jenkins Installation On Kubernetes Cluster 无法访问 kubernetes 集群 - Unable to access kubernetes cluster Kubernetes 中的跨集群通信 - Cross cluster communication in Kubernetes
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM