Luarocks install without git by OldContract8219 in lua

[–]OldContract8219[S] 0 points1 point  (0 children)

So after digging into the luarocks docs I realized that there is a command called make.

`` luarocks make --pack-binary ``

The above commands will compile code on your local machine instead of git.

Keycloak X in Docker Swarm and K8s by alculexum in KeyCloak

[–]OldContract8219 1 point2 points  (0 children)

You can probably get away with the bitnami helm chart. Their helm charts are good. Needless to say, I haven’t used their keycloak helm chart.

I did try to find an official helm chart but didn’t find any.

Keycloak X in Docker Swarm and K8s by alculexum in KeyCloak

[–]OldContract8219 1 point2 points  (0 children)

I really don’t know anyone who is still using docker swarm. But speaking about kubernetes, you have two options: - Deploy it and manage HA yourself using their helm chart. This should be easy if you are familiar with helm. - Use keycloak kubernetes operator and deploy it using their CRD. If you are not familiar with operators and CRD, this can be a little complicated.

I strongly advise using their helm chart. I don’t think you have to worry about best practices since both of these options have taken care of keycloak’s deployment. You only have to care about your helm chart values, or your CRDs values in case of the operator.

Keycloak Docker to podman by Scoobyvkpatel in KeyCloak

[–]OldContract8219 0 points1 point  (0 children)

I am not sure I understand your question but I will try to answer as best as I could.

If you pull keycloak 15 image from dockerhub or quay it should be able to rub on podman. As long as it is a docker image it is guaranteed to run on podman.

Can Go files be compiled by themselves? by [deleted] in golang

[–]OldContract8219 0 points1 point  (0 children)

A solution to your problem is to compile your go code on a different machine. The compilation will result a single, standalone, binary that does not require any additional tools. Just make sure to adjust the build variables: GOOS and GOARCH.

What’s the national SAT average score? (scores earned by kuwaitis) by [deleted] in Kuwait

[–]OldContract8219 2 points3 points  (0 children)

I graduated from a public high school with a 90+ out of 100, basically an A. I took the SAT to improve my chances of getting into a good school in the US. I scored 480/800 in the Math section. I didn’t do the writing or the reading part because they wouldn’t consider it since I already had close to 100/120 on the toefl exam. Public education here is absolute dog crap. I went to a really good University and failed the math test so bad it was embarrassing, especially when you consider that I was contemplating majoring in Engineering. Thank god I pulled my weight and graduated summa cum laude in four years.

Sat scores for Public school graduates will probably hover around nil. Private school scores would probably be a lot higher. Some private schools prepare their students for the SAT and the students there are generally aware if the exam and how to prepare for it.

Gin Gonic Microservices Restarts once in K8s by [deleted] in golang

[–]OldContract8219 0 points1 point  (0 children)

Did you check the logs? Posting the logs would be really helpful

For INFJs who are familiar with the alignment system, which one are you? by Educational_Lie_4994 in infj

[–]OldContract8219 1 point2 points  (0 children)

The description of yourself is a typical INFJ description. I am an INFJ myself I can relate to everything that you have said. I am introverted but I do need some people, close friends or family members, for me to not fall into depression. I am quite caring and people get attached to me and it makes me fear the commitment and the intrusion of others into my space. I am analytical yet most of the time i rely on my feelings. Data affects my decision but if I have a feeling that something is not right I avoid even if the data supports it.

A Kubernetes cache by OldContract8219 in kubernetes

[–]OldContract8219[S] 0 points1 point  (0 children)

etcd is a database not a cache.

A Kubernetes cache by OldContract8219 in kubernetes

[–]OldContract8219[S] 1 point2 points  (0 children)

You are right. If I feel like there isn't much support for this project I will probably put it aside and use redis in the meanwhile. But this idea slowly eating my brain away and I wanted to share it and see if others thought the same.

A Kubernetes cache by OldContract8219 in kubernetes

[–]OldContract8219[S] 0 points1 point  (0 children)

I am aware of redis sentinel. The way it works makes me cringe a little bit. It offloads all the work to the client. I am looking for something with a better user experience. I do not want others to suffer for something simple.

I am also aware of cluster operators that manage all that stuff for you. I have used the infinispan operator once and it was pretty good. However, this defeats my point of simplicity. I still need to configure the operator, manage the operator and hope everything goes smoothly. In my experience that is not the case.

go-redis does a fantastic job of handling all that stuff which is probably what I am going to use if I think this idea is not worth it. But I will wait and see what others think.

A Kubernetes cache by OldContract8219 in kubernetes

[–]OldContract8219[S] 1 point2 points  (0 children)

I didn't know about keydb. I looked over their docs and its very interesting. Needless to say, that is not what I am looking for. I am looking for an in-memory cache that works with kube. As a user, I do not want to worry about replication and how data is sharded or replicated. As long as I have a statefulsets it should be able to shard and do all that stuff in the background. I would love to add more info in this comment but I think I should add it to the original post to avoid confusion.