For Industrial & IoT, go to portainer.industries · For AI, go to portainer.ai
Register for our August 27th webinar: Why Kubernetes Docs Keep Losing You (And What We Did About It) →
Blog

Deploy Applications on Kubernetes with Portainer - Stateless, Stateful or Daemon

Key takeaways

  1. This will ensure that your application is deployed as a Daemon.

As you can see with Portainer it's extremely easy to deploy applications as Stateless, Stateful and as Daemon.

You can see a video walkthrough of this here:

Deploying applications on Kubernetes can be done using at least 3 methods, Stateless, Stateful or Daemon. With Portainer it is very easy to deploy applications regardless of the method. Let's check how.

Stateless

  1. The Create application option from Portainer by default will deploy applications as a Stateless/Deployment type that you can edit and scale up or down. Under Deployment make sure to select the Replicated option selected:

  1. You can go back to the application after it is deployed to increase/reduce the amount of instances.
  2. It's that simple!

Stateful

  1. The difference from the method above is that a Stateful application, that necessarily requires persistence on the Data access policy has to be selected as Isolated:

  1. This is enough to deploy applications with a StatefulSet method.

DaemonSet

  1. To deploy applications as DaemonSets all you need to do is select a Global deployment method so the pods are copied on every node of the Kubernetes cluster:

  1. This will ensure that your application is deployed as a Daemon.

As you can see with Portainer it's extremely easy to deploy applications as Stateless, Stateful and as Daemon.

You can see a video walkthrough of this here:

One platform, not twelve tools.

Govern Kubernetes across your whole fleet from a single control plane. Get 3 nodes free.

Get 3 nodes freeTalk to technical sales


Get 3 nodes free More from the blog