sealerio / sealer

Build, Share and Run Both Your Kubernetes Cluster and Distributed Applications (Project under CNCF)
http://sealer.cool
Apache License 2.0
2.06k stars 362 forks source link

I want to replace some images of the K8S component related images in kubernetes-v1.20.15.tar images package #1645

Open ProgrammerVsita opened 2 years ago

ProgrammerVsita commented 2 years ago

Because of the customer's request, they want to use their own K8S component image during deployment. What should I do, please. image

kakaZhou719 commented 2 years ago

@ProgrammerVsita ,I am curious to ask, why do you need to replace the base image of the k8s component? Can we completely rebuild a new image? network issue ? if so, start a private local registry ,load your load images to it, write imagelist with your private local registry address , rerun build cloudimage .

ProgrammerVsita commented 2 years ago

Because on Kylin's machine, the K8S native image has an impact on machine learning performance , it needs to be replaced with the K8S image provided by the customer for Kylin , I changed the mirror tag I prepared to sea.hub:5000/.* , then write imagelist with my private local registry address , rerun build cloudimage , will the same TAG image inside be replaced in cloudimage ? Thank you~

kakaZhou719 commented 2 years ago

yes, it is. image list content looks like : {your local address}/kube-apiserver:v1.24.2