30 lines
899 B
Text
30 lines
899 B
Text
+-----------------------------------------------------------------------
|
|
| 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
|