Nesta etapa, explicamos como instalar as definições de recursos personalizados (CRDs, na sigla em inglês) para a Apigee híbrida.
Instale os CRDs da Apigee:
Se você estiver instalando a Apigee híbrida em um namespace diferente do padrão (apigee),
edite apigee-operators/etc/crds/default/kustomization.yaml e mude o namespace para corresponder:
namespace: APIGEE_NAMESPACE
Exemplo:
namespace: my-namespace
Execute uma simulação da instalação
executando o seguinte comando:
Você instalou a estrutura da Apigee híbrida. Em seguida, você verificará a prontidão do
cluster do Kubernetes antes de instalar os gráficos do Apigee Helm.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-18 UTC."],[[["\u003cp\u003eThis guide provides the necessary steps to install Apigee hybrid Custom Resource Definitions (CRDs), which should only be done via the provided commands in this guide, and with elevated cluster permissions.\u003c/p\u003e\n"],["\u003cp\u003eInstallation should begin with a dry-run using \u003ccode\u003ekubectl apply\u003c/code\u003e with the \u003ccode\u003e--dry-run=server\u003c/code\u003e flag to check for any potential issues before actual installation.\u003c/p\u003e\n"],["\u003cp\u003eThe Apigee CRDs are installed using a \u003ccode\u003ekubectl apply\u003c/code\u003e command with specific parameters such as \u003ccode\u003e-k\u003c/code\u003e, \u003ccode\u003e--server-side\u003c/code\u003e, \u003ccode\u003e--force-conflicts\u003c/code\u003e, and \u003ccode\u003e--validate=false\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eValidation of the CRD installation is performed using the command \u003ccode\u003ekubectl get crds | grep apigee\u003c/code\u003e, and the output will show the installed Apigee CRDs.\u003c/p\u003e\n"],["\u003cp\u003eWarnings about deprecated terms during the installation process can be safely ignored, as they do not affect the proper installation of the Apigee hybrid CRDs.\u003c/p\u003e\n"]]],[],null,["# Step 9: Install the Apigee hybrid CRDs\n\n| You are currently viewing version 1.13 of the Apigee hybrid documentation. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\nThis step explains how to install the Custom Resource Definitions (CRDs) for Apigee hybrid.\n\nInstall the Apigee CRDs:\n------------------------\n\n| **Note:** From this step onwards, all commands should be run from `$APIGEE_HELM_CHARTS_HOME` directory.\n| **Note:** This is the only supported method for installing Apigee CRDs. Do not use `kubectl apply` without `-k`, do not omit `--server-side`.\n| **Note:** This step requires elevated cluster permissions.\n\n1.\n If you are installing Apigee Hybrid into a different namespace than the default (`apigee`),\n edit `apigee-operators/etc/crds/default/kustomization.yaml` and change the namespace to match:\n\n ```\n namespace: APIGEE_NAMESPACE\n ```\n\n \u003cbr /\u003e\n\n\n For example: \n\n ```\n namespace: my-namespace\n ```\n\n \u003cbr /\u003e\n\n2. Perform a dry-run of the installation by running\n the following command:\n\n ```\n kubectl apply -k apigee-operator/etc/crds/default/ \\\n --server-side \\\n --force-conflicts \\\n --validate=false \\\n --dry-run=server\n ```\n3. After checking the installation with `--dry-run`, install the Apigee CRDs with\n the following command:\n\n ```\n kubectl apply -k apigee-operator/etc/crds/default/ \\\n --server-side \\\n --force-conflicts \\\n --validate=false\n ```\n4. Validate the installation with the `kubectl get crds` command: \n\n ```\n kubectl get crds | grep apigee\n ```\n\n Your output should look something like the following: \n\n ```\n apigeedatastores.apigee.cloud.google.com 2024-12-16T19:44:48Z\n apigeedeployments.apigee.cloud.google.com 2024-08-23T19:44:49Z\n apigeeenvironments.apigee.cloud.google.com 2024-08-23T19:44:50Z\n apigeeissues.apigee.cloud.google.com 2024-08-23T19:44:52Z\n apigeeorganizations.apigee.cloud.google.com 2024-08-23T19:44:53Z\n apigeeredis.apigee.cloud.google.com 2024-08-23T19:44:55Z\n apigeerouteconfigs.apigee.cloud.google.com 2024-08-23T19:44:56Z\n apigeeroutes.apigee.cloud.google.com 2024-08-23T19:44:56Z\n apigeetelemetries.apigee.cloud.google.com 2024-08-23T19:44:58Z\n cassandradatareplications.apigee.cloud.google.com 2024-08-23T19:45:00Z\n secretrotations.apigee.cloud.google.com 2024-08-23T19:45:00Z\n ```\n\n| **Note:** You may see warnings about deprecated terms. This will not impact the installation of the Apigee hybrid CRDs.\n\n\nYou have now installed the structure for Apigee hybrid. Next you will check the readiness of\nyour Kubernetes cluster before installing the Apigee Helm charts.\n\n\nNext step\n---------\n\n\u003cbr /\u003e\n\n[1](/apigee/docs/hybrid/v1.13/install-create-cluster) [2](/apigee/docs/hybrid/v1.13/install-download-charts) [3](/apigee/docs/hybrid/v1.13/install-create-namespace) [4](/apigee/docs/hybrid/v1.13/install-service-accounts) [5](/apigee/docs/hybrid/v1.13/install-create-tls-certificates) [6](/apigee/docs/hybrid/v1.13/install-create-overrides) [7](/apigee/docs/hybrid/v1.13/install-enable-synchronizer-access) [8](/apigee/docs/hybrid/v1.13/install-cert-manager) [9](/apigee/docs/hybrid/v1.13/install-crds) [(NEXT) Step 10: Install Apigee hybrid using Helm charts](/apigee/docs/hybrid/v1.13/install-helm-charts) [11](/apigee/docs/hybrid/v1.13/install-workload-identity)\n\n\u003cbr /\u003e"]]