https://flyte.org logo
#ask-the-community
Title
# ask-the-community
h

Hafsa Junaid

04/29/2022, 3:03 AM
Hey Team!!! Hello @Haytham Abuelfutuh As per the https://docs.flyte.org/en/latest/deployment/gcp/manual.html#deployment-gcp-manual docs command, the connection with psql is verified. But these logs kubectl logs -n flyte svc/flyteadmin -c run-migrations shows that connection ain't built for flyteadmin. The pods are failing and UI is not accessible. Any guide?
y

Yuvraj

05/02/2022, 2:58 PM
can you post your flyteadmin config ?
h

Hafsa Junaid

05/02/2022, 3:26 PM
Copy code
flyteadmin:
  replicaCount: 1
  image:
    # -- Docker image for Flyteadmin deployment
    repository: <http://cr.flyte.org/flyteorg/flyteadmin|cr.flyte.org/flyteorg/flyteadmin> # FLYTEADMIN_IMAGE
    tag: v1.0.0 # FLYTEADMIN_TAG
    pullPolicy: IfNotPresent
  serviceAccount:
    # -- If the service account is created by you, make this false, else a new service account will be created and the flyteadmin role will be added
    # you can change the name of this role
    create: true
    annotations:
      # Needed for gcp workload identity to function
      # <https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity>
      <http://iam.gke.io/gcp-service-account|iam.gke.io/gcp-service-account>: gsa-flyteadmin@{{ .Values.userSettings.googleProjectId }}.<http://iam.gserviceaccount.com|iam.gserviceaccount.com>
  resources:
    limits:
      ephemeral-storage: 1Gi
    requests:
      cpu: 200m
      ephemeral-storage: 1Gi
      memory: 300Mi
  service:
    annotations:
      # Required for the ingress to properly route grpc traffic to grpc port
      <http://cloud.google.com/app-protocols|cloud.google.com/app-protocols>: '{"grpc":"HTTP2"}'
  affinity:
    podAntiAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        - labelSelector:
            matchLabels:
              <http://app.kubernetes.io/name|app.kubernetes.io/name>: flyteadmin
          topologyKey: <http://kubernetes.io/hostname|kubernetes.io/hostname>
y

Yuvraj

05/02/2022, 3:27 PM
this is helm values, I am talking about k8s configmap for flyteadmin
h

Hafsa Junaid

05/02/2022, 3:34 PM
this?
h

Haytham Abuelfutuh

05/04/2022, 5:50 PM
Apologies for the delay, @Hafsa Junaid
Can we schedule time this week to help you get unblocked? https://calendly.com/unionai-haytham/30min
h

Hafsa Junaid

05/04/2022, 9:04 PM
@Haytham Abuelfutuh Yeah sure.
@Haytham Abuelfutuh Done
82 Views