You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/15 08:37:20 UTC

[GitHub] [airflow] iAmGhost opened a new issue #19589: Unable to enable ingress on Kubernetes 1.22

iAmGhost opened a new issue #19589:
URL: https://github.com/apache/airflow/issues/19589


   ### Official Helm Chart version
   
   main (development)
   
   ### Apache Airflow version
   
   2.2.1 (latest released)
   
   ### Kubernetes Version
   
   v1.22.3-3+9ec7c40ec93c73 (microk8s)
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customisations
   
   _No response_
   
   ### What happened
   
   Displays error:
   
       Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "networking.k8s.io/v1beta1"
   
   
   ### What you expected to happen
   
   _No response_
   
   ### How to reproduce
   
   Install airflow with `ingress.enabled=true`
   
   ```bash
   helm install airflow apache-airflow/airflow \
     --set ingress.enabled=true \
     --version 1.3.0 \
     --namespace airflow-test
   ```
   
   ### Anything else
   
   Note: I'm using Helm chart 1.3.0. There were no 1.3.0 on template yet.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #19589: Unable to enable ingress on Kubernetes 1.22

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #19589:
URL: https://github.com/apache/airflow/issues/19589#issuecomment-968653747


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #19589: Unable to enable ingress on Kubernetes 1.22

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #19589:
URL: https://github.com/apache/airflow/issues/19589#issuecomment-968698849


   Can you please specify what version of Kubernetes do you have? To do it, you can use [`kubectl version`](https://jamesdefabia.github.io/docs/user-guide/kubectl/kubectl_version/) command. Some Kubernetes distributions use a non-standard version format that can cause parsing problems.
   https://github.com/apache/airflow/blob/73044af1c6908d1b075bd0127bc56c1db82b564b/chart/templates/_helpers.yaml#L604-L612
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] iAmGhost commented on issue #19589: Unable to enable ingress on Kubernetes 1.22

Posted by GitBox <gi...@apache.org>.
iAmGhost commented on issue #19589:
URL: https://github.com/apache/airflow/issues/19589#issuecomment-968822960


   I was confused since [Apache Airflow Helm Chart](https://airflow.apache.org/docs/helm-chart/stable/index.html) only mentions Kubernetes 1.14+ cluster but not specific version.
   Anyway thank you so much for support, I'll try lowering my cluster.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #19589: Unable to enable ingress on Kubernetes 1.22

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #19589:
URL: https://github.com/apache/airflow/issues/19589#issuecomment-968755672


   See https://github.com/apache/airflow/blob/main/README.md#requirements for the requirements of ours


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk commented on issue #19589: Unable to enable ingress on Kubernetes 1.22

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #19589:
URL: https://github.com/apache/airflow/issues/19589#issuecomment-968755065


   Kubernetes 1.22 is not yet supported. We are adding 1.21 support in https://github.com/apache/airflow/pull/19557#event-5617189224 but 1.22 has not been even looked at yet.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] iAmGhost commented on issue #19589: Unable to enable ingress on Kubernetes 1.22

Posted by GitBox <gi...@apache.org>.
iAmGhost commented on issue #19589:
URL: https://github.com/apache/airflow/issues/19589#issuecomment-968701211


   I'm using microk8s on Ubuntu 20.04.3 Server, here's output of `kubectl version`
   
       $ microk8s kubectl version
       Client Version: version.Info{Major:"1", Minor:"22+", GitVersion:"v1.22.3-3+9ec7c40ec93c73", GitCommit:"9ec7c40ec93c73c2281bdd2e4a75baf6247366a0", GitTreeState:"clean", BuildDate:"2021-11-03T10:20:42Z", GoVersion:"go1.16.9", Compiler:"gc", Platform:"linux/amd64"}
       Server Version: version.Info{Major:"1", Minor:"22+", GitVersion:"v1.22.3-3+9ec7c40ec93c73", GitCommit:"9ec7c40ec93c73c2281bdd2e4a75baf6247366a0", GitTreeState:"clean", BuildDate:"2021-11-03T10:17:37Z", GoVersion:"go1.16.9", Compiler:"gc", Platform:"linux/amd64"}


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] potiuk closed issue #19589: Unable to enable ingress on Kubernetes 1.22

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #19589:
URL: https://github.com/apache/airflow/issues/19589


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] sajod commented on issue #19589: Unable to enable ingress on Kubernetes 1.22

Posted by GitBox <gi...@apache.org>.
sajod commented on issue #19589:
URL: https://github.com/apache/airflow/issues/19589#issuecomment-1028105329


   With the helm chart 1.4.0 version and with Kubernetes v1.23 the issue is still on!
   
   I am receiving the upper mentioned error message when I turned ingress on.
   I managed to fix the error by manually editing the chart:
   
   chart/templates/webserver/webserver-ingress.yaml:
   Instead of (line 22):
   `{{- $apiIsStable := semverCompare ">= 1.19.x" (include "kubeVersion" .) -}}`
   I changed to this:
   `{{- $apiIsStable := true -}}`
   
   chart/templates/flower/flower-ingress.yaml
   Instead of (line 23):
   `{{- $apiIsStable := semverCompare ">= 1.19.x" (include "kubeVersion" .) -}}`
   I changed to this:
   `{{- $apiIsStable := true -}}`
   
   I am aware that for the chart version 1.4.0 only Kubernetes 1.21 is supported and I'm using 1.23.
   You can still find this fix useful if you are in a similar situation.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org