github.com/docker/compose-on-kubernetes@v0.5.0/docs/install-on-gke.md (about)

     1  # Install on GKE
     2  
     3  ## Pre-requisites
     4  - To install Compose on Kubernetes on GKE, you must create a Kubernetes cluster.
     5  - To install etcd using these instructions, you must have [Helm](https://helm.sh) in your client environment.
     6  - [Download the Compose on Kubernetes installer](https://github.com/docker/compose-on-kubernetes/releases).
     7  
     8  **Important:** You will need a custom build of Docker CLI to deploy stacks onto GKE. The build must include [this PR](https://github.com/docker/cli/pull/1583) which has been merged onto the master branch.
     9  
    10  ## Create compose namespace
    11  
    12  Just run `kubectl create namespace compose`.
    13  
    14  ## Deploy etcd
    15  
    16  Compose on Kubernetes requires an etcd instance (in addition to the kube-system etcd instance). Please follow [How to deploy etcd](./deploy-etcd.md).
    17  
    18  ## Admin rights
    19  
    20  You must grant your current Google identity the `cluster-admin` Role:
    21  
    22  ```console
    23  $ gcloud info | grep Account
    24  Account: [ACCOUNT]
    25  
    26  $ kubectl create clusterrolebinding <ACCOUNT>-cluster-admin-binding --clusterrole=cluster-admin --user=<ACOUNT>
    27  clusterrolebinding.rbac.authorization.k8s.io "<ACCOUNT>-cluster-admin-binding" created
    28  ```
    29  
    30  ## Deploy Compose on Kubernetes
    31  
    32  Run `installer-[darwin|linux|windows.exe] -namespace=compose -etcd-servers=http://compose-etcd-client:2379`.
    33  
    34  **Note: To setup Mutual TLS with the etcd instance, you can use `etcd-ca-file`, `etcd-key-file` and `etcd-cert-file` flags.**