-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Prepare KEB for CN * wip * wip * wip * wip * wip * wip * wip * wip * missing new line * wip * wip * wip * Apply suggestions from code review Co-authored-by: Iwona Langer <iwona.langer@sap.com> * wip * wip * Update docs/README.md Co-authored-by: Iwona Langer <iwona.langer@sap.com> * Update docs/README.md Co-authored-by: Iwona Langer <iwona.langer@sap.com> --------- Co-authored-by: Iwona Langer <iwona.langer@sap.com>
- Loading branch information
1 parent
015fee1
commit 9077287
Showing
21 changed files
with
292 additions
and
22 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
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
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,37 @@ | ||
# Install KEB in the CN Region | ||
|
||
This guide will help you install KEB in the CN region. | ||
|
||
## Prerequisites | ||
|
||
- All necessary images pushed to the proper Docker registry. | ||
- Istio installed on the cluster. | ||
|
||
## Installation | ||
|
||
1. Set the proper values in the `sql.yaml`, especially the database password. | ||
|
||
2. Prepare a Secret with a kubeconfig to the Gardener project: | ||
|
||
```shell | ||
KCFG=`cat <file with kubeconfig>` | ||
kubectl create secret generic gardener-credentials --from-literal=kubeconfig=$KCFG -n kcp-system | ||
``` | ||
|
||
3. Prepare a Secret with credentials for the Docker registry. | ||
|
||
```shell | ||
kubectl create secret docker-registry k8s-ecr-login-renew-docker-secret --docker-server=<registry> --docker-username=<username> --docker-password=<password> --docker-email=<email> -n kcp-system | ||
``` | ||
|
||
4. Apply the following YAML file to install KEB: | ||
|
||
```shell | ||
kubectl apply -f sql.yaml | ||
``` | ||
|
||
5. Install the KEB chart: | ||
|
||
```shell | ||
helm install keb ../keb --namespace kcp-system -f values.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,12 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: kcp-postgresql | ||
namespace: kcp-system | ||
stringData: | ||
postgresql-broker-username: "postgres" | ||
postgresql-broker-password: <password> | ||
postgresql-broker-db-name: "postgres" | ||
postgresql-serviceName: "keb-database.cluster-cbakie0uyuvu.rds.cn-northwest-1.amazonaws.com.cn" | ||
postgresql-servicePort: "5432" | ||
postgresql-sslMode: disable |
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,119 @@ | ||
# This file contains values for KEB chart needed to install it in CN region. | ||
|
||
global: | ||
images: | ||
cloudsql_proxy_image: "europe-docker.pkg.dev/kyma-project/prod/tpi/cloudsql-docker/gce-proxy:v1.33.16-133356bc" | ||
container_registry: | ||
path: 113663649212.dkr.ecr.cn-northwest-1.amazonaws.com.cn/kcp-cn | ||
schema_migrator: | ||
dir: "" | ||
version: "v20240307-f250dc83" # do not update along with the other images | ||
kyma_environment_broker: | ||
dir: | ||
version: "1.8.2" | ||
database: | ||
cloudsqlproxy: | ||
enabled: false | ||
|
||
archiving: | ||
enabled: true | ||
dryRun: false | ||
cleaning: | ||
enabled: true | ||
dryRun: false | ||
|
||
avs: | ||
disabled: true | ||
|
||
broker: | ||
events: | ||
enabled: true | ||
binding: | ||
enabled: false | ||
|
||
|
||
dashboardConfig: | ||
enabled: true | ||
landscapeURL: https://dashboard.kyma.cloud.sap # **CN** | ||
|
||
edp: | ||
disabled: true | ||
|
||
enableKubeconfigURLLabel: true | ||
|
||
enablePlans: azure,gcp,azure_lite,aws,trial,free,sap-converged-cloud | ||
|
||
ias: | ||
disabled: true | ||
|
||
includeAdditionalParamsInSchema: true | ||
|
||
# must be configured | ||
kubeconfig: | ||
allowOrigins: https://dashboard.kyma.cloud.sap | ||
clientID: client-id-to-set | ||
issuerURL: https://kyma.accounts.ondemand.com | ||
|
||
kymaVersion: 2.20.0 | ||
lifecycleManager: | ||
disabled: true | ||
|
||
infrastructureManager: | ||
disabled: true | ||
|
||
|
||
oidc: | ||
client: client-id-to-set | ||
issuer: https://kyma.accounts.ondemand.com | ||
keysURL: https://kyma.accounts.ondemand.com/oauth2/certs | ||
|
||
osbUpdateProcessingEnabled: true | ||
provisioner: | ||
dumpRequests: false | ||
gardenerClusterStepTimeout: 3m | ||
runtimeAllowedPrincipals: |- | ||
- cluster.local/ns/kcp-system/sa/kcp-kyma-metrics-collector | ||
- cluster.local/ns/monitoring-system/sa/mop-agent | ||
serviceAccount: | ||
annotations: | ||
iam.gke.io/gcp-service-account: proxy-user@sap-ti-dx-kyma-mps-prod.iam.gserviceaccount.com | ||
serviceManager: | ||
overrideMode: "Always" | ||
|
||
showTrialExpirationInfo: true | ||
|
||
subaccountCleanup: | ||
enabled: false | ||
subaccountsIdsToShowTrialExpirationInfo: all | ||
|
||
|
||
trialCleanup: | ||
enabled: false | ||
freeCleanup: | ||
enabled: false | ||
runtimeReconciler: | ||
enabled: false | ||
deprovisionRetrigger: | ||
enabled: false | ||
|
||
subaccountSync: | ||
enabled: false | ||
|
||
metricsv2: | ||
enabled: true | ||
operationResultRetentionPeriod: 336h | ||
operationResultPoolingInterval: 1m | ||
operationStatsPoolingInterval: 1m | ||
onlyOneFreePerGA: true | ||
freemiumWhitelistedGlobalAccountIds: |- | ||
whitelist: | ||
- d9994f8f-7e46-42a8-b2c1-1bfff8d2fe05 | ||
showFreeExpirationInfo: true | ||
freeDocsURL: | ||
https://help.sap.com/docs/btp/sap-business-technology-platform/available-plans-in-kyma-environment | ||
|
||
|
||
serviceMonitor: | ||
enabled: false | ||
|
||
imagePullSecret: "k8s-ecr-login-renew-docker-secret" |
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.