From 9fb181478424101c2fb5968e00230f5497edd745 Mon Sep 17 00:00:00 2001 From: Brendan McShane Date: Mon, 6 Mar 2023 19:29:00 -0500 Subject: [PATCH] Fix warning/info markdown --- docs/upgrades.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/upgrades.md b/docs/upgrades.md index bca7057cc..fc1fdf27a 100644 --- a/docs/upgrades.md +++ b/docs/upgrades.md @@ -17,7 +17,8 @@ versions. Here are all version vars for each component: * flannel_version * kubedns_version -:warning: [Attempting to upgrade from an older release straight to the latest release is unsupported and likely to break something](https://github.com/kubernetes-sigs/kubespray/issues/3849#issuecomment-451386515) :warning: +> **Warning** +> [Attempting to upgrade from an older release straight to the latest release is unsupported and likely to break something](https://github.com/kubernetes-sigs/kubespray/issues/3849#issuecomment-451386515) See [Multiple Upgrades](#multiple-upgrades) for how to upgrade from older Kubespray release to the latest release @@ -95,7 +96,8 @@ ansible-playbook upgrade-cluster.yml -b -i inventory/sample/hosts.ini -e kube_ve ## Multiple upgrades -:warning: [Do not skip releases when upgrading--upgrade by one tag at a time.](https://github.com/kubernetes-sigs/kubespray/issues/3849#issuecomment-451386515) :warning: +> **Warning** +> [Do not skip releases when upgrading--upgrade by one tag at a time.](https://github.com/kubernetes-sigs/kubespray/issues/3849#issuecomment-451386515) For instance, if you're on v2.6.0, then check out v2.7.0, run the upgrade, check out the next tag, and run the next upgrade, etc. @@ -147,7 +149,8 @@ Previous HEAD position was 05dabb7e Fix Bionic networking restart error #3430 (# HEAD is now at 9051aa52 Fix ubuntu-contiv test failed (#3808) ``` -:info: NOTE: Review changes between the sample inventory and your inventory when upgrading versions. :info: +> **Note** +> Review changes between the sample inventory and your inventory when upgrading versions. Some deprecations between versions that mean you can't just upgrade straight from 2.7.0 to 2.8.0 if you started with the sample inventory. @@ -263,7 +266,8 @@ Previous HEAD position was 6f97687d Release 2.8 robust san handling (#4478) HEAD is now at a4e65c7c Upgrade to Ansible >2.7.0 (#4471) ``` -:warning: IMPORTANT: Some variable formats changed in the k8s_cluster.yml between 2.8.5 and 2.9.0 :warning: +> **Warning** +> IMPORTANT: Some variable formats changed in the k8s_cluster.yml between 2.8.5 and 2.9.0 If you do not keep your inventory copy up to date, **your upgrade will fail** and your first master will be left non-functional until fixed and re-run.