1
0
mirror of https://github.com/quay/quay.git synced 2026-01-27 18:42:52 +03:00
Commit Graph

78 Commits

Author SHA1 Message Date
Jordi Piriz
2a279dfe61 deploy: remove GRPC service from the deployment template (PROJQUAY-0000) (#4440)
Remove GRPC service from the deployment template
2025-11-03 11:01:16 -05:00
Ryan Wallace
2ce1bb434f fix(openshift-deploys): move DVO annotations to Deployment (PROJQUAY-9586) (#4389)
* fix(openshift-deploys): move DVO annotations to Deployment, add for anti affinity

* chore: update default annotation values to be more specific
2025-10-21 15:14:47 -04:00
Jordi Piriz
8488ec9fc8 fix: ROSA deployment template improvements (PROJQUAY-0000) (#4177)
Rosa template improvements
2025-08-21 15:29:28 -04:00
Jordi Piriz
e35bb73640 deploy: create a dedicated template for ROSA deployment (PROJQUAY-0000) (#4171)
Add a dedicated template for ROSA deployment (PROIJQUAY-0000)
2025-08-06 14:01:05 -04:00
Sunandadadi
e72688f133 healthchecks: Use httpGet for liveness and readiness probe checks (PROJQUAY-8747) (#4095) 2025-07-01 13:40:08 -04:00
Sunandadadi
049a444a38 healthchecks: Use httpGet for liveness and readiness probe checks (PROJQUAY-8747) (#3864)
* Revert "Revert "healthchecks: Use httpGet for liveness and readiness probe ch…"

This reverts commit cce4ca4fe7.

* Update QUAY_APP_LIVENESS_PROBE_PERIOD_SECONDS to 30s
2025-06-27 15:47:52 -04:00
Sunandadadi
140ee4ab80 deploy: adding nodeselector for debug deployment (PROJQUAY-8954) (#3974) 2025-05-29 16:53:22 -04:00
Sunandadadi
5d27fd009d deploy: Adding graceful shutdown on pods (PROJQUAY-8760) (#3831)
* Revert "Revert "deploy: Adding graceful shutdown on pods (PROJQUAY-8760)" (#3…"

This reverts commit 1861b3ad10.

* adding nginx graceful shut down
2025-05-27 17:01:12 -04:00
Syed Ahmed
8052f75d88 deploy: remove anti-affinitfy for registry proxy (PROJQUAY-8839) (#3852)
Remove anti-affinity for reg proxy
2025-05-02 13:17:07 -04:00
Syed Ahmed
874b74a8fd deploy: add nodeselector to quay pods (PROJQUAY-8839) (#3851)
keep them seperate from reg proxy pods
2025-05-02 12:39:31 -04:00
Syed Ahmed
5e2132192d deploy: add anti-affinity for registry-proxy pods (PROJQUAY-8839) (#3838)
* deploy: add anti-affinity for registry-proxy pods (PROJQUAY-8839)

the registry proxy pods compete for CPU resources. Make sure
we don't schedule them with the quay pods

* update to use part-of
2025-04-30 11:55:50 -04:00
Sunandadadi
cce4ca4fe7 Revert "healthchecks: Use httpGet for liveness and readiness probe checks (PROJQUAY-8747)" (#3776)
Revert "healthchecks: Use httpGet for liveness and readiness probe checks (PR…"

This reverts commit ea1d18d457.
2025-04-11 11:32:45 -04:00
Sunandadadi
1861b3ad10 Revert "deploy: Adding graceful shutdown on pods (PROJQUAY-8760)" (#3775)
Revert "deploy: Adding graceful shutdown on pods (PROJQUAY-8760) (#3753)"

This reverts commit c25be58e23.
2025-04-11 10:29:38 -04:00
Sunandadadi
c25be58e23 deploy: Adding graceful shutdown on pods (PROJQUAY-8760) (#3753)
deploy: Adding graceful shutdown on pods
2025-03-31 14:09:50 -04:00
Sunandadadi
ea1d18d457 healthchecks: Use httpGet for liveness and readiness probe checks (PROJQUAY-8747) (#3743)
* Use httpget for liveness and readiness probe checks

* update liveness period seconds
2025-03-26 15:59:31 -04:00
Syed Ahmed
bb0a63322f deploy: update main deployment to add regitry worker count (PROJQUAY-6456) (#2546)
sets the number of registry workers in the primary deployment
2023-12-05 15:07:57 -05:00
Syed Ahmed
aab56e4397 deploy: fix health check endpoint for quay deployment (PROJQUAY-6456) (#2544)
variable is not expanded in health check. Use port directly
2023-12-05 13:37:27 -05:00
Syed Ahmed
6b3e14faf4 Add registry worker count to debug deployment (PROJQUAY-6456) (#2542)
for testing gunicorn worker count
2023-12-05 12:10:09 -05:00
Syed Ahmed
248ea77190 deploy: update deploy template add proxy port (PROJQUAY-6456) (#2539)
Update deploy template to use proxy-protocol port on the pods
for cases where we want to reach the LB directly
2023-12-04 15:59:19 -05:00
Syed Ahmed
2410c7a99c deploy: add web worker count to deployment (PROJQUAY-6453) (#2520)
This is to reduce the # of workers for web
2023-12-01 09:21:15 -05:00
Jonathan King
161a4717d2 quayio: Remove cpu limits (PROJQUAY-6440) (#2503)
- Remove cpu limits
- Add 'no cpu limits' annotations
2023-11-22 10:46:41 -05:00
Syed Ahmed
7284542f16 deploy: add DB pooling to py3 template (PROJQUAY-5550) (#2474) 2023-11-12 16:08:46 -05:00
Syed Ahmed
3f39a0fc6f deploy: Add connection pooling env variable (PROJQUAY-5550) (#2472)
Add connection pooling env variable (PROJQUAY-5550)
2023-11-12 14:45:52 -05:00
Adam Drew
02feee3efe frontend: Change frontend name so that correct paths will be generated (RHCLOUD-28385) (#2244)
Change frontend name so that correct paths will be generated
2023-09-21 08:39:20 -04:00
Syed Ahmed
ee2e12abd4 deploy: Add a startup probe to the py3 deployment (PROJQUAY-522) (#2149)
* deploy: Add a startup probe to the py3 deployment (PROJQUAY-522)

This is for cases where we have a long running
migraiton and we don't want to kill the pod mid migration

* add timeout
2023-08-29 11:43:30 -04:00
Brandon Caton
c93928f28f adding load balancer service to recovery deploy template (#1916) 2023-06-01 12:06:12 -04:00
Syed Ahmed
b7d95a180a build: Add template for deploying quayio frontend in console (PROJQUAY-5229) (#1835)
Adds the quayio-frontend-deploy-template.yaml for console dot deployment
2023-04-25 16:33:52 -04:00
Brandon Caton
d72b1bb3dc deploy: Allow for dynamic service names (PROJQUAY-5103) (#1759)
Allows for creation of separate services for multiple deployments.
2023-02-20 13:42:13 -05:00
Marcus Kok
aa78a8c80f deploy: add value for empty annotation (PROJQUAY-3860) (#1755) 2023-02-15 15:53:36 -05:00
Marcus Kok
a0ea7d7bf6 deploy: add annotation for disabling DVO check (PROJQUAY-3680) (#1753)
disable min replicas check for staging environment where we only have a single replica
2023-02-14 15:55:42 -05:00
Marcus Kok
b0b35184f9 deploy: add weight to anti-affinity (PROJQUAY-3684) (#1711)
fixing error on deploy:
`spec.template.spec.affinity.podAntiAffinity.preferredDuringSchedulingIgnoredDuringExecution[0].weight: Invalid value: 0: must be in the range 1-100`
2023-01-17 13:38:58 -05:00
Marcus Kok
45a40d4d6a deploy: add podAntiAffinity to deployment (PROJQUAY-3684) (#1700)
Adds pod anti-affinity in `quay-py3-app.yaml` according to https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity

Trying to address alert received for quay.io where pod anti-affinity is not set for deployment.
2023-01-11 15:41:24 -05:00
Syed Ahmed
ad4c13d713 deploy: Add deployment manifests for CloudFlare (PROJQUAY-3512) (#1604)
* Add deployment manifests for CloudFlare (PROJQUAY-3512)

Deployment files for cloudflare deployment for quay.io

* Update the key for matching
2022-11-02 10:48:04 -04:00
Syed Mushtaq Ahmed
6356fbb1b9 deploy: Add ignore validation for py3 deployment (PROJQUAY-2542) (#1121)
Add an environment variable to the deployment to disable config
validation
2022-02-17 10:56:33 -05:00
Syed Mushtaq Ahmed
d43b41c58a deploy: Add GRPC service for builds (PROJQUAY-3189) (#1109)
GRPC needs a different loadbalancer service for builders
The setting `BUILDMAN_HOSTNAME` will point to the new LB
2022-02-10 18:42:16 -05:00
Syed Mushtaq Ahmed
293e0619de deploy: Add LB service with no proxy-protocol (PROJQUAY-2883) (#1006)
This is required to support ALB. Without this service, the
default ELB endpoints forces the L4 proxy procotol which makes
Nginx see all the remote client IP as the IP of ALB. If the
request goes through an ELB without proxy-protocol enabled,
Nginx will parse the X-Forwarded-For header to get the remote
IP
2021-12-01 09:58:22 -05:00
Syed Mushtaq Ahmed
1589351b74 deploy: Add clair back fill worker deployment manifests (#991) 2021-11-19 14:29:22 -05:00
Syed Mushtaq Ahmed
01d4136406 deploy: Update syslog image tag(PROJQUAY-2374) (#966)
Set tag explicitly in the SaaS file
2021-11-09 12:21:14 -05:00
Syed Mushtaq Ahmed
7458578d1a deploy: Seperate py3 deployment manifests (PROJQUAY-2374) (#931)
This makes the deployment more readable via app-sre automation
2021-11-08 15:47:23 -05:00
Syed Mushtaq Ahmed
173dfbfc8a deploy: Update quay deployment manifests for py3 canary (PROJQUAY-2373) (#902)
This change adds the Deployment and Service resources required to
canary python3 in quay.io
2021-10-13 15:51:24 -04:00
Syed Mushtaq Ahmed
ce3cb357bd deploy: update component label value for recovery (PROJQUAY-970) (#832)
Adds new component label "app-recovery" for the recovery endpoint"
2021-07-12 10:57:07 -04:00
Syed Mushtaq Ahmed
d6616e9e1f deploy: Add recovery endpoint deployment manifests (PROJQUAY-970) (#831)
This change adds the deployment and service manifests for the recovery endpoint
that will be used for quay.io to recover accounts which have not already been
transitioned to RH SSO
2021-07-09 16:13:49 -04:00
Syed Mushtaq Ahmed
242d4defc7 deployment: Change canary to blue deployment (PROJQUAY-1896) (#781)
Updating from canary deployment to a blue-green style deployment
2021-05-05 20:12:06 -04:00
Syed Mushtaq Ahmed
080010e8cd deployment: Add image tag param to the deploy file (PROJQUAY-1896) (#759)
This change adds the parameter IMAGE_TAG_CANARY to the deployment
file quay-app.yaml to use a different image tag for the canary
deployment

Co-authored-by: Syed <syed@apache.org>
2021-04-20 17:09:02 -04:00
Syed Mushtaq Ahmed
03c610d510 deployment: Add canary deployment to quay-app (PROJQUAY-1896) (#754)
Adds a new deployment quay-app-canary to the deployment YAML file. This
will be picked up AppSRE when deploying quay.io. The canary deployment
can have a different image than the main deployment and can point to a
differnt config secret.

Co-authored-by: Syed <syed@apache.org>
2021-04-20 11:07:11 -04:00
Tejas Parikh
bb5e2b5672 added quay worker env vars (#427) 2020-06-05 16:19:26 -04:00
Tejas Parikh
32330d690c added quay worker params to openshift template (#426) 2020-06-05 16:12:40 -04:00
Tejas Parikh
994c0fe097 OpenShift deploy template updates for log shipper (#425)
This PR removes load balancer service that is no longer used. It also sets log stream name to pod name and makes ticker for syslog configurable.

[ci skip]
2020-06-05 16:09:10 -04:00
Maor Friedman
b2b2fa6e95 quay-app template - update apiVersions and remove default readOnly (#411) 2020-06-05 14:08:39 -04:00
Maor Friedman
4f847d0efa add ServiceAccount with imagePullSecrets (#408) 2020-06-03 12:16:55 -04:00