Skip to content

Commit 550d022

Browse files
authored
Merge pull request #512 from Suse-KevinKlinger/main
Adding upgrade guide for SAP edge
2 parents 167293c + 4fd62e9 commit 550d022

19 files changed

+721
-1
lines changed

adoc/SAP-EIC-General.adoc

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,33 @@ kubectl apply -f application-name-certificate.yaml
176176
When you deploy your applications via Helm Charts, you can use the generated certificate.
177177
In the Kubernetes Secret Certificate, three files are stored. These are the files _tls.crt_, _tls.key_ and _ca.crt_, which you can use in the _values.yaml_ file of your application.
178178
179-
# end::use-cert-manager[]
179+
# end::use-cert-manager[]
180+
181+
# tag::rancher-cleanup[]
182+
183+
While a *helm uninstall* will trigger the removal of the {rancher} components, it is known that timeouts may be execeeded and some components may remain on your cluster.
184+
Therefore we recommend to uninstall {rancher} fully from your Kubernetes cluster, by using the cleanup scipt at https://github.com/rancher/rancher-cleanup .
185+
186+
To run the script without cloning the repository, you can use the following command:
187+
188+
[source, bash]
189+
----
190+
kubectl create -f https://raw.githubusercontent.com/rancher/rancher-cleanup/refs/heads/main/deploy/rancher-cleanup.yaml
191+
----
192+
193+
To keep track of the deletion process, you can run:
194+
195+
[source, bash]
196+
----
197+
kubectl -n kube-system logs -l job-name=cleanup-job -f
198+
----
199+
200+
To verify the deletion was sucessfull, run the following commands where you should get an empty output:
201+
202+
[source, bash]
203+
----
204+
kubectl create -f https://raw.githubusercontent.com/rancher/rancher-cleanup/refs/heads/main/deploy/verify.yaml
205+
kubectl -n kube-system logs -l job-name=verify-job -f | grep -v "is deprecated"
206+
----
207+
208+
# end::rancher-cleanup[]

adoc/SAP-EIC-Harvester-main.adoc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,13 @@ At this point, you should be ready to deploy {eic}.
297297
Follow the instructions at https://help.sap.com/docs/integration-suite/sap-integration-suite/setting-up-and-managing-edge-integration-cell
298298
to install {eic} in your prepared environments.
299299

300+
++++
301+
<?pdfpagebreak?>
302+
++++
303+
304+
== Day 2 operations
305+
306+
include::SAP-Edge-Upgrade.adoc[tags=**, leveloffset=+1]
300307

301308
++++
302309
<?pdfpagebreak?>
@@ -329,6 +336,9 @@ include::SAP-EIC-General.adoc[tags=k8s-upload-certificates]
329336

330337
include::SAP-EIC-General.adoc[tags=use-cert-manager]
331338

339+
==== Fully removing {rancher}
340+
341+
include::SAP-EIC-General.adoc[tags=rancher-cleanup]
332342

333343

334344
++++

adoc/SAP-EIC-Main.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,14 @@ to install {eic} in your prepared environments.
248248
<?pdfpagebreak?>
249249
++++
250250

251+
== Day 2 operations
252+
253+
include::SAP-Edge-Upgrade.adoc[tags=!harvester, leveloffset=+1]
254+
255+
++++
256+
<?pdfpagebreak?>
257+
++++
258+
251259
[#Appendix]
252260
== Appendix
253261

@@ -274,6 +282,11 @@ include::SAP-EIC-General.adoc[tags=k8s-upload-certificates]
274282

275283
include::SAP-EIC-General.adoc[tags=use-cert-manager]
276284

285+
286+
==== Fully removing {rancher}
287+
288+
include::SAP-EIC-General.adoc[tags=rancher-cleanup]
289+
277290
++++
278291
<?pdfpagebreak?>
279292
++++

adoc/SAP-Edge-Registry.adoc

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
== Install the SUSE private Registry
2+
3+
4+
5+
=== Prerequisites
6+
7+
Make sure to have you meet the requirements for your desired setup:
8+
9+
* link:https://documentation.suse.com/en-us/cloudnative/suse-private-registry/html/private-registry/pr-deployment.html#pr-deployment-prerequisites[non-HA setups]
10+
* link:https://documentation.suse.com/en-us/cloudnative/suse-private-registry/html/private-registry/pr-deployment-ha.html#pr-deployment-ha-prerequisites[HA setups]
11+
12+
13+
== Deployment
14+
15+
16+
17+
[source, yaml]
18+
----
19+
expose:
20+
type: nodePort
21+
nodePort:
22+
annotations: {}
23+
labels: {}
24+
name: harbor
25+
ports:
26+
http:
27+
nodePort: 30002
28+
port: 80
29+
https:
30+
nodePort: 30003
31+
port: 443
32+
tls:
33+
auto:
34+
commonName: lu0411v9
35+
externalURL: https://lu0411v9
36+
harborAdminPassword: Harbor12345
37+
imagePullPolicy: IfNotPresent
38+
imagePullSecrets:
39+
- name: suse-registry
40+
----

0 commit comments

Comments
 (0)