[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# Autoscaling\n\nKf Apps can be automatically scaled based on CPU usage.\nYou can configure autoscaling limits for your Apps and the target CPU usage for\neach App instance. Kf automatically scales your Apps up\nand down in response to demand.\n\nBy default, autoscaling is disabled. Follow the steps below to enable autoscaling.\n\nView Apps\n---------\n\nYou can view the autoscaling status for an App using the `kf apps`\ncommand. If autoscaling is enabled for an App, `Instances` includes the\nautoscaling status. \n\n $ kf apps\n\n Name Instances Memory Disk CPU\n app1 4 (autoscaled 4 to 5) 256Mi 1Gi 100m\n app2 1 256Mi 1Gi 100m\n\nAutoscaling is enabled for `app1` with `min-instances` set to 4 and\n`max-instances` set to 5. Autoscaling is disabled for `app2`.\n\nUpdate autoscaling limits\n-------------------------\n\nYou can update the instance limits using the `kf update-autoscaling-limits`\ncommand. \n\n kf update-autoscaling-limits \u003cvar translate=\"no\"\u003eapp-name\u003c/var\u003e \u003cvar translate=\"no\"\u003emin-instances\u003c/var\u003e \u003cvar translate=\"no\"\u003emax-instances\u003c/var\u003e\n\nCreate autoscaling rule\n-----------------------\n\nYou can create autoscaling rules using the `kf create-autoscaling-rule`\ncommand. \n\n kf create-autoscaling-rule \u003cvar translate=\"no\"\u003eapp-name\u003c/var\u003e CPU \u003cvar translate=\"no\"\u003emin-threshold\u003c/var\u003e \u003cvar translate=\"no\"\u003emax-threshold\u003c/var\u003e\n\nDelete autoscaling rules\n------------------------\n\nYou can delete all autoscaling rules with the\n`kf delete-autoscaling-rule` command. Kf only supports\none autoscaling rule. \n\n kf delete-autoscaling-rules \u003cvar translate=\"no\"\u003eapp-name\u003c/var\u003e\n\nEnable and disable autoscaling\n------------------------------\n\nAutoscaling can be enabled by using `enable-autoscaling` and\ndisabled by using `disable-autoscaling`. When it is disabled, the\nconfigurations, including limits and rules, are preserved. \n\n kf enable-autoscaling \u003cvar translate=\"no\"\u003eapp-name\u003c/var\u003e\n kf disable-autoscaling \u003cvar translate=\"no\"\u003eapp-name\u003c/var\u003e"]]