Upgrade

To update the Kerno agent to the latest version, run:

Using AWS Config File

docker run -it --pull=always \
-e AWS_REGION=<region> \
-e AWS_PROFILE=<aws-profile> \
-e CLUSTER_NAME=<cluster-name> \
-e K4_KEY=<k4-key> \
-v ~/.aws:/root/.aws \
public.ecr.aws/fyck.io/installer:main

Using Environment Variables

docker run -it --pull always \
-e AWS_REGION=<region> \
-e AWS_SESSION_TOKEN=$AWS_SESSION_TOKEN \
-e AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
-e AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
-e CLUSTER_NAME=<cluster-name> \
-e K4_KEY=<k4-key> \
-v ~/.aws:/root/.aws \
public.ecr.aws/fyck.io/installer:main

If you run into issues when upgrading the Kerno agent, you can run the command above with the -e UNINSTALL=true to uninstall Kerno and rerun the install command.

If you encounter issues or have questions, message us on Slack, and we’ll gladly help.

Last updated