add yamls and mods to accept various images

This commit is contained in:
Barak Michener 2017-07-02 22:24:08 -07:00
parent e9825ad01a
commit b44639dfe0
6 changed files with 133 additions and 18 deletions

23
kvm-windows.svc.yaml Normal file
View 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