Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
= Uninstallation with Puppet LBs on cloudscale

:workflow: cloudscale-decommission-puppet-lbs

[abstract]
--
Steps to remove an OpenShift 4 cluster with Puppet LBs from https://cloudscale[cloudscale.ch].
--

[NOTE]
--
The commands are idempotent and can be retried if any of the steps fail.
--

[IMPORTANT]
--
Always follow the https://wiki.vshn.net/display/VINT/4-eye+data+deletion[4-eye data deletion] (Internal link) principle when decommissioning productive clusters.
--

include::partial$guided-setup-explanation.adoc[]

== Prerequisites

include::partial$cloudscale/prerequisites.adoc[]
* `emergency-credentials-receive` https://github.com/vshn/emergency-credentials-receive?tab=readme-ov-file#install-from-binary[Install instructions]
* `mc` >= `RELEASE.2024-01-18T07-03-39Z` https://docs.min.io/docs/minio-client-quickstart-guide.html[Minio client] (aliased to `mc` if necessary)

include::partial$guided-setup/cloudscale-decommission-puppet-lbs.adoc[]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Uninstallation on cloudscale

:provider: cloudscale
:workflow: cloudscale-decommission

[abstract]
--
Expand Down
49 changes: 49 additions & 0 deletions docs/modules/ROOT/pages/how-tos/cloudscale/install-puppet-lbs.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
= Install OpenShift 4 with Puppet-managed LBs on cloudscale.ch
:ocp-minor-version: 4.21
:k8s-minor-version: 1.34
:ocp-patch-version: {ocp-minor-version}.0
:workflow: cloudscale-puppet-lbs

[abstract]
--
Steps to install an OpenShift 4 cluster with Puppet-managed LBs. on https://cloudscale.ch[cloudscale.ch].

These steps follow the https://docs.openshift.com/container-platform/latest/installing/installing_bare_metal/installing-bare-metal.html[Installing a cluster on bare metal] docs to set up a user provisioned installation (UPI).
https://www.terraform.io[Terraform] is used to provision the cloud infrastructure.
--

[NOTE]
--
The commands are idempotent and can be retried if any of the steps fail.

The certificates created during bootstrap are only valid for 24h.
So make sure you complete these steps within 24h.
--

[NOTE]
====
If you're setting up a cluster that doesn't have special networking requirements, consider setting up a cluster without Puppet LBs.

See "xref:how-tos/cloudscale/install.adoc[]" for details.
====

== Starting situation

* You already have a Tenant and its git repository
* You have a CCSP Red Hat login and are logged into https://cloud.redhat.com/openshift/install/metal/user-provisioned[Red Hat Openshift Cluster Manager]
+
IMPORTANT: Don't use your personal account to login to the cluster manager for installation.
* You want to register a new cluster in Lieutenant and are about to install Openshift 4 on cloudscale.ch

== Guided Setup

include::partial$guided-setup-explanation.adoc[]

== Prerequisites

