From b767211f72adaf580c1e53e8909e226b7b224a69 Mon Sep 17 00:00:00 2001 From: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> Date: Mon, 26 Jun 2023 17:04:52 -0500 Subject: [PATCH 1/6] Update flyte_local.yaml Signed-off-by: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> --- flyte_local.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/flyte_local.yaml b/flyte_local.yaml index 4caf85b56a..14db331d38 100644 --- a/flyte_local.yaml +++ b/flyte_local.yaml @@ -7,7 +7,7 @@ # flyte start --config flyte_local.yaml propeller: rawoutput-prefix: "s3://my-s3-bucket/test/" - kube-config: "$HOME/.flyte/k3s/k3s.yaml" + kube-config: "/root/.kube/config" create-flyteworkflow-crd: true webhook: certDir: /tmp/k8s-webhook-server/serving-certs @@ -24,17 +24,14 @@ tasks: - container: container - container_array: K8S-ARRAY server: - kube-config: "$HOME/.flyte/k3s/k3s.yaml" - httpPort: 30080 - serviceHttpEndpoint: http://localhost:30080/ - grpc: - port: 30081 + kube-config: "/root/.kube/config" flyteadmin: runScheduler: false database: postgres: - port: 30089 + port: 30001 username: postgres + password: postgres host: localhost dbname: flyteadmin options: "sslmode=disable" @@ -45,7 +42,7 @@ storage: auth-type: accesskey secret-key: miniostorage disable-ssl: true - endpoint: "http://localhost:30084" + endpoint: "http://localhost:30002" region: my-region cache: max_size_mbs: 10 @@ -55,7 +52,7 @@ Logger: show-source: true level: 5 admin: - endpoint: localhost:30081 + endpoint: localhost:8089 insecure: true plugins: # All k8s plugins default configuration @@ -64,7 +61,7 @@ plugins: default-env-vars: - AWS_METADATA_SERVICE_TIMEOUT: 5 - AWS_METADATA_SERVICE_NUM_ATTEMPTS: 20 - - FLYTE_AWS_ENDPOINT: "http://minio.flyte:9000" + - FLYTE_AWS_ENDPOINT: "http://flyte-sandbox-minio.flyte:9000" - FLYTE_AWS_ACCESS_KEY_ID: minio - FLYTE_AWS_SECRET_ACCESS_KEY: miniostorage # Logging configuration @@ -110,4 +107,6 @@ task_resources: catalog-cache: endpoint: localhost:8081 insecure: true - type: datacatalog \ No newline at end of file + type: datacatalog + + From 3791737e7a20a1f41ea0bc0022a9f07658afd070 Mon Sep 17 00:00:00 2001 From: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> Date: Mon, 26 Jun 2023 17:10:41 -0500 Subject: [PATCH 2/6] Update flyte_local.yaml Signed-off-by: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> --- flyte_local.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/flyte_local.yaml b/flyte_local.yaml index 14db331d38..0451f00a4e 100644 --- a/flyte_local.yaml +++ b/flyte_local.yaml @@ -7,7 +7,7 @@ # flyte start --config flyte_local.yaml propeller: rawoutput-prefix: "s3://my-s3-bucket/test/" - kube-config: "/root/.kube/config" + kube-config: "$HOME/.flyte/sandbox/kubeconfig" create-flyteworkflow-crd: true webhook: certDir: /tmp/k8s-webhook-server/serving-certs @@ -24,7 +24,7 @@ tasks: - container: container - container_array: K8S-ARRAY server: - kube-config: "/root/.kube/config" + kube-config: "$HOME/.flyte/sandbox/kubeconfig" flyteadmin: runScheduler: false database: @@ -108,5 +108,3 @@ catalog-cache: endpoint: localhost:8081 insecure: true type: datacatalog - - From 6b65ba3a8d519b05cdeb2dac770ec9856f91ee17 Mon Sep 17 00:00:00 2001 From: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> Date: Mon, 26 Jun 2023 17:12:04 -0500 Subject: [PATCH 3/6] Update flyte_local.yaml Signed-off-by: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> From 8fde4a1bc922edfb9f81075020905f2e39fe31f3 Mon Sep 17 00:00:00 2001 From: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> Date: Mon, 26 Jun 2023 17:12:26 -0500 Subject: [PATCH 4/6] Update flyte_local.yaml Signed-off-by: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> --- flyte_local.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flyte_local.yaml b/flyte_local.yaml index 0451f00a4e..bd7f49f633 100644 --- a/flyte_local.yaml +++ b/flyte_local.yaml @@ -108,3 +108,5 @@ catalog-cache: endpoint: localhost:8081 insecure: true type: datacatalog + + From 0bfa8db0c3df524544c2a92d0ca5b4c1488c526c Mon Sep 17 00:00:00 2001 From: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> Date: Mon, 26 Jun 2023 17:12:54 -0500 Subject: [PATCH 5/6] Update flyte_local.yaml Signed-off-by: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> --- flyte_local.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/flyte_local.yaml b/flyte_local.yaml index bd7f49f633..0451f00a4e 100644 --- a/flyte_local.yaml +++ b/flyte_local.yaml @@ -108,5 +108,3 @@ catalog-cache: endpoint: localhost:8081 insecure: true type: datacatalog - - From d39c39d82283478772d8209133cdcf2abcd2bb1c Mon Sep 17 00:00:00 2001 From: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> Date: Mon, 26 Jun 2023 20:36:49 -0500 Subject: [PATCH 6/6] Update flyte_local.yaml Signed-off-by: Yicheng-Lu-llll <51814063+Yicheng-Lu-llll@users.noreply.github.com> --- flyte_local.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flyte_local.yaml b/flyte_local.yaml index 0451f00a4e..bcb2333440 100644 --- a/flyte_local.yaml +++ b/flyte_local.yaml @@ -67,7 +67,7 @@ plugins: # Logging configuration logs: kubernetes-enabled: true - kubernetes-url: "http://localhost:30082" + kubernetes-template-uri: http://localhost:30080/kubernetes-dashboard/#/log/{{.namespace }}/{{ .podName }}/pod?namespace={{ .namespace }} cluster_resources: refreshInterval: 5m templatePath: "/etc/flyte/clusterresource/templates"