kubemq-io / kubemqctl

Kubemqctl is a command line interface (CLI) for KubeMQ , Kubernetes Message Broker
https://kubemq.io
Apache License 2.0
22 stars 9 forks source link

create cluster in different namespace not creating services #21

Closed philippnetural closed 1 year ago

philippnetural commented 2 years ago

Hello contributers,

I got a problem while creating a new cluster within an existing namespace. Create cluster works fine with the default namespace but if you want to set up the whole environment in a different namespace the service creation will fail. No instances will be started and the cluster will stay empty.

kubemqctl create cluster -k --namespace=custom-namespace Current Kubernetes cluster context connection: Kubemq operator /kubemq-operator created. Kubemq cluster /kubemq-cluster created.

kubemqctl get cluster
Current Kubernetes cluster context connection: NAME DESIRED READY IMAGE GRPC REST API LICENSE-TO LICENSE-TYPE LICENSE-EXPIRE

/kubemq-cluster 0 0 **Working solution with default namespace:** **kubemqctl create cluster -k ** Kubemq operator kubemq/kubemq-operator created. Kubemq cluster kubemq/kubemq-cluster created. **kubemqctl get cluster** Current Kubernetes cluster context connection: NAME DESIRED READY IMAGE GRPC REST API LICENSE-TO LICENSE-TYPE LICENSE-EXPIRE kubemq/kubemq-cluster 1 0 docker.io/kubemq/kubemq:latest ClusterIP: 10.0.180.180:50000 ClusterIP: 10.0.76.235:9090 ClusterIP: 10.0.101.163:8080 kubemq-pro-trial 2022-02-24
kubemq commented 1 year ago

Create is deprecated now, please use install