-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Renamed component Base to Quay 2. Split HPA into multiple steps
- Loading branch information
1 parent
10d0ad4
commit efc86b3
Showing
7 changed files
with
139 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,114 +1,24 @@ | ||
--- | ||
apiVersion: quay.redhat.com/v1 | ||
kind: QuayRegistry | ||
metadata: | ||
finalizers: | ||
- quay-operator/finalizer | ||
name: hpa | ||
spec: | ||
components: | ||
- kind: clair | ||
managed: true | ||
- kind: clairpostgres | ||
managed: true | ||
- kind: quay | ||
managed: true | ||
- kind: postgres | ||
managed: true | ||
- kind: redis | ||
managed: true | ||
- kind: horizontalpodautoscaler | ||
managed: true | ||
- kind: objectstorage | ||
managed: true | ||
- kind: route | ||
managed: true | ||
- kind: mirror | ||
managed: true | ||
- kind: monitoring | ||
managed: true | ||
- kind: tls | ||
managed: true | ||
status: | ||
conditions: | ||
- message: Horizontal pod autoscaler found | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentHPAReady | ||
- message: Route admitted | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentRouteReady | ||
- message: ServiceMonitor and PrometheusRules created | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentMonitoringReady | ||
- message: Deployment hpa-quay-database healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentPostgresReady | ||
- message: Object bucket claim bound | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentObjectStorageReady | ||
- message: Clair component healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentClairReady | ||
- message: ClairPostgres component healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentClairPostgresReady | ||
- message: Using cluster wildcard certs | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentTLSReady | ||
- message: Deployment hpa-quay-redis healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentRedisReady | ||
- message: Quay component healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentBaseReady | ||
- message: Deployment hpa-quay-mirror healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentMirrorReady | ||
- message: All components reporting as healthy | ||
reason: HealthChecksPassing | ||
status: "True" | ||
type: Available | ||
- message: All registry components created | ||
reason: ComponentsCreationSuccess | ||
status: "True" | ||
type: ComponentsCreated | ||
- message: All objects created/updated successfully | ||
reason: ComponentsCreationSuccess | ||
status: "False" | ||
type: RolloutBlocked | ||
--- | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: hpa-clair-app | ||
status: | ||
currentReplicas: 2 | ||
desiredReplicas: 2 | ||
currentReplicas: 3 | ||
desiredReplicas: 3 | ||
--- | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: hpa-quay-app | ||
status: | ||
currentReplicas: 2 | ||
desiredReplicas: 2 | ||
currentReplicas: 3 | ||
desiredReplicas: 3 | ||
--- | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: hpa-quay-mirror | ||
status: | ||
currentReplicas: 2 | ||
desiredReplicas: 2 | ||
--- | ||
currentReplicas: 3 | ||
desiredReplicas: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: hpa-clair-app | ||
spec: | ||
minReplicas: 3 | ||
--- | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: hpa-quay-app | ||
spec: | ||
minReplicas: 3 | ||
--- | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: hpa-quay-mirror | ||
spec: | ||
minReplicas: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
--- | ||
apiVersion: quay.redhat.com/v1 | ||
kind: QuayRegistry | ||
metadata: | ||
finalizers: | ||
- quay-operator/finalizer | ||
name: hpa | ||
spec: | ||
components: | ||
- kind: clair | ||
managed: true | ||
- kind: clairpostgres | ||
managed: true | ||
- kind: quay | ||
managed: true | ||
- kind: postgres | ||
managed: true | ||
- kind: redis | ||
managed: true | ||
- kind: horizontalpodautoscaler | ||
managed: true | ||
- kind: objectstorage | ||
managed: true | ||
- kind: route | ||
managed: true | ||
- kind: mirror | ||
managed: true | ||
- kind: monitoring | ||
managed: true | ||
- kind: tls | ||
managed: true | ||
status: | ||
conditions: | ||
- message: Horizontal pod autoscaler found | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentHPAReady | ||
- message: Route admitted | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentRouteReady | ||
- message: ServiceMonitor and PrometheusRules created | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentMonitoringReady | ||
- message: Deployment hpa-quay-database healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentPostgresReady | ||
- message: Object bucket claim bound | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentObjectStorageReady | ||
- message: Clair component healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentClairReady | ||
- message: ClairPostgres component healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentClairPostgresReady | ||
- message: Using cluster wildcard certs | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentTLSReady | ||
- message: Deployment hpa-quay-redis healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentRedisReady | ||
- message: Quay component healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentQuayReady | ||
- message: Deployment hpa-quay-mirror healthy | ||
reason: ComponentReady | ||
status: "True" | ||
type: ComponentMirrorReady | ||
- message: All components reporting as healthy | ||
reason: HealthChecksPassing | ||
status: "True" | ||
type: Available | ||
- message: All registry components created | ||
reason: ComponentsCreationSuccess | ||
status: "True" | ||
type: ComponentsCreated | ||
- message: All objects created/updated successfully | ||
reason: ComponentsCreationSuccess | ||
status: "False" | ||
type: RolloutBlocked | ||
--- | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: hpa-clair-app | ||
spec: | ||
minReplicas: 2 | ||
--- | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: hpa-quay-app | ||
spec: | ||
minReplicas: 2 | ||
--- | ||
apiVersion: autoscaling/v1 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: hpa-quay-mirror | ||
spec: | ||
minReplicas: 2 |
File renamed without changes.