kic-reference-architectures icon indicating copy to clipboard operation
kic-reference-architectures copied to clipboard

feat: build on apple m1

Open qdzlug opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. Currently, the new Apple Silicon only partially works with the process.

Describe the solution you'd like Clean build process on Apple Silicon; using the docker image install process is acceptable and very well may be prefered.

Describe alternatives you've considered This could possibly be accomplished by looking into forcing the use of an Intel docker image to then build the necessary images.

Additional context None.

qdzlug avatar Aug 10 '21 17:08 qdzlug

@4141done - this may not be a bad issue for you to tackle while you go working through making it run on your mac...

qdzlug avatar Apr 21 '22 14:04 qdzlug

Current progress: Fails at the "Deploying IC" step with the following pulumi output:

4141done/ingress-controller/cake (pulumi:pulumi:Stack)
error: update failed
 
nginx-ingress (kubernetes:core:Namespace)
 
kic (kubernetes:helm.sh:Release)
warning: Helm release "kic" was created but has a failed status. Use the `helm` command to investigate the error, correct it, then retry. Reason: timed out waiting for the condition
 
error: 1 error occurred:
	* Helm release "nginx-ingress/kic" was created, but failed to initialize completely. Use Helm CLI to investigate.: failed to become available within allocated timeout. Error: Helm Release nginx-ingress/kic: timed out waiting for the condition

 
nginx-ingress/regcred (kubernetes:yaml:ConfigFile$kubernetes:core/v1:Secret)
Retry #0; creation failed: namespaces "nginx-ingress" not found

Increasing timeouts does not seem to help. This error from ce7fe161178ff2e38e3f3fe200b7032c0dc6249a

4141done avatar May 10 '22 16:05 4141done

We are now seeing different errors on m1 (or at least I am).

#=============================================================================================#
#   ___    ____     ___                                        ____            _   _       _  #
#  |_ _|  / ___|   |_ _|  _ __ ___     __ _    __ _    ___    | __ )   _   _  (_) | |   __| | #
#   | |  | |        | |  | '_ ` _ \   / _` |  / _` |  / _ \   |  _ \  | | | | | | | |  / _` | #
#   | |  | |___     | |  | | | | | | | (_| | | (_| | |  __/   | |_) | | |_| | | | | | | (_| | #
#  |___|  \____|   |___| |_| |_| |_|  \__,_|  \__, |  \___|   |____/   \__,_| |_| |_|  \__,_| #
#                                             |___/                                           #
#                                                                                             #
#=============================================================================================#


Previewing update (jayaws101)

View Live: https://app.pulumi.com/qdzlug/kic-image-build/jayaws101/previews/96624b68-67dd-474a-ab3c-0215846b2c6c

     Type                               Name                       Plan       Info
 +   pulumi:pulumi:Stack                kic-image-build-jayaws101  create     1 message
     └─ pulumi-python:dynamic:Resource  nginx-ingress-controller              1 error

Diagnostics:
  pulumi:pulumi:Stack (kic-image-build-jayaws101):
    kic:image_origin not specified, defaulting to: repository

  pulumi-python:dynamic:Resource (nginx-ingress-controller):
    error: Exception calling application: 'IngressControllerImagePullerProvider' object has no attribute '__debug_logger_func'

This is at commit 8c9a299ec5898acd5284d10af637952502fa59e2 / #150

qdzlug avatar May 20 '22 20:05 qdzlug