kubernetes-client
direnv
kubernetes-client | direnv | |
---|---|---|
11 | 159 | |
3,307 | 11,734 | |
0.9% | 0.9% | |
9.7 | 8.7 | |
6 days ago | 17 days ago | |
Java | Go | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kubernetes-client
- FLaNK 25 December 2023
-
I would like to make calls to the K8s API server from within a Java app that is running in a pod. How would I authenticate it to do so?
While that is true Iโd like to suggest taking a look at this client: https://github.com/fabric8io/kubernetes-client
-
Does Fabric8io K8s java client support patch() or rollingupdate() using YAML snippets?
I am trying to program the patching/rolling upgrade of k8s apps by taking deployment snippets as input. I use patch() method to apply the snippet onto an existing deployment as part of rollingupdate using fabric8io's k8s client APIS.. Fabric8.io kubernetes-client version 4.10.1I'm also using some loadYaml helper methods from kubernetes-api 3.0.12.
-
Pod labeling not possible from within pod using Kubernetes on Docker-EE
This approach works fine on our DIND-Kubernetes environment. However, when tried to port the deployment onto a Docker-EE Kubernetes environment we ran into trouble because the command kubectl label pod generates a run time error which is completely misleading (also see https://github.com/fabric8io/kubernetes-client/issues/853).
-
Using Java annotation processor in Scala
To be specific, I am trying to use https://github.com/fabric8io/kubernetes-client/tree/master/crd-generator in scala code. If it is only duplicating one class or so, that seems manageable. But if I need to rewrite everything I am less confident
- Is 6 LPA worth it to work at a startup from 9 AM to 8 PM?
-
Creating scalable microservices for practice?
In terms of spinning up and managing everything, like, the stuff that's not Java apps. But some of the old fabric8 work - the predecessor to jKube - provides Java APIs and utilities to doing things like writing kubernetes operators in Java. Check out the kubernetes-client project. A lot of people never even learn about kubernetes operators, and just think "I have a service, la la la" plug their ears and then assume there will be some magic operational team that will deploy some service mesh app to solve all their problems.
-
How can I deploy a containerized application from code?
Fabric8 is a very good Solution. I played also with k8s provided solution but especially custom resource definitions are a hell. I can recommend fabric8 itโs also used in operators like strimzi https://github.com/fabric8io/kubernetes-client
-
Canceling a Tekton TaskRun with Fabric8 Kubernetes Java Client
As the name says, this article is all about how to Cancel TaskRuns in Tekton using the Fabric8 Tekton client. You can see the latest example code here
-
Difference between service-account token and client certificates for programmatic access
Can the service account token, be used programmtically e.g., using https://github.com/fabric8io/kubernetes-client ?
direnv
-
Show HN: Dotenv, if it is a Unix utility
I think direnv already does a good job in this space, and it's already available in your package manager.
https://direnv.net/
-
Mise is a polyglot tool version manager
I switched from asdf to mise after a comment on lobste.rs[1] suggested I do so a few months ago, and I have been very happy with it.
It sands off some of asdf's sharp UI edges and provides a somewhat larger but still reasonable feature set; I've also replaced most of my direnv[2] usage with it.
The mise -> asdf comparison page is useful[3]
1: https://lobste.rs/s/66uxbj/how_love_homebrew#c_mvmsjp
2: https://direnv.net/
3: https://mise.jdx.dev/dev-tools/comparison-to-asdf.html
-
Nix-direnv is a quality of life improvement
I also made the export diff configurable, motivated by this post: https://github.com/direnv/direnv/pull/1233
- Direnv โ Unclutter Your .profile
-
Conditional Git Configuration
Nice.
For years I've been using [direnv](https://direnv.net/) for this, setting environment variables which git picks up. This looks like a more feature complete equivalent, although to be honest I only really need switching of committer email and the SSH key used.
- FLaNK 25 December 2023
-
Development Environments with Guix, similar to devenv.sh
Direnv, for the uninitiated, loads and unloads environment variables when directories are entered and exited. Under every project folder there is a `$PROJ_DIR/.envrc` which contains:
-
Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
buffer-env: A pure-Elisp version of the direnv utility. Useful to make Emacs aware of Python virtualenvs (which, judging by the questions posted here, is unfortunately still a complication for a lot of people). Similar to (and inspired by) envrc, but doesn't require the direnv program.
-
golang cli vs env var in windows?
You can look at direnv to see this in action as they wrote shell hooks that get loaded into the shell profile and are executed on every prompt. https://direnv.net/
-
Nix Survival Mode: macOS upgrades won't break Nix anymore
Yes, most Nix users employ https://direnv.net or the equivalent for your IDE of choice. Emacs for instance has https://github.com/purcell/envrc which set per-buffer variables.
What are some alternatives?
jkube - Build and Deploy java applications on Kubernetes
spaceship-prompt - :rocket::star: Minimalistic, powerful and extremely customizable Zsh prompt
dsl - Structurizr DSL
Pipenv - Python Development Workflow for Humans.
MockServer - MockServer enables easy mocking of any system you integrate with via HTTP or HTTPS with clients written in Java, JavaScript and Ruby. MockServer also includes a proxy that introspects all proxied traffic including encrypted SSL traffic and supports Port Forwarding, Web Proxying (i.e. HTTP proxy), HTTPS Tunneling Proxying (using HTTP CONNECT) and SOCKS Proxying (i.e. dynamic port forwarding).
lorri - Your project's nix-env
consul-api - Java client for Consul HTTP API
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
container-jfr - Secure JDK Flight Recorder management for containerized JVMs
Neovim-from-scratch - ๐ A Neovim config designed from scratch to be understandable
Quarkus - Quarkus: Supersonic Subatomic Java.
Poetry - Python packaging and dependency management made easy