Google Cloud SDK Install
-
At the command line, run the following command:
-
When prompted, choose a location on your file system (usually your Home directory) to create the
google-cloud-sdk
subdirectory under. -
If you want to send anonymous usage statistics to help improve gcloud CLI, answer
Y
when prompted. -
To add gcloud CLI command-line tools to your
PATH
and enable command completion, answerY
when prompted -
Restart your shell:
-
To initialize the Google Cloud CLI environment, run
gcloud init
Install kubectl
-
Install the
kubectl
component: -
Verify that
kubectl
is installed: -
Install Authn Plug-in
Check the
gke-gcloud-auth-plugin
binary version:
Create Containers with GKE
-
Login & Initialize Google Cloud CLI
- Follow configuration instructions
-
Create Container Cluster
-
Authenticate the cluster
Deploy Permify
-
Apply deployment config
-
Deployment.yaml
-
Deployment.yaml
-
Apply service manfiest
-
Service Manifest
-
Service Manifest
Deploying Permify in a Distributed Configuration
If you aim to deploy Permify in a distributed configuration, you will need to create a Serf deployment. The Serf deployment can be dockerized to our Container Registry under the name permify/serf:v1.0, which is provided by Hashicorp. Please note: It is crucial to ensure that both Serf and Permify deployments reside within the same namespace for proper operation.-
Serf Service Create:
-
Serf Deployment&Service yaml
-
Serf Deployment&Service yaml
-
Apply Deployment Manifest
-
Deployment.yaml
-
Deployment.yaml
-
Apply Service Manifest
-
Service.yaml
-
Service.yaml