Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloudbuild Private pool doesn't show correct IP

We're trying to have cloud build launch instances in a private pool but we're not seeing the correct IPs on the workers.

We configured a /24 block of IPs which is connected via private services access. 

However, launching a worker and running an ifconfig -a on the worker shows an internal IP address of 192.168.10.x

Here's the trigger yaml file that we're testing this with which returns

inet addr:192.168.10.2 Bcast:192.168.10.255

 

 
steps:
  - name: bash
    args:
      - echo
      - I am running in a private pool!
  - name: bash
    args:
      - '-c'
      - |
        ifconfig -a
    entrypoint: bash
timeout: 3600s
options:
  logging: CLOUD_LOGGING_ONLY
  dynamicSubstitutions: true
  pool:
    name: projects/$PROJECT_ID/locations/europe-west3/workerPools/cicd-private-pool
 
Shouldn't we be seeing an IP address from the cicd-private-pool /24 ? 
2 0 123