Commit 93445a9a authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

Improve naming

parent bcc474b4
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@
  ansible.builtin.command: >
    kubectl get svc -n {{ i2edge_namespace }} i2edge
    -o jsonpath='{.spec.ports[0].nodePort}'
  register: i2edge_nodeport
  register: i2edge_nodeport_output
  changed_when: false
  failed_when: false
  environment:
@@ -106,15 +106,15 @@
      ==========================================

      Access i2edge:
        API: http://localhost:{{ i2edge_nodeport.stdout }}
        Swagger UI: http://localhost:{{ i2edge_nodeport.stdout }}/docs
        API: http://localhost:{{ i2edge_nodeport_output.stdout }}
        Swagger UI: http://localhost:{{ i2edge_nodeport_output.stdout }}/docs

      Test the API:
        curl http://localhost:{{ i2edge_nodeport.stdout }}
        curl http://localhost:{{ i2edge_nodeport_output.stdout }}

      Useful commands:
        kubectl get pods -n {{ i2edge_namespace }}
        kubectl logs -n {{ i2edge_namespace }} deployment/i2edge -f
        kubectl exec -it -n {{ i2edge_namespace }} deployment/i2edge -- /bin/bash
      ==========================================
  when: i2edge_nodeport.rc == 0
  when: i2edge_nodeport_output.rc == 0