240 发简信
IP属地:广东
  • 120
    最简tomcat+war包

    通常的功能示意图是这样的: 我个人测试,最简单的能跑起来的war包是这样的: 下面讲这两个文件贴出来:index.html web.xml 这样就可以运行了。要添加servl...

  • redis cluster Waiting for the cluster to join

    redis 创建集群的时候卡在Waiting for the cluster to join 如果你没用docker/k8s 那么肯定是16379端口的防火墙没开 如果你用了...

  • @foundwant 增加一个nodeport即可

    从零开始搭建Kubernetes集群(六、在K8S上部署Redis 集群)

    一、前言 上一文《从零开始搭建Kubernetes集群(五、搭建K8S Ingress)》[https://www.jianshu.com/p/feeea0bbd73e#]主...

  • ......
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/redistrib/console.py", line 25, in create
    command.create([_parse_host_port(hp) for hp in addrs], max_slots)
    File "/usr/local/lib/python2.7/dist-packages/redistrib/command.py", line 108, in create
    _poll_check_status(t)
    File "/usr/local/lib/python2.7/dist-packages/retrying.py", line 49, in wrapped_f
    return Retrying(*dargs, **dkw).call(f, *args, **kw)
    File "/usr/local/lib/python2.7/dist-packages/retrying.py", line 212, in call
    raise attempt.get()
    File "/usr/local/lib/python2.7/dist-packages/retrying.py", line 247, in get
    six.reraise(self.value[0], self.value[1], self.value[2])
    File "/usr/local/lib/python2.7/dist-packages/retrying.py", line 200, in call
    attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
    File "/usr/local/lib/python2.7/dist-packages/redistrib/command.py", line 65, in _poll_check_status
    t.raise_('Unexpected status: %s' % m)
    File "/usr/local/lib/python2.7/dist-packages/redistrib/connection.py", line 130, in raise_
    raise RedisStatusError(message, self.host, self.port)
    redistrib.exceptions.RedisStatusError: 10.30.2.6:6379 - Unexpected status: cluster_state:fail
    想问下大家,这是啥情况呀,实在是搞不定了😭

    从零开始搭建Kubernetes集群(六、在K8S上部署Redis 集群)

    一、前言 上一文《从零开始搭建Kubernetes集群(五、搭建K8S Ingress)》[https://www.jianshu.com/p/feeea0bbd73e#]主...