-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update flyte-binary values #4604
Merged
davidmirror-ops
merged 11 commits into
flyteorg:master
from
davidmirror-ops:flyte-binary-updates
Dec 21, 2023
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
51ceacc
Comment and address missing info in values file
davidmirror-ops bf62796
Remove Spark-specific extra RBAC rules
davidmirror-ops d0173a6
Merge branch 'master' into flyte-binary-updates
davidmirror-ops 5044e4f
Update references to Ingress annotations
davidmirror-ops 75a8628
Fix typo
davidmirror-ops 8d3b4e6
Fix reference to YAML config
davidmirror-ops 56e6f5d
Unify default db name
davidmirror-ops 4b4aa77
Unify values files
davidmirror-ops db98b4d
Merge branch 'master' into flyte-binary-updates
davidmirror-ops 31712d4
Update reference to values file
davidmirror-ops df161c9
Merge branch 'master' into flyte-binary-updates
davidmirror-ops File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,122 @@ | ||
configuration: | ||
database: | ||
username: <DB_USERNAME> | ||
username: postgres | ||
password: <DB_PASSWORD> | ||
host: <RDS_HOST_DNS> | ||
dbname: flyteadmin (<INITAL_DB>) | ||
dbname: flyteadmin | ||
storage: | ||
#Learn more about how Flyte handles data: https://docs.flyte.org/en/latest/concepts/data_management.html | ||
metadataContainer: <BUCKET_NAME> | ||
userDataContainer: <USER_DATA_BUCKET_NAME> | ||
provider: s3 | ||
providerConfig: | ||
s3: | ||
region: "<AWS_REGION>" | ||
region: "<AWS-REGION-CODE>" | ||
authType: "iam" | ||
#For logging to work, you need to setup an agent. | ||
# Learn more: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-EKS-logs.html | ||
logging: | ||
level: 5 | ||
plugins: | ||
cloudwatch: | ||
enabled: true | ||
templateUri: |- | ||
https://console.aws.amazon.com/cloudwatch/home?region=<AWS_REGION>#logEventViewer:group=/aws/eks/<EKS_CLUSTER_NAME>/cluster;stream=var.log.containers.{{ .podName }}_{{ .namespace }}_{{ .containerName }}-{{ .containerId }}.log | ||
# To configure auth, refer to https://docs.flyte.org/en/latest/deployment/configuration/auth_setup.html | ||
auth: | ||
enabled: false | ||
oidc: | ||
baseUrl: <YOUR_IDP_BASE_URL> | ||
clientId: <IDP_CLIENT_ID> | ||
clientSecret: <IDP_CLIENT_SECRET> | ||
internal: | ||
clientSecret: <CC_PASSWD> | ||
clientSecretHash: <HASHED_CC_PASSWD> | ||
authorizedUris: | ||
- https://flyte.company.com #change to your authorized URI | ||
inline: | ||
#This section automates the IAM Role annotation for the default KSA on each project namespace to enable IRSA | ||
#Learn more: https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html | ||
cluster_resources: | ||
customData: | ||
- production: | ||
- defaultIamRole: | ||
value: <FLYTE_USER_IAM_ARN> | ||
- staging: | ||
- defaultIamRole: | ||
value: <FLYTE_USER_IAM_ARN> | ||
- development: | ||
- defaultIamRole: | ||
value: <FLYTE_USER_IAM_ARN> | ||
flyteadmin: | ||
roleNameKey: "iam.amazonaws.com/role" | ||
plugins: | ||
k8s: | ||
inject-finalizer: true | ||
default-env-vars: | ||
- AWS_METADATA_SERVICE_TIMEOUT: 5 | ||
- AWS_METADATA_SERVICE_NUM_ATTEMPTS: 20 | ||
# Configuration for the Datacatalog engine, used when caching is enabled | ||
# Learn more: https://docs.flyte.org/en/latest/deployment/configuration/generated/datacatalog_config.html | ||
storage: | ||
cache: | ||
max_size_mbs: 100 | ||
max_size_mbs: 10 | ||
target_gc_percent: 100 | ||
tasks: | ||
task-plugins: | ||
enabled-plugins: | ||
- container | ||
- sidecar | ||
- K8S-ARRAY #used for MapTasks | ||
default-for-task-types: | ||
- container: container | ||
- container_array: K8S-ARRAY | ||
clusterResourceTemplates: | ||
inline: | ||
#This section automates the creation of the project-domain namespaces | ||
001_namespace.yaml: | | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: '{{ namespace }}' | ||
# This block performs the automated annotation of KSAs across all project-domain namespaces | ||
002_serviceaccount.yaml: | | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: default | ||
namespace: '{{ namespace }}' | ||
annotations: | ||
eks.amazonaws.com/role-arn: '{{ defaultIamRole }}' | ||
ingress: | ||
create: true | ||
##-- Uncomment the following section if you plan to use NGINX Ingress Controller | ||
#ingressClassName: nginx | ||
#commonAnnotations: | ||
# ingress.kubernetes.io/rewrite-target: / | ||
# nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
#httpAnnotations: | ||
# nginx.ingress.kubernetes.io/app-root: /console | ||
#grpcAnnotations: | ||
# nginx.ingress.kubernetes.io/backend-protocol: GRPC | ||
#host: <your-Flyte-URL> # change for the URL you'll use to connect to Flyte | ||
## --- | ||
|
||
#This section assumes you are using the ALB Ingress controller. | ||
ingressClassName: alb | ||
commonAnnotations: | ||
alb.ingress.kubernetes.io/certificate-arn: 'arn:aws:acm:<AWS-REGION>:<AWS-ACCOUNT-ID>:certificate/<CERTIFICATE-ID>' | ||
alb.ingress.kubernetes.io/group.name: flyte | ||
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS":443}]' | ||
alb.ingress.kubernetes.io/scheme: internet-facing | ||
alb.ingress.kubernetes.io/ssl-redirect: '443' | ||
alb.ingress.kubernetes.io/target-type: ip | ||
httpAnnotations: | ||
alb.ingress.kubernetes.io/actions.app-root: '{"Type": "redirect", "RedirectConfig": {"Path": "/console", "StatusCode": "HTTP_302"}}' | ||
grpcAnnotations: | ||
alb.ingress.kubernetes.io/backend-protocol-version: GRPC | ||
host: flyte.mydomain.com #replace with your fully-qualified domain name | ||
serviceAccount: | ||
create: true | ||
annotations: | ||
eks.amazonaws.com/role-arn: "<FLYTE_BACKEND_IAM_ARN>" | ||
eks.amazonaws.com/role-arn: "<FLYTE_BACKEND_IAM_ARN>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should just rename this
eks-starter.yaml
.