You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy-apps/stacks.html.md.erb
+64-29Lines changed: 64 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -27,14 +27,26 @@ Docker apps do not use stacks.</p>
27
27
28
28
## <aid='available-stacks'></a> Available stacks
29
29
30
-
Cloud Foundry includes support for `cflinuxfs3`. The Linux `cflinuxfs3` stack is derived from Ubuntu Bionic 18.04. For more information about supported libraries, see the [GitHub stacks page](https://github.com/cloudfoundry/cflinuxfs3/blob/main/receipt.cflinuxfs3.x86_64).
30
+
Cloud Foundry includes support for `cflinuxfs4`, which is derived from Ubuntu 22.04 LTS (Jammy Jellyfish). For more information, see [GitHub cflinuxfs4 stack receipt](https://github.com/cloudfoundry/cflinuxfs4/blob/main/receipt.cflinuxfs4.x86_64).
31
31
32
-
The latest versions of <%=vars.product_short%> include support for `cflinuxfs4` which is derived from Ubuntu 22.04 LTS (Jammy Jellyfish). For more information, see [GitHub cflinuxfs4 stack receipt](https://github.com/cloudfoundry/cflinuxfs4/blob/main/receipt.cflinuxfs4.x86_64).
32
+
You can also build your own custom stack. For more information, see [Adding a Custom Stack](../../running/custom-stack.html).
33
33
34
-
<%=vars.custom_stack%>
34
+
## <aid='stack-states'></a> Stack states
35
35
36
+
Operators can assign a lifecycle state to each stack. The state affects what operations you can perform with that stack:
36
37
37
-
## <aid='cli-commands'></a> Restaging apps on a new stack
38
+
| State | What it means for developers |
39
+
|--------------|------------------------------|
40
+
| `ACTIVE` | The stack is fully available. You can push new apps and restage existing apps. |
41
+
| `DEPRECATED` | The stack is still usable, but a warning is shown during `cf push` and `cf restage`. Plan to migrate your apps soon. |
42
+
| `RESTRICTED` | You cannot push new apps using this stack. Existing apps can still be restarted and scaled. |
43
+
| `DISABLED` | You cannot stage or restage any app using this stack. Existing apps continue to run and can be restarted and scaled. |
44
+
45
+
When a stack has a state other than `ACTIVE`, operators typically provide a **reason** message with migration guidance. This reason is shown in `cf stacks`, `cf stack STACK_NAME`, and in any warning or error messages during `cf push` or `cf restage`.
46
+
47
+
If you encounter a restricted or disabled stack, contact your CF operator for migration instructions, or see the reason message provided in the stack details.
48
+
49
+
## <aid='restage-apps'></a> Restaging apps on a new stack
38
50
39
51
For security, stacks receive regular updates to address Common Vulnerabilities and Exposures ([CVEs](http://www.ubuntu.com/usn/)). Apps pick up on these stack changes through new releases of <%=vars.product_short%>. However, if your app links statically to a library provided in the rootfs, you might have to manually restage it to pick up the changes.
40
52
@@ -46,41 +58,64 @@ To restage an app on a new stack:
46
58
47
59
<preclass="terminal">
48
60
$ cf stacks
49
-
Getting stacks in org MY-ORG / space development as developer@example<span>.</span>com...
50
-
OK
61
+
Getting stacks in org MY-ORG / space development as developer@example.com...
62
+
63
+
name description state
64
+
cflinuxfs4 Cloud Foundry Linux-based filesystem (Ubuntu 22.04) ACTIVE
The `state` column shows the current lifecycle state of each stack. For stacks in a `DEPRECATED`, `RESTRICTED`, or `DISABLED` state, contact your operator or run `cf stack STACK_NAME` to view the reason and migration instructions.
69
+
70
+
1. To view details and any operator-provided reason for a specific stack, run:
0 commit comments