Installing the Flux Helm Operator Notes taken from Stefan Prodan’s Gitops Helm repository.
The first step in automating Helm releases with Weave Flux is to create a Git repository with your charts source code. You can fork the gitops-helm project and use it as a template for your cluster config.
Add the Weave Flux chart repo:
helm repo add weaveworks https://weaveworks.github.io/flux Install Weave Flux and its Helm Operator by specifying your fork URL (replace stefanprodan with your GitHub username):
Page: 51
Contexts If you want to change the default namespace more permanently, you can use a context. This gets recorded in a kubectl configuration file, usually located at $HOME/.kube/config. This configuration file also stores how to both find and authenticate to your cluster. For example, you can create a context with a different default namespace for your kubectl commands using:
$ kubectl config set-context my-context --namespace=mystuff This creates a new context, but it doesn’t actually start using it yet.
For those wishing to get some hands-on experience with running containers, Google Cloud provides a $300 / 12-month credit for new users. Kubernetes is tightly integrated with Google’s cloud administration panel and gcloud client, making tools like kops and kubernetes-dashboard unnecessary. Coupled with offerings like the Container Registry, GKE is a convenient choice to start testing quickly.
Prerequisites Enable billing on your account Install the Cloud SDK for your distribution and initialize it Add the kubectl component with gcloud components install kubectl Install the latest version of Terraform Initializing the Cluster Manual As an ad-hoc test, the gcloud client makes it very simple to stand up a cluster: