You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2022/09/06 14:19:00 UTC

[jira] [Created] (YUNIKORN-1308) validate_cluster.sh should auto-detect DOCKER_ARCH

Peter Bacsko created YUNIKORN-1308:
--------------------------------------

             Summary: 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


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: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org