diff --git a/.github/ISSUE_TEMPLATE/pre-release-from-scratch-testing.md b/.github/ISSUE_TEMPLATE/pre-release-from-scratch-testing.md index 39d8a068..3b4a2bcc 100644 --- a/.github/ISSUE_TEMPLATE/pre-release-from-scratch-testing.md +++ b/.github/ISSUE_TEMPLATE/pre-release-from-scratch-testing.md @@ -3,7 +3,7 @@ name: Pre-Release Demo Nightly Testing about: | This template can be used to track the testing of nightly demos from scratch leading up to the next Stackable release. -title: "chore(tracking): Test demos on nightly versions for YY.M.X" +title: "tracking: Test demos on nightly versions for YY.M.X" labels: ['epic'] assignees: '' --- diff --git a/.github/ISSUE_TEMPLATE/pre-release-upgrade-testing.md b/.github/ISSUE_TEMPLATE/pre-release-upgrade-testing.md index c2b1df0f..4e1e7f89 100644 --- a/.github/ISSUE_TEMPLATE/pre-release-upgrade-testing.md +++ b/.github/ISSUE_TEMPLATE/pre-release-upgrade-testing.md @@ -3,7 +3,7 @@ name: Pre-Release Demo Upgrade Testing about: | This template can be used to track the upgrade testing of demos from stable to nightly leading up to the next Stackable release. -title: "chore(tracking): Test demo upgrades on nightly versions for YY.M.X" +title: "tracking: Test demo upgrades to nightly versions for YY.M.X" labels: ['epic'] assignees: '' --- @@ -125,34 +125,33 @@ kubectl patch hbaseclusters/hbase --type='json' -p='[{"op": "replace", "path": " # Run through the (still) nightly demo/stack instructions again. ``` -### HDFS Rolling Upgrade +
+ HDFS rolling upgrade instructions -For demos that use HDFS, also test a rolling upgrade. -See . + For demos that use HDFS, also test a rolling upgrade. + Also see -#### Prepare the upgrade (run in an HDFS superuser container) + ```shell + # In some cases (eg. in the end-to-end-security demo), HDFS is kerberized. + # This requires these commands to be run first. + # Pick "nn/..." + klist -kt /stackable/kerberos/keytab + kinit -kt /stackable/kerberos/keytab -```shell -hdfs dfsadmin -rollingUpgrade prepare -hdfs dfsadmin -rollingUpgrade query # repeat until "Proceed with rolling upgrade" -``` - -#### Patch the HdfsCluster to the new product version and wait for all pods to restart and reach Ready state - -```shell -kubectl patch hdfs/ --type=merge \ - --patch '{"spec": {"image": {"productVersion": ""}}}' -``` + # These commands need to be executed in a superuser environment (eg. the namenode pod) + hdfs dfsadmin -rollingUpgrade prepare + hdfs dfsadmin -rollingUpgrade query # repeat until "Proceed with rolling upgrade" -#### Finalize the upgrade (run in an HDFS superuser container) + # Now patch the productVersion in your regular shell + kubectl patch hdfs/ --type=merge \ + --patch '{"spec": {"image": {"productVersion": ""}}}' -```shell -hdfs dfsadmin -rollingUpgrade finalize -``` + # Finalize the upgrade in the namenode pod + # Needs another kinit because the container was restarted + hdfs dfsadmin -rollingUpgrade finalize -#### Update the deployed product version status + kubectl patch hdfs/ --subresource=status --type=merge \ + --patch '{"status": {"deployedProductVersion": ""}}' + ``` -```shell -kubectl patch hdfs/ --subresource=status --type=merge \ - --patch '{"status": {"deployedProductVersion": ""}}' -``` +
diff --git a/.github/ISSUE_TEMPLATE/release-from-scratch-testing.md b/.github/ISSUE_TEMPLATE/release-from-scratch-testing.md index 127652e0..9da49d30 100644 --- a/.github/ISSUE_TEMPLATE/release-from-scratch-testing.md +++ b/.github/ISSUE_TEMPLATE/release-from-scratch-testing.md @@ -3,7 +3,7 @@ name: Release Demo and Upgrade Testing about: | This template can be used to track the upgrade testing of demos from the outgoing stable to the new release, and new release from scratch before officially marking the new release as stable. -title: "chore(tracking): Test demos on nightly versions for YY.M.X" +title: "tracking: Test demos on nightly versions for YY.M.X" labels: ['epic'] assignees: '' --- diff --git a/.markdownlint.yaml b/.markdownlint.yaml index dbfa4558..39709497 100644 --- a/.markdownlint.yaml +++ b/.markdownlint.yaml @@ -18,3 +18,9 @@ MD013: MD024: # Only check sibling headings siblings_only: true + +# MD033 - no-inline-html +MD033: + allowed_elements: + - details + - summary