ports/sysutils/google-cloud-sdk/pkg
2023-08-24 08:00:32 +00:00
..
DESCR SecBSD's official ports repository 2023-08-16 22:26:55 +00:00
PLIST sync ports with The Matrix 2023-08-24 08:00:32 +00:00
README SecBSD's official ports repository 2023-08-16 22:26:55 +00:00

+-----------------------------------------------------------------------
| 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