hugoprudente / ansible-role-envoyproxy Goto Github PK
View Code? Open in Web Editor NEWAnsible Role for Envoy Proxy
License: Apache License 2.0
Ansible Role for Envoy Proxy
License: Apache License 2.0
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Today we cover only 3 distributions on it's latest version.
This issue is to track the improvement and add other distros as:
And maybe other distros heavily used on servers too, open to suggestions.
Describe the solution you'd like
Add the HA Setup for 2+ nodes using pace_maker for failover + extras
Describe alternatives you've considered
We can also add keepalived for an networking layer, but I think the application level is enough for how the Envoy Proxy works.
Log rotate is failing the configuration due to the name of the configuration.
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
Some companies are using containers to deploy all the applications and managing it with Ansible similar to what Kolla does for Openstack.
The idea is to use the official container provided by EnvoyProxy or use a regsitry entry and start the container using 2 alternatives:
Using docker-compose for both.
Is your feature request related to a problem? Please describe.
Yes, due to the simple prepare.yml used I have hardcoded the tests to debian10 (buster).
This causes the MOLECULE_DISTRO not to be used creating a 2 false tests regarding on the GitHubActions matrix.
Describe the solution you'd like
Use the community roles to install and manage docker/podman to improve the prepare.yml and expand and cover to all distributions.
When running this using the playbook in the tests directory... I receive this error:
amazon-ebs: TASK [envoy : Copy templates to default directory] *****************************
amazon-ebs: An exception occurred during task execution. To see the full traceback, use -vvv.
The error was: ansible.errors.AnsibleUndefinedVariable: 'dict object' has no attribute 'backends'.
'dict object' has no attribute 'backends'
amazon-ebs: failed: [127.0.0.1] (item={'src': 'envoy.yaml.j2', 'dest': '/etc/envoy/envoy.yaml'}) => {"ansible_loop_var": "item", "changed": false, "item": {"dest": "/etc/envoy/envoy.yaml", "src": "envoy.yaml.j2"},
"msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'backends'. 'dict object' has no attribute 'backends'"}
How should backends be defined? Can you include that in the tests/test.yml playbook?
Ubuntu 20.04
TASK [hugoprudente.envoyproxy : (Debian/Ubuntu) Configure Envoy Proxy repository] ************************************************************************************************************************************************
failed: [kochan_vm_20] (item=deb [arch=amd64] https://dl.bintray.com/tetrate/getenvoy-deb focal stable) => {"ansible_loop_var": "item", "changed": false, "item": "deb [arch=amd64] https://dl.bintray.com/tetrate/getenvoy-deb focal stable", "msg": "Failed to update apt cache: E:Failed to fetch https://dl.bintray.com/tetrate/getenvoy-deb/dists/focal/InRelease 403 Forbidden [IP: 34.209.123.136 443], E:The repository 'https://dl.bintray.com/tetrate/getenvoy-deb focal InRelease' is not signed."}
Describe the bug
Create the envoyproxy.system.conf.j2
to be able to manipulate the fields
Additional context
Today the envoy proxy is starting with only 1 worker and this can be improved.
Also needs to add this to the container test in molecule to ensure that the behaviour is 100% covered in the tests.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.