Skip to content

Conversation

jseldess
Copy link
Contributor

  • Use helm upgrade for adding and removing nodes and cluster upgrades
  • Correct downgrade option for 19.1 k8s upgrade
  • Wrap commands to be more visible

Fixes #4689.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@cockroach-teamcity
Copy link
Member

@jseldess
Copy link
Contributor Author

@DuskEagle, sorry for including so many unrelated formatting changes in this PR.

The files to look at for the helm upgrade changes are:

  • kubernetes-upgrade-cluster.md
  • kubernetes-scale-cluster.md
  • kubernetes-remove-nodes-secure.md
  • kubernetes-remove-nodes-insecure.md

@jseldess jseldess force-pushed the kubernetes-helm-updates branch from 0937e8e to bb86a3f Compare May 14, 2019 19:56
@cockroach-teamcity
Copy link
Member

Copy link
Member

@DuskEagle DuskEagle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 7 of 14 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @DuskEagle and @jseldess)


_includes/v19.1/orchestration/kubernetes-remove-nodes-insecure.md, line 37 at r1 (raw file):

cockroachdb/cockroach:{{page.release_info.version}}

Maybe change to cockroachdb/cockroach:{{page.release_info.version}}?


_includes/v19.1/orchestration/kubernetes-scale-cluster.md, line 24 at r1 (raw file):

has been upgraded

I don't see this section showing up on the test website even when looking at the helm section


_includes/v19.1/orchestration/kubernetes-upgrade-cluster.md, line 143 at r1 (raw file):

    my-release-cockroachdb-0            1/1       Running             0          2m
    my-release-cockroachdb-1            1/1       Running             0          3m
    my-release-cockroachdb-1            1/1       Running             0          3m

cockroachdb-2


_includes/v19.1/orchestration/start-cockroachdb-helm-secure.md, line 154 at r1 (raw file):

    ~~~

7. Confirm that cluster initialization has completed successfully, with the pods for nodes showing `1/1` under `READY` and the pod for initialization showing `COMPLETED` under `STATUS`:

nodes is a little bit ambiguous here, since Kubernetes also has a concept of nodes. I might say the pods for cockroachdb.

- Use helm upgrade for adding and removing nodes and cluster upgrades
- Correct downgrade option for 19.1 k8s upgrade
- Wrap commands to be more visible

Fixes #4689.
@jseldess jseldess force-pushed the kubernetes-helm-updates branch from bb86a3f to aab4d2f Compare May 14, 2019 22:12
Copy link
Contributor Author

@jseldess jseldess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TFTR, @DuskEagle. Let me know if there's anything else.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @DuskEagle)


_includes/v19.1/orchestration/kubernetes-remove-nodes-insecure.md, line 37 at r1 (raw file):

Previously, DuskEagle (Joel Kenny) wrote…
cockroachdb/cockroach:{{page.release_info.version}}

Maybe change to cockroachdb/cockroach:{{page.release_info.version}}?

Done.


_includes/v19.1/orchestration/kubernetes-scale-cluster.md, line 24 at r1 (raw file):

Previously, DuskEagle (Joel Kenny) wrote…
has been upgraded

I don't see this section showing up on the test website even when looking at the helm section

Hmm, it shows up for me...

Screen Shot 2019-05-14 at 6.07.47 PM.png


_includes/v19.1/orchestration/kubernetes-upgrade-cluster.md, line 143 at r1 (raw file):

Previously, DuskEagle (Joel Kenny) wrote…

cockroachdb-2

Done.


_includes/v19.1/orchestration/start-cockroachdb-helm-secure.md, line 154 at r1 (raw file):

Previously, DuskEagle (Joel Kenny) wrote…

nodes is a little bit ambiguous here, since Kubernetes also has a concept of nodes. I might say the pods for cockroachdb.

Done.

@cockroach-teamcity
Copy link
Member

@jseldess jseldess requested a review from DuskEagle May 15, 2019 01:33
Copy link
Member

@DuskEagle DuskEagle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 6 of 14 files at r1, 3 of 3 files at r2.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @DuskEagle and @jseldess)

a discussion (no related file):
:lgtm:


@jseldess jseldess requested a review from Amruta-Ranade May 15, 2019 14:50
@jseldess
Copy link
Contributor Author

@Amruta-Ranade, ready for your review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade CockroachDB via Helm
3 participants