loud-keyboard-72751
02/28/2024, 7:15 AM# configuration Specify configuration for Flyte
configuration:
# database Specify configuration for Flyte's database connection
database:
username: <username>
password: <password>
host: postgres.flyte.svc.cluster.local
port: 5432
dbname: flyteadmin
options: sslmode=disable
# storage Specify configuration for object store
storage:
type: minio
metadataContainer: "flyte-bucket"
userDataContainer: "flyte-bucket"
provider: s3
providerConfig:
# s3 Provider configuration for S3 object store
s3:
region: "us-east-1"
disableSSL: true
secure: false
v2Signing: false
endpoint: "http://minio.flyte.svc.cluster.local:9200"
authType: "accesskey"
accessKey: <accesskey>
secretKey: <secret-key>
# logging Specify configuration for logs emitted by Flyte
logging:
# level Set the log level
level: 6
# auth Specify configuration for Flyte authentication
auth:
enabled: true
oidc:
baseUrl: https://login.microsoftonline.com/<tenant-id>/v2.0
clientId: <client-id>
clientSecret: <client-secret>
internal:
clientSecret: <client-secret>
clientSecretHash: <client-secret-hash>
authorizedUris:
- https://mlflyte.accounts.intern
inline:
auth:
appAuth:
authServerType: External
externalAuthServer:
baseUrl: https://login.microsoftonline.com/<tenant-id>/v2.0/
metadataUrl: .well-known/openid-configuration
AllowedAudience:
- api://<client-id>
thirdPartyConfig:
flyteClient:
clientId: <client-id>
redirectUri: http://localhost:53593/callback
scopes:
- profile
- openid
- email
- offline_access
userAuth:
openId:
baseUrl: https://login.microsoftonline.com/<tenant-id>/v2.0
scopes:
- profile
- openid
- email
- offline_access
clientId: <client-id>
plugins:
k8s:
inject-finalizer: true
default-env-vars:
- FLYTE_AWS_ENDPOINT: "http://minio.flyte.svc.cluster.local:9200"
- FLYTE_AWS_ACCESS_KEY_ID: <access-key>
- FLYTE_AWS_SECRET_ACCESS_KEY: <secret-key> #Use the same value as the MINIO_ROOT_PASSWORD
task_resources:
defaults:
cpu: 100m
memory: 500Mi #change default requested resources and limits to fit your needs
limits:
memory: 5Gi
storage:
cache:
max_size_mbs: 100
target_gc_percent: 100
# deployment Configure Flyte deployment specification
deployment:
# image Configure image to use for Flyte
image:
repository: <repo-link>/flyte-binary # FLYTE_IMAGE
tag: native # v1.10.6 # FLYTE_TAG
pullPolicy: IfNotPresent
# extraEnvVars Array with extra environment variables to add to Flyte
extraEnvVars:
- name: HTTP_PROXY
value: <PROXY-VALUE>
- name: HTTPS_PROXY
value: <PROXY-VALUE>
- name: http_proxy
value: <PROXY-VALUE>
- name: https_proxy
value: <PROXY-VALUE>
- name: no_proxy
value: <PROXY-VALUE>
- name: NO_PROXY
value: <PROXY-VALUE>
- name: GODEBUG
value: "tlsmaxrsasize=16384"
# extraEnvVarsConfigMap: environment-values
# ingress Configure ingress for Flyte
ingress:
create: true
host: mlflyte.accounts.intern
commonAnnotations:
kubernetes.io/ingress.class: nginx
ingress.kubernetes.io/rewrite-target: /
nginx.ingress.kubernetes.io/proxy-buffer-size: "32k"
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "600"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/affinity: "cookie"
nginx.ingress.kubernetes.io/session-cookie-name: "flyte_idt"
# httpAnnotations Add annotations to http ingress resource
httpAnnotations:
nginx.ingress.kubernetes.io/app-root: /console
# grpcAnnotations Add annotations to grpc ingress resource
grpcAnnotations:
nginx.ingress.kubernetes.io/backend-protocol: GRPC
# ingressClassName Ingress class to use with all ingress resources
ingressClassName: nginx
# httpIngressClassName Ingress class to use with all http ingress resource. Overrides `ingressClassName`
httpIngressClassName: ""
# grpcIngressClassName Ingress class to use with all grpc ingress resource. Overrides `ingressClassName`
grpcIngressClassName: ""
# tls Add TLS configuration to all ingress resources
tls:
- hosts:
- mlflyte.accounts.intern
secretName: mlflyte
# httpTls Add TLS configuration to http ingress resource. Overrides `tls`
httpTls: []
# grpcTls Add TLS configuration to grpc ingress resource. Overrides `tls`
grpcTls: []
# httpExtraPaths Add extra paths to http ingress rule
httpExtraPaths:
prepend: []
append: []
# grpcExtraPaths Add extra paths to grpc ingress rule
grpcExtraPaths:
prepend: []
append: []
# serviceAccount Configure Flyte ServiceAccount
serviceAccount:
# create Create ServiceAccount for Flyte
create: true
# name Name of service account
name: ""
# labels Add labels to ServiceAccount
labels: {}
# annotations Add annotations to ServiceAccount
annotations: {}
# imagePullSecrets Secrets to use for fetching images from private registries
# imagePullSecrets: [{ name: developerkey }]
imagePullSecrets: [{ name: <pull-image-secret> }]tall-lock-23197
thankful-minister-83577
thankful-minister-83577
limited-raincoat-94253
03/04/2024, 5:34 AMlimited-raincoat-94253
03/04/2024, 6:54 AMloud-keyboard-72751
03/07/2024, 6:37 AMthankful-minister-83577
limited-raincoat-94253
03/07/2024, 6:25 PMthankful-minister-83577
thankful-minister-83577
limited-raincoat-94253
03/07/2024, 6:27 PM