Initial render: k3s-dev environment
This commit is contained in:
@@ -0,0 +1,375 @@
|
||||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
labels:
|
||||
abinitio/statefulset: eme
|
||||
app.kubernetes.io/instance: eme
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: eme
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: eme-2.4.3-a
|
||||
name: eme
|
||||
namespace: abinitio
|
||||
spec:
|
||||
podManagementPolicy: Parallel
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: eme
|
||||
app.kubernetes.io/name: eme
|
||||
serviceName: eme-headless
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: eme
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: eme
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: eme-2.4.3-a
|
||||
name: eme
|
||||
spec:
|
||||
affinity:
|
||||
podAntiAffinity:
|
||||
preferredDuringSchedulingIgnoredDuringExecution:
|
||||
- podAffinityTerm:
|
||||
labelSelector:
|
||||
matchLabels:
|
||||
app.kubernetes.io/instance: eme
|
||||
app.kubernetes.io/name: eme
|
||||
topologyKey: kubernetes.io/hostname
|
||||
weight: 1
|
||||
containers:
|
||||
- args:
|
||||
- --ab-k8s-start-reporter
|
||||
- "true"
|
||||
- --ab-k8s-job-launch-script
|
||||
- /ab-setup/setup_pod.sh
|
||||
command:
|
||||
- ab-container-entrypoint.ksh
|
||||
env:
|
||||
- name: AB_AIR_ROOT
|
||||
value: /abinitio/eme/eme
|
||||
- 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_MUX_ENABLE_AG_CREDENTIAL_MAPPING
|
||||
value: "false"
|
||||
- name: AB_OPS_CONSOLE_URL
|
||||
value: http://controlcenter:8080/controlcenter
|
||||
- name: AB_OPS_PHYSICAL_HOSTNAME
|
||||
value: eme
|
||||
- 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: eme
|
||||
- name: EME_AG_JOINER_ENCRYPTED_PASSWORD
|
||||
value: file=/secrets/eme_join_user/password
|
||||
- name: EME_AG_JOINER_NAME
|
||||
value: eme_join_user
|
||||
- name: EME_AG_PRODUCT_ID
|
||||
value: EMETR
|
||||
- name: EME_AG_URL
|
||||
value: http://authgateway:8080/authgateway
|
||||
- name: EME_LOAD_SAV_FILES
|
||||
value: "false"
|
||||
- name: EME_START_ARGUMENTS
|
||||
value: -override-running-server-check
|
||||
- name: LOAD_PHYSOBJECTS
|
||||
value: "true"
|
||||
- name: NAMESPACE
|
||||
value: abinitio
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: status.podIP
|
||||
- name: POD_LABEL
|
||||
value: 'abinitio/product: eme, abinitio/deployment: eme'
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: metadata.name
|
||||
- name: POD_SERVICE
|
||||
value: eme
|
||||
- name: POD_SERVICE_HEADLESS
|
||||
value: eme-headless
|
||||
image: asia-southeast1-docker.pkg.dev/str-22391/cloudplatform-proxy/aidp/eme:4.4.1.1-1
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: eme
|
||||
readinessProbe:
|
||||
exec:
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- air ls /abinitio/default/eme-created
|
||||
failureThreshold: 12
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 30
|
||||
successThreshold: 1
|
||||
resources:
|
||||
limits:
|
||||
ephemeral-storage: 8Gi
|
||||
memory: 16Gi
|
||||
requests:
|
||||
cpu: 200m
|
||||
ephemeral-storage: 8Gi
|
||||
memory: 16Gi
|
||||
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: /tmp
|
||||
name: tmp-volume
|
||||
hostAliases:
|
||||
- hostnames:
|
||||
- eme.abinitio
|
||||
ip: 127.0.0.1
|
||||
hostname: eme
|
||||
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: eme
|
||||
name: pod-config
|
||||
- name: abinitio-local
|
||||
persistentVolumeClaim:
|
||||
claimName: eme-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
|
||||
@@ -0,0 +1,35 @@
|
||||
apiVersion: v1
|
||||
data:
|
||||
abinitiorc: |
|
||||
AB_BRIDGE_ALLOW_UNSECURED_HTTP_BRIDGE_TUNNEL : true
|
||||
AB_BRIDGE_TUNNEL_ALLOW_LIST : /~ab_home/config/bridge-tunnel-allow-list.example
|
||||
AB_BRIDGE_WORKDIR @ container-bridge : /tmp/container-bridge-workdir
|
||||
AB_CHARSET : utf-8
|
||||
AB_HOSTNAME_KEYSERVER_URLS : abks://key-server:6151
|
||||
AB_OPS_CONSOLE_URL : http://controlcenter:8080/controlcenter
|
||||
AB_OPS_MONITOR : true
|
||||
AB_OPS_MONITOR_RESOURCES : false
|
||||
AB_OPS_PHYSICAL_HOSTNAME : eme-0.eme-headless
|
||||
AB_PROC_DIR : /tmp
|
||||
AB_WORK_DIR : /abinitio/work
|
||||
apphubrc: |
|
||||
AB_AIR_BRANCHES @ eme : main
|
||||
AB_AIR_ROOT @ eme : /abinitio/eme/eme
|
||||
AB_BRIDGE_VOLATILE_DIR : /tmp/ab-bridge-volatile-dir
|
||||
AB_DESCRIPTION @ eme : Local EME
|
||||
AB_DISPLAY_NAME @ eme : Local EME
|
||||
AB_EME_REPOSITORIES : eme
|
||||
AB_KEYSERVER_GROUP : AI-IC-AWS001a
|
||||
AB_KEYSERVER_URLS : abks://key-server:6150
|
||||
AB_UMASK : 002
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: eme
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: eme
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: eme-2.4.3-a
|
||||
name: eme
|
||||
namespace: abinitio
|
||||
@@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: eme
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: eme
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: eme-2.4.3-a
|
||||
name: eme-claim
|
||||
namespace: abinitio
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 10Gi
|
||||
@@ -0,0 +1,23 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: eme
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: eme
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: eme-2.4.3-a
|
||||
name: eme-headless
|
||||
namespace: abinitio
|
||||
spec:
|
||||
clusterIP: None
|
||||
ports:
|
||||
- name: bridge
|
||||
port: 7070
|
||||
protocol: TCP
|
||||
targetPort: 7070
|
||||
publishNotReadyAddresses: false
|
||||
selector:
|
||||
app.kubernetes.io/instance: eme
|
||||
app.kubernetes.io/name: eme
|
||||
@@ -0,0 +1,23 @@
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app.kubernetes.io/instance: eme
|
||||
app.kubernetes.io/managed-by: Helm
|
||||
app.kubernetes.io/name: eme
|
||||
app.kubernetes.io/part-of: AbInitio
|
||||
app.kubernetes.io/version: 4.4.1
|
||||
helm.sh/chart: eme-2.4.3-a
|
||||
name: eme
|
||||
namespace: abinitio
|
||||
spec:
|
||||
ports:
|
||||
- name: bridge
|
||||
port: 7070
|
||||
protocol: TCP
|
||||
targetPort: 7070
|
||||
publishNotReadyAddresses: false
|
||||
selector:
|
||||
app.kubernetes.io/instance: eme
|
||||
app.kubernetes.io/name: eme
|
||||
type: ClusterIP
|
||||
Reference in New Issue
Block a user