Tanzu Platform Elastic Application Runtime, formerly Tanzu Application Service, provides stacks which contain the OS layer dependencies that are available to your app. The Linux stack is called `cflinuxfsX`, where X is a number
cflinuxfs3 corresponds to an Ubuntu Bionic 18.04 containercflinuxfs4 corresponds to an Ubuntu Jammy 22.04 containerSince the cflinuxfs3 is end of support, the cflinuxfs4 will be the default stack of newly created services and applications.
For previously created SCDF (Spring Cloud Dataflow for VMware Tanzu) service instances, this article is about how to migrate the backend app stack from cflinuxfs3 to cflinuxfs4.
Spring Cloud Dataflow for VMware Tanzu v1.14
This article walks you through the ways to migrate SCDF service instance backend app stack from cflinuxfs3 to cflinuxfs4. There are a few options for migration.
As platform operator,you have two options - with stack auditor plugin or "Upgrade All Instances" errand.
With stack auditor, you will have to migrate apps running under the `p-dataflow` org and `instances` space. You can locate those apps with command:
cf audit-stack | grep -e '^p-dataflow'
then follow the instructions to change app stack.
Developer can update their own SCDF service instance backend app stack with
cf update-service <service name> -c '{"upgrade": true}'
it picks up the default stack of Tanzu Platform Elastic Application Runtime(which should be cflinuxfs4 and can be confirmed with `cf -v stacks`) and restages apps.
For previously created streams, the stack of steam apps could be updated to default stack by stopping/starting the stream.