[
https://issues.apache.org/jira/browse/AIRFLOW-4022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785611#comment-16785611
]
Ash Berlin-Taylor commented on AIRFLOW-4022:
--------------------------------------------
Are you `{{ sourece ./setup_kubernetes.sh}} or running it
{{./setup_kubernetes.sh}}. It should be the latter.
Also: this sort of setup is only needed if you are developing core Airflow
itself (hence the {{ci/}} in the path, it is not needed if you are only wishing
to use airflow locally.
> Airflow on Kubernetes tutorial fails at finding ./docker/compile.sh
> -------------------------------------------------------------------
>
> Key: AIRFLOW-4022
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4022
> Project: Apache Airflow
> Issue Type: Bug
> Components: Documentation
> Reporter: Rob Schoenbeck
> Priority: Minor
>
> kubectl 1.11.8, client 1.13.3, minikube v0.34.1
> Steps to reproduce: Simply follow the directions at
> [https://github.com/apache/airflow/tree/master/scripts/ci/kubernetes] using
> your own minikube (OS X 10.13.6 in this case)
> # minikube start
> # source ./docker/build.sh
> # Fails with error:
> {noformat}
> dirname: illegal option -- b
> usage: dirname path
> Airflow directory
> /Users/robs/learning/airflow/scripts/ci/kubernetes/../../../..
> Airflow Docker directory /Users/robs/learning/airflow/scripts/ci/kubernetes
> docker: Error response from daemon: OCI runtime create failed:
> container_linux.go:344: starting container process caused "exec:
> \"./scripts/ci/kubernetes/docker/compile.sh\": stat
> ./scripts/ci/kubernetes/docker/compile.sh: no such file or directory":
> unknown.{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)