Deploy ReplicaSet in Kubernetes Cluster

Create a ReplicaSet using nginx image with latest tag (ensure to specify as nginx:latest) and name it nginx-replicaset.

Apply labels: app as nginx_app, type as front-end.

Name the container nginx-container. Ensure the replica count is 4.

i had this, i verify all is ok, i even overwrite my label because he says tags was not correctly passed, i verify again, and that’s my last describe.

i hope i can pass the next step

Hi @Fatalfeed

Please share the course level and task name. I’ll check it.

Here are some troubleshooting tips that you can try out, if you describe the ReplicaSet and it shows no pods created or incorrect labeling, make sure:

  • The labels under spec.selector.matchLabels match exactly with the labels in template.metadata.labels
  • There are no typos or unintended label overwrites in your previous YAML files