You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any of these should make our kubectl is now configured to operate on the configured cluster. Let's check that:
kubectl config current-context # Short info on what cluster we're operating on
kubectl config get-contexts # See all available contexts
kubectl config view # Full config info
Switching the context can be done using NAME from the above listing. Specifically, it might be useful to switch from operating a cloud-hosted cluster to a local one:
kubectl config use-context CONTEXT-NAME
kubectl config use-context docker-desktop # if using Docker Desktop with Kubernetes, or
kubectl config use-context minikube # if using minikube as the k8s cluster
How to get the plain k8s files
If all you want is the plain k8s files, you can tell helm to expand the templates for you using the command
Where desired-chart is the desired chart to obtain (MongooseIM or MongoosePush) and desired-path is the path where you want to output the k8s yaml definitions.
About
Helm chart definitions for the Mongoose stack (MongooseIM, MongoosePush)