forked from dgkanatsios/azuregameserversscalingkubernetes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdedicatedgameserver.yaml
45 lines (45 loc) · 1.28 KB
/
dedicatedgameserver.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: dedicatedgameservers.azuregaming.com
spec:
group: azuregaming.com
version: v1alpha1
scope: Namespaced
names:
kind: DedicatedGameServer
plural: dedicatedgameservers
singular: dedicatedgameserver
shortNames:
- dgs
#subresources:
# status: {} # status enables the status subresource
additionalPrinterColumns:
- name: Players
type: string
description: number of active players on the server
JSONPath: .status.activePlayers
- name: DGSState
type: string
description: state of the game server
JSONPath: .status.dgsState
- name: PodPhase
type: string
description: phase of the game server's pod
JSONPath: .status.podPhase
- name: Health
type: string
description: health of the DGS
JSONPath: .status.health
- name: MFD
type: string
description: MarkedForDeletion status value
JSONPath: .status.markedForDeletion
- name: PublicIP
type: string
description: node's public IP for this DedicatedGameServer
JSONPath: .status.publicIP
- name: Ports
type: string
description: port mapping of the game server
JSONPath: .spec.template.containers[0].ports