Files
argo-image-updater/manifests/minecraft/all.yaml

205 lines
7.1 KiB
YAML

apiVersion: v1
items:
- apiVersion: v1
kind: Service
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"v1","kind":"Service","metadata":{"annotations":{},"name":"minecraft-service","namespace":"minecraft"},"spec":{"ports":[{"nodePort":30065,"port":25565,"protocol":"TCP","targetPort":25565}],"selector":{"app":"minecraft"},"type":"NodePort"}}
'
creationTimestamp: '2025-03-15T17:15:31Z'
name: minecraft-service
namespace: minecraft
resourceVersion: '33501'
uid: df2206d4-9fd9-43d5-83c7-040ab8c83d76
spec:
clusterIP: 10.104.56.62
clusterIPs:
- 10.104.56.62
externalTrafficPolicy: Cluster
internalTrafficPolicy: Cluster
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- nodePort: 30065
port: 25565
protocol: TCP
targetPort: 25565
selector:
app: minecraft
sessionAffinity: None
type: NodePort
status:
loadBalancer: {}
- apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: '1'
kubectl.kubernetes.io/last-applied-configuration: '{"apiVersion":"apps/v1","kind":"Deployment","metadata":{"annotations":{},"labels":{"app":"minecraft"},"name":"minecraft-server","namespace":"minecraft"},"spec":{"replicas":1,"selector":{"matchLabels":{"app":"minecraft"}},"template":{"metadata":{"labels":{"app":"minecraft"}},"spec":{"containers":[{"env":[{"name":"EULA","value":"TRUE"},{"name":"TYPE","value":"FORGE"},{"name":"VERSION","value":"1.21.4"},{"name":"MEMORY","value":"4G"},{"name":"ENABLE_RCON","value":"true"},{"name":"RCON_PASSWORD","value":"supersecret"},{"name":"OVERRIDE_SERVER_PROPERTIES","value":"TRUE"},{"name":"SERVER_IP","value":"0.0.0.0"}],"image":"itzg/minecraft-server:latest","imagePullPolicy":"Always","name":"minecraft","ports":[{"containerPort":25565,"name":"minecraft","protocol":"TCP"}],"volumeMounts":[{"mountPath":"/data","name":"mc-data"}]}],"volumes":[{"name":"mc-data","persistentVolumeClaim":{"claimName":"mc-data-pvc"}}]}}}}
'
creationTimestamp: '2025-03-15T17:15:13Z'
generation: 2
labels:
app: minecraft
name: minecraft-server
namespace: minecraft
resourceVersion: '537709'
uid: ef31db7b-be9d-48c7-a8da-c9533463ce21
spec:
progressDeadlineSeconds: 600
replicas: 0
revisionHistoryLimit: 10
selector:
matchLabels:
app: minecraft
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
app: minecraft
spec:
containers:
- env:
- name: EULA
value: 'TRUE'
- name: TYPE
value: FORGE
- name: VERSION
value: 1.21.4
- name: MEMORY
value: 4G
- name: ENABLE_RCON
value: 'true'
- name: RCON_PASSWORD
value: supersecret
- name: OVERRIDE_SERVER_PROPERTIES
value: 'TRUE'
- name: SERVER_IP
value: 0.0.0.0
image: itzg/minecraft-server:latest
imagePullPolicy: Always
name: minecraft
ports:
- containerPort: 25565
name: minecraft
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: mc-data
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: mc-data
persistentVolumeClaim:
claimName: mc-data-pvc
status:
conditions:
- lastTransitionTime: '2025-03-15T17:15:13Z'
lastUpdateTime: '2025-03-15T17:17:17Z'
message: ReplicaSet "minecraft-server-589bb7cbf" has successfully progressed.
reason: NewReplicaSetAvailable
status: 'True'
type: Progressing
- lastTransitionTime: '2025-04-25T09:29:05Z'
lastUpdateTime: '2025-04-25T09:29:05Z'
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: 'True'
type: Available
observedGeneration: 2
- apiVersion: apps/v1
kind: ReplicaSet
metadata:
annotations:
deployment.kubernetes.io/desired-replicas: '0'
deployment.kubernetes.io/max-replicas: '0'
deployment.kubernetes.io/revision: '1'
creationTimestamp: '2025-03-15T17:15:13Z'
generation: 2
labels:
app: minecraft
pod-template-hash: 589bb7cbf
name: minecraft-server-589bb7cbf
namespace: minecraft
ownerReferences:
- apiVersion: apps/v1
blockOwnerDeletion: true
controller: true
kind: Deployment
name: minecraft-server
uid: ef31db7b-be9d-48c7-a8da-c9533463ce21
resourceVersion: '537706'
uid: 168f9115-db2a-4c62-913b-998ef3166dcd
spec:
replicas: 0
selector:
matchLabels:
app: minecraft
pod-template-hash: 589bb7cbf
template:
metadata:
creationTimestamp: null
labels:
app: minecraft
pod-template-hash: 589bb7cbf
spec:
containers:
- env:
- name: EULA
value: 'TRUE'
- name: TYPE
value: FORGE
- name: VERSION
value: 1.21.4
- name: MEMORY
value: 4G
- name: ENABLE_RCON
value: 'true'
- name: RCON_PASSWORD
value: supersecret
- name: OVERRIDE_SERVER_PROPERTIES
value: 'TRUE'
- name: SERVER_IP
value: 0.0.0.0
image: itzg/minecraft-server:latest
imagePullPolicy: Always
name: minecraft
ports:
- containerPort: 25565
name: minecraft
protocol: TCP
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /data
name: mc-data
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
volumes:
- name: mc-data
persistentVolumeClaim:
claimName: mc-data-pvc
status:
observedGeneration: 2
replicas: 0
kind: List
metadata: {}