include::partial$install/prerequisites.adoc[]
* `mc` >= `RELEASE.2024-01-18T07-03-39Z` https://docs.min.io/docs/minio-client-quickstart-guide.html[Minio client] (aliased to `mc` if necessary)
* `aws` CLI https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html[Official install instructions].
You can also install the Python package with your favorite package manager (we recommend https://docs.astral.sh/uv/[`uv`]: `uv tool install awscli`).

include::partial$guided-setup/cloudscale-puppet-lbs.adoc[]
15 changes: 11 additions & 4 deletions docs/modules/ROOT/pages/how-tos/cloudscale/install.adoc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
= Install OpenShift 4 on cloudscale.ch
:ocp-minor-version: 4.20
:k8s-minor-version: 1.33
:ocp-minor-version: 4.21
:k8s-minor-version: 1.34
:ocp-patch-version: {ocp-minor-version}.0
:provider: cloudscale
:workflow: cloudscale

[abstract]
--
Steps to install an OpenShift 4 cluster on https://cloudscale.ch[cloudscale.ch].
Steps to install an OpenShift 4 cluster without Puppet-managed LBs on https://cloudscale.ch[cloudscale.ch].

These steps follow the https://docs.openshift.com/container-platform/latest/installing/installing_bare_metal/installing-bare-metal.html[Installing a cluster on bare metal] docs to set up a user provisioned installation (UPI).
https://www.terraform.io[Terraform] is used to provision the cloud infrastructure.
Expand All @@ -20,6 +20,13 @@ The certificates created during bootstrap are only valid for 24h.
So make sure you complete these steps within 24h.
--

[NOTE]
====
If you're setting up a cluster that has more demanding routing requirements, consider setting up a cluster with Puppet LBs.

See "xref:how-tos/cloudscale/install-puppet-lbs.adoc[]" for details.
====

== Starting situation

* You already have a Tenant and its git repository
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/how-tos/exoscale/decommission.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Uninstallation on Exoscale

:provider: exoscale
:workflow: exoscale-decommission

[abstract]
--
Expand Down
7 changes: 3 additions & 4 deletions docs/modules/ROOT/pages/how-tos/exoscale/install.adoc
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
= Installation on Exoscale
:ocp-minor-version: 4.20
:k8s-minor-version: 1.33
:ocp-minor-version: 4.21
:k8s-minor-version: 1.34
:ocp-patch-version: {ocp-minor-version}.0
:provider: exoscale
:kubectl_extra_args:
:workflow: exoscale

[abstract]
--
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/how-tos/openstack/install.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Install OpenShift 4 on OpenStack
:ocp-minor-version: 4.20
:k8s-minor-version: 1.33
:ocp-minor-version: 4.21
:k8s-minor-version: 1.34
:ocp-patch-version: {ocp-minor-version}.0
:provider: openstack

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/how-tos/vsphere/install.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Install OpenShift 4 on vSphere
:ocp-minor-version: 4.20
:k8s-minor-version: 1.33
:ocp-minor-version: 4.21
:k8s-minor-version: 1.34
:ocp-patch-version: {ocp-minor-version}.0
:provider: vsphere

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/partials/guided-setup-explanation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To run the workflows detailed below, simply source the above aliases and run:

[source,bash,subs="attributes"]
----
guided-setup run {provider}
guided-setup run {workflow}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💛

----

[NOTE]
Expand Down
4 changes: 4 additions & 0 deletions docs/modules/ROOT/partials/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
*** xref:oc4:ROOT:references/cloudscale/architecture.adoc[Architecture]
*** xref:oc4:ROOT:references/cloudscale/config.adoc[Configuration]
*** xref:oc4:ROOT:how-tos/cloudscale/install.adoc[Install]
*** xref:oc4:ROOT:how-tos/cloudscale/install-puppet-lbs.adoc[Install with Puppet LBs]
// Node management
*** xref:oc4:ROOT:how-tos/cloudscale/add_node.adoc[]
*** xref:oc4:ROOT:how-tos/cloudscale/update_compute_flavors.adoc[Update compute flavors]
Expand All @@ -51,6 +52,7 @@
*** xref:oc4:ROOT:how-tos/cloudscale/recover-etcd.adoc[Restore etcd]
*** xref:oc4:ROOT:how-tos/cloudscale/restore-pv-pvc-from-object-backup.adoc[]
*** xref:oc4:ROOT:how-tos/cloudscale/decommission.adoc[Decommissioning]
*** xref:oc4:ROOT:how-tos/cloudscale/decommission-puppet-lbs.adoc[Decommissioning with Puppet LBs]
*** xref:oc4:ROOT:how-tos/cloudscale/rotate-api-tokens.adoc[Rotate API Tokens]

** Exoscale
Expand Down Expand Up @@ -104,6 +106,7 @@
** cloudscale.ch
*** xref:oc4:ROOT:references/cloudscale/config.adoc[Configuration]
*** xref:oc4:ROOT:how-tos/cloudscale/install.adoc[Install]
*** xref:oc4:ROOT:how-tos/cloudscale/install-puppet-lbs.adoc[Install with Puppet LBs]

** Exoscale
*** xref:oc4:ROOT:references/exoscale/config.adoc[Configuration]
Expand Down Expand Up @@ -266,6 +269,7 @@

* Decommissioning
** xref:oc4:ROOT:how-tos/cloudscale/decommission.adoc[cloudscale.ch]
** xref:oc4:ROOT:how-tos/cloudscale/decommission-puppet-lbs.adoc[cloudscale.ch with Puppet LBs]
** xref:oc4:ROOT:how-tos/exoscale/decommission.adoc[Exoscale]
** xref:oc4:ROOT:how-tos/destroy/gcp.adoc[Google Compute Cloud]

Expand Down
Loading