logo
0
0
Login

image sync

install helm

curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 chmod 700 get_helm.sh ./get_helm.sh helm version helm repo add portainer https://portainer.github.io/k8s/ helm repo update helm repo list helm pull portainer/portainer # download tgz helm pull portainer/portainer --untar --untardir ./my-charts # download and extract tgz helm push portainer-1.0.69.tgz oci://helm.cnb.cool/rilyuu/image_sync

install portainer with helm

helm install -n portainer portainer portainer/portainer # using NodePort on a local/remote cluster helm install -n portainer portainer portainer/portainer --set service.type=LoadBalancer # using a cloud provider's LoadBalancer helm install -n portainer portainer portainer/portainer --set service.type=ClusterIP # using ClusterIP with an ingress

install portainer with manifests

kubectl create namespace portainer kubectl apply -n portainer -f https://raw.githubusercontent.com/portainer/k8s/master/deploy/manifests/portainer/portainer.yaml

About

sync image from other repo