skaffold

进入到私服部署:

skaffold dev –default-repo=10.7.116.12:5000 –insecure-registry 10.7.116.12:5000

skaffold dev –default-repo=10.7.20.12:5000 –insecure-registry 10.7.20.12:5000

使用 minikube 的 docker context

1
minikube image load  10.7.20.12:5000/node:14-alpine
1
2
3
4
5
6
7
eval $(minikube -p minikube docker-env)
解绑minikube
eval $( minikube docker-env --unset)
k8s-eggjs-promethues
helm upgrade k8seggjs ./k8seggjs -f values.yaml -n k8seggjs
启动minikube的时,使用--insecure-registry启动
minikube start --insecure-registry 'ip:port'

minikube 需要先导入镜像,不然会报错。

  1. 启动 minikube 的时,使用–insecure-registry 启动

    1
    
    minikube start --insecure-registry 'ip:port'
    
Licensed under CC BY-NC-SA 4.0
最后更新于 Jan 06, 2025 05:52 UTC
comments powered by Disqus
Built with Hugo
主题 StackJimmy 设计
Caret Up