Giter VIP home page Giter VIP logo

Comments (7)

2uasimojo avatar 2uasimojo commented on August 24, 2024 1

@MuneebAijaz Sure, we would be happy to work with you on this. It should be pretty straightforward:

from hive.

2uasimojo avatar 2uasimojo commented on August 24, 2024

Hive does not create syncsets for anything by default; this is clearly coming from somewhere else. You may be able to figure out where by looking at managed fields:

oc get sss $name -o yaml --show-managed-fields

Also noteworthy is that the clustersync controller will apply syncsets in ascending alpha name order; so you may be able to work around this by naming your patch z-default-ingress-controller-patch or similar.

from hive.

John2020-cyber avatar John2020-cyber commented on August 24, 2024

The above mentioned SyncSet is created by Hive itself. That causes our patch to be overwritten.
We are providing custom TLS certificates for the spoke and that therefore creates ClusterIngress SyncSet.
Even if we change the name with z-default-ingress-controller-patch on every reconcile it will try to change the same resource two times causing the ingress pod roll-out to happen twice

from hive.

2uasimojo avatar 2uasimojo commented on August 24, 2024

Okay, I found the code that creates the SyncSet when CD.Spec.Ingress is specified.

Also let me correct/clarify my statement about ordering: We apply in alpha order, but we apply all SyncSets first; then all SelectorSyncSets. So the rename wouldn't have made a different in your case -- your SSS would have been applied last anyway.

causing the ingress pod rollout to happen twice

While not ideal, does this actually cause a problem? I ask because...

I can see where we would be able to add HttpErrorCodePages to our Ingress API and get it funneled through to the IngressController. I've opened HIVE-2040 to put that on our radar. However, our belt is pretty tight for feature work at the moment, so it may be a while before we can get to it.

Out of curiosity, how are you consuming/installing hive? From OperatorHub? Via ACM or MCE? Directly from the repo?

from hive.

John2020-cyber avatar John2020-cyber commented on August 24, 2024

While not ideal, does this actually cause a problem? I ask because...

SyncSet applies hives default values,

httpErrorCodePages:
        name: ''

Our SelectorSyncSet applies custom values,

  httpErrorCodePages:
       name: saap-error-pages

So both of these conflict with each other on every reconcile, which constantly make our pod and configmap recreate.

Out of curiosity, how are you consuming/installing hive? From OperatorHub? Via ACM or MCE? Directly from the repo?

Via ACM

from hive.

2uasimojo avatar 2uasimojo commented on August 24, 2024

Thanks for the responses. Are you able to (create a Jira account and) follow the card? We don't track issues in GH so I'd like to close this one.

from hive.

MuneebAijaz avatar MuneebAijaz commented on August 24, 2024

Hi, @2uasimojo , I would like to work on this. Are you accepting community PRs for hive?

from hive.

Related Issues (20)

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.