mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-28 12:35:21 +01:00
Update the image version in the example file (#8)
* Update the image version in the example file https://github.com/itzg/mc-router/issues/7 Deployed it with an older version. Works but ends up spiking in CPU usage. Easy to overlook. Also, for good measure/best practice, added resource request/limit. * Bad syntax on CPU limit value
This commit is contained in:
parent
3ea1149681
commit
be33d2c9d1
@ -63,7 +63,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
serviceAccountName: mc-router
|
serviceAccountName: mc-router
|
||||||
containers:
|
containers:
|
||||||
- image: itzg/mc-router:1.1.1
|
- image: itzg/mc-router:latest
|
||||||
name: mc-router
|
name: mc-router
|
||||||
args: ["--api-binding", ":8080", "--in-kube-cluster"]
|
args: ["--api-binding", ":8080", "--in-kube-cluster"]
|
||||||
ports:
|
ports:
|
||||||
@ -71,6 +71,13 @@ spec:
|
|||||||
containerPort: 25565
|
containerPort: 25565
|
||||||
- name: web
|
- name: web
|
||||||
containerPort: 8080
|
containerPort: 8080
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 50Mi
|
||||||
|
cpu: "100m"
|
||||||
|
limits:
|
||||||
|
memory: 100Mi
|
||||||
|
cpu: "250m"
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
Loading…
Reference in New Issue
Block a user