Questions tagged [google-container-os]

Container-Optimized OS is an operating system image for your Compute Engine VMs that is optimized for running Docker containers

With Container-Optimized OS, you can bring up your Docker containers on Google Cloud Platform quickly, efficiently, and securely. Container-Optimized OS is maintained by Google and is based on the open source Chromium OS project. * Website

79 questions
1
vote
1 answer

Standalone kubelet persistent disk mount on Google Cloud instance

I have a process that needs to run daily in a Docker container, syncing some data from a storage bucket to an external volume (Google Cloud persistent disk). So far, I managed to launch the process by creating a single-node container cluster. Since…
1
vote
1 answer

Piping using toolbox in Google Container Optimized OS

I'm trying to create a script that runs on google container optimized os that calls curl using toolbox but I want to pipe the results to jq by doing something like this: sudo toolbox curl ... | sudo toolbox jq -r ".something" but if I do this I get…
Johan
  • 37,479
  • 32
  • 149
  • 237
1
vote
1 answer

GKE 1.4.5 (master and nodes) on gci cannot access cloud storage

I am attempting to migrate our GKE cluster (running 1.4.5) from container-vm to gci. I am using the migration guide at https://cloud.google.com/container-engine/docs/node-image-migration When I get my deployment on a gci node, I cannot access cloud…
1
vote
1 answer

Container-VM Image with GPD Volumes fails with "Failed to get GCE Cloud Provider. plugin.host.GetCloudProvider returned instead"

I currently try to switch from the "Container-Optimized Google Compute Engine Images" (https://cloud.google.com/compute/docs/containers/container_vms) to the "Container-VM" Image (https://cloud.google.com/compute/docs/containers/vm-image/#overview).…
0
votes
1 answer

Correct way to set the --network=container: parameter?

What is the correct way in Google Container Optimised OS to do the equivalent of --network=container: to route all traffic from one container to another? I'm attempting to route all traffic (or as a fallback just HTTP/HTTPS) to another…
Crizly
  • 971
  • 1
  • 12
  • 33
0
votes
0 answers

GCP Container Optimized OS Always Requires GPU Driver download and installation, despite caching and creating a custom image post-install

I'm using the Container Optimized OS to run an application that takes advantage of GPUs. I have a separate system that creates VMs to run this application on-demand (to minimize cost) and I've been trying to reduce the time to get my application…
Ethan
  • 1,206
  • 3
  • 21
  • 39
0
votes
1 answer

Why doesn't Compute VM COS metadata not get carry over to "Equivalent command line"?

I'm deploying a container to a Container Optimized OS or COS on Google Compute. I want to specify Logging and Monitoring for the VM. There are 2 ways to do this: Specify metadata flags: Mark the checkboxes But when I then click on "Equivalent…
engineer-x
  • 2,173
  • 2
  • 12
  • 25
0
votes
0 answers

How to configure disk io scheduler on COS with GKE?

I'm using container optimized os (COS) on google cloud kubernetes engine (GKE 1.24.2-gke.1900). The default io scheduler seems to be ~ $ cat /sys/block/sdb/queue/scheduler [mq-deadline] none I want to configure the default io scheduler to none as…
0
votes
1 answer

DNS queries in Docker not hitting cache

I'm using Container-Optimized OS from Google to run one of my Docker containers. I have seen that amount of my DNS queries to Google Cloud DNS is really high (billions) and it super strange. I it only for internal DNS queries. So after trying to…
Mark Davydov
  • 337
  • 4
  • 18
0
votes
1 answer

static/whereabouts IPAM cni plugins bin files are missing after installation in GKE on Prem

I am trying to install static/whereabouts (with multus) IPAM CNI plugin on GKE on Prem environment to create an additional interface and communicate with pods across the nodes in the same cluster. Multus plugin is working well, but I am not seeing…
0
votes
1 answer

Is it possible to use a different VM image for minikube

I see minikube using Debian rodete as the VM image. I would like to use different image like Container-Optimized OS is this possible? Thanks in advance
0
votes
0 answers

CI/CD with Docker Compose on Google Cloud

I'm building a pipeline in Buddy where the application is build on command. New containers are build and pushed to DockerHub when it's time to deploy. I'm using Google's Container Optimized OS to run Docker Compose, this way. But I can't find a way…
0
votes
2 answers

Copy files to Container-Optimised OS from a GCP Storage bucket

How can one download files from a GCP Storage bucket to a Container-Optimised OS (COS) on instance startup? I know of the following solutions: gcloud compute copy-files SSH through console SCP Yet all of these have to be done manually and…
0
votes
2 answers

How does Google Container Optimized OS handle a scheduled shutdown?

I'm playing around with Container Optimized OS on Google Cloud and found that the 'Auto Update' feature doesn't apply the updates until the system is restarted, and doesn't offer any functionality for scheduling a reboot after an update is…
datu-puti
  • 1,306
  • 14
  • 33
0
votes
0 answers

Can I use Google Container Optimised OS as a secure container sandbox?

I have a VM running Googles Container Optimised OS, and I want to allow running code that users provide - each user has their own container. This code can be malicious - I want to limit the scope of the code to just its own…
zino
  • 1,222
  • 2
  • 17
  • 47