Verify the installation

  1. Check that the statefulset is OK.

    kubectl get statefulsets
    NAME               READY   AGE
    my-neo4j-release   1/1     2m11s
  2. Check that the pod is Running:

    kubectl get pods
    NAME                 READY   STATUS    RESTARTS   AGE
    my-neo4j-release-0   1/1     Running   0          16m
  3. Check that the pod logs look OK:

    kubectl exec my-neo4j-release-0 -- tail -n50 /logs/neo4j.log
    2021-07-28 12:45:50.267+0000 INFO  Command expansion is explicitly enabled for configuration
    2021-07-28 12:45:50.280+0000 INFO  Starting...
    2021-07-28 12:45:55.680+0000 INFO  ======== Neo4j 4.4.8 ========
    2021-07-28 12:46:00.006+0000 INFO  Bolt enabled on [0:0:0:0:0:0:0:0%0]:7687.
    2021-07-28 12:46:02.476+0000 INFO  Remote interface available at http://localhost:7474/
    2021-07-28 12:46:02.478+0000 INFO  Started.
  4. Check that the services look OK:

    kubectl get services
    NAME                     TYPE           CLUSTER-IP      EXTERNAL-IP    PORT(S)                                        AGE
    kubernetes               ClusterIP      10.112.0.1      <none>         443/TCP                                        28h
    my-neo4j-release         ClusterIP      10.112.10.159   <none>         7687/TCP,7474/TCP,7473/TCP                     41m
    my-neo4j-release-admin   ClusterIP      10.112.4.73     <none>         6362/TCP,7687/TCP,7474/TCP,7473/TCP            41m
    my-neo4j-release-neo4j   LoadBalancer   10.112.6.75     34.140.48.23   7474:31420/TCP,7473:31591/TCP,7687:31650/TCP   41m
  5. In a web browser, open the Neo4j Browser at http://<EXTERNAL-IP>:7474/browser.

  6. Use the automatically-generated password (as printed in the output of the helm install command) or the one you have configured in the my-neo4j.values.yaml file.

  1. Check that statefulset is OK.

    kubectl get statefulsets
    NAME               READY   AGE
    my-neo4j-release   1/1     5m11s
  2. Check that the PVC is OK (the STATUS must be Bound):

    kubectl get pvc
    NAME                       STATUS   VOLUME                CAPACITY   ACCESS MODES   STORAGECLASS   AGE
    data-my-neo4j-release -0   Bound    my-neo4j-release -pv   10Gi      RWO            manual         8m36s
  3. Check that the pod is READY:

    kubectl get pods
    NAME                  READY   STATUS       RESTARTS   AGE
    my-neo4j-release-0   1/1     Running      0          5m53s
  4. Check that the pod logs look OK:

    kubectl exec my-neo4j-release-0 -- tail -n50 /logs/neo4j.log
    Changed password for user 'neo4j'.
    Directories in use:
      home:         /var/lib/neo4j
      config:       /config/
      logs:         /data/logs
      plugins:      /var/lib/neo4j/plugins
      import:       /var/lib/neo4j/import
      data:         /var/lib/neo4j/data
      certificates: /var/lib/neo4j/certificates
      run:          /var/lib/neo4j/run
    Starting Neo4j.
    2021-06-02 17:38:27.791+0000 INFO  Command expansion is explicitly enabled for configuration
    2021-06-02 17:38:27.819+0000 INFO  Starting...
    2021-06-02 17:38:31.195+0000 INFO  ======== Neo4j 4.4.8 ========
    2021-06-02 17:38:34.168+0000 INFO  Initializing system graph model for component 'security-users' with version -1 and status UNINITIALIZED
    2021-06-02 17:38:34.188+0000 INFO  Setting up initial user from `auth.ini` file: neo4j
    2021-06-02 17:38:34.190+0000 INFO  Creating new user 'neo4j' (passwordChangeRequired=false, suspended=false)
    2021-06-02 17:38:34.205+0000 INFO  Setting version for 'security-users' to 2
    2021-06-02 17:38:34.214+0000 INFO  After initialization of system graph model component 'security-users' have version 2 and status CURRENT
    2021-06-02 17:38:34.223+0000 INFO  Performing postInitialization step for component 'security-users' with version 2 and status CURRENT
    2021-06-02 17:38:34.561+0000 INFO  Bolt enabled on 0.0.0.0:7687.
    2021-06-02 17:38:36.910+0000 INFO  Remote interface available at http://localhost:7474/
    2021-06-02 17:38:36.912+0000 INFO  Started.
  5. Check that the services look OK:

    kubectl get services
    NAME                     TYPE           CLUSTER-IP       EXTERNAL-IP   PORT(S)                                        AGE
    kubernetes               ClusterIP      10.96.0.1        <none>        443/TCP                                        3d1h
    my-neo4j-release         ClusterIP      10.103.103.142   <none>        7687/TCP,7474/TCP,7473/TCP                     2d8h
    my-neo4j-release-admin   ClusterIP      10.99.11.122     <none>        6362/TCP,7687/TCP,7474/TCP,7473/TCP            2d8h
    my-neo4j-release-neo4j   LoadBalancer   10.110.138.165   localhost     7474:31237/TCP,7473:32026/TCP,7687:32169/TCP   2d3h
  6. Use port forwarding to get access to the browser:

    kubectl port-forward svc/my-neo4j-release tcp-bolt tcp-http tcp-https
  7. In a web browser, open the Neo4j Browser at http://localhost:7474.

  8. Use the automatically-generated password (as printed in the output of the helm install command) or the one you have set up with the helm install command.