Installation on Google Cloud Platform k8 - cannot login

Hi

I just installed the preview container on a new k8 cluster on Google Cloud Platform. I exposed port 8065 via the load balancer.

I get the error: Invalid or expired session, please login again.

Any tips on what I’m doing wrong?

Thanks

Ben

Hi @bensullivan, thank you for reaching out.

To give you the best help we can, could you review this web page and send us the relevant additional environment details, logs, config files, etc. so we can diagnose this issue?

Hi

The cluster version of kubernetes that I have deployed to on Google Cloud Platform is 1.10.7-gke.1.

I deployed the following mattermost image:

https://hub.docker.com/r/mattermost/mattermost-preview/

I am using Chrome Version 69.0.3497.92 on macos 10.13.6.

I appear to have three pods that Google has deployed for me. I kubectl exec onto eaxh of them and I can see nothing under /opt.

The stack driver logs in Google Cloud Platform seem to indicate problems with creating the kube-system namespace in the Audit resource but otherwise no mattermost related errors…

Is this all the information you need?

How do I confirm that mattermost is actually running in the context of k8 running on Google CLoud Platform?

Thanks

Ben

OK - so it looks like the problem was multiple pods that Google Cloud Platform had spun up by default.

My next question is - how do I restart the server after updating the site url when I’m running on k8?

Can a server restart be initiated through the Web UI System Console?

Thanks

Ben

Hi @bensullivan,

The server cannot be restarted from the Web UI and you’d need to use a CLI command - I found this doc with further information: https://docs.bitnami.com/google/apps/mattermost/administration/control-services/.

I found it via this Mattermost Google Cloud documentation page: https://docs.bitnami.com/google/apps/mattermost/ - let me know if it’s not what you were looking for.

Hi

Not really what I need as I’m not deployed via bitnami so I don’t have their script.

I need to know how to best restart the mattermost server process running in a container pod on a kubernetes cluster running in Google Cloud.

Thanks

Ben

Hi @bensullivan,

I found this doc that might help: https://cloud.google.com/compute/docs/instances/restarting-an-instance.

If it doesn’t help just let me know and I’ll ask our developers to help with this.