add yamls and mods to accept various images
This commit is contained in:
parent
e9825ad01a
commit
b44639dfe0
6 changed files with 133 additions and 18 deletions
23
kvm-windows.svc.yaml
Normal file
23
kvm-windows.svc.yaml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
# Arbitrary Metadata block. Must have a name.
|
||||
metadata:
|
||||
name: kvm-windows
|
||||
#labels:
|
||||
#name: my-service
|
||||
spec:
|
||||
# Optionally, have a type. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer
|
||||
#type: NodePort
|
||||
#
|
||||
# Selector finds the target pod this service routes to.
|
||||
selector:
|
||||
name: kvm-test-windows
|
||||
ports:
|
||||
- port: 5901
|
||||
# service name for this port, must be a DNS label.
|
||||
name: spice
|
||||
# targetPort can be a name or a number on the pod that we're targeting
|
||||
targetPort: 5901
|
||||
protocol: TCP
|
||||
# If 'type: NodePort', which port to expose on all machines
|
||||
#nodePort: 32378
|
||||
Loading…
Add table
Add a link
Reference in a new issue