Bermigrasi ke menganotasi image container dengan nama layanannya
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Mulai 20 Januari 2025, Google Cloud Marketplace mewajibkan semua deployment baru atau yang diperbarui dari listingan produk aplikasi Google Kubernetes Engine atau produk image container berisi anotasi dalam manifes image yang mengidentifikasi nama layanan produk. Anotasi ini memiliki format berikut:
Anotasi adalah pasangan nilai kunci yang ditambahkan ke manifes gambar. Untuk mengetahui informasi
selengkapnya tentang anotasi, lihat dokumentasi
anotasi
Open Container Initiative di GitHub.
Menambahkan anotasi ke manifes image container
Untuk menambahkan anotasi ke manifes image container, gunakan alat seperti
Docker atau
Crane.
Untuk mengetahui langkah-langkah menambahkan anotasi dengan Docker, lihat
Menambahkan anotasi
dalam dokumentasi Docker.
Untuk mengetahui langkah-langkah menambahkan anotasi dengan Crane, lihat
crane mutate
dalam dokumentasi Crane.
Untuk menemukan nama layanan Anda, lihat tabel produk di halaman Ringkasan
di Portal Produsen.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-02 UTC."],[],[],null,["# Migrate to annotating container images with their service name\n\nStarting January 20, 2025, Google Cloud Marketplace is requiring that all new or updated\ndeployments of Google Kubernetes Engine app product listings or container image products\ncontain an annotation in their image manifest that identifies the service name\nof the product. This annotation has the following format: \n\n com.googleapis.cloudmarketplace.product.service.name=services/\u003cvar translate=\"no\"\u003eSERVICE_NAME\u003c/var\u003e\n\nReplace \u003cvar translate=\"no\"\u003eSERVICE_NAME\u003c/var\u003e with the name of your service.\n\nAn annotation is a key-value pair that's added to the image manifest. For more\ninformation about annotations, see the Open Container Initiative's documentation\nof\n[annotations](https://github.com/opencontainers/image-spec/blob/main/annotations.md)\non GitHub.\n\nAdd the annotation to your container image manifest\n---------------------------------------------------\n\nTo add the annotation to your container image manifest, use a tool like\n[Docker](https://docs.docker.com/engine/reference/builder/) or\n[Crane](https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane.md).\n\n- For steps to add an annotation with Docker, see [Add annotations](https://docs.docker.com/build/metadata/annotations/#add-annotations) in the Docker documentation.\n- For steps to add an annotation with Crane, see [crane mutate](https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_mutate.md) in the Crane documentation.\n\nTo find your service name, refer to the table of products on the **Overview** page\nin Producer Portal."]]