Ryan Petrello
50f9c70afd
remove references to the (now defunct) fact receiver
2019-05-01 23:48:05 -04:00
Shane McDonald
298eaa0b32
Move secret key from configmap to secret
2019-03-29 15:24:50 -04:00
Shane McDonald
fcf6b4ae45
Fix bug where init scripts didnt create the admin user correctly
2019-03-27 19:43:47 -04:00
Shane McDonald
2b6cf97157
Do not set credentials via environment variables
2019-03-26 15:13:28 -04:00
Ryan Petrello
eed94b641e
add a custom DB backend that provides system-level SQL profiling
...
run this command on _any_ node in an awx cluster:
$ awx-manage profile_sql --threshold=2.0 --minutes=1
...and for 1 minute, the timing for _every_ SQL query in _every_ awx
Python process that uses the Django ORM will be measured
queries that run longer than (in this example) 2 seconds will be
written to a per-process sqlite database in /var/lib/awx/profile, and
the file will contain an EXPLAIN VERBOSE for the query and the full
Python stack that led to that SQL query's execution (this includes not
just WSGI requests, but background processes like the runworker and
dispatcher)
$ awx-manage profile_sql --threshold=0
...can be used to disable profiling again (if you don't want to wait for
the minute to expire)
2019-02-14 15:04:46 -05:00
softwarefactory-project-zuul[bot]
5f01c3f5a8
Merge pull request #2994 from coreywan/pod-limits
...
Add POD Limits
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-18 04:28:11 +00:00
Corey Wanless
aebeeb170e
adds pod limits
...
Signed-off-by: Corey Wanless <corey.wanless@wwt.com>
2019-01-16 09:23:18 -06:00
Shane McDonald
04da4503db
Python 3 / Upstream Kubernetes
2019-01-15 14:09:05 -05:00
Ryan Petrello
4858868428
configure an HA policy for openshift/k8s installs
2018-12-14 14:08:30 -05:00
James Evans
88819ada6b
Remove .cluster.local from service name for rabbitmq
...
FQDNs are not required for service discovery, and having the FQDN in the
name prevents the discovery from working in clusters not named
cluster.local.
2018-10-18 14:00:05 -05:00
Ashley Nelson
2bf2412759
Add serviceName to Kubernetes StatefulSet spec
...
Signed-off-by: Ashley Nelson <fantashley@gmail.com>
2018-10-11 11:49:08 -05:00
Shane McDonald
ee1d5e43b9
Fix fallout from https://github.com/ansible/awx/pull/2392
...
There were some upstream changes that I overwrote but shouldn’t have.
2018-10-10 11:41:34 -04:00
Shane McDonald
b9279ebd5e
Port downstream installer changes
2018-10-09 14:39:39 -04:00
Shane McDonald
2b9954c373
Pull in downstream k8s installer changes
...
- Secretification of secret stuff
- Backup / restore
2018-08-14 12:37:19 -04:00
Matthew Jones
4dcd379d1e
Add some env variables to the web deployment
...
This allows the start script to properly wait on services to come
online rather than getting stuck and waiting for the full timeout
2018-08-13 13:27:00 -04:00
Matthew Jones
72f2994cc5
Merge branch 'release_3.3.0' into devel
2018-05-17 16:07:47 -04:00
AlanCoding
59744e421f
send our oddball loggers to external logger too
2018-05-02 15:33:58 -04:00
Shane McDonald
e5faf0798f
Always pull memcached image
2018-04-25 11:17:37 -04:00
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
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
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
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
84cd933702
Move installer roles into roles directory
...
Signed-off-by: Shane McDonald <me@shanemcd.com>
2018-03-22 14:34:03 -04:00