Skip to content

Commit

Permalink
Merge pull request #623 from PasanT9/replica-420
Browse files Browse the repository at this point in the history
Revise docs about parameterizing deployment replicas
  • Loading branch information
PasanT9 authored Nov 26, 2024
2 parents 86a7e68 + d63b42b commit f776328
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion advanced/am-pattern-1/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ wso2:
dockerRegistry: "docker.wso2.com"
imageName: "wso2mi"
imageTag: "4.2.0.0"
# Number of deployment replicas
# Number of MI replicas
replicas: 2
strategy:
rollingUpdate:
Expand Down
4 changes: 2 additions & 2 deletions advanced/am-pattern-2/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ wso2:
dockerRegistry: "docker.wso2.com"
imageName: "wso2mi"
imageTag: "4.2.0.0"
# Number of deployment replicas
# Number of MI replicas
replicas: 2
strategy:
rollingUpdate:
Expand Down Expand Up @@ -233,7 +233,7 @@ am-pattern-1:
dockerRegistry: "docker.wso2.com"
imageName: "wso2mi"
imageTag: "4.2.0.0"
# Number of deployment replicas
# Number of MI replicas
replicas: 2
strategy:
rollingUpdate:
Expand Down
4 changes: 1 addition & 3 deletions advanced/am-pattern-3/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ wso2:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"

# Number of deployment replicas
# Number of Gateway replicas
replicas: 2

# Kubernetes RollingUpdate strategy configurations
Expand Down Expand Up @@ -212,8 +212,6 @@ wso2:
nginx.ingress.kubernetes.io/affinity: "cookie"
nginx.ingress.kubernetes.io/session-cookie-name: "route"
nginx.ingress.kubernetes.io/session-cookie-hash: "sha1"
# Number of deployment replicas
replicas: 2

resources:
# These are the minimum resource recommendations for running WSO2 API Management Control Plane deployment
Expand Down
1 change: 0 additions & 1 deletion advanced/am-pattern-4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ If you do not have an active WSO2 subscription, **do not change** the parameters
| `wso2.deployment.am.trafficmanager.livenessProbe.periodSeconds` | Period of the live-ness probe for API Manager Traffic manager profile | 10 |
| `wso2.deployment.am.trafficmanager.readinessProbe.initialDelaySeconds` | Initial delay for the readiness probe for API Manager Control Plane profile | 180 |
| `wso2.deployment.am.trafficmanager.readinessProbe.periodSeconds` | Period of the readiness probe for API Manager Control Plane profile | 10 |
| `wso2.deployment.am.trafficmanager.replicas` | Number of replicas of API Manager Traffic Manager to be started | 2 |
| `wso2.deployment.am.trafficmanager.resources.requests.memory` | The minimum amount of memory that should be allocated for running API Manager Traffic Manager | 2Gi |
| `wso2.deployment.am.trafficmanager.resources.requests.cpu` | The minimum amount of CPU that should be allocated for running API Manager Traffic Manager | 2000m |
| `wso2.deployment.am.trafficmanager.resources.limits.memory` | The maximum amount of memory that should be allocated for running API Manager Traffic Manager | 3Gi |
Expand Down
8 changes: 2 additions & 6 deletions advanced/am-pattern-4/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ wso2:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"

# Number of deployment replicas
# Number of Gateway replicas
replicas: 2

# Kubernetes RollingUpdate strategy configurations
Expand Down Expand Up @@ -177,8 +177,6 @@ wso2:
initialDelaySeconds: 180
# How often (in seconds) to perform the probe
periodSeconds: 10
# Number of deployment replicas
replicas: 2
resources:
# These are the minimum resource recommendations for running WSO2 API Management Control Plane deployment
# as per official documentation (https://apim.docs.wso2.com/en/latest/install-and-setup/install/installation-prerequisites/)
Expand Down Expand Up @@ -256,8 +254,6 @@ wso2:
nginx.ingress.kubernetes.io/affinity: "cookie"
nginx.ingress.kubernetes.io/session-cookie-name: "route"
nginx.ingress.kubernetes.io/session-cookie-hash: "sha1"
# Number of deployment replicas
replicas: 2

resources:
# These are the minimum resource recommendations for running WSO2 API Management Control Plane deployment
Expand Down Expand Up @@ -289,7 +285,7 @@ wso2:
dockerRegistry: "docker.wso2.com"
imageName: "wso2mi"
imageTag: "4.2.0.0"
# Number of deployment replicas
# Number of MI replicas
replicas: 2
strategy:
rollingUpdate:
Expand Down

0 comments on commit f776328

Please sign in to comment.