Shane McDonald
cf5149ecf4
Use Deployment on Kubernetes
...
I messed this up when rebasing.
2018-04-18 10:28:50 -04:00
Shane McDonald
40d7751fbd
Remove image push logic from installer roles
...
I’m going to be reusing this code on the Tower side, and I’m trying to refactor some of the AWX specific bits out. There will probably be more to come, but this is a good start.
2018-04-16 19:01:43 -04:00
Shane McDonald
2b6fe7969f
Move rabbitmq and memcached images into variables
2018-04-16 17:43:15 -04:00
Shane McDonald
0786b41ac6
Allow for customizing kubernetes deployment name
2018-04-16 17:43:15 -04:00
Shane McDonald
479a56c6d3
Generalize variable names in installer
...
secret_key
2018-04-16 17:43:15 -04:00
Shane McDonald
e4a6fc55df
Remove unused variable from inventory
2018-04-16 15:51:36 -04:00
Shane McDonald
bebc37b3eb
Set kubernetes_namespace when deploying on OpenShift
...
kubernetes_namespace is referenced later it the role but may not be set if deploying on openshift
2018-04-16 15:51:36 -04:00
Shane McDonald
534b2f1601
Fix openshift_pg_emptydir logic
2018-04-16 15:51:36 -04:00
Shane McDonald
db02bd7531
Remove explicit nodePort declarations for RabbitMQ service
...
This lets Kubernetes handle the port mapping, which resolves a port collision issue when running multiple deployments of AWX in a single cluster.
2018-04-16 15:51:36 -04:00
Shane McDonald
e9ddf7b9db
Use a DeploymentConfig in OpenShift
2018-04-16 15:51:36 -04:00
Shane McDonald
3720c57c63
Fix whitespace issues with docker-compose jinja template
...
See https://github.com/ansible/awx/issues/1710
2018-04-11 11:06:34 -04:00
Matthew Jones
62e2be9c4b
Merge pull request #1722 from avantassel/devel
...
Added nginx_status to nginx.conf
2018-04-05 11:26:53 -04:00
Andrew Van Tassel
84329fc735
Update nginx.conf ( #1 )
...
* Update nginx.conf
Added nginx_status, Sysdig is relentless...
2018-04-03 11:24:30 -06:00
Ben Thomasson
43601be8a7
Removes --fake-initial from awx-manage migrate.
...
The --fake-initial option is no longer needed and can cause
application with an initial migration to fail as was seen
in the network_ui application.
2018-04-02 15:34:39 -04:00
Soumik Ghosh
41c3e69450
Bind mount to custom certs to
2018-04-02 14:23:23 -04:00
Shane McDonald
1ef7d73bc9
Customizable template for OpenShift PostgreSQL deployment
...
`oc new-app --template=postgresql-persistent` has been kind of a pain. It would attempt to create a Persistent Volume, but does not allow you to specify the storageClass.
This code assumes that a Persistent Volume is already available and will fail with a helpful error message if it is not.
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-28 16:25:43 -04:00
Shane McDonald
c8ea03e67b
Move rabbitmq_version out of inventory file
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-28 12:45:05 -04:00
Shane McDonald
935dc8bca7
Upgrade to RabbitMQ 3.7, remove need for etcd2
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-28 11:45:33 -04:00
Shane McDonald
98f5dc3fcc
Consolidate OpenShift and Kubernetes roles
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-28 11:36:08 -04:00
Shane McDonald
7002c6f1b1
Delete unused namespace file
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-27 10:57:22 -04:00
Shane McDonald
3072c3bd8d
Whitespace fix
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-27 10:57:22 -04:00
Jake McDermott
4a8f24becc
update reference to role file path to work with roles dir
2018-03-23 12:43:13 -04:00
Shane McDonald
84cd933702
Move installer roles into roles directory
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-22 14:34:03 -04:00
Antony PERIGAULT
3adcdb43ad
Replace deprecated -U option by --become-user
2018-03-21 12:28:27 +01:00
Martin Adler
ca7b6ad648
Corrected alternate dns servers entries
...
As lstrip_blocks: True was added, this broke the formating when adding alternate DNS servers within the template. Removing the extra white space removals within the if and endif statements fixed the resulting yml formating.
2018-03-19 21:08:52 +01:00
Ryan Petrello
a1f15362ab
Merge pull request #1575 from aperigault/fix_nginx_upstreams
...
Fix nginx upstreams
2018-03-16 14:53:48 -04:00
Antony PERIGAULT
8cf1c1a180
Fix nginx configuration to avoid ipv6 resolutions errors
2018-03-15 17:54:51 +01:00
Matthew Jones
3ba7095ba4
Fixing some issues defining resource requests in openshift and k8s
...
* Allow overriding all container resource requests by setting defaults/
* Fix an issue where template vars were reversed in the deployment config
* Remove `limit` usage to allow for resource ballooning if it's available
* Fix type error when using templated values in the config map for resources
2018-03-15 12:00:53 -04:00
Matthew Jones
cec77964ac
Merge pull request #1563 from matburt/container_cluster_capacity
...
Implement container-cluster aware capacity determination
2018-03-14 12:06:25 -07:00
Christian Adams
2abf4ccf3b
Merge pull request #1562 from rooftopcellist/python_saml_upgrade
...
add xmlsec flag to docker installs
2018-03-14 14:53:26 -04:00
Matthew Jones
b0cf4de072
Implement container-cluster aware capacity determination
...
* Added two settings values for declaring absolute cpu and memory
capacity that will be picked up by the capacity utility methods
* installer inventory variables for controlling the amount of cpu and
memory container requests/limits for the awx task containers
* Added fixed values for cpu and memory container requests for other
containers
* configmap uses the declared inventory variables to define the
capacity inputs that will be used by AWX to correspond to the same
inputs for requests/limits on the deployment.
2018-03-14 14:35:45 -04:00
Shane McDonald
2af085e1fe
Merge pull request #1552 from jffz/devel
...
Add ca_trust_dir to local docker installations
2018-03-14 14:32:55 -04:00
adamscmRH
8d460490c1
add xmlsec flag to docker installs
2018-03-14 14:28:35 -04:00
Alexander Bauer
709cb0ae2b
fixup! Add local_docker facility for bind-mounting ca-trust
2018-03-14 10:52:36 -04:00
Alexander Bauer
db8df5f724
Add local_docker facility for bind-mounting ca-trust
...
This implements one possible solution for #411 , but does not solve it for
Kubernetes or Openshift installations.
# Conflicts:
# installer/inventory
2018-03-14 10:52:36 -04:00
jeff
4fa0d2406a
Remove unneeded jinja endif
2018-03-14 15:16:26 +01:00
jeff
f9f91ecf81
Add ca_trust_dir to task image
2018-03-14 11:41:10 +01:00
jeff
aca74d05ae
Add 'ca_trust_dir' variable to allow Custom CA sharing between host and containers
2018-03-14 11:40:56 +01:00
chris meyers
a4859a929c
autoscale celery up to 50 workers
2018-03-12 15:36:15 -04:00
jeff
4972755ccb
Fix project_data_dir templating for local_docker install
2018-03-12 14:50:44 +01:00
jffz
ca27dee4fc
Fix dns and dns_search templating
...
Fix templating for dns and dns_search entries for both `awx_web` and `awx_task` images.
Multiple entries were templated in a oneliner style while docker-compose wanted them in a list style.
2018-03-09 11:04:26 +01:00
Shane McDonald
02102f5ba8
Fix container boots on AppArmor protected systems
...
Link https://github.com/ansible/awx/issues/1297
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-08 09:41:04 -05:00
Shane McDonald
2861397433
Set imagePullPolicy to Always
...
Not sure why we werent doing this before.
2018-03-08 09:41:04 -05:00
adamscmRH
0490bca268
add csrf & session settings
2018-03-07 09:32:24 -05:00
Matthew Jones
e99184656e
Apply rabbitmq and setting kubernetes changes post-celery rollback
2018-03-05 16:22:27 -05:00
Matthew Jones
105b82c436
Apply celery rollback changes to kubernetes configmap
2018-03-05 15:32:24 -05:00
Chris Meyers
f18d99d7a9
Merge pull request #1409 from chrismeyersfsu/openshift_runtime_rabbitmq_cookie
...
dynamically set rabbitmq cookie
2018-03-01 09:57:11 -05:00
chris meyers
9436e8ae25
dynamically set rabbitmq cookie
2018-03-01 09:23:45 -05:00
Shane McDonald
0e9a8d5592
Fix celery 3 broker url reference
2018-02-28 12:47:05 -05:00
Jake McDermott
877cde9a7f
add default cookie settings
2018-02-27 20:40:41 -05:00