Here you will learn how to upgrade an existing deployment of VMware Spring Cloud Data Flow for Kubernetes (SCDF for Kubernetes).
To upgrade SCDF for Kubernetes:
-
Download the latest release of SCDF for Kubernetes (see Preparing to install VMware Spring Cloud Data Flow for Kubernetes).
-
Extract the downloaded archive file.
$ tar xzvf data-flow-1.4.1.tgz
-
Compare the directory contents between the new release and the currently-installed release. For information about the directory structure of the “Spring Cloud Data Flow for Kubernetes Legacy Installation” archive, see Directory Structure.
-
Use a file comparison (diff) tool to compare files in the new release and the currently-installed release. Especially look for changes in the following files:
application.yaml
andbootstrap.yaml
configuration files. These files may contain new configuration values that correspond to features added to the Data Flow or Skipper servers.kustomization.yaml
files. These files will include updates to the container image tag (thenewTag
property).- Kubernetes resource files in the
base
subdirectories. These files will contain any new suggested resource limits or other improvements that take advantage of Kubernetes features.
-
Merge the changes into the existing files and directory structure of the currently-installed release.
-
Using the Kubernetes tool of your choice, apply the changes to your Kubernetes cluster. For example, using
kubectl kustomize
andkapp
, you might run the following commands:$ kubectl kustomize [SKIPPER_OVERLAY_DIR] | kapp -y deploy -a skipper -f -` $ kubectl kustomize [DATA_FLOW_OVERLAY_DIR] | kapp -y deploy -a data-flow -f -`
In these example commands, replace the
SKIPPER_OVERLAY_DIR
placeholder with the path to theoverlays
directory for the Skipper application, and replace theDATA_FLOW_OVERLAY_DIR
placeholder with the path to theoverlays
directory for the Data Flow application.
Content feedback and comments