Page MenuHomeDevCentral

Provide a PaaS front-end role
AbandonedPublic

Authored by dereckson on Jun 3 2020, 17:43.
Tags
None
Referenced Files
F53714256: D2293.id5779.diff
Sun, Oct 11, 18:15
F53681915: D2293.diff
Sun, Oct 11, 13:04
F53652388: D2293.id5779.diff
Sun, Oct 11, 09:21
F53638915: D2293.id5777.diff
Sun, Oct 11, 07:51
F53625746: D2293.diff
Sun, Oct 11, 05:57
F53614136: D2293.id5777.diff
Sun, Oct 11, 04:12
F53613796: D2293.id.diff
Sun, Oct 11, 04:08
Unknown Object (File)
Sat, Oct 10, 17:07
Subscribers
None

Details

Summary

Currently, each Docker engine software receives a nginx front-end.

This change consolidates them in a specific role, to allow to move
the Docker engines into the private part.

Ref T1616

Test Plan

Browse each vhost and ensure it serves a 200, not a 502/504.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
paas-docker-frontend
Build Status
Buildable 3567
Build 3816: arc lint + arc unit

Event Timeline

dereckson created this revision.

Hmmm, no autosave on this Atom

Date. No need for dirs variable.

roles/paas-frontend/nginx/config.sls
64
76

The issue with this idea is we've to load balance more than HTTP:

  • various XMPP ports for OpenFire
  • SSH port 5022 for DevCentral

Not currently in scope as:

  • most services switch to localhost or 172.27.27.5 to listen to services
  • we first need a correct load balancer solution, with keepalive
  • we also need to load balance non-HTTP ports (XMPP ports for openfire, 5022 for devcentral)
  • to rebase this change against webserver-core won't be efficient

Plan is instead to first create a general load balancer role, then move paas-docker nginx on it