Skip to content

Commit b4f1fe3

Browse files
Add a new page on how to restart a pod on Kubernetes (#2618)
1 parent 94ce45a commit b4f1fe3

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

modules/ROOT/content-nav.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
** xref:kubernetes/operations/index.adoc[]
6262
*** xref:kubernetes/operations/maintenance-mode.adoc[]
6363
*** xref:kubernetes/operations/reset-password.adoc[]
64+
*** xref:kubernetes/operations/change-configuration.adoc[]
6465
*** xref:kubernetes/operations/dump-load.adoc[]
6566
*** xref:kubernetes/operations/backup-restore.adoc[]
6667
*** xref:kubernetes/operations/upgrade.adoc[]

modules/ROOT/pages/kubernetes/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ This chapter describes the following:
2828
* xref:kubernetes/operations/index.adoc[Operations] -- Perform operations on a Neo4j deployment running on Kubernetes.
2929
** xref:kubernetes/operations/maintenance-mode.adoc[Maintenance mode]
3030
** xref:kubernetes/operations/reset-password.adoc[Reset the neo4j user password]
31+
** xref:kubernetes/operations/change-configuration.adoc[Make a configuration change]
3132
** xref:kubernetes/operations/dump-load.adoc[Dump and load databases (offline)]
3233
** xref:kubernetes/operations/backup-restore.adoc[Back up and restore a single database (online)]
3334
** xref:kubernetes/operations/upgrade.adoc[Upgrade Neo4j on Kubernetes]
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
:description: The page describes how to restart Neo4j pods after modifying ConfigMaps or secrets.
2+
3+
= Make a configuration change
4+
5+
When you update ConfigMaps or secrets (for example, updating GDS or Bloom license values), you have to restart your Neo4j pod so that the changes take effect.
6+
7+
You have two options for restarting:
8+
9+
* To run the `kubectl delete pod` command as follows:
10+
+
11+
[source, shell]
12+
----
13+
kubectl delete pod <pod_name>
14+
----
15+
+
16+
You manually delete the Neo4j pod.
17+
Kubernetes will automatically recreate it with the updated configuration.
18+
19+
* To use the `kubectl rollout restart` command:
20+
+
21+
[source, shell]
22+
----
23+
kubectl rollout restart statefulset/<neo4j-statefulset-name>
24+
----
25+
+
26+
A rollout restart means a gradual recreation of a pod — the old pod is not removed entirely until the new pod is running successfully.
27+
This process is safer and ensures that your application remains available throughout the restart process.
28+
29+
30+
If you need to change Neo4j password, see xref:kubernetes/operations/reset-password.adoc[].
31+
32+
For information on how to install and manage plugins, refer to the xref:kubernetes/plugins.adoc[].
33+

modules/ROOT/pages/kubernetes/operations/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ It covers the following topics:
88

99
* xref:kubernetes/operations/maintenance-mode.adoc[Maintenance mode]
1010
* xref:kubernetes/operations/reset-password.adoc[Reset the neo4j user password]
11+
* xref:kubernetes/operations/change-configuration.adoc[Make a configuration change]
1112
* xref:kubernetes/operations/dump-load.adoc[Dump and load databases (offline)]
1213
* xref:kubernetes/operations/backup-restore.adoc[Back up and restore a single database (online)]
1314
* xref:kubernetes/operations/upgrade.adoc[Upgrade Neo4j on Kubernetes]

0 commit comments

Comments
 (0)