-
This question was resolved and discussed on Polyaxon Slack. Posting for visibility if someone stumbles upon the same issue. Given setup:
And credentials setup from Kaniko github: Pushing to Amazon ECRAnd Kaniko integration in polyaxon-config.yml:connections:
- name: docker-registry
kind: registry
description: "aws docker repository"
schema:
url: https://ID.dkr.ecr.SOME-REGION.amazonaws.com
secret:
name: docker-conf
mountPath: /kaniko/.docker And polyaxonfile.yml from polyaxon example:version: 1.1
kind: operation
name: build
params:
destination:
connection: docker-registry
value: polyaxon-examples:ml
runPatch:
init:
- dockerfile:
image: "tensorflow/tensorflow:2.0.1-py3"
run:
- 'pip3 install --no-cache-dir -U polyaxon["polyboard","polytune"]'
langEnv: 'en_US.UTF-8'
hubRef: kaniko Then warning was raised:and job would be stuck like this until manually stopped.
|
Beta Was this translation helpful? Give feedback.
Answered by
sathoune
Apr 23, 2021
Replies: 1 comment
-
Resolution:The issue was with At first we had the type of secret that expires every 12 hours. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sathoune
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resolution:
The issue was with
aws-secret
type.At first we had the type of secret that expires every 12 hours.
Changing it to one that does not expire allowed successful connection and push of built image.