Table of Contents |
---|
...
Code Block |
---|
apiVersion: '2019-12-01' location: <location> name: <name of your container instance> properties: containers: - name: lakehouse-monitor properties: environmentVariables: - name: APPLICATION_LOG_HTTPHEADER value: false - name: APPSERVICE_URL value: <FQDN> - name: AZURE_KEYVAULT_ENABLED value: true - name: AZURE_KEYVAULT_TENANTID value: <KV tenantID> - name: AZURE_KEYVAULT_URI value: <KV URL> - name: AZURE_MANAGED_IDENTITY_ID value: <managed identity objectID> - name: AZURE_MANAGED_IDENTITY_APP_ID value: <managed identity clientID> - name: LOG_LEVEL value: info - name: LOG_LEVEL_APP value: info - name: LOG_LEVEL_HTTP_HEADERS value: error - name: USE_SP_FOR_BACKGROUND_PROCESSORS value: true - name: USE_SP_FOR_STORAGE_ACCOUNT value: true - name: MICROSOFT_PROVIDER_AUTHENTICATION_SECRET value: ${msft-provider-auth-secret} - name: SERVICE_PRINCIPAL_CLIENT_SECRET value: ${msft-provider-auth-secret} - name: SERVICE_PRINCIPAL_CLIENTID value: <sp clientID> - name: SERVICE_PRINCIPAL_OBJECTID value: <sp objectID> - name: SERVICE_PRINCIPAL_TENANTID value: <sp tenantID> - name: SQL_DATABASE value: <sql database name> - name: SQL_SERVER_HOST value: <sql server host> - name: SQL_USER value: <sql username> - name: SQL_PASSWORD value: ${mssql-password} - name: STORAGE_AZURE_ACCOUNT value: <storage account name> - name: STORAGE_AZURE_CONTAINER value: lakehouse-monitor - name: CLOUD_PROVIDER value: azure - name: AUTHENTICATION_PROVIDER value: active-directory - name: SERVER_SERVLET_SESSION_PERSISTENT value: true - name: SERVER_SSL_ENABLED value: true - name: SERVER_SSL_KEY_STORE value: /keystore/bplm.p12 # - name: SERVER_SSL_KEY_STORE_PASSWORD # value: bplm # - name: SERVER_SSL_KEY_ALIAS # value: bplm # - name: SERVER_SSL_KEY_PASSWORD # value: bplm - name: SERVER_SSL_KEY_STORE_TYPE value: PKCS12 - name: METRIC_PROCESSOR_ENABLED value: true - name: METRIC_PROCESSOR_DOCTOR_INITIAL_DELAY value: PT1M - name: CONSUMPTION_USE_PREFILTER value: false - name: ADMIN_APP_ROLE value: <admin role value> - name: EXECUTIVE_APP_ROLE value: <executive role value> - name: AUTHORIZATION_CACHE_TIMEOUT value: 1800 - name: SERVER_PORT value: 80443 image: blueprint.azurecr.io/bpcs/lakehouse-optimizer:2.3 ports: - port: 443 - port: 80 resources: requests: cpu: 4 memoryInGB: 8 volumeMounts: - mountPath: /var/log name: logs - mountPath: /keystore name: keystore imageRegistryCredentials: - server: blueprint.azurecr.io username: <ACR Username> password: <ACR Password> osType: Linux restartPolicy: Always ipAddress: type: Public ports: - port: 443 - port: 80 dnsNameLabel: <dns label> volumes: - name: logs azureFile: sharename: <name of share for the logs> storageAccountName: <storage account name where the share is created> storageAccountKey: <storage account key> - name: keystore azureFile: sharename: <name of share for the logs> storageAccountName: <storage account name where the share is created> storageAccountKey: <storage account key> tags: {} type: Microsoft.ContainerInstance/containerGroups |
...