Skip to content
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

Service Port Naming Not Compatible with Istio #499

Closed
dansc0de opened this issue Jan 10, 2022 · 2 comments · Fixed by #854
Closed

Service Port Naming Not Compatible with Istio #499

dansc0de opened this issue Jan 10, 2022 · 2 comments · Fixed by #854
Labels
kind/bug kind - things not working properly status/duplicate status - this issue or pull request already exists

Comments

@dansc0de
Copy link

dansc0de commented Jan 10, 2022

What is the bug?

pgbouncer, worker, and web have static service port names that are incompatible with Istio naming conventions.

Note: I have a PR to address it

What version of the chart are you using?

I am using version 8.5.2 of this chart.

What version of Kubernetes are you using?

Client Version: Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.1", GitCommit:"5e58841cce77d4bc13713ad2b91fa0d961e69192", GitTreeState:"clean", BuildDate:"2021-05-12T14:18:45Z", GoVersion:"go1.16.4", Compiler:"gc", Platform:"darwin/amd64"}

Server Version: Server Version: version.Info{Major:"1", Minor:"21+", GitVersion:"v1.21.2-eks-0389ca3", GitCommit:"8a4e27b9d88142bbdd21b997b532eb6d493df6d2", GitTreeState:"clean", BuildDate:"2021-07-31T01:34:46Z", GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"}

What version of Helm are you using?

version.BuildInfo{Version:"v3.5.4", GitCommit:"1b5edb69df3d3a08df77c9902dc17af864ff05d1", GitTreeState:"dirty", GoVersion:"go1.16.3"}

What are your custom helm values?

click to expand
######## PASTE values.yaml BELOW ########
airflow:
  airflow:
    config:
      AIRFLOW__LOGGING__REMOTE_BASE_LOG_FOLDER: "s3://bucket/airflow-test"
      AIRFLOW__WEBSERVER__BASE_URL: "https://xxx.example.dev"

      ENV: staging
  dags:
    gitSync:
      branch: "staging"
  ingress:
    web:
      host: "xxx.example.dev"
  workers:
    replicas: 2
  postgresql:
    persistence:
      size: 20Gi
      existingClaim: existing-claim-
  serviceAccount:
    annotations:
      eks.amazonaws.com/role-arn: "arn:aws:iam::1234567890:role/this-role"
  ...
######## PASTE values.yaml ABOVE ########
@dansc0de dansc0de added the kind/bug kind - things not working properly label Jan 10, 2022
@thesuperzapper
Copy link
Member

@danattatari As I raised in #510 (comment), I think we should instead be dynamically setting the protocol field of ContainerPort v1 (added in K8S 1.18) based off if the AIRFLOW__WEBSERVER__WEB_SERVER_SSL_CERT and AIRFLOW__WEBSERVER__WEB_SERVER_SSL_KEYconfigs are set.

@thesuperzapper thesuperzapper added this to the airflow-8.7.0 milestone Feb 23, 2022
@thesuperzapper thesuperzapper changed the title bug: Service Port Naming Not Compatible with Istio Service Port Naming Not Compatible with Istio Mar 22, 2022
@thesuperzapper thesuperzapper added kind/enhancement kind - new features or changes kind/bug kind - things not working properly and removed kind/bug kind - things not working properly kind/enhancement kind - new features or changes labels Mar 22, 2022
@thesuperzapper thesuperzapper added the status/duplicate status - this issue or pull request already exists label Mar 22, 2022
@thesuperzapper
Copy link
Member

I am closing this issue in preference of using #545 to discuss the implementation of the automatic soution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug kind - things not working properly status/duplicate status - this issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants