Code Monkey home page Code Monkey logo

Comments (10)

estherk0 avatar estherk0 commented on July 24, 2024

@prudentcircle 이 문제는 openstack helm chart 설치 시, hash값이 yaml에 적용되면서 원본 차트와 설치된 yaml이 달라지면서 생기는 문제입니다. 근본적인 문제 수정은 아니지만 다음과 같이 workaround 방법이 있습니다.
helm-operator deployment의 --charts-sync-interval 인자 값을 충분한 큰값으로 수정합니다.
예시:

      containers:
      - args:
        - --enabled-helm-versions=v2,v3
        - --log-format=fmt
        - --git-timeout=20s
        - --git-poll-interval=5m
        - --charts-sync-interval=9999999m

이렇게 되면 change detected 가 발생하지 않습니다.

from decapod-base-yaml.

bluejayA avatar bluejayA commented on July 24, 2024

@estherk0 워크 어라운드로 우선 적용하고, 최종적으로는 lua script 넣어서 해결해야 되는 것이 맞죠? lua script로 유사한 작업을 하게 되거나, 참조할 샘플이 있으면 공유해드리는 것도 좋을 듯 합니다.

from decapod-base-yaml.

seungkyua avatar seungkyua commented on July 24, 2024

@estherk0 워크 어라운드로 우선 적용하고, 최종적으로는 lua script 넣어서 해결해야 되는 것이 맞죠? lua script로 유사한 작업을 하게 되거나, 참조할 샘플이 있으면 공유해드리는 것도 좋을 듯 합니다.

@bluejayA helm-operator 를 decapod2 에서는 제거했으므로 관련 이슈가 나타나지 않을 겁니다.

from decapod-base-yaml.

estherk0 avatar estherk0 commented on July 24, 2024

@seungkyua decapod2에서 openstack이 아직 테스트되지 않아서 decapod1로 설치하고 있습니다.

from decapod-base-yaml.

prudentcircle avatar prudentcircle commented on July 24, 2024
  • --git-poll-interval=5m
    - --charts-sync-interval=9999999m

@estherk0 감사합니다. 그런 방법이 있었군요. 적용해 보겠습니다!

from decapod-base-yaml.

bluejayA avatar bluejayA commented on July 24, 2024

@estherk0 워크 어라운드로 우선 적용하고, 최종적으로는 lua script 넣어서 해결해야 되는 것이 맞죠? lua script로 유사한 작업을 하게 되거나, 참조할 샘플이 있으면 공유해드리는 것도 좋을 듯 합니다.

@bluejayA helm-operator 를 decapod2 에서는 제거했으므로 관련 이슈가 나타나지 않을 겁니다.

그렇네요. 우선 워크어라운드로 해 놓고, openstack을 decapod 2 기반으로 테스트/수정보완해서 만드는 순이겠군요.
참고로, 이런 부분들은 @prudentcircle 님 팀에서 오픈소스 프로젝트 범위에서 openstack부분을 맡아서 하실 수 있도록 적극 협업해나가려고 합니다.

from decapod-base-yaml.

prudentcircle avatar prudentcircle commented on July 24, 2024

@bluejayA 넵. GitHub 공간에서 더 자주 뵙게 되기를 희망하고 있습니다.

from decapod-base-yaml.

bluejayA avatar bluejayA commented on July 24, 2024
  • --git-poll-interval=5m
    • --charts-sync-interval=9999999m

@estherk0 감사합니다. 그런 방법이 있었군요. 적용해 보겠습니다!

혹시 해당 워크어라운드로 해결이 되셨으면 피드백 남겨주시면 감사하겠습니다

from decapod-base-yaml.

prudentcircle avatar prudentcircle commented on July 24, 2024
  • --git-poll-interval=5m

    • --charts-sync-interval=9999999m

@estherk0 감사합니다. 그런 방법이 있었군요. 적용해 보겠습니다!

혹시 해당 워크어라운드로 해결이 되셨으면 피드백 남겨주시면 감사하겠습니다

네. 다른 일정으로 인해 아직 적용을 못해보았습니다. 적용 이후에 피드백 남겨드리겠습니다!

from decapod-base-yaml.

prudentcircle avatar prudentcircle commented on July 24, 2024

@prudentcircle 이 문제는 openstack helm chart 설치 시, hash값이 yaml에 적용되면서 원본 차트와 설치된 yaml이 달라지면서 생기는 문제입니다. 근본적인 문제 수정은 아니지만 다음과 같이 workaround 방법이 있습니다.
helm-operator deployment의 --charts-sync-interval 인자 값을 충분한 큰값으로 수정합니다.
예시:

      containers:
      - args:
        - --enabled-helm-versions=v2,v3
        - --log-format=fmt
        - --git-timeout=20s
        - --git-poll-interval=5m
        - --charts-sync-interval=9999999m

이렇게 되면 change detected 가 발생하지 않습니다.

--charts-sync-interval=9999999m 적용하였습니다.
helm-operator 버전도 1.2.0 으로 올려서 적용해 보았습니다.

Workaround 성공적으로 적용 되었고, 설치도 잘 진행되었습니다.

이틀사이에 Revision이 1000이 넘게까지 올라갔으나
지금은 1 입니다 ^^.

NAME             	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART                  	APP VERSION
ceph-provisioners	openstack	3       	2021-07-25 18:34:50.163011821 +0000 UTC	deployed	ceph-provisioners-0.1.0
cinder           	openstack	1089    	2021-07-28 09:50:17.777258705 +0000 UTC	deployed	cinder-0.1.1
glance           	openstack	1085    	2021-07-28 09:50:18.699450567 +0000 UTC	deployed	glance-0.1.0

from decapod-base-yaml.

Related Issues (10)

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.