Creating ReplicaSets
In this lesson, first, we will create a ReplicaSet and then retrieve it.
Looking into the Definition
Let’s take a look at a ReplicaSet based on the Pod we created in the previous chapter.
The output is as follows.
The
apiVersion,kind, andmetadatafields are mandatory with all Kubernetes objects. ReplicaSet is no exception, i.e., it is also a Kubernetes object.
-
Line 1: We specified that the ...
Access this course and 1800+ top-rated courses and projects.