How to Create a ReplicaSets On Kubernetes AKS Cluster

This post will show you how to create ReplicaSets on a Kubernetes Cluster running on Azure AKS.


Kubernetes, ReplicaSets allows us to deploy applications to a Kubernetes cluster and ensure a minimum number of pods are always running. ReplicaSet allows us to configure a desire state configuration to deployments.


In the following configuration, I am deploying a replicaset called nginxreplicaset with 3 replicas pod.

apiVersion: apps/v1
kind: ReplicaSet
  name: nginxreplicaset
    versionnumber: v1
  replicas: 3
      versionnumber: v1
        versionnumber: v1
      - name: nginx
        image: nginx

Success! You're on the list.

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.