Created
March 7, 2016 17:02
-
-
Save tonylambiris/7878ca3cd41f53a2ad8c to your computer and use it in GitHub Desktop.
kuberenetes guestbook controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kind":"ReplicationController", | |
"apiVersion":"v1", | |
"metadata":{ | |
"name":"guestbook", | |
"namespace": "default", | |
"labels":{ | |
"app":"guestbook" | |
} | |
}, | |
"spec":{ | |
"replicas":1, | |
"selector":{ | |
"app":"guestbook" | |
}, | |
"template":{ | |
"metadata":{ | |
"labels":{ | |
"app":"guestbook" | |
} | |
}, | |
"spec":{ | |
"containers":[ | |
{ | |
"name":"guestbook", | |
"image":"kubernetes/guestbook:v2", | |
"ports":[ | |
{ | |
"name":"http-server", | |
"containerPort":3000 | |
} | |
] | |
} | |
] | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment