Skip to main content
Share Your Experience: Take the 2024 Developer Survey
6 votes
Accepted

How can I expose Ingress service on 80 and 443 to the outer world

It's would be better if you will use ClusterIP type as a service than apply Ingress resource on it https://kubernetes.io/docs/concepts/services-networking/ingress/#single-service-ingress
Hakob's user avatar
  • 359
2 votes

Why is my GCP managed Cert not working with kubernetes

Worked after a while. It apparently needed time to propagate.
Jackie's user avatar
  • 141
2 votes

how to schedule container in GCP

Add any tiny http-server wrapper to your script and deploy your docker image as a Cloud Run service and use Cloud Scheduler that will invoke it by cron. https://cloud.google.com/run/docs/triggering/...
Nakilon's user avatar
  • 544
1 vote
Accepted

How can I change the context of kubectl commands and helm?

First make sure the desired cluster is available to you gcloud container clusters list Now you need to reconcile that command (which has the data from Google) with your local kubectl, you can do that ...
Evan Carroll's user avatar
  • 2,161
1 vote

mounting overlayfs within kubernetes POD - "cannot mount overlay read-only"

After a while I found out that I need to declare the container to have a privileged security context. Suddenly it works! spec: containers: - securityContext: privileged: true There is ...
peschü's user avatar
  • 131
1 vote

Using counted data source in non-counted provider block in Terraform

If I have read this correctly you are trying to target different clusters with your provider so you can then use a helm_release. You need to have distinct providers for each cluster and differentiate ...
krystan honour's user avatar
1 vote
Accepted

How to resolve a problem "certificate signed by unknown authority" in GKE on pulling image (a private registry) when a pod is created?

I found a solution. The problem is actual for Kubernetes version 1.19+ and COS/Ubuntu images based on containerd for GKE nodes. Before the 1.19 version Kubernetes used to use Docker for building ...
Max Koshel's user avatar
1 vote

How to resolve a problem "certificate signed by unknown authority" in GKE on pulling image (a private registry) when a pod is created?

If your on Standard Mode for your GKE cluster, go into Computer Engine > SSH into every node and put into /etc/docker/certs.d/<ip:port>/ca.cert. Create folder if it does not exists. This ...
Ming's user avatar
  • 11
1 vote

Jenkins and Kubernetes CLI plugin and GKE

Put it inside the sh? withKubeConfig(...) { sh “”” export ... kubectl ... “”” }
Chris F's user avatar
  • 423

Only top scored, non community-wiki answers of a minimum length are eligible