XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. jmara
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 11
    • Groups 0

    jmara

    @jmara

    3
    Reputation
    9
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Website www.krankikom.de
    Location Germany

    jmara Unfollow Follow

    Best posts made by jmara

    • RE: Prometheus SD through REST API

      @olivierlambert Uh very nice 🙂 now I got something to play with in the evening 🙂 I'll let you know once I've created a PoC

      posted in REST API
      jmaraJ
      jmara
    • Prometheus SD through REST API

      Hi,

      I was wondering if we could get a REST API Endpoint to discover vms via the prometheus build-in http_sd?

      As a starting point it would be nice the get the ips and pool association of vms through the /vms call so that it would be possible to write a wrapper script to match the http_sd format.

      Or is this possible and I haven't found the correct fields yet? 🙂

      Cheers,
      Jan

      posted in REST API
      jmaraJ
      jmara

    Latest posts made by jmara

    • RE: Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      @Cyrille 👍

      posted in Infrastructure as Code
      jmaraJ
      jmara
    • RE: Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      @nathanael-h There should be no need to use an access token, because:
      a) the personal account does not have access to the vates repo and can therefor not grant any privileges
      b) is xenorchestra-csi-driver a public repo and all assets are public available

      The only valid point can be rate limits but as this test setup usually does not invoke a massive load of docker pulls it should be neglectable.

      @thasianxi
      It looks like a mixup, the Repo / Deployment refers to the github repository name as docker image which is usually the case. Unfortunatly the packages (which are created have a different name) can you replace ghcr.io/vatesfr/xenorchestra-csi-driver:edge with ghcr.io/vatesfr/xenorchestra-csi:edge in the manifest and retry?

      Cheers
      Jan M.

      posted in Infrastructure as Code
      jmaraJ
      jmara
    • RE: Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      Great stuff, looking forward and will try the CSI in the next couple of weeks 🙂

      @bvitnik There is an old CSI for xcp-ng (5 years old) which directly talks to the Xen-API, but I'd rather have a middleware which as @olivierlambert already stated has ACL's and security build-in.
      Eventually you will end up in a broken xen cluster because you have a k8s node with cluster wide privileges to the XenAPI.

      @olivierlambert Is there any loose roadmap for the CSI? 🙂

      Cheers,
      Jan

      posted in Infrastructure as Code
      jmaraJ
      jmara
    • RE: Prometheus SD through REST API

      @olivierlambert Uh very nice 🙂 now I got something to play with in the evening 🙂 I'll let you know once I've created a PoC

      posted in REST API
      jmaraJ
      jmara
    • RE: Prometheus SD through REST API

      @olivierlambert As said, I would be a starting point if the fields of the /vms call will be extended to include ipaddesses, pool_name/id and maybe host_affinity

      posted in REST API
      jmaraJ
      jmara
    • RE: Prometheus SD through REST API

      @olivierlambert sure its a new service discovery plugin in the prometheus core which scrapes http endpoints:
      https://prometheus.io/docs/prometheus/latest/http_sd/

      It requires this json format:

      [
        {
          "targets": [ "<host>", ... ],
          "labels": {
            "<labelname>": "<labelvalue>", ...
          }
        },
        ...
      ]
      
      posted in REST API
      jmaraJ
      jmara
    • Prometheus SD through REST API

      Hi,

      I was wondering if we could get a REST API Endpoint to discover vms via the prometheus build-in http_sd?

      As a starting point it would be nice the get the ips and pool association of vms through the /vms call so that it would be possible to write a wrapper script to match the http_sd format.

      Or is this possible and I haven't found the correct fields yet? 🙂

      Cheers,
      Jan

      posted in REST API
      jmaraJ
      jmara
    • RE: vCPU overcommitment stats

      @olivierlambert ah good to know 😄 thats fine I'll take a look at the metrics maybe I'll write a small rrd stats pusher script as an interim solution for my usecase 🙂 until XO6 is available.

      Thanks for letting me know 🙂

      posted in Compute
      jmaraJ
      jmara
    • RE: vCPU overcommitment stats

      @olivierlambert I'll check later this afternoon, as the loads keeps increasing through the day and let you know if the counter moves.

      Should I file a feature request for XOA as support ticket to get the counter into the stats section? Might be an interesting counter for others as well.

      posted in Compute
      jmaraJ
      jmara
    • RE: vCPU overcommitment stats

      @olivierlambert yeah i thought so too 😄 is there any way to visualize this in XOA/netdata?

      posted in Compute
      jmaraJ
      jmara