Giter Club home page Giter Club logo

Comments (4)

slok avatar slok commented on July 21, 2024 1

Indeed would be interesting (the same as the binaries). I'll take a look this week/weekend!

Many thanks for the examples!

from sloth.

slok avatar slok commented on July 21, 2024

Hey @paulfantom!

I just added support for multi-arch images. From now on, you will have available on latest, tagged releases, and also each PR merge and push on the main branch, e.g:

  • docker pull slok/sloth:v0.3.1
  • docker pull slok/sloth:latest

I made some tests. However, if you could and check everything is correct, I would appreciate it a lot. If there is any proble just reopen this issue :)

Many thanks!

from sloth.

paulfantom avatar paulfantom commented on July 21, 2024

Everything seems to be working just fine on ARM64:

$ kubectl describe pod sloth-7b78ffd46d-259pt
Name:         sloth-7b78ffd46d-259pt
Namespace:    monitoring
...
Start Time:   Mon, 14 Jun 2021 10:56:42 +0200
...
Status:       Running
...
Containers:
  sloth:
    Container ID:  containerd://35ee4283bdd95c54b669fa4a7383ef6af0830cdcf05480134783a50df3fe3e7f
    Image:         slok/sloth:v0.3.1
...
Node-Selectors:              kubernetes.io/arch=arm64
                             kubernetes.io/os=linux


$ kubectl logs sloth-7b78ffd46d-259pt
INFO[0000] Loading Kubernetes configuration...           version=v0.3.1
INFO[0000] Metrics http server listening                 addr=":8081" version=v0.3.1
INFO[0000] starting controller                           controller-id=sloth lib=kooper service=kooper.controller version=v0.3.1

And on AMD64:

$ kubectl describe pod sloth-6b8554cdd4-m8f2n
Name:         sloth-6b8554cdd4-m8f2n
Namespace:    monitoring
...
Start Time:   Mon, 14 Jun 2021 11:29:33 +0200
...
Status:       Running
...
Containers:
  sloth:
    Container ID:  containerd://cba9f3f26ffaf10d8f10d677edeb8c3dc328eb2dca7c7f2f9b901fca78df198f
    Image:         slok/sloth:v0.3.1
...
Node-Selectors:              kubernetes.io/arch=amd64
                             kubernetes.io/os=linux
                             
$ kubectl logs sloth-6b8554cdd4-m8f2n
INFO[0000] Loading Kubernetes configuration...           version=v0.3.1
INFO[0000] Metrics http server listening                 addr=":8081" version=v0.3.1
INFO[0000] starting controller                           controller-id=sloth lib=kooper service=kooper.controller version=v0.3.1

Thanks a lot for those multi-arch images! 💯 🎉

OT: I wrote a small jsonnet library to deploy sloth. With that lib, it should be fairly easy to deploy sloth with prometheus-operator/kube-prometheus project.

from sloth.

slok avatar slok commented on July 21, 2024

Awesome! many thanks for the tests.

I'll take a look at your jsonnet lib, thanks again! 🎉 🥇

from sloth.

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.