mirror of
https://github.com/itzg/mc-router.git
synced 2024-11-24 11:55:24 +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:
|
||||
serviceAccountName: mc-router
|
||||
containers:
|
||||
- image: itzg/mc-router:1.1.1
|
||||
- image: itzg/mc-router:latest
|
||||
name: mc-router
|
||||
args: ["--api-binding", ":8080", "--in-kube-cluster"]
|
||||
ports:
|
||||
@ -71,6 +71,13 @@ spec:
|
||||
containerPort: 25565
|
||||
- name: web
|
||||
containerPort: 8080
|
||||
resources:
|
||||
requests:
|
||||
memory: 50Mi
|
||||
cpu: "100m"
|
||||
limits:
|
||||
memory: 100Mi
|
||||
cpu: "250m"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
Loading…
Reference in New Issue
Block a user