Fix breeze k8s dev doesn't include configure-cluster test resource #60259
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
related: #59869
Why
In #59869, we add the hint that show
Alternatively, jump straight into development on Kubernetes with: breeze k8s dev --python {python} --kubernetes-version {kubernetes_version}after runningbreeze k8s create-clusterhttps://github.com/apache/airflow/pull/59869/files#diff-ec0edb35ebfa2f51b6030b54f72eb90b0661eb310b0baea6e9c605f49c15123dR331-R335
However, when I run
breeze k8s devright afterbreeze k8s create-cluster. I'm not able to access API Server because the k8s test resources inscripts/ci/kubernetesare not deployed. Since we skip thebreeze k8s configure-clustercommand.What
We should also deploy the test resources in
scripts/ci/kuberneteswith skaffold in case the user didn't runbreeze k8s configure-clusterbeforebreeze k8s dev.Technical detail:
deploy.kubectlsection multi deploy approach (Use helm deploy next to kubectl GoogleContainerTools/skaffold#528), but doesn't work as expected