Coder Social home page Coder Social logo

harbor方面的需求 about kubeasy HOT 5 CLOSED

ztdawang avatar ztdawang commented on July 27, 2024
harbor方面的需求

from kubeasy.

Comments (5)

ztdawang avatar ztdawang commented on July 27, 2024

另外,我在安装cilium时,还碰到一个问题: 健康检查失败(就成功了1次)

不过,倒也能正常使用。 但为什么会报错呢?麻烦帮忙解决一下,谢谢!

Liveness:       http-get http://127.0.0.1:9879/healthz delay=0s timeout=5s period=30s #success=1 #failure=10
Readiness:      http-get http://127.0.0.1:9879/healthz delay=0s timeout=5s period=30s #success=1 #failure=3
Startup:        http-get http://127.0.0.1:9879/healthz delay=0s timeout=1s period=2s #success=1 #failure=105

Warning Unhealthy 34s (x10 over 52s) kubelet Startup probe failed: Get "http://127.0.0.1:9879/healthz": dial tcp 127.0.0.1:9879: connect: connection refused

from kubeasy.

buxiaomo avatar buxiaomo commented on July 27, 2024

个人觉得应该增加一个安装选项: 将kubeasy-offline-v1.25.4.tar.gz的镜像推送至 本地Harbor 仓库(增加一个推送脚本)

   make deploy harbor_url=harbor.xxx.com

kubeasy-offline文件中包含 push-to-private-registry.sh,可以帮助你将我打包的镜像推送到自己的私有仓库

eg:

./push-to-private-registry.sh -h 172.16.2.11 -r infra -u admin -p admin

另外在部署时可以用过 REGISTRY_URL 参数指定私有仓库地址,格式参考 Makefile 中的说明

eg:

make deploy REGISTRY_URL=http://harbor.xxx.com

from kubeasy.

buxiaomo avatar buxiaomo commented on July 27, 2024

另外,我在安装cilium时,还碰到一个问题: 健康检查失败(就成功了1次)

不过,倒也能正常使用。 但为什么会报错呢?麻烦帮忙解决一下,谢谢!

Liveness:       http-get http://127.0.0.1:9879/healthz delay=0s timeout=5s period=30s #success=1 #failure=10
Readiness:      http-get http://127.0.0.1:9879/healthz delay=0s timeout=5s period=30s #success=1 #failure=3
Startup:        http-get http://127.0.0.1:9879/healthz delay=0s timeout=1s period=2s #success=1 #failure=105

Warning Unhealthy 34s (x10 over 52s) kubelet Startup probe failed: Get "http://127.0.0.1:9879/healthz": dial tcp 127.0.0.1:9879: connect: connection refused

网络插件部署脚本均为官方文件,只对本项目做了镜像地址适配,你可以通过增加健康检查的时间防止时间太短而导致健康检查失败

from kubeasy.

ztdawang avatar ztdawang commented on July 27, 2024

好的,感谢!

from kubeasy.

buxiaomo avatar buxiaomo commented on July 27, 2024

如果频繁出现,需要你检查一下cilium对环境的要求,具体可到cilium官网查阅

https://docs.cilium.io/en/stable/operations/system_requirements/

from kubeasy.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.