Home

The sysutils/google-cloud-sdk port

google-cloud-sdk-471.0.0 – manage resources on Google Cloud Platform (cvsweb github mirror)

Description

The Google Cloud SDK contains tools and libraries that allow you to create and
manage resources on Google's Cloud Platform, including App Engine, Compute
Engine, Cloud Storage, Cloud SQL, and BigQuery.
WWW: https://cloud.google.com/sdk/

Readme

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

To enable command completion, add this to the shell profile:

* bash
source ${PREFIX}/google-cloud-sdk/completion.bash.inc

* zsh
source ${PREFIX}/google-cloud-sdk/completion.zsh.inc

Quick start
===========

    $ gcloud auth login
    $ gcloud config set project ${PROJECT_NAME}

Connecting to Google Kubernes Engine
------------------------------------

To interact with Kubernetes, the kubectl command is required:
    $ doas pkg_add kubectl

Authenticating to a GKE cluster also requires a specific provider:
    $ doas pkg_add gke-gcloud-auth-plugin

    $ gcloud container clusters get-credentials main --region ${REGION}
    $ kubectl config set-context --current --namespace=${NAMESPACE}
    $ kubectl get pods

Maintainer

Antoine Jacoutot

Categories

lang/python sysutils

Build dependencies

Run dependencies

Files

Search