-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase release quota in large tiers (#5184)
Increase from 1024 to 4096 and generate the tiers for both staging and production. KFLUXSPRT-1038 Signed-off-by: Hugo Ares <[email protected]>
- Loading branch information
Showing
41 changed files
with
5,455 additions
and
27 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
278 changes: 278 additions & 0 deletions
278
...sandbox/tiers/production/appstudio/tiertemplate-appstudio-tenant-234313038-234313038.yaml
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,278 @@ | ||
# ---------------------------------------------------------------- | ||
# Generated by cli - DO NOT EDIT | ||
# ---------------------------------------------------------------- | ||
|
||
apiVersion: toolchain.dev.openshift.com/v1alpha1 | ||
kind: TierTemplate | ||
metadata: | ||
name: appstudio-tenant-234313038-234313038 | ||
namespace: toolchain-host-operator | ||
spec: | ||
revision: 234313038-234313038 | ||
template: | ||
apiVersion: template.openshift.io/v1 | ||
kind: Template | ||
metadata: {} | ||
objects: | ||
- apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
annotations: | ||
openshift.io/description: ${SPACE_NAME} | ||
openshift.io/display-name: ${SPACE_NAME} | ||
openshift.io/requester: ${SPACE_NAME} | ||
labels: | ||
appstudio.redhat.com/workspace_name: ${SPACE_NAME} | ||
argocd.argoproj.io/managed-by: gitops-service-argocd | ||
name: ${SPACE_NAME}-tenant | ||
name: ${SPACE_NAME}-tenant | ||
- apiVersion: appstudio.redhat.com/v1alpha1 | ||
kind: Environment | ||
metadata: | ||
name: development | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
deploymentStrategy: AppStudioAutomated | ||
displayName: Development | ||
type: Non-POC | ||
- apiVersion: v1 | ||
kind: ResourceQuota | ||
metadata: | ||
name: compute-build | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
hard: | ||
limits.cpu: ${CPU_BUILD_LIMIT} | ||
limits.memory: ${MEMORY_BUILD_LIMIT} | ||
requests.cpu: ${CPU_BUILD_REQUEST} | ||
requests.memory: ${MEMORY_BUILD_REQUEST} | ||
scopes: | ||
- Terminating | ||
- apiVersion: v1 | ||
kind: ResourceQuota | ||
metadata: | ||
name: storage | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
hard: | ||
count/persistentvolumeclaims: ${COUNT_PVC} | ||
limits.ephemeral-storage: 50Gi | ||
requests.ephemeral-storage: 50Gi | ||
requests.storage: ${REQUEST_STORAGE} | ||
- apiVersion: v1 | ||
kind: ResourceQuota | ||
metadata: | ||
name: toolchain-crds | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
hard: | ||
count/spacerequests.toolchain.dev.openshift.com: "32" | ||
- apiVersion: v1 | ||
kind: ResourceQuota | ||
metadata: | ||
name: appstudio-crds | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
hard: | ||
count/applications.appstudio.redhat.com: ${COUNT_APPLICATION} | ||
count/componentdetectionqueries.appstudio.redhat.com: "512" | ||
count/components.appstudio.redhat.com: ${COUNT_COMPONENT} | ||
- apiVersion: v1 | ||
kind: ResourceQuota | ||
metadata: | ||
name: appstudio-crds-build | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
hard: | ||
count/buildpipelineselectors.appstudio.redhat.com: "512" | ||
- apiVersion: v1 | ||
kind: ResourceQuota | ||
metadata: | ||
name: appstudio-crds-gitops | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
hard: | ||
count/deploymenttargetclaims.appstudio.redhat.com: "32" | ||
count/deploymenttargetclasses.appstudio.redhat.com: "32" | ||
count/deploymenttargets.appstudio.redhat.com: "32" | ||
count/environments.appstudio.redhat.com: "512" | ||
count/promotionruns.appstudio.redhat.com: "512" | ||
- apiVersion: v1 | ||
kind: ResourceQuota | ||
metadata: | ||
name: appstudio-crds-integration | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
hard: | ||
count/integrationtestscenarios.appstudio.redhat.com: "512" | ||
count/snapshotenvironmentbindings.appstudio.redhat.com: "512" | ||
count/snapshots.appstudio.redhat.com: ${COUNT_SNAPSHOT} | ||
- apiVersion: v1 | ||
kind: ResourceQuota | ||
metadata: | ||
name: appstudio-crds-release | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
hard: | ||
count/internalrequests.appstudio.redhat.com: "4096" | ||
count/releaseplanadmissions.appstudio.redhat.com: "512" | ||
count/releaseplans.appstudio.redhat.com: "512" | ||
count/releases.appstudio.redhat.com: ${COUNT_RELEASE} | ||
count/releasestrategies.appstudio.redhat.com: "512" | ||
- apiVersion: v1 | ||
kind: ResourceQuota | ||
metadata: | ||
name: appstudio-crds-enterprisecontract | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
hard: | ||
count/enterprisecontractpolicies.appstudio.redhat.com: "512" | ||
- apiVersion: v1 | ||
kind: LimitRange | ||
metadata: | ||
name: resource-limits | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
limits: | ||
- default: | ||
cpu: 2000m | ||
memory: 2Gi | ||
defaultRequest: | ||
cpu: 100m | ||
memory: 256Mi | ||
type: Container | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
name: allow-same-namespace | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
ingress: | ||
- from: | ||
- podSelector: {} | ||
podSelector: {} | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
name: allow-from-openshift-ingress | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
ingress: | ||
- from: | ||
- namespaceSelector: | ||
matchLabels: | ||
network.openshift.io/policy-group: ingress | ||
podSelector: {} | ||
policyTypes: | ||
- Ingress | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
name: allow-from-openshift-monitoring | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
ingress: | ||
- from: | ||
- namespaceSelector: | ||
matchLabels: | ||
network.openshift.io/policy-group: monitoring | ||
podSelector: {} | ||
policyTypes: | ||
- Ingress | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
name: allow-from-codeready-workspaces-operator | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
ingress: | ||
- from: | ||
- namespaceSelector: | ||
matchLabels: | ||
network.openshift.io/policy-group: codeready-workspaces | ||
podSelector: {} | ||
policyTypes: | ||
- Ingress | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
name: allow-from-olm-namespaces | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
ingress: | ||
- from: | ||
- namespaceSelector: | ||
matchLabels: | ||
openshift.io/scc: anyuid | ||
podSelector: {} | ||
policyTypes: | ||
- Ingress | ||
- apiVersion: networking.k8s.io/v1 | ||
kind: NetworkPolicy | ||
metadata: | ||
name: allow-from-console-namespaces | ||
namespace: ${SPACE_NAME}-tenant | ||
spec: | ||
ingress: | ||
- from: | ||
- namespaceSelector: | ||
matchLabels: | ||
network.openshift.io/policy-group: console | ||
podSelector: {} | ||
policyTypes: | ||
- Ingress | ||
- apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: appstudio-pipeline | ||
namespace: ${SPACE_NAME}-tenant | ||
- apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: appstudio-pipelines-runner-rolebinding | ||
namespace: ${SPACE_NAME}-tenant | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: appstudio-pipelines-runner | ||
subjects: | ||
- kind: ServiceAccount | ||
name: appstudio-pipeline | ||
namespace: ${SPACE_NAME}-tenant | ||
- apiVersion: v1 | ||
data: {} | ||
kind: ConfigMap | ||
metadata: | ||
labels: | ||
config.openshift.io/inject-trusted-cabundle: "true" | ||
name: trusted-ca | ||
namespace: ${SPACE_NAME}-tenant | ||
parameters: | ||
- name: SPACE_NAME | ||
required: true | ||
- name: MEMORY_LIMIT | ||
value: 32Gi | ||
- name: MEMORY_REQUEST | ||
value: 32Gi | ||
- name: CPU_BUILD_LIMIT | ||
value: "120" | ||
- name: CPU_BUILD_REQUEST | ||
value: "60" | ||
- name: MEMORY_BUILD_LIMIT | ||
value: 128Gi | ||
- name: MEMORY_BUILD_REQUEST | ||
value: 64Gi | ||
- name: COUNT_PVC | ||
value: "90" | ||
- name: REQUEST_STORAGE | ||
value: 200Gi | ||
- name: COUNT_APPLICATION | ||
value: "512" | ||
- name: COUNT_COMPONENT | ||
value: "512" | ||
- name: COUNT_RELEASE | ||
value: "1024" | ||
- name: COUNT_SNAPSHOT | ||
value: "1024" | ||
tierName: appstudio | ||
type: tenant |
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
Oops, something went wrong.