Link to new Kubernetes deployment guide (#29187)
This commit is contained in:
parent
7a29543545
commit
9f05948f29
1 changed files with 18 additions and 15 deletions
|
|
@ -3,6 +3,24 @@ project.description: How to deploy Akka Cluster to Kubernetes and Docker.
|
|||
---
|
||||
# Deploying
|
||||
|
||||
## Deploying to Kubernetes
|
||||
|
||||
See the guide and example project for [Deploying Akka Cluster to Kubernetes](https://doc.akka.io/docs/akka-management/current/kubernetes-deployment/index.html).
|
||||
|
||||
### Cluster bootstrap
|
||||
|
||||
To take advantage of running inside Kubernetes while forming a cluster,
|
||||
[Akka Cluster Bootstrap](https://doc.akka.io/docs/akka-management/current/bootstrap/) helps forming or joining a cluster using Akka Discovery to discover peer nodes.
|
||||
with the Kubernetes API or Kubernetes via DNS.
|
||||
|
||||
You can look at the
|
||||
@extref[Cluster with Kubernetes example project](samples:akka-sample-cluster-kubernetes-java)
|
||||
to see what this looks like in practice.
|
||||
|
||||
### Resource limits
|
||||
|
||||
To avoid CFS scheduler limits, it is best not to use `resources.limits.cpu` limits, but use `resources.requests.cpu` configuration instead.
|
||||
|
||||
## Deploying to Docker containers
|
||||
|
||||
You can use both Akka remoting and Akka Cluster inside Docker containers. Note
|
||||
|
|
@ -32,18 +50,3 @@ starved of CPU time, but your system appears idle.
|
|||
|
||||
For this reason, it is best to avoid `--cpus` and `--cpu-quota` entirely, and instead specify relative container weights using `--cpu-shares` instead.
|
||||
|
||||
## Deploying to Kubernetes
|
||||
|
||||
### Cluster bootstrap
|
||||
|
||||
To take advantage of running inside Kubernetes while forming a cluster,
|
||||
[Akka Cluster Bootstrap](https://doc.akka.io/docs/akka-management/current/bootstrap/) helps forming or joining a cluster using Akka Discovery to discover peer nodes.
|
||||
with the Kubernetes API or Kubernetes via DNS.
|
||||
|
||||
You can look at the
|
||||
@extref[Cluster with Kubernetes example project](samples:akka-sample-cluster-kubernetes-java)
|
||||
to see what this looks like in practice.
|
||||
|
||||
### Resource limits
|
||||
|
||||
To avoid CFS scheduler limits, it is best not to use `resources.limits.cpu` limits, but use `resources.requests.cpu` configuration instead.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue