Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning Failed 9s (x13 over 56s) machineipam-controller ipam: no addresses can be allocated
Pour résoudre ce problème, allouez d'autres adresses IP pour le cluster. Supprimez ensuite la machine concernée :
Des outils pour vous aider à résoudre les problèmes, tels que les journaux et les métriques.
Composants, versions et fonctionnalités compatibles de Google Distributed Cloud pour VMware (logiciel uniquement).
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[],[],null,["This page shows you how to resolve issues with resizing clusters.\n\nResizing a user cluster fails\n\nIf a resizing of a user cluster fails, complete the following steps:\n\n1. Find the names of the MachineDeployments and the Machines:\n\n kubectl --kubeconfig \u003cvar translate=\"no\"\u003eUSER_CLUSTER_KUBECONFIG\u003c/var\u003e get machinedeployments --all-namespaces\n kubectl --kubeconfig \u003cvar translate=\"no\"\u003eUSER_CLUSTER_KUBECONFIG\u003c/var\u003e get machines --all-namespaces\n\n2. Describe a MachineDeployment to view its logs:\n\n kubectl --kubeconfig \u003cvar translate=\"no\"\u003eUSER_CLUSTER_KUBECONFIG\u003c/var\u003e describe machinedeployment \u003cvar translate=\"no\"\u003eMACHINE_DEPLOYMENT_NAME\u003c/var\u003e\n\n3. Check for errors on newly-created Machines:\n\n kubectl --kubeconfig \u003cvar translate=\"no\"\u003eUSER_CLUSTER_KUBECONFIG\u003c/var\u003e describe machine \u003cvar translate=\"no\"\u003eMACHINE_NAME\u003c/var\u003e\n\nNo addresses can be allocated for cluster resize\n\nThis issue occurs if there are not enough IP addresses available to resize a\nuser cluster.\n\n`kubectl describe machine` displays the following error: \n\n Events:\n Type Reason Age From Message\n ---- ------ ---- ---- -------\n Warning Failed 9s (x13 over 56s) machineipam-controller ipam: no addresses can be allocated\n\nTo resolve this issue,\n[Allocate more IP addresses](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/resizing-a-user-cluster)\nfor the cluster. Then, delete the affected Machine: \n\n kubectl --kubeconfig \u003cvar translate=\"no\"\u003eUSER_CLUSTER_KUBECONFIG\u003c/var\u003e delete machine \u003cvar translate=\"no\"\u003eMACHINE_NAME\u003c/var\u003e\n\nGoogle Distributed Cloud creates a new Machine and assigns it one of the newly\navailable IP addresses.\n\nWhat's next\n\nIf you need additional assistance, reach out to\n\n[Cloud Customer Care](/support-hub).\n\nYou can also see\n[Getting support](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support) for more information about support resources, including the following:\n\n- [Requirements](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support#support_requirements) for opening a support case.\n- [Tools](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support#support_tools) to help you troubleshoot, such as logs and metrics.\n- Supported [components](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support#whats_supported), [versions](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support#version_support_policy), and [features](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support#supported_features) of Google Distributed Cloud for VMware (software only)."]]