litmuschaos / litmus-helm

Helm Charts for the Litmus Chaos Operator & CRDs
Apache License 2.0
47 stars 88 forks source link

[2.0.0-beta]No self-cluster when deploying with helm #96

Closed johnqa closed 3 years ago

johnqa commented 3 years ago

Hi,

When deploying the portal using the helm chart I don't have the Self-Cluster available in Targets.

When deploying with yaml file the cluster is there.

Is there a way to fix this? Should I install litmusctl?

Thank you, John

imrajdas commented 3 years ago

Hi @johnqa, Thanks for trying the litmus portal. Currently, the issue is because of the service type which is ClusterIP in values.yaml We just merge a PR to make the default service type to NodePort. Can you pull the latest changes and install litmusportal again?

PR- https://github.com/litmuschaos/litmus-helm/pull/95

johnqa commented 3 years ago

Hi,

I found the issue. By default when logging with admin you are not in any project. After selecting the project I just made, I could see the Self Cluster.

I already updated my chart with NodePort instead of ClusterIp.

Thanks for your time, John

johnqa commented 3 years ago

Not sure if related, but now after creating a workflow I cannot see it in the list of workflows, but I can see the schedule for it.

imrajdas commented 3 years ago

Hi @johnqa, Can you confirm the workflow type? Is it a corn workflow or a normal workflow?

johnqa commented 3 years ago

The workflow was a custom one created by uploading a yaml file.

imrajdas commented 3 years ago

Can you check the workflows present in your target cluster by this command?

kubectl get workflows -n <namepace>
johnqa commented 3 years ago

Hi, since then I unistalled the helm-chart and used the yaml file deployment.

However, I removed that deployment and reinstalled with helm chart, but this time the same workflow is visible.

I will close this issue.

Thank you, John

imrajdas commented 3 years ago

Great @johnqa. Let me know, if you face any problem with the litmus portal