.gitpod.yml
so your containers automatically spin up as soon as your Gitpod workspace starts. Below is an example configuration based on Docker’s getting started guide.
.gitpod.yml
.gitpod.yml
file, containers become instantly accessible upon the initiation of the workspace.
To run docker-compose in a .gitpod.yml
:
kubectl
to connect to an external environment using environment variables in Gitpod.
KUBECONFIG
and paste your kubeconfig
(base64 format).gitpod.Dockerfile
to ensure that kubectl
is installedkubectl
:
kubectl config get-clusters
to get a view of all your clusters.
For more on authenticating with kubectl
see this sample repo.