For questions about Google Cloud Platform products and services.
Questions tagged [gcp]
37 questions
18
votes
2 answers
Kubernetes - How to show all service accounts
How do I show all service accounts In Kubernetes?
I have tried kubectl get --all-namespaces all. It does not show service accounts.
How can I use kubectl to list all service accounts?
David West
- 1,533
- 3
- 18
- 25
10
votes
3 answers
How should GCP projects be organized?
I have recently inherited the previous director of devops duties in managing a transition from Heroku/AWS to GCP. I'm wondering what is best practice for organizing projects in GCP.
Should the be organized by production, staging, and QA…
Dan
- 203
- 2
- 5
7
votes
2 answers
How to know which user created the GCE Instance
We have several billing enabled projects in our GCP account and each of them has several Compute Engine Instances. I want to remove non-critical instances just to reduce the unnecessary billing. But before I do that, I need to know which instance is…
noob
- 181
- 1
- 7
7
votes
2 answers
How to list all users with specific role in GCP
gcloud projects get-iam-policy [PROJECT-ID] lists all users with their roles for specific project. There are different filters and formatters available but I can't seem to find the right way to just filter only by specific role.
$ gcloud projects…
SiliconMind
- 173
- 1
- 4
4
votes
1 answer
Building a CI/CD pipeline on GCP
I have a containerized web application on GitHub and I would like to build a CI/CD pipeline on GCP consisting of a trigger stage, a build stage and a deployment stage and be able to do continuous integration and deployment. What GCP tools can I use…
christian Martin
- 85
- 1
- 1
- 5
4
votes
1 answer
How to download a VM image from GCP?
I do not see a download button. I would like to download a VM image that was created on GCP using Packer and I would like to run it locally in Virtualbox.
030
- 13,383
- 17
- 76
- 178
4
votes
2 answers
Is there aws-vault kind of tool for GCP?
I would like to keep my use access tokens to GCP encrypted in my operating system’s keychain and use them easily with gcloud CLI.
So, does aws-vault for gcp exist to secure my own tokesn when accessing gcp?
This is unrelated to AWS Secret Manager
JtR
- 141
- 1
4
votes
1 answer
How to recreate GCP Preemptible VMs behind LB before they expire?
I created preemptible instances in a managed instance group behind LB, I specified the preemptible option in the instance template.
Because GCP Compute Engine always terminates preemptible instances after they run for 24 hours, I need a way to…
Berlin
- 780
- 6
- 15
3
votes
2 answers
What artifact managers are available in GCP?
I use Artifactory and Nexus3, but I wonder what artifact manager could be used in GCP? Is there a managed artifact manager or do I have to run one myself in a VM?
030
- 13,383
- 17
- 76
- 178
3
votes
1 answer
Google Cloud Registry and multiple projects
Is it possible to pull images from the same GCR from multiple GCP projects without making the registry public?
I want to do this so I do not have to upload multiple times the same image to multiple registries so it can be used on different projects.
Navarro
- 183
- 5
2
votes
1 answer
GCP - Can't create a tpu on europe-west1
I'my trying to create a tpu for my vm instance from this tutorial but get this error message:
ERROR: (gcloud.compute.tpus.create) PERMISSION_DENIED: Location europe-west1-b is not found or access is unauthorized.
I have enabled all of the access…
lifeguru42
- 55
- 7
2
votes
1 answer
Installing Helm charts using Terraform
I have been trying to install Helm charts using Terraform in a cluster which operates in GKE.
My question is in two parts:
Is it a good practice to use Terraform for installing Helm charts?
I have been getting this error when Terraform tries to…
Harith
- 136
- 1
- 2
2
votes
1 answer
How to exclude storage.bucket.list permission on public gcp storage bucket
Google Cloud Platform Storage Buckets can be directly exposed via HTTP. The recommended configuration for this is to have allUsers with the Storage Object Viewer role.
The Storage Object Viewer role has got storage.bucket.list permission. I tried…
Kind Contributor
- 123
- 4
2
votes
1 answer
GCP log based availability metric
we have a GKE hosted API served by Go/Gin service. It logs every request with some structured metadata (including status_code). We'd like to create an availability SLI (which is defined as a proportion of good events / all events). So, we'd have to…
grzegorz_p
- 123
- 3
2
votes
2 answers
How to allow users to list authorized buckets in GCP Storage?
I created a storage bucket B and I granted a user as "Storage Object Viewer" on it.
The user can view bucket content with a direct link (e.g. https://console.cloud.google.com/storage/browser/B/?project=azerty).
Is it possible to allow a user to list…
Romain Hardouin
- 123
- 5