Skip to content

Commit

Permalink
v0.3.2 (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgkanatsios committed Apr 7, 2022
1 parent 2121b8e commit a46b562
Show file tree
Hide file tree
Showing 11 changed files with 123 additions and 108 deletions.
49 changes: 24 additions & 25 deletions installfiles/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,10 @@ spec:
minimum: 0
type: integer
portsToExpose:
description: PortsToExpose is an array of tuples of container/port names that correspond to the ports that will be exposed on the VM
description: PortsToExpose is an array of ports that will be exposed on the VM
items:
description: PortToExpose is a tuple of container/port names that correspond to the ports that will be exposed on the VM
properties:
containerName:
type: string
portName:
type: string
required:
- containerName
- portName
type: object
format: int32
type: integer
type: array
standingBy:
description: StandingBy is the requested number of standingBy servers
Expand Down Expand Up @@ -4353,18 +4345,10 @@ spec:
type: object
type: array
portsToExpose:
description: PortsToExpose is an array of tuples of container/port names that correspond to the ports that will be exposed on the VM
description: PortsToExpose is an array of ports that will be exposed on the VM
items:
description: PortToExpose is a tuple of container/port names that correspond to the ports that will be exposed on the VM
properties:
containerName:
type: string
portName:
type: string
required:
- containerName
- portName
type: object
format: int32
type: integer
type: array
template:
description: Template describes the pod template specification of the game server
Expand Down Expand Up @@ -8813,6 +8797,21 @@ spec:
selector:
control-plane: controller-manager
---
apiVersion: v1
kind: Service
metadata:
labels:
name: nodeagent
name: thundernetes-nodeagent-metrics-service
namespace: thundernetes-system
spec:
ports:
- name: nodeagentport
port: 56001
targetPort: 56001
selector:
name: nodeagent
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -8845,12 +8844,12 @@ spec:
- name: API_SERVICE_SECURITY
value: none
- name: THUNDERNETES_INIT_CONTAINER_IMAGE
value: ghcr.io/playfab/thundernetes-initcontainer:0.3.1
value: ghcr.io/playfab/thundernetes-initcontainer:0.3.2
- name: TLS_SECRET_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/playfab/thundernetes-operator:0.3.1
image: ghcr.io/playfab/thundernetes-operator:0.3.2
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down Expand Up @@ -8909,7 +8908,7 @@ spec:
fieldPath: status.hostIP
- name: LOG_LEVEL
value: info
image: ghcr.io/playfab/thundernetes-nodeagent:0.3.1
image: ghcr.io/playfab/thundernetes-nodeagent:0.3.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
68 changes: 43 additions & 25 deletions installfiles/operator_with_monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,10 @@ spec:
minimum: 0
type: integer
portsToExpose:
description: PortsToExpose is an array of tuples of container/port names that correspond to the ports that will be exposed on the VM
description: PortsToExpose is an array of ports that will be exposed on the VM
items:
description: PortToExpose is a tuple of container/port names that correspond to the ports that will be exposed on the VM
properties:
containerName:
type: string
portName:
type: string
required:
- containerName
- portName
type: object
format: int32
type: integer
type: array
standingBy:
description: StandingBy is the requested number of standingBy servers
Expand Down Expand Up @@ -4353,18 +4345,10 @@ spec:
type: object
type: array
portsToExpose:
description: PortsToExpose is an array of tuples of container/port names that correspond to the ports that will be exposed on the VM
description: PortsToExpose is an array of ports that will be exposed on the VM
items:
description: PortToExpose is a tuple of container/port names that correspond to the ports that will be exposed on the VM
properties:
containerName:
type: string
portName:
type: string
required:
- containerName
- portName
type: object
format: int32
type: integer
type: array
template:
description: Template describes the pod template specification of the game server
Expand Down Expand Up @@ -8813,6 +8797,21 @@ spec:
selector:
control-plane: controller-manager
---
apiVersion: v1
kind: Service
metadata:
labels:
name: nodeagent
name: thundernetes-nodeagent-metrics-service
namespace: thundernetes-system
spec:
ports:
- name: nodeagentport
port: 56001
targetPort: 56001
selector:
name: nodeagent
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -8845,12 +8844,12 @@ spec:
- name: API_SERVICE_SECURITY
value: none
- name: THUNDERNETES_INIT_CONTAINER_IMAGE
value: ghcr.io/playfab/thundernetes-initcontainer:0.3.1
value: ghcr.io/playfab/thundernetes-initcontainer:0.3.2
- name: TLS_SECRET_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/playfab/thundernetes-operator:0.3.1
image: ghcr.io/playfab/thundernetes-operator:0.3.2
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down Expand Up @@ -8909,7 +8908,7 @@ spec:
fieldPath: status.hostIP
- name: LOG_LEVEL
value: info
image: ghcr.io/playfab/thundernetes-nodeagent:0.3.1
image: ghcr.io/playfab/thundernetes-nodeagent:0.3.2
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -8994,3 +8993,22 @@ spec:
selector:
matchLabels:
control-plane: controller-manager
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
name: nodeagent
name: thundernetes-nodeagent-metrics-monitor
namespace: thundernetes-system
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
path: /metrics
port: nodeagentport
scheme: http
tlsConfig:
insecureSkipVerify: true
selector:
matchLabels:
name: nodeagent
49 changes: 24 additions & 25 deletions installfiles/operator_with_security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,10 @@ spec:
minimum: 0
type: integer
portsToExpose:
description: PortsToExpose is an array of tuples of container/port names that correspond to the ports that will be exposed on the VM
description: PortsToExpose is an array of ports that will be exposed on the VM
items:
description: PortToExpose is a tuple of container/port names that correspond to the ports that will be exposed on the VM
properties:
containerName:
type: string
portName:
type: string
required:
- containerName
- portName
type: object
format: int32
type: integer
type: array
standingBy:
description: StandingBy is the requested number of standingBy servers
Expand Down Expand Up @@ -4353,18 +4345,10 @@ spec:
type: object
type: array
portsToExpose:
description: PortsToExpose is an array of tuples of container/port names that correspond to the ports that will be exposed on the VM
description: PortsToExpose is an array of ports that will be exposed on the VM
items:
description: PortToExpose is a tuple of container/port names that correspond to the ports that will be exposed on the VM
properties:
containerName:
type: string
portName:
type: string
required:
- containerName
- portName
type: object
format: int32
type: integer
type: array
template:
description: Template describes the pod template specification of the game server
Expand Down Expand Up @@ -8813,6 +8797,21 @@ spec:
selector:
control-plane: controller-manager
---
apiVersion: v1
kind: Service
metadata:
labels:
name: nodeagent
name: thundernetes-nodeagent-metrics-service
namespace: thundernetes-system
spec:
ports:
- name: nodeagentport
port: 56001
targetPort: 56001
selector:
name: nodeagent
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -8845,12 +8844,12 @@ spec:
- name: API_SERVICE_SECURITY
value: usetls
- name: THUNDERNETES_INIT_CONTAINER_IMAGE
value: ghcr.io/playfab/thundernetes-initcontainer:0.3.1
value: ghcr.io/playfab/thundernetes-initcontainer:0.3.2
- name: TLS_SECRET_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/playfab/thundernetes-operator:0.3.1
image: ghcr.io/playfab/thundernetes-operator:0.3.2
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down Expand Up @@ -8909,7 +8908,7 @@ spec:
fieldPath: status.hostIP
- name: LOG_LEVEL
value: info
image: ghcr.io/playfab/thundernetes-nodeagent:0.3.1
image: ghcr.io/playfab/thundernetes-nodeagent:0.3.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
49 changes: 24 additions & 25 deletions installfiles/operator_with_security_and_monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,10 @@ spec:
minimum: 0
type: integer
portsToExpose:
description: PortsToExpose is an array of tuples of container/port names that correspond to the ports that will be exposed on the VM
description: PortsToExpose is an array of ports that will be exposed on the VM
items:
description: PortToExpose is a tuple of container/port names that correspond to the ports that will be exposed on the VM
properties:
containerName:
type: string
portName:
type: string
required:
- containerName
- portName
type: object
format: int32
type: integer
type: array
standingBy:
description: StandingBy is the requested number of standingBy servers
Expand Down Expand Up @@ -4353,18 +4345,10 @@ spec:
type: object
type: array
portsToExpose:
description: PortsToExpose is an array of tuples of container/port names that correspond to the ports that will be exposed on the VM
description: PortsToExpose is an array of ports that will be exposed on the VM
items:
description: PortToExpose is a tuple of container/port names that correspond to the ports that will be exposed on the VM
properties:
containerName:
type: string
portName:
type: string
required:
- containerName
- portName
type: object
format: int32
type: integer
type: array
template:
description: Template describes the pod template specification of the game server
Expand Down Expand Up @@ -8813,6 +8797,21 @@ spec:
selector:
control-plane: controller-manager
---
apiVersion: v1
kind: Service
metadata:
labels:
name: nodeagent
name: thundernetes-nodeagent-metrics-service
namespace: thundernetes-system
spec:
ports:
- name: nodeagentport
port: 56001
targetPort: 56001
selector:
name: nodeagent
---
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -8845,12 +8844,12 @@ spec:
- name: API_SERVICE_SECURITY
value: usetls
- name: THUNDERNETES_INIT_CONTAINER_IMAGE
value: ghcr.io/playfab/thundernetes-initcontainer:0.3.1
value: ghcr.io/playfab/thundernetes-initcontainer:0.3.2
- name: TLS_SECRET_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: ghcr.io/playfab/thundernetes-operator:0.3.1
image: ghcr.io/playfab/thundernetes-operator:0.3.2
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
Expand Down Expand Up @@ -8909,7 +8908,7 @@ spec:
fieldPath: status.hostIP
- name: LOG_LEVEL
value: info
image: ghcr.io/playfab/thundernetes-nodeagent:0.3.1
image: ghcr.io/playfab/thundernetes-nodeagent:0.3.2
livenessProbe:
httpGet:
path: /healthz
Expand Down
4 changes: 2 additions & 2 deletions pkg/operator/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: thundernetes-operator
newTag: 104c3bb
newName: ghcr.io/playfab/thundernetes-operator
newTag: 0.3.2
2 changes: 1 addition & 1 deletion samples/netcore/sample-hostnetwork.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
spec:
hostNetwork: true # this sample uses host networking
containers:
- image: ghcr.io/playfab/thundernetes-netcore:0.3.1
- image: ghcr.io/playfab/thundernetes-netcore:0.3.2
name: thundernetes-sample-netcore
ports:
- protocol: TCP # your game server port protocol
Expand Down
Loading

0 comments on commit a46b562

Please sign in to comment.