Sostituisci MANAGEMENT_API_SERVER_ENDPOINT con l'endpoint del server
dell'API Management.
Documento di rilevamento
Utilizza il comando kubectl proxy --port=8001 per aprire un proxy al server API sulla
tua macchina locale. Da qui puoi accedere al documento di rilevamento
ai seguenti URL:
Esempio di criterio di traffico in entrata tra progetti
Di seguito è riportato un esempio di oggetto ProjectNetworkPolicy che consente ai carichi di lavoro nel progetto project-1 di consentire le connessioni dai carichi di lavoro nel progetto project-2, nonché il traffico di ritorno per gli stessi flussi:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-16 UTC."],[[["The Networking API utilizes Kubernetes custom resources and the Kubernetes Resource Model (KRM) for managing networking in Google Distributed Cloud (GDC) air-gapped."],["Networking APIs are available in two packages, supporting zonal and global deployments respectively."],["The API endpoints for zonal and global Networking APIs are `https://\u003cvar\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e/apis/networking.gdc.goog/v1` and `https://\u003cvar\u003eMANAGEMENT_API_SERVER_ENDPOINT\u003c/var\u003e/apis/networking.global.gdc.goog/v1`."],["You can access the discovery document using `kubectl proxy --port=8001`, and find it at `http://127.0.0.1:8001/apis/networking.gdc.goog/v1` and `http://127.0.0.1:8001/apis/networking.global.gdc.goog/v1`."],["`ProjectNetworkPolicy` objects can be defined to allow traffic between different projects, as seen in the example for allowing ingress traffic from `project-2` to `project-1`."]]],[]]