-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Devel (#290) * Set mesos_ip to 0.0.0.0 * Fix mesos elastic cluster * Set marathon_hostname * Add hybrid elastic cluster * Comment extra placement policies * Use vrouter role * Use vrouter role * Use dev-micafer branch * Fix typo * use master * Use VPN IPs * Use VPN IPs * Add setup task * Fix steps * Add VR example * Add Hybrid Kube example * Set indigovr role * Fix issues * Fix errors * Add hybrid elastic mesos cluster * Add hybrid elastic mesos cluster * Add hybrid elastic mesos cluster * Add hybrid elastic mesos cluster * Fix mesos artifacs * Fix mesos * Add VR dependencies * Add VR kube elastic cluster * Update custom_types.yaml * set token_type * set token_type * Change sla type * Add L2 nets examples * Add dhclient refresh step * Use mtu branch in indigovr * Use mtu branch in indigovr * Simplify version * Added support for marathon secrets and qcg job * Fixing artifacts branch * Add artifacts to Marathon type (#292) * Set indigovr master branch and set INDIGOVR_MTU param (#294) * Set indigovr master branch and set INDIGOVR_MTU param * Fix galaxy examples * Added metadata * Add DEEPaaS App * Added property enable_https in Marathon App type * Set DEEPaaS in the correct section (#298) * Fixing policy definitions Co-authored-by: Miguel Caballer <[email protected]>
- Loading branch information
1 parent
2a26c1a
commit a2083cf
Showing
31 changed files
with
1,949 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
- hosts: localhost | ||
connection: local | ||
roles: | ||
- role: indigo-dc.indigovr | ||
INDIGOVR_NODE_TYPE: centralpoint | ||
INDIGOVR_MTU: 1400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
- hosts: localhost | ||
connection: local | ||
roles: | ||
- role: indigo-dc.indigovr | ||
INDIGOVR_NODE_TYPE: standalone | ||
INDIGOVR_MTU: 1400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
- hosts: localhost | ||
connection: local | ||
roles: | ||
- role: indigo-dc.indigovr | ||
INDIGOVR_NODE_TYPE: vrouter | ||
INDIGOVR_MTU: 1400 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,62 @@ | ||
--- | ||
- hosts: localhost | ||
connection: local | ||
roles: | ||
- role: indigo-dc.openvpn | ||
openvpn_type_of_node: 'wn' | ||
openvpn_frontname: 'kubeserver' | ||
tasks: | ||
- block: | ||
- name: Call IndigoVR role as standalone | ||
include_role: | ||
name: indigo-dc.indigovr | ||
vars: | ||
INDIGOVR_NODE_TYPE: standalone | ||
INDIGOVR_CENTRALPOINT_IP: '{{ kube_public_front_end_ip }}' | ||
INDIGOVR_MTU: 1400 | ||
|
||
- name: Refresh setup data to get new ansible_tun0 item | ||
setup: | ||
|
||
- name: Add host VPN IP in master | ||
replace: | ||
dest: /etc/hosts | ||
regexp: ".*{{ansible_hostname}}.localdomain.*$" | ||
replace: "{{ansible_tun0.ipv4.address}} {{ansible_hostname}}.localdomain {{ansible_hostname}}" | ||
delegate_facts: True | ||
delegate_to: '{{ kube_public_front_end_ip }}' | ||
|
||
- name: Add Master VPN IP in host | ||
replace: | ||
dest: /etc/hosts | ||
regexp: ".*kubeserver.localdomain.*$" | ||
replace: "192.168.255.1 kubeserver.localdomain kubeserver" | ||
|
||
- name: Call NFS role as client in hybrid | ||
include_role: | ||
name: indigo-dc.nfs | ||
vars: | ||
nfs_mode: 'client' | ||
nfs_client_imports: [{ local: "/pv", remote: "/pv", server_host: "192.168.255.1" }] | ||
|
||
- name: Call Kubernetes role as WN | ||
include_role: | ||
name: indigo-dc.kubernetes | ||
vars: | ||
kube_type_of_node: 'wn' | ||
kube_server: '192.168.255.1' | ||
kube_api_server: '192.168.255.1' | ||
when: wn_hybrid_cluster | ||
- role: indigo-dc.nfs | ||
nfs_mode: 'client' | ||
nfs_client_imports: [{ local: "/pv", remote: "/pv", server_host: "10.8.0.1" }] | ||
when: wn_hybrid_cluster | ||
- role: indigo-dc.nfs | ||
nfs_mode: 'client' | ||
nfs_client_imports: [{ local: "/pv", remote: "/pv", server_host: "{{ kube_front_end_ip }}" }] | ||
|
||
- block: | ||
- name: Call NFS role as client | ||
include_role: | ||
name: indigo-dc.nfs | ||
vars: | ||
nfs_mode: 'client' | ||
nfs_client_imports: [{ local: "/pv", remote: "/pv", server_host: "{{ kube_front_end_ip }}" }] | ||
|
||
- name: Call Kubernetes role as WN | ||
include_role: | ||
name: indigo-dc.kubernetes | ||
vars: | ||
kube_type_of_node: 'wn' | ||
kube_server: '{{kube_front_end_ip}}' | ||
kube_api_server: '{{kube_front_end_ip}}' | ||
when: not wn_hybrid_cluster | ||
- role: 'indigo-dc.kubernetes' | ||
kube_type_of_node: 'wn' | ||
kube_server: '{{kube_front_end_ip}}' | ||
kube_api_server: '{{ kube_front_end_ip }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.