Commit 1df38a46 authored by Sergio Gimenez's avatar Sergio Gimenez
Browse files

Add home and remote

parent 845a3141
Loading
Loading
Loading
Loading

.ansible/.lock

0 → 100644
+0 −0

Empty file added.

+3 −1
Original line number Diff line number Diff line
{
    "ansible.python.interpreterPath": "/bin/python"
    "ansible.python.interpreterPath": "./venv/bin/python",
    "ansible.ansibleLint.path": "./venv/bin/ansible-lint",
    "python-envs.pythonProjects": []
}
 No newline at end of file
+15 −0
Original line number Diff line number Diff line
@@ -48,6 +48,21 @@ nodes:
        hostPort: 30088
        listenAddress: "0.0.0.0"
        protocol: TCP
      # Remote Federation Manager
      - containerPort: 30990
        hostPort: 30990
        listenAddress: "0.0.0.0"
        protocol: TCP
      # Remote Keycloak
      - containerPort: 30083
        hostPort: 30083
        listenAddress: "0.0.0.0"
        protocol: TCP
      # Remote MongoDB
      - containerPort: 30018
        hostPort: 30018
        listenAddress: "0.0.0.0"
        protocol: TCP
  - role: worker
  - role: worker
containerdConfigPatches:
+18 −0
Original line number Diff line number Diff line
@@ -31,6 +31,9 @@ federation_manager_nodeport: 30989
keycloak_nodeport: 30082
homer_nodeport: 30088
mongodb_nodeport: 30017
remote_federation_manager_nodeport: 30990
remote_keycloak_nodeport: 30083
remote_mongodb_nodeport: 30018

# Port mappings - using parameterized NodePorts to avoid duplication
port_mappings:
@@ -94,6 +97,21 @@ port_mappings:
    host_port: "{{ homer_nodeport }}"
    listen_address: "{{ api_server_address }}"
    protocol: TCP
  - name: "Remote Federation Manager"
    container_port: "{{ remote_federation_manager_nodeport }}"
    host_port: "{{ remote_federation_manager_nodeport }}"
    listen_address: "{{ api_server_address }}"
    protocol: TCP
  - name: "Remote Keycloak"
    container_port: "{{ remote_keycloak_nodeport }}"
    host_port: "{{ remote_keycloak_nodeport }}"
    listen_address: "{{ api_server_address }}"
    protocol: TCP
  - name: "Remote MongoDB"
    container_port: "{{ remote_mongodb_nodeport }}"
    host_port: "{{ remote_mongodb_nodeport }}"
    listen_address: "{{ api_server_address }}"
    protocol: TCP

# Cluster nodes configuration
control_plane_nodes: 1
+7 −7
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ all:
      ansible_host: openop-dev-vm
      ansible_connection: ssh
      ansible_user: ubuntu
      ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
      ansible_ssh_common_args: "-o StrictHostKeyChecking=no"
      ansible_python_interpreter: /usr/bin/python3
      deployment_mode: remote
      host_ip: 192.168.123.188
@@ -22,7 +22,7 @@ all:
      ansible_host: openop-2
      ansible_connection: ssh
      ansible_user: ubuntu
      ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
      ansible_ssh_common_args: "-o StrictHostKeyChecking=no"
      ansible_python_interpreter: /usr/bin/python3
      deployment_mode: remote
      host_ip: 192.168.123.178
@@ -30,8 +30,8 @@ all:
  children:
    kind_cluster:
      hosts:
        openop_dev_vm:  # Remote VM
        # localhost:  # Local deployment
        openop_dev_vm:
        # localhost:

  vars:
    # Kind cluster configuration
Loading