loud-keyboard-72751
04/09/2024, 12:00 PMloud-keyboard-72751
04/09/2024, 12:01 PMglamorous-carpet-83516
04/09/2024, 5:08 PMloud-keyboard-72751
04/09/2024, 5:10 PMloud-keyboard-72751
04/09/2024, 5:12 PMaverage-finland-92144
04/09/2024, 5:19 PMlocalhost:30080
glamorous-carpet-83516
04/09/2024, 6:22 PMaverage-finland-92144
04/10/2024, 5:42 PMselfAuthServer
or purely externalAuth? Could you share the -anonymized- config you're using? (if it's external, it'd be also an interesting learning as, just following the docs, I haven't been able to make it work with Entra ID)loud-keyboard-72751
04/12/2024, 5:57 AMdeployment:
image:
repository: <private-registry-url>/flyte-binary
tag: <image_tag>
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: "<PROXY_VALUE>"
configuration:
database:
username: <username>
host: postgres.flyte.svc.cluster.local
dbname: <db_name>
storage:
type: minio
metadataContainer: flyte-bucket #This is the default bucket created with Minio. Controlled by the MINIO_DEFAULT_BUCKETS env var in the local-flyte-resources.yaml manifest
userDataContainer: flyte-bucket
provider: s3
providerConfig:
s3:
authType: "accesskey"
endpoint: "<http://minio.flyte.svc.cluster.local:9000>"
accessKey: "<access_key>"
secretKey: "<secret_key>" #If you need to change this parameters, refer to the local-flyte-resources.yaml manifest and adjust the MINIO_ROOT_PASSWORD env var
disableSSL: "true"
secure: "false"
v2Signing: "true"
logging:
level: 6
auth:
enabled: true
enableAuthServer: true
oidc:
baseUrl: <https://login.microsoftonline.com/><tenant_id>/v2.0
clientId: <client_id>
clientSecret: <client_secret>
internal:
clientId: <client_id>
clientSecret: '<client_secret>'
clientSecretHash: <client_secret_hash>
authorizedUris:
- https://<ingress_host_url>
inlineSecretRef: flyte-binary-inline-config-secret-postgres
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:
# Use the clientID generated by your IdP for the `flytectl` app registration
clientId: <client_id>
redirectUri: <http://localhost:53593/callback>
scopes:
- api://<client_id>/Custom.Scope
userAuth:
openId:
baseUrl: <https://login.microsoftonline.com/><tenant_id>/v2.0
scopes:
- profile
- openid
# - offline_access # Uncomment if your IdP supports issuing refresh tokens (optional)
# Use the client ID and secret generated by your IdP for the first OIDC registration in the "Identity Management layer : OIDC" section of this guide
clientId: <client_id>
plugins:
k8s:
inject-finalizer: true
default-env-vars:
- FLYTE_AWS_ENDPOINT: "<http://minio.flyte.svc.cluster.local:9000>"
- 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: 2Gi
serviceAccount:
create: true
name: "flyte-service-account"
imagePullSecrets:
- name: flyte-binary-gdmlops-mlrobot-key
ingress:
create: true
ingressClassName: nginx
commonAnnotations:
<http://ingress.kubernetes.io/rewrite-target|ingress.kubernetes.io/rewrite-target>: /
<http://nginx.ingress.kubernetes.io/proxy-buffer-size|nginx.ingress.kubernetes.io/proxy-buffer-size>: "32k"
<http://nginx.ingress.kubernetes.io/proxy-read-timeout|nginx.ingress.kubernetes.io/proxy-read-timeout>: "600"
<http://nginx.ingress.kubernetes.io/proxy-send-timeout|nginx.ingress.kubernetes.io/proxy-send-timeout>: "600"
<http://nginx.ingress.kubernetes.io/ssl-redirect|nginx.ingress.kubernetes.io/ssl-redirect>: "true"
<http://nginx.ingress.kubernetes.io/affinity|nginx.ingress.kubernetes.io/affinity>: "cookie"
httpAnnotations:
<http://nginx.ingress.kubernetes.io/app-root|nginx.ingress.kubernetes.io/app-root>: /console
grpcAnnotations:
<http://nginx.ingress.kubernetes.io/backend-protocol|nginx.ingress.kubernetes.io/backend-protocol>: GRPC
host: <host_name>
tls:
- hosts:
- <host_name>
secretName: mlflyte
loud-keyboard-72751
04/12/2024, 5:59 AM