Skip to content

Instantly share code, notes, and snippets.

@vigneshragupathy
Created September 29, 2018 07:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vigneshragupathy/451156b8705bb927f455b6afe3b4db2a to your computer and use it in GitHub Desktop.
Save vigneshragupathy/451156b8705bb927f455b6afe3b4db2a to your computer and use it in GitHub Desktop.
yaml file to create a simple replica sets
apiVersion: extensions/v1beta1
kind: ReplicaSet
metadata:
name: replicate-set-vikki
spec:
replicas: 2
template:
metadata:
labels:
system: ReplicaOne
spec:
containers:
- image: nginx
name: nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment