Initial render: k3s-dev environment
This commit is contained in:
@@ -0,0 +1,364 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: semantic-discovery
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: semantic-discovery
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: semantic-discovery-2.4.3-a
|
||||
name: semantic-discovery
|
||||
namespace: abinitio
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: semantic-discovery
|
||||
app.kubernetes.io/name: semantic-discovery
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: semantic-discovery
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: semantic-discovery
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: semantic-discovery-2.4.3-a
|
||||
name: semantic-discovery
|
||||
spec:
|
||||
containers:
|
||||
- args:
|
||||
- --ab-k8s-job-launch-script
|
||||
- /ab-setup/setup_pod.sh
|
||||
command:
|
||||
- ab-container-entrypoint.ksh
|
||||
env:
|
||||
- name: AB_AIR_ENCRYPTED_PASSWORD
|
||||
value: file=/secrets/aiadmin/password
|
||||
- name: AB_AIR_ROOT
|
||||
value: //eme-0.eme-headless/abinitio/eme/eme
|
||||
- name: AB_AIR_USER
|
||||
value: aiadmin
|
||||
- name: AB_ALLOW_FILE_LOCK_ON_REMOTE_FILE_SYSTEM
|
||||
value: "true"
|
||||
- name: AB_AUTHORIZATION_GATEWAY_URL
|
||||
value: http://authgateway:8080/authgateway
|
||||
- name: AB_BRIDGE_CONFIGURATION_DIR
|
||||
value: /abinitio/bridge
|
||||
- name: AB_BRIDGE_CONFIGURATION_NAME
|
||||
value: container-bridge
|
||||
- name: AB_CHARSET
|
||||
value: utf-8
|
||||
- name: AB_CONFIGURATION
|
||||
value: /config/pod/abinitiorc:/config/pod/apphubrc
|
||||
- name: AB_CONNECTION_BRIDGE_ENCRYPTED_RPC_ENCRYPTION_KEY
|
||||
value: file=/secrets/bridge/password
|
||||
- name: AB_CONNECTION_BRIDGE_PORT
|
||||
value: "7070"
|
||||
- name: AB_CONNECTION_BRIDGE_RPC_ENCRYPTION_TYPE
|
||||
value: aes128-gcm
|
||||
- name: AB_CONNECTION_BRIDGE_SECURITY_CONFIGURATION
|
||||
value: container-bridge-security
|
||||
- name: AB_HOSTNAME_KEYSERVER_URLS
|
||||
value: abks://key-server:6151
|
||||
- name: AB_IPV4_ONLY
|
||||
value: "true"
|
||||
- name: AB_K8S_MAX_IDLE_SECONDS
|
||||
value: "0"
|
||||
- name: AB_K8S_START_BRIDGE
|
||||
value: background
|
||||
- name: AB_K8S_START_REPORTER
|
||||
value: "true"
|
||||
- name: AB_KEY_DAEMON_DIR
|
||||
value: /tmp/abkc/data
|
||||
- name: AB_MHUB_ENCRYPTED_PASSWORD
|
||||
value: file=/secrets/aiadmin/password
|
||||
- name: AB_MHUB_URL
|
||||
value: http://metadatahub:8080/metadatahub
|
||||
- name: AB_MHUB_USERNAME
|
||||
value: aiadmin
|
||||
- name: AB_MUX_ENABLE_AG_CREDENTIAL_MAPPING
|
||||
value: "false"
|
||||
- name: AB_OPS_CONSOLE_URL
|
||||
value: http://controlcenter:8080/controlcenter
|
||||
- name: AB_OPS_WSS_ENCRYPTED_PASSWORD
|
||||
value: file=/secrets/ocagent/password
|
||||
- name: AB_OPS_WSS_USERNAME
|
||||
value: ocagent
|
||||
- name: AB_PASSWORD_KEY_FILE
|
||||
value: /secrets/password_key_file/password
|
||||
- name: BRIDGE_AB_ENCRYPTED_KEY
|
||||
value: file=/secrets/bridge/password
|
||||
- name: CC_ADMIN_ENCRYPTED_PASSWORD
|
||||
value: file=/secrets/aiadmin/password
|
||||
- name: CC_ADMIN_USERNAME
|
||||
value: aiadmin
|
||||
- name: CMAP_MOUNT
|
||||
value: /config/pod
|
||||
- name: DEPLOY_NAME
|
||||
value: semantic-discovery
|
||||
- name: LOAD_PHYSOBJECTS
|
||||
value: "true"
|
||||
- name: NAMESPACE
|
||||
value: abinitio
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: status.podIP
|
||||
- name: POD_LABEL
|
||||
value: 'abinitio/product: semantic-discovery, abinitio/deployment: semantic-discovery'
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: POD_SERVICE
|
||||
value: semantic-discovery
|
||||
- name: POD_SERVICE_HEADLESS
|
||||
value: semantic-discovery-headless
|
||||
- name: SD_CC_ENCRYPTED_PASSWORD
|
||||
value: file=/secrets/aiadmin/password
|
||||
- name: SD_CC_USERNAME
|
||||
value: aiadmin
|
||||
image: asia-southeast1-docker.pkg.dev/str-22391/cloudplatform-proxy/aidp/semantic-discovery:4.4.1.1-1
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: semantic-discovery
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- stat
|
||||
- /tmp/.pod.ready
|
||||
failureThreshold: 240
|
||||
periodSeconds: 10
|
||||
resources:
|
||||
limits:
|
||||
ephemeral-storage: 3Gi
|
||||
memory: 16Gi
|
||||
requests:
|
||||
cpu: "1"
|
||||
ephemeral-storage: 3Gi
|
||||
memory: 8Gi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
runAsGroup: 1000
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
volumeMounts:
|
||||
- mountPath: /config/pod
|
||||
name: pod-config
|
||||
- mountPath: /abinitio
|
||||
name: abinitio-local
|
||||
- mountPath: /secrets/aiadmin/password
|
||||
name: aiadmin
|
||||
subPath: password
|
||||
- mountPath: /secrets/ocagent/password
|
||||
name: ocagent
|
||||
subPath: password
|
||||
- mountPath: /secrets/bridge/password
|
||||
name: bridge
|
||||
subPath: password
|
||||
- mountPath: /secrets/eme_join_user/password
|
||||
name: eme-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/qi_join_user/password
|
||||
name: qi-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/dcs_utility_user/password
|
||||
name: dcs-utility-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/mhub_utility_user/password
|
||||
name: mhub-utility-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/ag_db_importer/password
|
||||
name: ag-db-importer
|
||||
subPath: password
|
||||
- mountPath: /secrets/admin/password
|
||||
name: admin
|
||||
subPath: password
|
||||
- mountPath: /secrets/ag_ui_importer/password
|
||||
name: ag-ui-importer
|
||||
subPath: password
|
||||
- mountPath: /secrets/cafe_join_user/password
|
||||
name: cafe-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/cc_join_user/password
|
||||
name: cc-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/dcs_join_user/password
|
||||
name: dcs-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/ei_join_user/password
|
||||
name: ei-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/mhub_join_user/password
|
||||
name: mhub-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/qiadmin_join_user/password
|
||||
name: qiadmin-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/sd_join_user/password
|
||||
name: sd-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/trw_join_user/password
|
||||
name: trw-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/mhub_db_importer/password
|
||||
name: mhub-db-importer
|
||||
subPath: password
|
||||
- mountPath: /secrets/mhub_ui_importer/password
|
||||
name: mhub-ui-importer
|
||||
subPath: password
|
||||
- mountPath: /secrets/ag_appserver/password
|
||||
name: ag-appserver
|
||||
subPath: password
|
||||
- mountPath: /secrets/ag_report/password
|
||||
name: ag-report
|
||||
subPath: password
|
||||
- mountPath: /secrets/cc_jdbc/password
|
||||
name: cc-jdbc
|
||||
subPath: password
|
||||
- mountPath: /secrets/dcs_hmac_key/password
|
||||
name: dcs-hmac-key
|
||||
subPath: password
|
||||
- mountPath: /secrets/abinitio/password
|
||||
name: abinitio
|
||||
subPath: password
|
||||
- mountPath: /secrets/mhub_appserver/password
|
||||
name: mhub-appserver
|
||||
subPath: password
|
||||
- mountPath: /secrets/mhub_report/password
|
||||
name: mhub-report
|
||||
subPath: password
|
||||
- mountPath: /secrets/runtime_locator_join_user/password
|
||||
name: runtime-locator-join-user
|
||||
subPath: password
|
||||
- mountPath: /secrets/password_key_file/password
|
||||
name: password-key-file
|
||||
subPath: password
|
||||
- mountPath: /ab_share
|
||||
name: ab-share-data-and-appconf-root
|
||||
- mountPath: /tmp
|
||||
name: tmp-volume
|
||||
hostAliases:
|
||||
- hostnames:
|
||||
- semantic-discovery.abinitio
|
||||
ip: 127.0.0.1
|
||||
hostname: semantic-discovery
|
||||
initContainers: null
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
fsGroupChangePolicy: OnRootMismatch
|
||||
runAsGroup: 1000
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
serviceAccountName: abinitio-sa
|
||||
terminationGracePeriodSeconds: 30
|
||||
volumes:
|
||||
- configMap:
|
||||
defaultMode: 511
|
||||
name: semantic-discovery
|
||||
name: pod-config
|
||||
- name: abinitio-local
|
||||
persistentVolumeClaim:
|
||||
claimName: semantic-discovery-claim
|
||||
- emptyDir: {}
|
||||
name: tmp-volume
|
||||
- name: aiadmin
|
||||
secret:
|
||||
secretName: aiadmin
|
||||
- name: ocagent
|
||||
secret:
|
||||
secretName: ocagent
|
||||
- name: bridge
|
||||
secret:
|
||||
secretName: bridge
|
||||
- name: eme-join-user
|
||||
secret:
|
||||
secretName: eme-join-user
|
||||
- name: qi-join-user
|
||||
secret:
|
||||
secretName: qi-join-user
|
||||
- name: dcs-utility-user
|
||||
secret:
|
||||
secretName: dcs-utility-user
|
||||
- name: mhub-utility-user
|
||||
secret:
|
||||
secretName: mhub-utility-user
|
||||
- name: ag-db-importer
|
||||
secret:
|
||||
secretName: ag-db-importer
|
||||
- name: admin
|
||||
secret:
|
||||
secretName: admin
|
||||
- name: ag-ui-importer
|
||||
secret:
|
||||
secretName: ag-ui-importer
|
||||
- name: cafe-join-user
|
||||
secret:
|
||||
secretName: cafe-join-user
|
||||
- name: cc-join-user
|
||||
secret:
|
||||
secretName: cc-join-user
|
||||
- name: dcs-join-user
|
||||
secret:
|
||||
secretName: dcs-join-user
|
||||
- name: ei-join-user
|
||||
secret:
|
||||
secretName: ei-join-user
|
||||
- name: mhub-join-user
|
||||
secret:
|
||||
secretName: mhub-join-user
|
||||
- name: qiadmin-join-user
|
||||
secret:
|
||||
secretName: qiadmin-join-user
|
||||
- name: sd-join-user
|
||||
secret:
|
||||
secretName: sd-join-user
|
||||
- name: trw-join-user
|
||||
secret:
|
||||
secretName: trw-join-user
|
||||
- name: mhub-db-importer
|
||||
secret:
|
||||
secretName: mhub-db-importer
|
||||
- name: mhub-ui-importer
|
||||
secret:
|
||||
secretName: mhub-ui-importer
|
||||
- name: ag-appserver
|
||||
secret:
|
||||
secretName: ag-appserver
|
||||
- name: ag-report
|
||||
secret:
|
||||
secretName: ag-report
|
||||
- name: cc-jdbc
|
||||
secret:
|
||||
secretName: cc-jdbc
|
||||
- name: dcs-hmac-key
|
||||
secret:
|
||||
secretName: dcs-hmac-key
|
||||
- name: abinitio
|
||||
secret:
|
||||
secretName: abinitio
|
||||
- name: mhub-appserver
|
||||
secret:
|
||||
secretName: mhub-appserver
|
||||
- name: mhub-report
|
||||
secret:
|
||||
secretName: mhub-report
|
||||
- name: runtime-locator-join-user
|
||||
secret:
|
||||
secretName: runtime-locator-join-user
|
||||
- name: password-key-file
|
||||
secret:
|
||||
secretName: password-key-file
|
||||
- name: ab-share-data-and-appconf-root
|
||||
persistentVolumeClaim:
|
||||
claimName: ab-shared-data-and-appconf-root-claim
|
||||
@@ -0,0 +1,95 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
abinitiorc: |
|
||||
AB_BRIDGE_WORKDIR @ container-bridge : /tmp/container-bridge-workdir
|
||||
AB_CHARSET : utf-8
|
||||
AB_CONNECTION : bridge
|
||||
AB_CONNECTION_BRIDGE_ENCRYPTED_RPC_ENCRYPTION_KEY @ emeabeme : file=/secrets/bridge/password
|
||||
AB_ENV_ROOT : /abinitio/sandboxes/sand/stdenv
|
||||
AB_HOSTNAME_KEYSERVER_URLS : abks://key-server:6151
|
||||
AB_MHUB_CONFIG_DIR : /abinitio/deploy/metadatahub-importer/config
|
||||
AB_MHUB_LOCAL_ROOT : /abinitio/deploy
|
||||
AB_OPS_CONSOLE_URL : http://controlcenter:8080/controlcenter
|
||||
AB_OPS_MONITOR : true
|
||||
AB_OPS_MONITOR_RESOURCES : false
|
||||
AB_OPS_PHYSICAL_HOSTNAME : semantic-discovery
|
||||
AB_PROC_DIR : /tmp
|
||||
AB_WORK_DIR : /abinitio/work
|
||||
apphubrc: |
|
||||
AB_BRIDGE_VOLATILE_DIR : /tmp/ab-bridge-volatile-dir
|
||||
AB_KEYSERVER_GROUP : AI-IC-AWS001a
|
||||
AB_KEYSERVER_URLS : abks://key-server:6150
|
||||
ccScheduler.dbc: |
|
||||
db_home: ${AB_HOME}/lib/postgresql
|
||||
db_name: controlcenter
|
||||
db_nodes: localhost
|
||||
db_server_host: controlcenter-rw.abinitio-db.svc
|
||||
db_server_port: 5432
|
||||
dbms: postgresql
|
||||
encrypted_password: file=/secrets/cc_jdbc/password
|
||||
user: cc_jdbc
|
||||
install-properties.config: |
|
||||
AB_AIR_BRANCH=main
|
||||
AB_AIR_ROOT=//eme-0.eme-headless/abinitio/eme/eme
|
||||
AB_HOME=/usr/local/abinitio
|
||||
AB_MHUB_LOCAL_DIR=/abinitio/deploy
|
||||
AB_OPS_CONSOLE_URL=http://controlcenter:8080/controlcenter
|
||||
AB_START_SCHEDULER_SERVICE=y
|
||||
COUNTRY_PACKS=US
|
||||
DCS_INTEGRATION=y
|
||||
DCS_URL=http://datacatalog:8080/datacatalog
|
||||
DCS_USERNAME=aiadmin
|
||||
DEFAULT_SD_LOCATIONS=n
|
||||
DO_LOAD_EXTENSION_SETS=y
|
||||
DO_MHUB_DATASTORE_BACKUP=n
|
||||
INSTALL_CONFIG_USING_ABAPP_MHUB=n
|
||||
INTRO_PROMPT=y
|
||||
INTRO_PROMPT_UPGRADE=y
|
||||
LOAD_ASSETS_LANGUAGE=ALL
|
||||
MHUB_ABAPP_NAME=metadatahub
|
||||
MHUB_DATASTORE_NAME=metadatahub-importer
|
||||
MHUB_DB_APPSERVER_USERNAME=mhub_appserver
|
||||
MHUB_DEPLOY_NAME=metadatahub-importer
|
||||
MHUB_DS_RUNNING=y
|
||||
MHUB_EXTENSION_PROMPT=y
|
||||
MHUB_IMPORTER_USERNAME=aiadmin
|
||||
MHUB_IMPORT_PROFILE_PATH=/abinitio/deploy/metadatahub-importer/config/import.profile
|
||||
MHUB_NON_ABAPP_NAME=metadatahub-importer
|
||||
MHUB_URL=http://metadatahub:8080/metadatahub
|
||||
PRIVATE_SANDBOX_ROOT=/abinitio/sandboxes/private_sand
|
||||
PUBLIC_SANDBOX_ROOT=/abinitio/sandboxes/sand
|
||||
SANDBOX_PATH_TO_STDENV=/abinitio/sandboxes/sand/stdenv
|
||||
SD_CC_BRIDGE_CONFIGURATION_NAME=container-bridge
|
||||
SD_CC_BRIDGE_HOST_NAME=semantic-discovery
|
||||
SD_CC_BRIDGE_HOST_PORT=7070
|
||||
SD_CC_DEFAULT_API_PORT=5454
|
||||
SD_CC_INTEGRATION=y
|
||||
SD_CC_USERNAME=aiadmin
|
||||
SD_COMMON_SANDBOX_REL=abinitio/semantic_discovery
|
||||
SD_DEPLOY_DIR=/abinitio/deploy/semantic_discovery
|
||||
SD_DO_NAVBAR_INSTALL=n
|
||||
SD_INSTALL_ROOT=/abinitio
|
||||
SD_OPDB_DBC_FILE=/config/pod/ccScheduler.dbc
|
||||
SD_PRIVATE_PROJECT=/Projects/workspace/semantic_discovery_private
|
||||
SD_PRIVATE_SANDBOX_REL=semantic_discovery_private
|
||||
SD_USE_OPDB_DBC_FILE=y
|
||||
USE_COUNTRY_PACKS=y
|
||||
USE_LOAD_ASSETS_LANGUAGE=y
|
||||
USE_SPECIFIC_UPGRADE_BRANCH=n
|
||||
WAIT_BETWEEN_LOAD_ATTEMPTS=60
|
||||
WAIT_FOR_LOAD_ATTEMPTS=150
|
||||
MHUB_DB_APPSERVER_ENCRYPTED_PASSWORD=file=/secrets/mhub_appserver/password
|
||||
DCS_ENCRYPTED_PASSWORD=file=/secrets/aiadmin/password
|
||||
SD_CC_ENCRYPTED_PASSWORD=file=/secrets/aiadmin/password
|
||||
MHUB_IMPORTER_ENCRYPTED_PASSWORD=file=/secrets/aiadmin/password
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: semantic-discovery
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: semantic-discovery
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: semantic-discovery-2.4.3-a
|
||||
name: semantic-discovery
|
||||
namespace: abinitio
|
||||
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: semantic-discovery
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: semantic-discovery
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: semantic-discovery-2.4.3-a
|
||||
name: semantic-discovery-claim
|
||||
namespace: abinitio
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 6Gi
|
||||
@@ -0,0 +1,27 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: semantic-discovery
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: semantic-discovery
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: semantic-discovery-2.4.3-a
|
||||
name: semantic-discovery
|
||||
namespace: abinitio
|
||||
spec:
|
||||
ports:
|
||||
- name: semantic-discovery
|
||||
port: 5454
|
||||
protocol: TCP
|
||||
targetPort: 5454
|
||||
- name: bridge
|
||||
port: 7070
|
||||
protocol: TCP
|
||||
targetPort: 7070
|
||||
publishNotReadyAddresses: true
|
||||
selector:
|
||||
app.kubernetes.io/instance: semantic-discovery
|
||||
app.kubernetes.io/name: semantic-discovery
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user