[
https://issues.apache.org/jira/browse/YUNIKORN-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17601069#comment-17601069
]
Wilfred Spiegelenburg commented on YUNIKORN-1308:
-------------------------------------------------
[~pbacsko] can you provide a bit more detail?
I have tried this on a mac and in a linux docker image and I cannot get this to
fail. It always sets it for me. Maybe there is a OS dependent execution
difference that we missed to make this work everywhere. I would not be
surprised as we have seen many of those in the past.
> validate_cluster.sh should auto-detect DOCKER_ARCH
> --------------------------------------------------
>
> Key: YUNIKORN-1308
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1308
> Project: Apache YuniKorn
> Issue Type: Bug
> Components: release
> Reporter: Peter Bacsko
> Assignee: Ting Yao,Huang
> Priority: Major
>
> By default, the script {{validate_cluster.sh}} does not detect/set
> {{DOCKER_ARCH}}. This can result in the following problem:
> {noformat}
> Creating kind validation cluster
> Apache YuniKorn version: 1.1.0
> Helm chart directory: ./helm-charts/yunikorn
> Kind cluster config: ./kind.yaml
> Kubernetes image: kindest/node:v1.22.4
> Registry name: apache
> Plugin mode: false
> Image Architecture:
> Creating cluster "yk8s" ...
> â Ensuring node image (kindest/node:v1.22.4) đŧ
> â Preparing nodes đĻ đĻ đĻ
> â Writing configuration đ
> â Starting control-plane đšī¸
> â Installing CNI đ
> â Installing StorageClass đž
> â Joining worker nodes đ
> Set kubectl context to "kind-yk8s"
> You can now use your cluster with:
> kubectl cluster-info --context kind-yk8s
> Not sure what to do next? đ
Check out
> https://kind.sigs.k8s.io/docs/user/quick-start/
> Pre-Loading docker images...
> Pre-Loading admission--1.1.0 image failed, aborting
> Removing kind cluster
> Deleting cluster "yk8s" ...
> {noformat}
> After setting {{DOCKER_ARCH}} to amd64, the problem disappeared.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]