mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 20:17:41 +00:00
add nimbus pod and service definition
This commit is contained in:
parent
29cabbaf9a
commit
6bf499e515
9
examples/storm/storm-nimbus-service.json
Normal file
9
examples/storm/storm-nimbus-service.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"id": "nimbus",
|
||||||
|
"kind": "Service",
|
||||||
|
"apiVersion": "v1beta1",
|
||||||
|
"port": 6627,
|
||||||
|
"containerPort": 6627,
|
||||||
|
"selector": { "name": "nimbus" },
|
||||||
|
"labels": { "name": "nimbus" }
|
||||||
|
}
|
20
examples/storm/storm-nimbus.json
Normal file
20
examples/storm/storm-nimbus.json
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"id": "nimbus",
|
||||||
|
"kind": "Pod",
|
||||||
|
"apiVersion": "v1beta1",
|
||||||
|
"desiredState": {
|
||||||
|
"manifest": {
|
||||||
|
"version": "v1beta1",
|
||||||
|
"id": "nimbus",
|
||||||
|
"containers": [{
|
||||||
|
"name": "nimbus",
|
||||||
|
"image": "mattf/storm-nimbus",
|
||||||
|
"cpu": 100,
|
||||||
|
"ports": [{ "containerPort": 6627 }]
|
||||||
|
}]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"labels": {
|
||||||
|
"name": "nimbus"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user