mirror of https://github.com/k3s-io/k3s
41 lines
768 B
JSON
41 lines
768 B
JSON
{
|
|
"kind": "ReplicationController",
|
|
"apiVersion": "v1beta3",
|
|
"metadata": {
|
|
"name": "meteor-controller",
|
|
"labels": {
|
|
"name": "meteor"
|
|
}
|
|
},
|
|
"spec": {
|
|
"replicas": 2,
|
|
"selector": {
|
|
"name": "meteor"
|
|
},
|
|
"template": {
|
|
"metadata": {
|
|
"labels": {
|
|
"name": "meteor"
|
|
}
|
|
},
|
|
"spec": {
|
|
"containers": [
|
|
{
|
|
"name": "meteor",
|
|
"image": "chees/meteor-gke-example:latest",
|
|
"ports": [
|
|
{
|
|
"name": "http-server",
|
|
"hostPort": 80,
|
|
"containerPort": 8080,
|
|
"protocol": "TCP"
|
|
}
|
|
],
|
|
"resources": {}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|