i need to use metadata user-data for few instances (on linux FCOS) larger than 256kb, but i got:
is too large: maximum size 262144 character
https://cloud.google.com/compute/docs/metadata/setting-custom-metadata#limitations
It's possible to:
- anyhow use larger than 256kb
metadatauser-data? - or fetch
user-datafor instance from a remote server e.g.: I could upload thisuser-datato any HTTP server?
I found.. solution via remote ignition file.
I tried increasing the 256kb per single metadata limit via google support but they cant increase this for me.
Workaround via remote ignition file:
user-dataadd the below snippet