Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Argonus committed Nov 27, 2024
1 parent 5bdbcb1 commit 76566bc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/strategy/kubernetes.ex
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ defmodule Cluster.Strategy.Kubernetes do
- `:kubernetes_selector`
- `:kubernetes_service_name`
- `:kubernetes_ip_lookup_mode`
- `:kubernetes_resource_version`
- `:mode`
## Getting `<basename>`
Expand Down Expand Up @@ -70,6 +71,12 @@ defmodule Cluster.Strategy.Kubernetes do
Then, this strategy will fetch the IP of all pods with that label and attempt to connect.
### `kubernetes_resource_version` option
When setting this value, this strategy will use given resource version value to fetch k8s resources,
where each modification of the resource increments the resource version.
If set to `0` kubernetes will use cached version, that may be outdated.
### `:mode` option
Expand Down

0 comments on commit 76566bc

Please sign in to comment.